/*
Theme Name: Twenty Twenty Five Child
Template: twentytwentyfive
Description: Laura Marti editorial retheme. Self-contained child theme; the parent stays stock.
*/

/* ==========================================================================
   Laura Martí — editorial design system (retheme wave 1)
   Spec: client-assets/content-doc.txt §5–6. Simulation fonts:
   Playfair Display (Crave Fine), Urbanist (Gilroy), Italianno.
   Loaded by appending to style.min.css via scripts/wp-overrides.sh.
   ========================================================================== */

/* ---------- Fonts (self-hosted woff2) ---------- */
@font-face {
	font-family: 'Playfair Display';
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url('fonts/playfair-display-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Playfair Display';
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url('fonts/playfair-display-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Playfair Display';
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url('fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Playfair Display';
	font-style: italic;
	font-weight: 400 900;
	font-display: swap;
	src: url('fonts/playfair-display-italic-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Urbanist';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/urbanist-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Urbanist';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/urbanist-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Italianno';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/italianno-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Italianno';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/italianno-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Rebuild 2026-10-28: 3 font pairings (client brief §5) ----------
   #1 (DEFAULT) Fraunces + Figtree · #2 Cormorant Garamond + Manrope · #3 Newsreader + Montserrat.
   All SIL OFL 1.1, self-hosted latin subset (covers Spanish). Switcher: ?font=2/3 on home. */
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/fraunces-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Fraunces';
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/fraunces-latin-wght-italic.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Figtree';
	font-style: normal;
	font-weight: 300 900;
	font-display: swap;
	src: url('fonts/figtree-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Cormorant Garamond';
	font-style: italic;
	font-weight: 500;
	font-display: swap;
	src: url('fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('fonts/montserrat-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Newsreader';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('fonts/newsreader-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Newsreader';
	font-style: italic;
	font-weight: 200 800;
	font-display: swap;
	src: url('fonts/newsreader-latin-wght-italic.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('fonts/manrope-latin-wght-normal.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Palette (never pure white/black) ---------- */
:root {
	--lm-marfil: #F5F1EE;
	--lm-hueso: #ECE6E1;
	--lm-piedra: #D6CEC6;
	--lm-bruma: #CDD7DD;
	--lm-bruma-clara: #E3E9EC;
	--lm-taupe: #5F574F;
	--lm-negro: #3D3833;
	/* Brand gold: hero keywords (.lm-em, large text), borders, decoration.
	   Small gold text: --lm-dorado-oscuro on light bands (5.0–5.5:1),
	   --lm-dorado-tierra on piedra bands (4.98:1), --lm-dorado-claro on the
	   dark footer (5.13:1). All AA. */
	--lm-dorado: #9C7D47;
	--lm-dorado-oscuro: #765D31;
	--lm-dorado-tierra: #63502A;
	--lm-dorado-claro: #C9A86B;
	/* Rebuild 2026-10-28: pairing #1 (Fraunces + Figtree) is the applied default.
	   Old pair (Playfair + Urbanist) kept above as simulation fallback. */
	--lm-serif: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
	--lm-sans: 'Figtree', 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
	--lm-hand: 'Italianno', 'Segoe Script', cursive;
	/* Footer gradient (client brief §1: slate-blue -> taupe) */
	--lm-pizarra: #46525E;
	/* popups.js (reference code) bridges its generic vars to the lm palette */
	--font-heading: var(--lm-serif);
	--font-body: var(--lm-sans);
	--gold: var(--lm-dorado);
	--taupe: var(--lm-taupe);
	--brown: var(--lm-negro);
	--ivory: var(--lm-marfil);
	--bone: var(--lm-hueso);
}

/* ---------- Reset: border-box on everything (H2/H3 root fix) ----------
   .lm-menu-panel (width + padding) and .lm-cover__box (width + padding)
   were content-box: 432px panel at 390, 416px box at 390 -> 14px overflow. */
*, *::before, *::after { box-sizing: border-box; }

/* ---------- Thin warm scrollbar ---------- */
html {
	scrollbar-width: thin;
	scrollbar-color: #C4B9AE var(--lm-hueso);
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--lm-hueso); }
::-webkit-scrollbar-thumb { background: #C4B9AE; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--lm-dorado); }

/* ---------- Base type ---------- */
body {
	background: var(--lm-marfil);
	color: var(--lm-negro);
	font-family: var(--lm-sans);
	font-size: 17px;
	font-weight: 500;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}
@media (max-width: 781px) {
	body { font-size: 16.5px; }
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--lm-serif);
	font-weight: 400;
	line-height: 1.22;
	color: var(--lm-negro);
}
h1 { font-size: clamp(2.375rem, 1.6rem + 3.4vw, 3.75rem); line-height: 1.16; }
h2 { font-size: clamp(1.875rem, 1.4rem + 2.1vw, 2.875rem); }
h3 { font-size: clamp(1.4375rem, 1.25rem + 0.8vw, 1.875rem); }
/* Article section headings promoted h3->h2 for outline order (L5);
   size held at the former h3 clamp so the look is unchanged. */
.lm-sec { font-size: clamp(1.4375rem, 1.25rem + 0.8vw, 1.875rem); }
a { color: var(--lm-negro); }
/* AA-safe gold for small link text on light bands (brand gold 3.4:1 stays
   for large text, .lm-em, borders, decoration). Dark areas override. */
a:hover { color: var(--lm-dorado-oscuro); }
img { max-width: 100%; height: auto; }

/* Keyword accent in titles: italic + gold (always gold, never blue) */
.lm-em {
	font-family: var(--lm-serif);
	font-style: italic;
	font-weight: 400;
	color: var(--lm-dorado);
}
/* Piedra text-band hero (M1): brand gold is 2.48:1 there; dark gold is
   3.99:1, AA for the large h1 accent. Marfil/photo heroes keep brand gold. */
.lm-cover--text .lm-em { color: var(--lm-dorado-oscuro); }
/* Small uppercase gold label */
.lm-label {
	display: block;
	font-family: var(--lm-sans);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lm-dorado-oscuro);
	margin: 0 0 1.1rem;
}
/* Handwritten detail (Italianno) */
.lm-hand {
	font-family: var(--lm-hand);
	font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3rem);
	line-height: 1.05;
	color: var(--lm-negro);
	margin: 0 0 0.5rem;
}

/* ---------- Buttons: rectangular, thin border, uppercase spaced ---------- */
.lm-btn {
	display: inline-block;
	padding: 1rem 2.4rem;
	border: 1px solid var(--lm-negro);
	border-radius: 0;
	background: transparent;
	color: var(--lm-negro);
	font-family: var(--lm-sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.lm-btn + .lm-btn { margin-left: 0.75rem; }
.lm-btn-primary { background: var(--lm-negro); color: var(--lm-marfil); }
.lm-btn-primary:hover { background: var(--lm-dorado); border-color: var(--lm-dorado); color: var(--lm-marfil); }
.lm-btn-ghost:hover { background: var(--lm-negro); color: var(--lm-marfil); }
@media (max-width: 781px) {
	.lm-btn { display: block; width: 100%; text-align: center; padding: 1rem 1rem; }
	.lm-btn + .lm-btn { margin-left: 0; margin-top: 0.75rem; }
}
/* M3: 34-char hero CTA wrapped to 2 lines at 320 (h=81) — tighter type */
@media (max-width: 480px) {
	.lm-btn { font-size: 0.6875rem; letter-spacing: 0.05em; padding: 0.9rem 0.6rem; }
}

/* ---------- Cards: flat, no borders, no shadows ---------- */
.lm-card {
	background: var(--lm-marfil);
	border: none;
	box-shadow: none;
	padding: 2.1rem 1.8rem 1.9rem;
}
.lm-card--hueso { background: var(--lm-hueso); }
.lm-card h3 { margin: 0 0 0.8rem; font-size: 1.5rem; }
.lm-card h2 { margin: 0 0 0.8rem; font-size: 1.5rem; } /* L5: card titles promoted h3->h2, size held */
.lm-card p { margin: 0 0 0.6rem; color: var(--lm-taupe); font-size: 0.9375rem; line-height: 1.7; }
.lm-quote-card p { color: var(--lm-negro); font-size: 1.0625rem; line-height: 1.65; }
.lm-card__num {
	font-family: var(--lm-sans);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lm-dorado-oscuro);
	display: block;
	margin-bottom: 0.9rem;
}
.lm-card__link {
	display: inline-block;
	margin-top: 1.1rem;
	padding: 0.75rem 0.25rem;
	font-family: var(--lm-sans);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lm-dorado-oscuro);
	text-decoration: none;
}
.lm-card__link:hover { color: var(--lm-negro); }
.lm-card__cite {
	display: block;
	margin-top: 1.1rem;
	font-family: var(--lm-sans);
	font-style: normal;
	font-size: 0.8125rem;
	letter-spacing: 0.06em;
	color: var(--lm-dorado-oscuro);
}
.lm-quote-card { font-family: var(--lm-serif); font-style: italic; font-size: 1.0625rem; line-height: 1.65; color: var(--lm-negro); }

/* Card grids */
.lm-cards { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 782px) {
	.lm-cards--2 { grid-template-columns: repeat(2, 1fr); }
	.lm-cards--3 { grid-template-columns: repeat(3, 1fr); }
	.lm-cards--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Bands (piedra · bruma clara · hueso · bruma alternation) ---------- */
.lm-band { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.lm-band-inner { width: min(100% - 2.5rem, 1280px); margin-inline: auto; }
.lm-band--narrow .lm-band-inner { width: min(100% - 2.5rem, 46rem); }
.lm-band-hueso { background: var(--lm-hueso); }
.lm-band-piedra { background: var(--lm-piedra); }
.lm-band-bruma-clara { background: var(--lm-bruma-clara); }
.lm-band-bruma { background: var(--lm-bruma); }
/* FINAL band of every page: piedra → bruma gradient */
.lm-band-final { position: relative; background: linear-gradient(180deg, var(--lm-piedra) 0%, var(--lm-bruma) 100%); }
.lm-band__photo {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0.35;
	pointer-events: none;
}

/* ---------- Subtle grain texture ---------- */
.lm-grain { position: relative; }
.lm-grain::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.055;
	mix-blend-mode: multiply;
	/* base64 (not URL-encoded): WP core wp_maybe_inline_styles() rewrites every
	   url() without data:/# prefix during CSS inlining, which breaks the inner
	   filter='url(#n)' ref of a %-encoded data URI. base64 has no url() text. */
	background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
}
.lm-grain > * { position: relative; z-index: 1; }

/* ---------- Page covers ---------- */
/* With photo: full-bleed image, fixed behind while the page scrolls */
.lm-cover {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	min-height: clamp(560px, 92svh, 1000px);
}
/* M1: hero — Laura in the left third, eyes at the very top of the source.
   Fixed-attachment would pin the image to the viewport top (eyes under the
   bar again), so the hero frames element-relative and scrolls normally.
   (0,3,0 so these beat the base .lm-cover__bg { background-position:center }) */
.lm-cover .lm-cover__bg[style*="inicio-hero-bn"] { background-position: 0% 0%; }
/* M7: sobre-mi section 2 — face (nose/lips; eyes are cropped in the source)
   sits right of the text box instead of under it */
.lm-cover .lm-cover__bg[style*="sobre-mi-header"] { background-position: 0% 0%; }
.lm-cover__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-color: var(--lm-piedra);
}
@media (min-width: 782px) {
	.lm-cover__bg { background-attachment: fixed; }
	.lm-cover--fade .lm-cover__bg { background-attachment: scroll; }
}
/* Inicio cover photo: slow fade-in */
.lm-cover--fade .lm-cover__bg {
	opacity: 0;
	animation: lm-cover-fade 1.8s ease 0.2s forwards;
}
@keyframes lm-cover-fade { to { opacity: 1; } }
/* Translucent marfil text box (right by default) */
.lm-cover__box {
	position: relative;
	z-index: 2;
	background: rgba(245, 241, 238, 0.88);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	max-width: 36rem;
	margin-right: clamp(1rem, 7vw, 7.5rem);
	padding: clamp(1.8rem, 4vw, 3.2rem);
	color: var(--lm-negro);
}
.lm-cover--left { justify-content: flex-start; }
.lm-cover--left .lm-cover__box { margin-right: 0; margin-left: clamp(1rem, 7vw, 7.5rem); }
.lm-cover__box h1 { margin: 0 0 1rem; }
.lm-cover__box p { margin: 0 0 1.25rem; }
.lm-cover__box p:last-child { margin-bottom: 0; }
.lm-cover__box .lm-hand { margin-bottom: 0.75rem; }
.lm-cover__sub { color: var(--lm-taupe); font-size: 1.0625rem; margin-bottom: 1.75rem; }
/* Mobile-only top label */
.lm-cover__label { display: none; }
/* Without photo: piedra band + grain, bare text */
.lm-cover--text {
	min-height: clamp(440px, 64svh, 720px);
	background: var(--lm-piedra);
	align-items: center;
}
.lm-cover--text .lm-cover__box {
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	max-width: 62rem;
	width: calc(100% - 2.5rem);
	margin: 0 auto;
	padding: 0;
}
@media (max-width: 781px) {
	/* M2: photo covers become photo block on top + solid text box below —
	   the old bottom-pinned box left only a sliver of photo (forehead on
	   /mentorias/). Box is solid marfil: the photo no longer sits behind it. */
	.lm-cover {
		display: block;
		min-height: 0;
	}
	.lm-cover:not(.lm-cover--text) .lm-cover__bg {
		position: relative;
		inset: auto;
		height: auto;
		aspect-ratio: 16 / 10;
	}
	.lm-cover:not(.lm-cover--text) .lm-cover__box {
		position: static;
		margin: 0;
		width: 100%;
		max-width: none;
		padding: 1.6rem 1.25rem 1.9rem;
		background: var(--lm-marfil);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.lm-cover--text { display: flex; flex-direction: column; justify-content: center; min-height: 52svh; }
	.lm-cover__label { display: block; }
	/* M1: 11.5px label on the piedra band — dorado-oscuro is 3.99:1,
	   tierra gold 4.98:1 (AA small). Photo-cover labels sit on marfil. */
	.lm-cover--text .lm-cover__label { color: var(--lm-dorado-tierra); }
	/* Per-photo framing at mobile widths (M1/M2/M7) */
	.lm-cover .lm-cover__bg[style*="inicio-hero-bn"] { aspect-ratio: 4 / 5; background-position: 16% 0; }
	.lm-cover .lm-cover__bg[style*="sobre-mi-header"] { background-position: 12% 0; }
	.lm-cover .lm-cover__bg[style*="mentorias-header"] { background-position: 43% 0; }
	.lm-cover .lm-cover__bg[style*="recursos-header"] { background-position: 50% 0; }
	.lm-cover .lm-cover__bg[style*="culpa-cover-portrait"] { aspect-ratio: 4 / 5; }
}

/* ---------- Topbar: centered logo + fixed menu button + quick exit ---------- */
.lm-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 60;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(245, 241, 238, 0.92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(61, 56, 51, 0.08);
}
.lm-logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--lm-serif);
	font-size: 1.375rem;
	letter-spacing: 0.02em;
	color: var(--lm-negro);
	text-decoration: none;
	white-space: nowrap;
}
.lm-logo:hover { color: var(--lm-dorado); }
.lm-menu-btn {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	min-width: 86px;
	padding: 1rem 1rem;
	border: 1px solid var(--lm-negro);
	border-radius: 0;
	background: transparent;
	color: var(--lm-negro);
	font-family: var(--lm-sans);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.lm-menu-btn:hover { background: var(--lm-negro); color: var(--lm-marfil); }
.lm-quick-exit {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	border: 1px solid var(--lm-piedra);
	border-radius: 0;
	background: transparent;
	color: var(--lm-taupe);
	font-family: var(--lm-sans);
	font-size: 11px;
	font-weight: 600;
	padding: 0.9rem 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.lm-quick-exit:hover { color: var(--lm-negro); border-color: var(--lm-negro); }
@media (max-width: 781px) {
	.lm-topbar { height: 56px; }
	.lm-logo { font-size: 1.125rem; }
	.lm-menu-btn { min-width: 66px; padding: 1rem 1rem; font-size: 9.5px; }
	.lm-quick-exit { padding: 0.9rem 0.8rem; font-size: 9px; letter-spacing: 0.06em; }
}
/* Tap targets: hit areas >= 44px at 390px, visuals unchanged (M4). */
.lm-logo { line-height: 1.2; padding: 0.75rem 0.3rem; }
.lm-menu-nav a { padding: 0.6rem 0; }
.lm-menu-sub { padding: 0.4rem 0 0.4rem 1.5rem; }
.lm-faq summary { padding: 0.35rem 2.25rem 0.35rem 0; }
.lm-footer__menu a { padding: 0.6rem 0.25rem; }
.lm-footer__insta { padding: 0.95rem 0.25rem; }
.lm-footer__bottom a { display: inline-block; padding: 0.95rem 0.25rem; }
.lm-menu-foot a { padding: 0.75rem 0; }
.lm-lang-switch li a { display: inline-block; padding: 0.75rem 0.3rem; }

/* Newsletter submit: full-width ghost button (was a bare 21px UA button). */
.lm-footer__news form button[type="submit"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 1rem;
	border: 1px solid var(--lm-marfil);
	border-radius: 0;
	background: transparent;
	color: var(--lm-marfil);
	font-family: var(--lm-sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.lm-footer__news form button[type="submit"]:hover {
	background: var(--lm-dorado);
	border-color: var(--lm-dorado);
}

/* Complianz cookie banner close: 20x20 icon, 44x44 hit box (M4).
   Negative margin keeps the margin-box at 20x20 -> zero layout shift; the
   icon stays exactly in place (flex-centered in the 44 box). */
.cmplz-close {
	width: 44px !important;
	height: 44px !important;
	margin: -12px 0 0 -12px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

/* Visually-hidden skip link: 44x44 hit box while clipped (M4). */
.skip-link.screen-reader-text { width: 44px; height: 44px; }

/* ---------- Right slide-in menu panel ---------- */
.lm-menu-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	width: min(26rem, 90vw);
	background: var(--lm-marfil);
	border-left: 1px solid var(--lm-piedra);
	padding: 5.5rem 2.5rem 2rem;
	overflow-y: auto;
	transform: translateX(103%);
	visibility: hidden;
	transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.5s;
}
body.lm-menu-open .lm-menu-panel {
	transform: none;
	visibility: visible;
	transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body.lm-menu-open { overflow: hidden; }
.lm-menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(61, 56, 51, 0.4);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.45s ease;
}
.lm-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
.lm-menu-close {
	position: absolute;
	top: 0.875rem;
	right: 1.125rem;
	width: 44px;
	height: 44px;
	border: 1px solid var(--lm-piedra);
	border-radius: 0;
	background: transparent;
	color: var(--lm-negro);
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}
.lm-menu-close:hover { border-color: var(--lm-negro); color: var(--lm-dorado); }
.lm-menu-nav { display: flex; flex-direction: column; gap: 0.2rem; margin: 2.25rem 0 2.5rem; }
.lm-menu-nav a {
	padding: 0.6rem 0;
	border-bottom: 1px solid rgba(61, 56, 51, 0.08);
	font-family: var(--lm-serif);
	font-size: 1.625rem;
	line-height: 1.3;
	color: var(--lm-negro);
	text-decoration: none;
	transition: color 0.25s ease;
}
.lm-menu-nav a:hover { color: var(--lm-dorado-oscuro); font-style: italic; }
.lm-menu-cta { display: block; text-align: center; margin-top: 0.5rem; }
.lm-menu-foot {
	display: flex;
	gap: 1.25rem;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--lm-piedra);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.lm-menu-foot a { color: var(--lm-taupe); text-decoration: none; }

/* Rebuild 2026-10-28: dropdown sub-items (Cómo te acompaño) + language switcher */
.lm-menu-sub { padding-left: 1.5rem !important; font-size: 0.95rem; opacity: 0.85; }
.lm-lang { display: flex; gap: 0.6rem; align-items: baseline; margin-top: 1.5rem; font-size: 0.75rem; letter-spacing: 0.18em; }
.lm-lang__active { color: var(--lm-dorado-oscuro); font-weight: 600; }
.lm-lang__sep { color: var(--lm-taupe); }
.lm-lang__dormant { color: var(--lm-taupe); opacity: 0.55; cursor: default; }
.lm-menu-foot a:hover { color: var(--lm-dorado-oscuro); }
@media (max-width: 781px) {
	.lm-menu-nav a { font-size: 1.375rem; }
}

/* ---------- Footer (all pages) ---------- */
.lm-footer {
	background: linear-gradient(165deg, var(--lm-pizarra) 0%, var(--lm-taupe) 100%);
	color: var(--lm-marfil);
	padding: clamp(3.5rem, 7vw, 5.5rem) 0 1.75rem;
	font-size: 0.9375rem;
}
.lm-footer a { color: var(--lm-marfil); text-decoration: none; }
.lm-footer__inner {
	display: grid;
	gap: 2.75rem;
	grid-template-columns: 1fr;
	width: min(100% - 2.5rem, 1280px);
	margin-inline: auto;
}
@media (min-width: 782px) {
	.lm-footer__inner { grid-template-columns: 1.2fr 0.8fr 1.2fr; gap: 3rem; }
}
.lm-footer__logo {
	font-family: var(--lm-serif);
	font-size: clamp(2.5rem, 5vw, 3.25rem);
	line-height: 1.1;
	margin: 0;
}
.lm-footer__line { color: rgba(245, 241, 238, 0.72); max-width: 26rem; margin: 1rem 0 1.25rem; }
.lm-footer__insta {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lm-dorado-claro);
}
.lm-footer__insta:hover { color: var(--lm-marfil); }
.lm-footer__menu { display: flex; flex-direction: column; gap: 0.6rem; }
.lm-footer__menu a:hover { color: var(--lm-dorado-claro); }
.lm-footer__news .lm-label { color: var(--lm-dorado-claro); }
.lm-footer__news p { margin: 0 0 0.5rem; color: rgba(245, 241, 238, 0.72); }
.lm-footer__news form { display: flex; flex-direction: column; gap: 0.9rem; max-width: 24rem; margin-top: 1rem; }
.lm-footer__news label {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(245, 241, 238, 0.7);
}
.lm-footer__news input {
	width: 100%;
	box-sizing: border-box;
	margin-top: 0.4rem;
	padding: 0.75rem 0.9rem;
	background: transparent;
	border: 1px solid rgba(245, 241, 238, 0.35);
	border-radius: 0;
	color: var(--lm-marfil);
	font-family: var(--lm-sans);
	font-size: 1rem;
}
.lm-footer__news input::placeholder { color: rgba(245, 241, 238, 0.4); }
.lm-footer__news input:focus { outline: none; border-color: var(--lm-dorado); }
.lm-footer__news .lm-btn { align-self: flex-start; margin-top: 0.25rem; border-color: var(--lm-marfil); color: var(--lm-marfil); }
.lm-footer__news .lm-btn:hover { background: var(--lm-dorado); border-color: var(--lm-dorado); color: var(--lm-marfil); }
.lm-newsletter-msg { min-height: 1.3em; margin: 0; font-size: 0.8125rem; color: var(--lm-dorado-claro); }
.lm-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	width: min(100% - 2.5rem, 1280px);
	margin: 3rem auto 0;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(245, 241, 238, 0.18);
	font-size: 0.8125rem;
	color: rgba(245, 241, 238, 0.6);
}
.lm-footer__bottom a { color: inherit; }
.lm-footer__bottom a:hover { color: var(--lm-dorado-claro); }
/* Polylang switcher (mu-plugin echoes it at body end, under the footer) */
.lm-lang-switch {
	display: flex !important;
	justify-content: center;
	gap: 0.5rem;
	padding: 0 0 1.25rem;
	background: var(--lm-negro);
	font-size: 0.8125rem;
}
.lm-lang-switch a {
	color: var(--lm-marfil) !important;
	opacity: 0.7;
}
.lm-lang-switch a:hover,
.lm-lang-switch .active a,
.lm-lang-switch a.active,
.lm-lang-switch a[aria-current] {
	opacity: 1;
	color: var(--lm-dorado-claro) !important;
}

/* ---------- Prose (narrative sections) ---------- */
.lm-prose { max-width: 46rem; margin-inline: auto; }
.lm-prose > * + * { margin-top: 1.6rem; }
.lm-prose h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); margin-top: 3rem; }
.lm-prose .lm-note { color: var(--lm-taupe); font-size: 0.9375rem; }
.lm-lead {
	font-family: var(--lm-serif);
	font-style: italic;
	font-size: clamp(1.25rem, 1rem + 1.2vw, 1.625rem);
	line-height: 1.55;
	color: var(--lm-negro);
}
.lm-quote {
	font-family: var(--lm-serif);
	font-style: italic;
	font-size: clamp(1.375rem, 1.1rem + 1.4vw, 1.75rem);
	line-height: 1.5;
	color: var(--lm-negro);
	max-width: 46rem;
	margin: 2.5rem auto;
}
.lm-quote cite {
	display: block;
	margin-top: 1.1rem;
	font-family: var(--lm-sans);
	font-style: normal;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--lm-dorado-oscuro);
}

/* ---------- Collage (Inicio) ---------- */
.lm-collage { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 782px) { .lm-collage { grid-template-columns: 1fr 1fr; } }
.lm-collage figure { margin: 0; overflow: hidden; background: var(--lm-piedra); }
.lm-collage img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* ---------- Blog / article cards ---------- */
.lm-post-card { display: block; background: var(--lm-hueso); color: inherit; text-decoration: none; }
.lm-post-card:hover { color: inherit; }
.lm-post-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--lm-piedra); }
.lm-post-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lm-post-card__body { padding: 1.6rem 1.6rem 1.8rem; }
.lm-post-card__body h3 { font-size: 1.375rem; margin: 0 0 0.7rem; }
.lm-post-card__body h2 { font-size: 1.375rem; margin: 0 0 0.7rem; } /* L5: card titles promoted h3->h2, size held */
.lm-post-card__body p { margin: 0; color: var(--lm-taupe); font-size: 0.9375rem; line-height: 1.65; }
/* M5: related/post cards whose markup has no thumbnail (e.g. /culpa/
   related grid) get one via ::before keyed on the article href (covers exist
   in /uploads/2026/10/). :not(:has(img)) keeps it off cards that already
   carry a real <img> (recursos related cards, wave 2). */
.lm-post-card[href*="gaslighting-cerebro"]:not(:has(img))::before,
.lm-post-card[href*="darvo-sistema-nervioso"]:not(:has(img))::before,
.lm-post-card[href*="verguenza-espejo"]:not(:has(img))::before,
.lm-post-card[href*="secreto-sistema-nervioso"]:not(:has(img))::before,
.lm-post-card[href*="culpa-que-aprendiste-de-nina"]:not(:has(img))::before,
.lm-post-card[href*="acoso-judicial-expareja"]:not(:has(img))::before {
	content: "";
	display: block;
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
	background-color: var(--lm-piedra);
}
.lm-post-card[href*="gaslighting-cerebro"]:not(:has(img))::before { background-image: url('/wp-content/uploads/2026/10/gaslighting-cover-square.webp'); }
.lm-post-card[href*="darvo-sistema-nervioso"]:not(:has(img))::before { background-image: url('/wp-content/uploads/2026/10/darvo-cover-square.webp'); }
.lm-post-card[href*="verguenza-espejo"]:not(:has(img))::before { background-image: url('/wp-content/uploads/2026/10/verguenza-cover-square.webp'); }
.lm-post-card[href*="secreto-sistema-nervioso"]:not(:has(img))::before { background-image: url('/wp-content/uploads/2026/10/secreto-cover-square.webp'); }
.lm-post-card[href*="acoso-judicial-expareja"]:not(:has(img))::before { background-image: url('/wp-content/uploads/2026/10/acoso-judicial-cover-square.webp'); }
/* culpa square: girl small in the lower third — anchor bottom */
.lm-post-card[href*="culpa-que-aprendiste-de-nina"]:not(:has(img))::before { background-image: url('/wp-content/uploads/2026/10/culpa-cover-square.webp'); background-position: center 75%; }

/* ---------- Blog index (M4): cards with ONE cover + excerpt ----------
   Replaces the theme index pattern that rendered the full article inline
   (double cover + very long index; H1 clipped under the topbar). */
.lm-index { margin-top: 0; padding-top: 56px; padding-bottom: 4rem; }
.lm-index__inner { padding-top: 2.5rem; padding-inline: 1.5rem; }
.lm-index__inner h1 { margin-bottom: 0.75rem; }
.lm-index__lead { color: var(--lm-taupe); margin-bottom: 2.5rem; max-width: 42rem; }
/* (0,2,0) so these beat the body-injected .wp-block-post-template
   { padding:0; max-width:100% } and the .alignfull margin calcs */
.lm-index .lm-index__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 76rem; margin-inline: auto; padding-inline: 1.5rem; }
.lm-index .lm-index__grid > li { margin: 0; }
.lm-index__card { display: flex; flex-direction: column; }
.lm-index__card .wp-block-post-featured-image { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lm-piedra); }
.lm-index__card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.lm-index__text { flex: 1; display: flex; flex-direction: column; gap: 0.7rem; padding: 1.4rem 1.4rem 1.6rem; }
.lm-index__text .wp-block-post-title { margin: 0; font-size: 1.375rem; line-height: 1.3; }
.lm-index__text .wp-block-post-title a { text-decoration: none; }
.lm-index__text .wp-block-post-excerpt { margin: 0; }
.lm-index__text .wp-block-post-excerpt p { margin: 0; color: var(--lm-taupe); font-size: 0.9375rem; line-height: 1.65; }
.lm-index__text .wp-block-post-excerpt a { color: var(--lm-dorado-oscuro); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.lm-index__text .wp-block-post-excerpt a:hover { color: var(--lm-taupe); }
.lm-index__pager { margin-top: 2rem; text-align: center; }
.lm-index__pager a { display: inline-block; margin: 0 0.25rem; padding: 0.7rem 0.8rem; border: 1px solid var(--lm-piedra); font-size: 0.8125rem; text-decoration: none; color: var(--lm-taupe); }
.lm-index__pager a:hover { border-color: var(--lm-negro); color: var(--lm-negro); }
@media (min-width: 782px) {
	.lm-index { padding-top: 64px; }
	.lm-index__inner { padding-top: 3.5rem; }
	.lm-index .lm-index__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 781px) {
	/* H1/lead are constrained children (no side padding at <660); align them
	   with the grid by padding the main and dropping the grid's own padding */
	.lm-index { padding-inline: 1.5rem; }
	.lm-index .lm-index__grid { padding-inline: 0; }
}

/* ---------- FAQ ---------- */
.lm-faq { border-bottom: 1px solid var(--lm-piedra); padding: 1.1rem 0; background: transparent; }
.lm-faq:first-of-type { border-top: 1px solid var(--lm-piedra); }
.lm-faq summary {
	position: relative;
	padding: 0.35rem 2.25rem 0.35rem 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--lm-serif);
	font-size: 1.3rem;
	color: var(--lm-negro);
}
.lm-faq summary::-webkit-details-marker { display: none; }
.lm-faq summary::after {
	content: "+";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--lm-sans);
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--lm-dorado);
	transition: transform 0.3s ease;
}
.lm-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lm-faq[open] summary { color: var(--lm-dorado-oscuro); }
.lm-faq p { margin: 0.9rem 0 0; padding-right: 2.25rem; color: var(--lm-taupe); }

