/* Maxime Site Core: design tokens + the blocks rendered by the shortcodes.
   Palette A "Terracotta & Ink", type: Bricolage Grotesque (display) + DM Sans (body).
   Elementor's Site Settings hold the same colours/fonts for everything built in Elementor. */

:root {
	--mr-ink: #16213A;
	--mr-ink-2: #26324F;
	--mr-terra: #B4442A;
	--mr-terra-dark: #93361F;
	--mr-saffron: #E8A33D;
	--mr-cream: #FAF6F0;
	--mr-sand: #F2E9DD;
	--mr-text: #1B1F2A;
	--mr-muted: #5E6472;
	--mr-border: #E3D8C8;
	--mr-tint: #F2C98A;
	--mr-white: #FFFFFF;
	--mr-on-dark: #E6E8EE;
	--mr-display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
	--mr-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mr-radius: 16px;
	--mr-radius-sm: 10px;
	--mr-shadow: 0 1px 2px rgba(22, 33, 58, .06), 0 8px 24px rgba(22, 33, 58, .06);
	--mr-ease: cubic-bezier(.2, .7, .2, 1);
}

body { background: var(--mr-cream); color: var(--mr-text); font-family: var(--mr-body); }

/* Accessible focus everywhere; saffron ring inside dark sections. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--mr-ink);
	outline-offset: 3px;
	border-radius: 4px;
}
.mr-dark :where(a, button, input, select, textarea):focus-visible,
.mr-feature :where(a, button):focus-visible { outline-color: var(--mr-saffron); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}

.mr-icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Highlight used in headings: <mark class="mr-hl"> ---------- */
.mr-hl, .elementor-heading-title mark {
	background: var(--mr-tint); color: inherit; padding: 0 .18em; border-radius: .2em;
	box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.mr-dark .elementor-heading-title mark { background: var(--mr-saffron); color: var(--mr-ink); }

/* ---------- Buttons & links ---------- */
.mr-btn {
	display: inline-flex; align-items: center; gap: .55em;
	min-height: 48px; padding: .8em 1.4em; border-radius: 999px;
	font-family: var(--mr-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; border: 2px solid transparent;
	transition: background-color .2s var(--mr-ease), color .2s var(--mr-ease), transform .2s var(--mr-ease);
}
.mr-btn:hover { transform: translateY(-1px); }
.mr-btn--terra { background: var(--mr-terra); color: var(--mr-white); }
.mr-btn--terra:hover, .mr-btn--terra:focus-visible { background: var(--mr-terra-dark); color: var(--mr-white); }
.mr-btn--saffron { background: var(--mr-saffron); color: var(--mr-ink); }
.mr-btn--saffron:hover, .mr-btn--saffron:focus-visible { background: #F3BE6E; color: var(--mr-ink); }
.mr-btn--ghost { border-color: var(--mr-ink); color: var(--mr-ink); background: transparent; }
.mr-btn--ghost:hover, .mr-btn--ghost:focus-visible { background: var(--mr-ink); color: var(--mr-white); }

.mr-link {
	display: inline-flex; align-items: center; gap: .4em;
	font-weight: 700; color: var(--mr-ink); text-decoration: none;
	border-bottom: 2px solid var(--mr-terra); padding-bottom: 2px;
}
.mr-link .mr-icon { width: 1em; height: 1em; transition: transform .2s var(--mr-ease); }
.mr-link:hover { color: var(--mr-terra-dark); }
.mr-link:hover .mr-icon { transform: translateX(3px); }
.mr-link--light { color: var(--mr-white); border-bottom-color: var(--mr-saffron); }
.mr-link--light:hover { color: var(--mr-saffron); }

.mr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.mr-more { margin-top: 32px; text-align: center; }

.mr-eyebrow {
	margin: 0 0 .5em; font-family: var(--mr-body); font-size: .8rem; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: var(--mr-muted);
}
.mr-eyebrow--accent { color: var(--mr-saffron); }

/* ---------- Feature video (dark band) ---------- */
.mr-feature {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px);
	align-items: center; color: var(--mr-white);
}
.mr-feature__media { border-radius: var(--mr-radius); overflow: hidden; background: var(--mr-ink-2); aspect-ratio: 16 / 9; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.mr-feature__title { font-family: var(--mr-display); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .35em; color: var(--mr-white); }
.mr-feature__date { margin: 0 0 .9em; color: #C9CEDA; font-size: .95rem; }
.mr-feature__desc { margin: 0 0 1.4em; color: var(--mr-on-dark); font-size: 1.05rem; line-height: 1.6; max-width: 46ch; }

.mr-lite, .mr-lite__btn { position: relative; display: block; width: 100%; height: 100%; }
.mr-lite__btn { padding: 0; border: 0; background: none; cursor: pointer; }
.mr-lite__btn img, .mr-lite iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.mr-lite__btn img { transition: transform .5s var(--mr-ease), filter .3s; }
.mr-lite__btn:hover img { transform: scale(1.03); filter: brightness(.9); }

.mr-play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	background: var(--mr-saffron); color: var(--mr-ink); box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
	transition: transform .25s var(--mr-ease);
}
.mr-play .mr-icon { width: 22px; height: 22px; margin-left: 3px; }
.mr-play--lg { width: 84px; height: 84px; }
.mr-play--lg .mr-icon { width: 34px; height: 34px; }
.mr-lite__btn:hover .mr-play, .mr-vcard__thumb:hover .mr-play { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Filter chips ---------- */
.mr-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.mr-chip {
	min-height: 44px; padding: .55em 1.1em; border-radius: 999px; cursor: pointer;
	font: 600 .95rem/1.2 var(--mr-body); color: var(--mr-ink);
	background: var(--mr-white); border: 1.5px solid var(--mr-border);
	transition: background-color .2s, border-color .2s, color .2s;
}
.mr-chip:hover { border-color: var(--mr-ink); }
.mr-chip[aria-pressed="true"] { background: var(--mr-ink); border-color: var(--mr-ink); color: var(--mr-white); }

/* ---------- Video cards ---------- */
.mr-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px 28px; }
.mr-vcard { display: flex; flex-direction: column; gap: 14px; }
.mr-vcard[hidden] { display: none; }
.mr-vcard__thumb { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mr-sand); }
.mr-vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--mr-ease); }
.mr-vcard:hover .mr-vcard__thumb img { transform: scale(1.04); }
.mr-vcard .mr-play { opacity: 0; transition: opacity .2s, transform .25s var(--mr-ease); }
.mr-vcard:hover .mr-play, .mr-vcard:focus-within .mr-play { opacity: 1; }
.mr-vcard__body .mr-eyebrow { margin-bottom: .4em; }
.mr-vcard__title { margin: 0 0 .4em; font-family: var(--mr-display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; }
.mr-vcard__title a { color: var(--mr-ink); text-decoration: none; background-image: linear-gradient(var(--mr-terra), var(--mr-terra)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s var(--mr-ease); }
.mr-vcard__title a:hover, .mr-vcard__title a:focus-visible { background-size: 100% 2px; }
.mr-vcard__desc { margin: 0; color: var(--mr-muted); font-size: .98rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Badges & tags ---------- */
.mr-badge { display: inline-block; padding: .3em .75em; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mr-badge--done { background: var(--mr-ink); color: var(--mr-white); }
.mr-badge--progress { background: var(--mr-terra); color: var(--mr-white); }
.mr-badge--upcoming { background: transparent; color: var(--mr-ink); box-shadow: inset 0 0 0 1.5px var(--mr-ink); }
.mr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.mr-tag { font-size: .8rem; padding: .25em .7em; border-radius: 999px; background: var(--mr-sand); color: var(--mr-text); }

/* ---------- Timeline (My Journey) ---------- */
.mr-timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.mr-timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--mr-ink); }
.mr-timeline--upcoming::before { background: repeating-linear-gradient(var(--mr-ink) 0 6px, transparent 6px 12px); }
.mr-ms { position: relative; margin: 0 0 22px; }
.mr-ms[hidden] { display: none; }
.mr-ms__dot { position: absolute; left: -28px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--mr-ink); box-shadow: 0 0 0 4px var(--mr-cream); }
.mr-ms--progress .mr-ms__dot { background: var(--mr-terra); }
.mr-ms--upcoming .mr-ms__dot { background: var(--mr-cream); box-shadow: inset 0 0 0 2px var(--mr-ink), 0 0 0 4px var(--mr-cream); }
.mr-ms__card { background: var(--mr-white); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); padding: 22px 24px; transition: box-shadow .25s var(--mr-ease), transform .25s var(--mr-ease); }
.mr-ms__card:hover { box-shadow: var(--mr-shadow); transform: translateY(-2px); }
.mr-ms--progress .mr-ms__card { border: 2px solid var(--mr-terra); }
.mr-ms--upcoming .mr-ms__card { background: transparent; border-style: dashed; border-color: #B9AE9E; }
.mr-ms__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.mr-ms__date { font-weight: 700; color: var(--mr-muted); font-size: .95rem; }
.mr-ms__title { margin: 0 0 .35em; font-family: var(--mr-display); font-weight: 700; font-size: 1.3rem; line-height: 1.2; color: var(--mr-ink); }
.mr-ms__desc { margin: 0 0 .6em; color: var(--mr-text); line-height: 1.6; }
.mr-ms__img { display: block; width: 100%; height: auto; max-height: 320px; object-fit: cover; border-radius: var(--mr-radius-sm); margin: 12px 0; }
.mr-ms .mr-link { margin-top: 12px; }

@media (min-width: 960px) {
	.mr-timeline { padding: 0; }
	.mr-timeline::before { left: 50%; transform: translateX(-1px); }
	.mr-ms { width: calc(50% - 40px); }
	.mr-ms:nth-child(odd) { margin-right: auto; }
	.mr-ms:nth-child(even) { margin-left: auto; }
	.mr-ms:nth-child(odd) .mr-ms__dot { left: auto; right: -48px; }
	.mr-ms:nth-child(even) .mr-ms__dot { left: -48px; }
	.mr-ms + .mr-ms { margin-top: -40px; }
}

/* Homepage strip */
.mr-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; position: relative; }
.mr-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--mr-ink); }
.mr-strip__item { position: relative; padding-top: 34px; }
.mr-strip__item .mr-ms__dot { left: 0; top: 0; }
.mr-strip__item--progress .mr-ms__dot { background: var(--mr-terra); }
.mr-strip__item--upcoming .mr-ms__dot { background: var(--mr-cream); box-shadow: inset 0 0 0 2px var(--mr-ink), 0 0 0 4px var(--mr-cream); }
.mr-strip__title { margin: 0; font-family: var(--mr-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--mr-ink); }
@media (max-width: 900px) {
	.mr-strip { grid-template-columns: 1fr; gap: 18px; padding-left: 28px; }
	.mr-strip::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
	.mr-strip__item { padding-top: 0; }
	.mr-strip__item .mr-ms__dot { left: -28px; top: 4px; }
}

/* ---------- Now / focus / mission ---------- */
.mr-now p { font-size: 1.1rem; line-height: 1.7; margin: 0 0 1em; max-width: 68ch; }
.mr-now p:last-child { margin-bottom: 0; }
.mr-focus { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mr-focus li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.1rem; line-height: 1.4; padding: 14px 18px; border-radius: 12px; background: var(--mr-white); border: 1px solid var(--mr-border); }
.mr-focus .mr-icon { color: var(--mr-terra); margin-top: .1em; }
.mr-dark .mr-focus li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--mr-white); }
.mr-dark .mr-focus .mr-icon { color: var(--mr-saffron); }
.mr-mission { font-family: var(--mr-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.15; letter-spacing: -.015em; margin: 0; color: inherit; }
.mr-footer-intro { margin: 0; line-height: 1.6; color: #C9CEDA; max-width: 36ch; }

/* ---------- Socials ---------- */
.mr-socials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.mr-social {
	display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-height: 64px; box-sizing: border-box;
	border-radius: 14px; background: var(--mr-white); border: 1px solid var(--mr-border);
	color: var(--mr-ink); text-decoration: none; transition: transform .2s var(--mr-ease), box-shadow .2s, border-color .2s;
}
.mr-social:hover { transform: translateY(-2px); box-shadow: var(--mr-shadow); border-color: var(--mr-ink); color: var(--mr-ink); }
.mr-social .mr-icon { width: 28px; height: 28px; color: var(--mr-terra); }
.mr-social__text { display: flex; flex-direction: column; line-height: 1.25; }
.mr-social__net { font-weight: 700; }
.mr-social__handle { color: var(--mr-muted); font-size: .92rem; }
.mr-dark .mr-social { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--mr-white); }
.mr-dark .mr-social:hover { border-color: var(--mr-saffron); color: var(--mr-white); }
.mr-dark .mr-social .mr-icon { color: var(--mr-saffron); }
.mr-dark .mr-social__handle { color: #C9CEDA; }

.mr-social-icons { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.mr-social-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--mr-ink); background: var(--mr-sand); transition: background-color .2s, color .2s; }
.mr-social-icons a:hover { background: var(--mr-terra); color: var(--mr-white); }
.mr-dark .mr-social-icons a { background: rgba(255, 255, 255, .1); color: var(--mr-white); }
.mr-dark .mr-social-icons a:hover { background: var(--mr-saffron); color: var(--mr-ink); }
.mr-social-icons .mr-icon { width: 20px; height: 20px; }

.mr-email { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 600; text-decoration: none; }
.mr-email:hover { text-decoration: underline; }

/* ---------- Resources & books ---------- */
.mr-res { display: grid; gap: 40px; }
.mr-res__heading { margin: 0 0 16px; font-family: var(--mr-display); font-weight: 700; font-size: 1.35rem; color: var(--mr-ink); }
.mr-res__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.mr-rcard { background: var(--mr-white); border: 1px solid var(--mr-border); border-radius: 14px; padding: 18px 20px; }
.mr-rcard__name { margin: 0 0 .35em; font-weight: 700; font-size: 1.08rem; }
.mr-rcard__name a { color: var(--mr-ink); text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.mr-rcard__name a:hover { color: var(--mr-terra-dark); text-decoration: underline; }
.mr-rcard__name .mr-icon { width: .9em; height: .9em; color: var(--mr-muted); }
.mr-rcard__desc { margin: 0; color: var(--mr-muted); line-height: 1.55; }
.mr-rcard__note { margin: .7em 0 0; padding: 10px 12px; border-radius: 10px; background: var(--mr-sand); font-size: .95rem; line-height: 1.5; }

.mr-books { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.mr-book { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: start; background: var(--mr-white); border: 1px solid var(--mr-border); border-radius: var(--mr-radius); padding: 18px; }
.mr-book__cover img, .mr-book__fallback { display: block; width: 110px; aspect-ratio: 2 / 3; height: auto; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 16px rgba(22, 33, 58, .18); }
.mr-book__fallback { display: grid; place-items: center; padding: 10px; box-sizing: border-box; text-align: center; background: var(--mr-ink); color: var(--mr-white); font-family: var(--mr-display); font-weight: 700; font-size: .85rem; line-height: 1.2; }
.mr-book__title { margin: 0; font-family: var(--mr-display); font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--mr-ink); }
.mr-book__author { margin: .2em 0 .6em; color: var(--mr-muted); }
.mr-book__desc { margin: 0 0 .6em; line-height: 1.55; }

/* ---------- Disclaimer & empty states ---------- */
.mr-disclaimer { border-radius: 14px; background: var(--mr-sand); padding: 18px 22px; }
.mr-disclaimer p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--mr-text); }
.mr-empty { border: 1.5px dashed #B9AE9E; border-radius: var(--mr-radius); padding: 26px 28px; text-align: center; color: var(--mr-muted); background: rgba(255, 255, 255, .5); }
.mr-empty p { margin: 0 auto; max-width: 52ch; line-height: 1.6; }
.mr-empty--dark { border-color: rgba(255, 255, 255, .25); background: transparent; color: var(--mr-on-dark); }
.mr-empty--dark .mr-btn { margin-top: 16px; }

/* ---------- Reveal (only with JS on, never with reduced motion) ---------- */
html.mr-js .mr-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--mr-ease), transform .6s var(--mr-ease); }
html.mr-js .mr-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Pillar cards & Elementor helpers (classes set in Elementor › Advanced › CSS Classes) ---------- */
.mr-pillar { position: relative; overflow: hidden; border-radius: 20px; isolation: isolate; transition: transform .35s var(--mr-ease); }
.mr-pillar:hover { transform: translateY(-4px); }
.mr-pillar img { transition: transform .6s var(--mr-ease); }
.mr-pillar:hover img { transform: scale(1.04); }
.mr-photo-cut img, .mr-photo-cut .mr-ph { border-radius: 20px 20px 160px 20px; }
.mr-ph {
	display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; box-sizing: border-box; padding: 20px; text-align: center;
	background: repeating-linear-gradient(135deg, var(--mr-sand) 0 14px, #EFE4D5 14px 28px);
	border: 1.5px dashed #B9AE9E; color: var(--mr-muted); font-weight: 700; font-size: .9rem; letter-spacing: .04em;
}
.mr-ph--wide { aspect-ratio: 16 / 10; }
.mr-ph--dark { background: repeating-linear-gradient(135deg, #1E2A47 0 14px, #223052 14px 28px); border-color: rgba(255, 255, 255, .25); color: #C9CEDA; }
.mr-num { font-family: var(--mr-display); font-weight: 800; font-size: .95rem; letter-spacing: .1em; color: var(--mr-terra); }
.mr-dark .mr-num { color: var(--mr-saffron); }

.mr-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.mr-pills a {
	display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .5em 1.05em; border-radius: 999px; box-sizing: border-box;
	background: var(--mr-white); border: 1.5px solid var(--mr-border); color: var(--mr-ink); font-weight: 600; text-decoration: none;
	transition: border-color .2s, background-color .2s, color .2s;
}
.mr-pills a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mr-terra); }
.mr-pills a:hover { border-color: var(--mr-ink); background: var(--mr-ink); color: var(--mr-white); }
.mr-pills a:hover::before { background: var(--mr-saffron); }

.mr-value { padding: 22px; border-radius: 16px; background: var(--mr-white); border: 1px solid var(--mr-border); height: 100%; box-sizing: border-box; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.mr-feature { grid-template-columns: 1fr; }
	.mr-play--lg { width: 68px; height: 68px; }
}
@media (max-width: 600px) {
	.mr-book { grid-template-columns: 84px minmax(0, 1fr); }
	.mr-book__cover img, .mr-book__fallback { width: 84px; }
	.mr-ms__card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	html.mr-js .mr-reveal { opacity: 1; transform: none; }
	.elementor-invisible { visibility: visible !important; }
}

/* ---------- Header, footer & page-level helpers (added with the Elementor build) ---------- */
.mr-dark { color: var(--mr-white); }
.mr-logo .elementor-heading-title a, .mr-footer .elementor-heading-title a { color: inherit; text-decoration: none; }
.mr-logo .elementor-heading-title a:hover { color: var(--mr-terra); }
.xpro-theme-builder-header.xtb-header-sticky, .xtb-header-sticky { position: sticky; top: 0; z-index: 999; }
.admin-bar .xtb-header-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .xtb-header-sticky { top: 0; } }
.mr-header { box-shadow: 0 1px 0 rgba(22, 33, 58, .02); }
.mr-nav .xpro-elementor-horizontal-navbar-nav > li > a { padding-left: 12px !important; padding-right: 12px !important; }
.mr-menu-yt { display: none !important; }
@media (max-width: 1024px) {
	.mr-menu-yt { display: block !important; }
	.mr-menu-yt > a { color: var(--mr-terra) !important; font-weight: 700 !important; }
}
.mr-plain-list { list-style: none; margin: 0; padding: 0; }
.mr-footer-links p { margin: 0 0 .4em; }
.mr-footer-links a { color: var(--mr-on-dark); text-decoration: none; }
.mr-footer-links a:hover { color: var(--mr-saffron); text-decoration: underline; }
.mr-footer .mr-email { color: var(--mr-on-dark); }
.mr-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mr-check-list li { position: relative; padding-left: 30px; }
.mr-check-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2.5px solid var(--mr-terra); border-bottom: 2.5px solid var(--mr-terra); transform: rotate(-45deg); }
.mr-prose h2 { font-family: var(--mr-display); font-weight: 800; font-size: 1.6rem; color: var(--mr-ink); margin: 1.4em 0 .5em; }
.mr-prose p, .mr-prose li { font-size: 1.08rem; line-height: 1.7; }
.mr-prose ul { padding-left: 1.2em; }
.mr-prose li { margin-bottom: .5em; }
.mr-hero-photo img { box-shadow: 0 30px 60px -20px rgba(22, 33, 58, .35); }
.mr-chapter:first-child { border-top: 0 !important; }
/* WPForms in the site style */
.mr-form .wpforms-container { margin: 0 !important; }
.mr-form .wpforms-field-label { font-family: var(--mr-body); font-weight: 700 !important; color: var(--mr-ink) !important; font-size: 1rem !important; }
.mr-form input[type=text], .mr-form input[type=email], .mr-form select, .mr-form textarea {
	border: 1.5px solid var(--mr-border) !important; border-radius: 12px !important; background: var(--mr-cream) !important;
	font: 400 1rem/1.4 var(--mr-body) !important; color: var(--mr-text) !important; padding: 12px 14px !important; min-height: 48px; max-width: 100% !important;
}
.mr-form input:focus, .mr-form select:focus, .mr-form textarea:focus { border-color: var(--mr-ink) !important; outline: 2px solid var(--mr-ink) !important; outline-offset: 1px; box-shadow: none !important; }
.mr-form .wpforms-submit {
	background: var(--mr-terra) !important; color: var(--mr-white) !important; border: 0 !important; border-radius: 999px !important;
	padding: 14px 28px !important; font: 700 1rem/1.2 var(--mr-body) !important; min-height: 48px; cursor: pointer; height: auto !important;
}
.mr-form .wpforms-submit:hover, .mr-form .wpforms-submit:focus-visible { background: var(--mr-terra-dark) !important; }
.mr-form .wpforms-confirmation-container-full { background: var(--mr-sand) !important; border: 0 !important; border-radius: 14px; color: var(--mr-text) !important; }
.mr-form label.wpforms-error, .mr-form em.wpforms-error { color: #A12F17 !important; font-weight: 600; }
.mr-form .wpforms-field-checkbox label { font-size: .95rem; color: var(--mr-text); }

.mr-logo .elementor-heading-title { white-space: nowrap; }

/* Keep Elementor's global button style off the plugin's own buttons. */
.mr-filter .mr-chip, .mr-filter .mr-chip:focus { background: var(--mr-white); color: var(--mr-ink); border: 1.5px solid var(--mr-border); padding: .55em 1.1em; border-radius: 999px; font: 600 .95rem/1.2 var(--mr-body); box-shadow: none; text-transform: none; letter-spacing: 0; }
.mr-filter .mr-chip:hover { background: var(--mr-white); color: var(--mr-ink); border-color: var(--mr-ink); }
.mr-filter .mr-chip[aria-pressed="true"], .mr-filter .mr-chip[aria-pressed="true"]:hover { background: var(--mr-ink); border-color: var(--mr-ink); color: var(--mr-white); }
.mr-feature .mr-lite .mr-lite__btn, .mr-feature .mr-lite .mr-lite__btn:hover, .mr-feature .mr-lite .mr-lite__btn:focus { padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: inherit; line-height: 0; }

/* Mobile menu panel: readable colours and comfortable tap targets. */
@media (max-width: 1024px) {
	.mr-nav .xpro-elementor-horizontal-navbar-wrapper.active { background: var(--mr-cream) !important; }
	.mr-nav .xpro-elementor-horizontal-navbar-wrapper.active .xpro-elementor-horizontal-navbar-nav li a {
		background: transparent !important; color: var(--mr-ink) !important; font-family: var(--mr-display) !important;
		font-weight: 700 !important; font-size: 1.35rem !important; padding: 14px 12px !important; min-height: 48px;
	}
	.mr-nav .xpro-elementor-horizontal-navbar-wrapper.active .xpro-elementor-horizontal-navbar-nav li a:hover,
	.mr-nav .xpro-elementor-horizontal-navbar-wrapper.active .xpro-elementor-horizontal-navbar-nav li.current-menu-item a { color: var(--mr-terra) !important; }
	.mr-nav .xpro-elementor-horizontal-navbar-wrapper.active .xpro-elementor-horizontal-navbar-nav li { border-color: var(--mr-border) !important; }
	.mr-nav .xpro-elementor-horizontal-navbar-wrapper.active .mr-menu-yt > a { color: var(--mr-terra) !important; }
}

/* Phones: filter chips scroll sideways instead of stacking. */
@media (max-width: 600px) {
	.mr-filter { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding: 2px 20px 8px 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.mr-filter::-webkit-scrollbar { display: none; }
	.mr-filter .mr-chip { flex: none; }
}

/* Pages not built with Elementor (e.g. Privacy Policy) use the same type. */
h1, h2, h3, h4, .entry-title { font-family: var(--mr-display); color: var(--mr-ink); }
body.privacy-policy .site-content > .ast-container { max-width: 800px; padding: 64px 24px 96px; }
body.privacy-policy .entry-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-bottom: .4em; }
body.privacy-policy .entry-content h2 { font-size: 1.6rem; font-weight: 800; margin: 1.6em 0 .5em; line-height: 1.2; }
body.privacy-policy .entry-content p { font-size: 1.08rem; line-height: 1.7; }