/* ---------- Author box (articles) ---------- */
.lm-author {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	background: var(--lm-hueso);
	padding: 1.75rem;
}
.lm-author__img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lm-author__name { font-family: var(--lm-serif); font-size: 1.375rem; margin: 0.25rem 0 0.5rem; }
.lm-author a { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lm-dorado-oscuro); text-decoration: none; }
.lm-author a:hover { color: var(--lm-negro); }

/* ---------- Credential list (Sobre mí) ---------- */
.lm-creds { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 782px) { .lm-creds { grid-template-columns: 1fr 1fr; } }
.lm-creds .lm-card p { color: var(--lm-negro); }
.lm-creds .lm-card strong { color: var(--lm-dorado-oscuro); font-weight: 600; }

/* ---------- Motion: fade-in blocks on scroll ----------
   Visible by default. lm-editorial.js adds `html.lm-js` only after the
   IntersectionObserver is armed; the hidden state applies only under that
   class, so content shows with JS off or if the script fails. A <noscript>
   in the theme header hard-guarantees it as well. (M3) */
html.lm-js .lm-reveal {
	opacity: 0;
	transform: translateY(26px);
}
html.lm-js .lm-reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html.lm-js .lm-reveal { opacity: 1; transform: none; transition: none; }
	.lm-cover--fade .lm-cover__bg { animation: none; opacity: 1; }
	.lm-menu-panel, .lm-menu-overlay, .lm-btn, .lm-faq summary::after { transition: none; }
	* { scroll-behavior: auto !important; }
}

/* ---------- Layout fixes for FSE wrappers ---------- */
/* M1 root: push all cover content below the fixed topbar. main's margin
   (TTF .wp-site-blocks > * + * = 28px) would collapse with a child
   margin-top, so use padding on main and zero its margin. */
.lm-main { background: var(--lm-marfil); margin-top: 0; padding-top: 64px; }
@media (max-width: 781px) {
	.lm-main { padding-top: 56px; }
}
.lm-main .wp-block-post-content { margin-inline: 0; }
/* stock header/footer padding that would double up with the new parts */
body.has-header .lm-topbar { position: fixed; }
/* ---------- Complianz banner (H4) ----------
   Live banner is #cmplz-cookiebanner-1-optin, JS-inlined z-index 99999 with
   three stacked full-width buttons (332px tall at 390): it covered the hero
   CTA and half the open menu (panel z 90). 65 = above topbar (60), below
   overlay (80) and panel (90); buttons go single-row on mobile. */
#cmplz-cookiebanner-1-optin, #cmplz-banner, .cmplz-banner-wrapper { z-index: 65 !important; }
@media (max-width: 781px) {
	#cmplz-cookiebanner-1-optin .cmplz-header { margin-bottom: 0.6rem; }
	#cmplz-cookiebanner-1-optin .cmplz-message { font-size: 0.8125rem; line-height: 1.5; }
	#cmplz-cookiebanner-1-optin .cmplz-buttons { display: flex; flex-direction: row; gap: 0.5rem; }
	#cmplz-cookiebanner-1-optin .cmplz-buttons .cmplz-btn {
		flex: 1 1 0;
		width: auto !important;
		min-width: 0;
		padding: 0.6rem 0.35rem !important;
		font-size: 0.6875rem;
		letter-spacing: 0.02em;
		text-align: center;
	}
}
