*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Palatino Linotype',Palatino,'Book Antiqua',serif;line-height:1.9;color:#2a2a2a;background:#fefefe}
.Layout_row__CZdgH{max-width:640px;margin:0 auto;padding:0 20px}
.Banner_text__VYxzq{padding:60px 0 40px;border-bottom:1px solid #ccc;margin-bottom:48px}
.Banner_text__VYxzq h1{font-size:24px;font-weight:400;letter-spacing:-.5px}
.Banner_text__VYxzq p{font-size:14px;color:#777;margin-top:6px;font-style:italic}
.Banner_text__VYxzq a{color:#2a2a2a;text-decoration:none;font-size:24px;font-weight:400;letter-spacing:-.5px}
.Section_area__pjaew{padding:20px 0}
.Section_area__pjaew h2{font-size:18px;font-weight:400;margin-bottom:4px}
.Section_area__pjaew h2 a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.Section_area__pjaew h2 a:hover{border-bottom-color:#2a2a2a}
.Section_area__pjaew .Module_text__KgZa1{font-size:12px;color:#aaa;margin-bottom:6px}
.Section_area__pjaew p{font-size:14px;color:#666}
.Banner_block__nRO3C{color:#888;font-size:13px;text-decoration:none}
.Banner_block__nRO3C:hover{color:#2a2a2a}
.Sidebar_wrapper__FEB6C{padding-bottom:60px}
.Sidebar_wrapper__FEB6C h1{font-size:28px;font-weight:400;margin-bottom:8px}
.Sidebar_wrapper__FEB6C .Module_text__KgZa1{font-size:12px;color:#aaa;display:block;margin-bottom:32px}
.Sidebar_wrapper__FEB6C h2{font-size:21px;font-weight:400;margin:40px 0 12px;border-bottom:1px solid #eee;padding-bottom:6px}
.Sidebar_wrapper__FEB6C h3{font-size:17px;margin:28px 0 8px}
.Sidebar_wrapper__FEB6C p{margin-bottom:18px;font-size:16px}
.Sidebar_wrapper__FEB6C ul,.Sidebar_wrapper__FEB6C ol{margin:0 0 18px 20px}
.Sidebar_wrapper__FEB6C a{color:#555;border-bottom:1px solid #ccc}
.Sidebar_wrapper__FEB6C a:hover{color:#000;border-bottom-color:#000}
.Sidebar_wrapper__FEB6C img{max-width:100%;height:auto;margin:24px 0}
.Article_link__p8kRS{border-top:1px solid #ddd;padding:20px 0;margin-top:48px;text-align:center;font-size:12px;color:#aaa}
.Article_link__p8kRS a{color:#aaa;text-decoration:none}
.Banner_wrapper__4FBBd{padding:0 0 16px;margin-bottom:24px;font-size:12px;color:#aaa;font-style:italic;border-bottom:1px solid #eee}
.Banner_inner__AJBgo{padding:16px 0 0;margin-top:32px;font-size:11px;color:#999;border-top:1px solid #eee}
.Main_link__543Tt{font-size:12px;color:#aaa;margin:-26px 0 32px;font-weight:300}
.Article_box__YA4Sx{margin:0 auto 32px;max-width:720px}
.Page_title__LKZqM{width:100%;height:auto}
.Content_link__8PbUL{margin-top:40px;padding-top:20px;border-top:1px solid #eee;font-size:14px;color:#888}
.Content_link__8PbUL em{color:#aaa}
.Content_link__8PbUL a{color:#555;border-bottom:1px solid #ddd;text-decoration:none}
.Layout_box__lZguo{padding:24px 0 0;border-top:1px solid #eee;margin-top:24px}
.Layout_box__lZguo p{padding:3px 0;margin:0;font-size:15px}
.Layout_box__lZguo a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.Layout_box__lZguo a:hover{border-bottom-color:#2a2a2a}
/* === Theme === */
:root{--primary:#1F2A4A;--accent:#A8754A;--bg:#E8E8DE;--fg:#0F1820;--border:#B8B0A0;--r:3px;--fb:'Geist';--fh:'Fraunces'}
/* === Custom === */
/* v.7b8f09 — layout revision */
/* Puntadas Técnicas · Valeria — editorial signature pass for ln-pro-es.
   Structural / element selectors only (deploy obfuscates classes).
   Display voice: Fraunces italic serif · Text: Geist · Meta: Geist tracked caps.
   ONE moment colour (#7A6B4A) used in exactly TWO places: homepage hero drop
   cap + article intro drop cap. @font-face (not @import) — the concatenated
   site.css drops a leading @import per spec, so fonts are declared inline. */

/* ---------- FONTS (position-independent @font-face) ---------- */
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/fraunces/v38/6NVf8FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChJdt9vIVYX9G37lvd9sPEKsxx664UJf1hLTf7W.ttf) format('truetype'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/fraunces/v38/6NVf8FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChJdt9vIVYX9G37lvd9sPEKsxx664UJf1h5Tf7W.ttf) format('truetype'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/fraunces/v38/6NUh8FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0K7iN7hzFUPJH58nib1603gg7S2nfgRYIctxujDg.ttf) format('truetype'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/fraunces/v38/6NUh8FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0K7iN7hzFUPJH58nib1603gg7S2nfgRYIcaRyjDg.ttf) format('truetype'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/geist/v5/gyBhhwUxId8gMGYQMKR3pzfaWI_RnOM4nQ.ttf) format('truetype'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url(https://fonts.gstatic.com/s/geist/v5/gyBhhwUxId8gMGYQMKR3pzfaWI_RruM4nQ.ttf) format('truetype'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url(https://fonts.gstatic.com/s/geist/v5/gyBhhwUxId8gMGYQMKR3pzfaWI_RQuQ4nQ.ttf) format('truetype'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 700; font-display: swap; src: url(https://fonts.gstatic.com/s/geist/v5/gyBhhwUxId8gMGYQMKR3pzfaWI_Re-Q4nQ.ttf) format('truetype'); }

:root { --moment: #7A6B4A; --paper: #F4EEE1; --paper2: #EFE8D8; }

:root body { font-family: var(--fb), system-ui, -apple-system, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.70; font-size: 16.5px; }
::selection { background: var(--accent); color: var(--bg); }
:root hr { border: 0; border-top: 1px solid var(--border); margin: 30px 0; }

/* ============================================================= */
/* MASTHEAD — photo band + monogram + serif-italic wordmark      */
/* ============================================================= */
:root > body > header { position: relative; background: var(--primary); color: var(--bg); padding: 56px 0 42px; margin-bottom: 54px; border-bottom: 3px solid var(--accent); text-align: center; }
:root > body > header:has(> h1) {
  background:
    linear-gradient(180deg, rgba(31,42,74,.80) 0%, rgba(31,42,74,.88) 55%, rgba(31,42,74,.95) 100%),
    url("/theme-assets/backdrop.jpg") center 40% / cover no-repeat,
    var(--primary);
  max-width: none;
}
/* Signature monogram: ring + sewing needle + rust thread curl */
:root > body > header:has(> h1)::before {
  content: ""; display: block; width: 44px; height: 44px; margin: 0 auto 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='21' fill='none' stroke='%23E8E8DE' stroke-width='1.3'/%3E%3Cline x1='16' y1='34' x2='32' y2='16' stroke='%23E8E8DE' stroke-width='1.8' stroke-linecap='round'/%3E%3Cellipse cx='32' cy='16' rx='2' ry='3' fill='none' stroke='%23E8E8DE' stroke-width='1.3' transform='rotate(45 32 16)'/%3E%3Cpath d='M16 34 c -3 3 -6 2 -8 -1' fill='none' stroke='%23A8754A' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
:root > body > header > h1, :root > body > header h1 { max-width: 900px; margin: 0 auto 6px; padding: 0 24px; font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 500; font-size: 35px; line-height: 1.12; letter-spacing: -0.01em; color: var(--bg); }
:root > body > header > p, :root > body > header p { max-width: 600px; margin: 0 auto; padding: 14px 24px 0; font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 15.5px; line-height: 1.5; color: rgba(232,232,222,.86); position: relative; }
:root > body > header > p::before { content: ""; display: block; width: 40px; height: 2px; background: var(--accent); margin: 0 auto 15px; }
/* Article/author masthead: slim navy bar, wordmark = quiet italic back-link */
/* M6 [both]: escape the Layout_row max-width so the navy band is full-bleed like
   the homepage masthead (the centred <a> stays put via header text-align:center).
   Only the header goes full-width — <main> keeps its 740px reading measure. */
:root > body > header:has(> a):not(:has(> h1)) { padding: 22px 24px; margin: 0 0 44px; max-width: none; width: 100%; box-sizing: border-box; }
:root > body > header a { font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 22px; font-weight: 500; color: var(--bg); text-decoration: none; letter-spacing: .01em; }

/* ============================================================= */
/* SHARED main container                                          */
/* ============================================================= */
:root main { max-width: 740px; margin: 0 auto; padding: 0 24px 60px; }

/* ============================================================= */
/* ARTICLE PAGE                                                   */
/* ============================================================= */
:root main:has(> article) > h1 { font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 500; font-size: 41px; line-height: 1.08; letter-spacing: -0.015em; color: var(--primary); margin: 4px 0 8px; }
/* Real article date lives in a <span> after the H1 (generator quirk), not <time> */
:root main:has(> article) > h1 + span { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 34px; }
/* S6: persona anchor under the date — byline reinforces the bitácora voice */
:root main:has(> article) > h1 + span::after { content: "Por Valeria Sotelo · Bitácora desde Almagro, Buenos Aires"; display: block; margin-top: 7px; font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 400; font-size: 14.5px; letter-spacing: 0; text-transform: none; color: var(--fg); opacity: .72; }
:root main > time { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--accent); margin-bottom: 26px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }

:root main:has(> article) > article > p { margin-bottom: 20px; font-size: 18px; line-height: 1.78; max-width: 66ch; }
:root main > article > p { margin-bottom: 18px; font-size: 18px; line-height: 1.78; }
/* Drop cap on the opening paragraph — second (and final) moment-colour use */
:root main > article > p:first-of-type { font-size: 19px; line-height: 1.72; }
:root main > article > p:first-of-type::first-letter { float: left; font-family: var(--fh), Cambria, serif; font-weight: 600; font-size: 60px; line-height: .80; padding: 6px 12px 0 0; color: var(--moment); }
:root main > article > p strong, :root main > article li strong { color: var(--primary); font-weight: 700; }

/* Dinkus divider between sections instead of a heavy underline */
:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-weight: 600; font-size: 25px; line-height: 1.2; color: var(--primary); margin: 46px 0 12px; padding-bottom: 0; border-bottom: 0; letter-spacing: -0.005em; }
:root main > article > h2::before { content: "❦"; display: block; text-align: center; font-family: var(--fh), Cambria, serif; font-size: 20px; color: var(--accent); margin: 4px 0 20px; }
:root main > article > h3 { font-family: var(--fh), Cambria, serif; font-weight: 600; font-size: 19px; color: var(--primary); margin: 30px 0 10px; }
:root main > article ul, :root main > article ol { margin: 0 0 18px 26px; }
:root main > article li { margin-bottom: 8px; font-size: 17px; line-height: 1.7; }

/* Body links (specificity floor for CTA rule below) */
:root main > article > p a, :root main > article > p a:visited, :root main > article > p > i a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600; }
:root main > article > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }

/* Affiliate/monetised CTA pills — full body-link path + attr so they out-specify body links (RULE J) */
:root main > article > p a[href^="/ref/"], :root main > article > p a[href^="/try/"], :root main > article > p a[href^="/check/"], :root main > article > p a[href^="/partner/"], :root main > article > p a[href^="/go/"], :root main > article > p a[href^="/out/"], :root main > article > p a[href^="/visit/"], :root main > article > li a[href^="/ref/"], :root main > article > li a[href^="/check/"] { display: inline-block; background: var(--accent); color: var(--bg); padding: 4px 15px; border-radius: 999px; text-decoration: none; font-weight: 700; font-family: var(--fb), system-ui, sans-serif; font-size: 14px; letter-spacing: .01em; box-shadow: 0 1px 3px rgba(15,24,32,.16); }
:root main > article > p a[href^="/ref/"]::after, :root main > article > p a[href^="/try/"]::after, :root main > article > p a[href^="/check/"]::after, :root main > article > p a[href^="/partner/"]::after, :root main > article > p a[href^="/go/"]::after, :root main > article > p a[href^="/out/"]::after, :root main > article > p a[href^="/visit/"]::after { content: " ↗"; }
:root main > article > p a[href^="/ref/"]:hover, :root main > article > p a[href^="/try/"]:hover, :root main > article > p a[href^="/check/"]:hover, :root main > article > p a[href^="/partner/"]:hover, :root main > article > p a[href^="/go/"]:hover, :root main > article > p a[href^="/out/"]:hover, :root main > article > p a[href^="/visit/"]:hover { background: var(--primary); color: var(--bg); }

:root main > article > img, :root main > article > figure { margin: 6px 0 28px; }
:root main > article > img, :root main > article > figure > img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 2px 12px rgba(15, 24, 32, .12); }

/* Related-articles nav (obfuscated class → target by element) */
:root main > article + nav { margin-top: 48px; padding-top: 26px; border-top: 2px solid var(--accent); }
:root main > article + nav em { display: block; font-style: normal; font-family: var(--fb), system-ui, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
:root main > article + nav p { line-height: 2; }
:root main > article + nav a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; font-weight: 600; }
:root main > article + nav a:hover { color: var(--accent); }

/* ============================================================= */
/* HOMEPAGE — 6-col editorial grid                               */
/* hero (1/-1) → picks trio (span 2) → EL CUADERNO strip →       */
/* journal grid (span 3) → LEER MÁS strip → compact index tail   */
/* ============================================================= */
:root main:not(:has(> article)) { max-width: 1080px; display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 30px; row-gap: 0; align-items: stretch; }

/* Base feed-card reset = journal look (open, hairline top, no box) */
:root main:not(:has(> article)) > div:has(> h2 > a) { grid-column: span 3; background: transparent; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 26px 0 28px; margin: 0; position: relative; }
:root main:not(:has(> article)) > div:has(> h2 > a):hover { border-top-color: var(--accent); }
:root main:not(:has(> article)) > div:has(> h2 > a) > p:first-child { font-family: var(--fb), system-ui, sans-serif; font-size: 11px; color: var(--accent); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; line-height: 1.4; }
:root main:not(:has(> article)) > div:has(> h2 > a) > h2 { font-family: var(--fh), Cambria, serif; font-weight: 600; font-size: 20px; line-height: 1.22; margin-bottom: 10px; padding: 0; border: 0; letter-spacing: -0.005em; }
:root main:not(:has(> article)) > div:has(> h2 > a) > h2 a { color: var(--primary); text-decoration: none; }
:root main:not(:has(> article)) > div:has(> h2 > a) > h2 a:hover { color: var(--accent); }
:root main:not(:has(> article)) > div:has(> h2 > a) > p:not(:first-child) { font-family: var(--fb), system-ui, sans-serif; font-size: 15px; line-height: 1.6; color: var(--fg); opacity: .84; margin-bottom: 14px; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Localise the generator's English "read more →" */
:root main:not(:has(> article)) > div:has(> h2 > a) > a:last-child { display: inline-block; border: 0; padding: 0; background: transparent; font-size: 0; text-decoration: none; }
:root main:not(:has(> article)) > div:has(> h2 > a) > a:last-child::after { content: "Seguir leyendo →"; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--primary); }
:root main:not(:has(> article)) > div:has(> h2 > a) > a:last-child:hover::after { color: var(--accent); }

/* ---------- HERO: card 1, the loud voice ---------- */
:root main:not(:has(> article)) > div:first-child { grid-column: 1 / -1; background: var(--paper); border: 1px solid rgba(0,0,0,.08); border-top: 3px solid var(--accent); border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.04); padding: 38px 44px 40px; margin-bottom: 40px; }
:root main:not(:has(> article)) > div:first-child > p:first-child { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .2em; margin-bottom: 10px; }
:root main:not(:has(> article)) > div:first-child > p:first-child::before { content: "Última entrada — "; }
:root main:not(:has(> article)) > div:first-child > h2 { font-family: var(--fh), Cambria, serif; font-style: italic; font-weight: 500; font-size: 42px; line-height: 1.06; letter-spacing: -0.015em; margin: 6px 0 16px; max-width: 17ch; }
:root main:not(:has(> article)) > div:first-child > p:last-of-type { font-size: 19px; line-height: 1.55; opacity: 1; color: var(--fg); max-width: 60ch; -webkit-line-clamp: initial; display: block; overflow: visible; }
:root main:not(:has(> article)) > div:first-child > p:last-of-type::first-letter { float: left; font-family: var(--fh), Cambria, serif; font-weight: 600; font-size: 64px; line-height: .80; padding: 6px 13px 0 0; color: var(--moment); }
:root main:not(:has(> article)) > div:first-child > a:last-child { clear: left; margin-top: 22px; padding: 10px 24px; border: 1.5px solid var(--primary); border-radius: 999px; transition: background .14s ease; }
:root main:not(:has(> article)) > div:first-child > a:last-child::after { content: "Leer la entrada →"; font-size: 13px; }
:root main:not(:has(> article)) > div:first-child > a:last-child:hover { background: var(--primary); }
:root main:not(:has(> article)) > div:first-child > a:last-child:hover::after { color: var(--bg); }

/* ---------- EDITOR'S PICKS: cards 2-4, warm boxes, roman index ---------- */
/* M3: picks trio needs >=32px horizontal + a roomier top gutter (was 24px 26px 26px,
   which hugged the frame). 34px horizontal / 30px top clears the rule; uniform padding
   in the align-items:stretch row preserves M4 equal heights. */
:root main:not(:has(> article)) > div:nth-child(2), :root main:not(:has(> article)) > div:nth-child(3), :root main:not(:has(> article)) > div:nth-child(4) { grid-column: span 2; background: var(--paper2); border: 1px solid rgba(0,0,0,.08); border-top: 2px solid var(--accent); border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.04); padding: 30px 34px 32px; margin: 56px 0 44px; }
:root main:not(:has(> article)) > div:nth-child(2):hover, :root main:not(:has(> article)) > div:nth-child(3):hover, :root main:not(:has(> article)) > div:nth-child(4):hover { border-top-color: var(--primary); }
:root main:not(:has(> article)) > div:nth-child(2) > p:first-child::before { content: "N.º I — "; color: var(--accent); }
:root main:not(:has(> article)) > div:nth-child(3) > p:first-child::before { content: "N.º II — "; color: var(--accent); }
:root main:not(:has(> article)) > div:nth-child(4) > p:first-child::before { content: "N.º III — "; color: var(--accent); }
/* Full-row PICKS label above the trio (RULE B) — anchored on card 2, spans the whole row */
:root main:not(:has(> article)) > div:nth-child(2)::before { content: "Selección de Valeria — empezá por acá"; position: absolute; left: 0; bottom: calc(100% + 16px); width: calc(300% + 60px); font-family: var(--fb), system-ui, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ---------- STRIP 1: EL CUADERNO — between picks and journal ---------- */
/* Reserve the gap on the first journal row (cards 5 & 6), anchor the band on card 5 */
:root main:not(:has(> article)) > div:nth-child(5), :root main:not(:has(> article)) > div:nth-child(6) { margin-top: 250px; }
:root main:not(:has(> article)) > div:nth-child(5)::before {
  content: "El Cuaderno"; position: absolute; left: 0; bottom: calc(100% + 30px); width: calc(200% + 30px); height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(rgba(20,24,28,.58), rgba(20,24,28,.30)), url("/theme-assets/story-cover.jpg") center 30% / cover no-repeat, var(--primary);
  border-radius: 8px; color: #F4EEE1; font-family: var(--fb), system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

/* ---------- JOURNAL: cards 5+ two-column open index ---------- */
/* Scope to real journal cards (h2>a) so this does NOT capture the title-only tail
   div and pin it to a half-width span-3 cell (M7 "narrow-left" bug). */
:root main:not(:has(> article)) > div:nth-child(n+5):has(> h2 > a) { grid-column: span 3; }
/* A lone trailing journal card (odd count) fills the row so no empty half dangles */
:root main:not(:has(> article)) > div:has(> h2 > a):nth-last-of-type(2):nth-child(odd) { grid-column: 1 / -1; }

/* ---------- COMPACT TAIL: the title-only Layout_box (RULE G / M7) ---------- */
/* M7: full-width magazine index rendered as a 3-col grid of BOXED CREAM CARDS,
   using the same paper token + border + radius + shadow + accent-top + hover as
   the picks cards at the top of the page (design-parity, not an afterthought). */
:root main:not(:has(> article)) > div:not(:has(> h2)) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; align-items: stretch; background: transparent; border: 0; padding: 0; margin: 88px 0 0; }
/* STRIP 2: LEER MÁS — full-width band as the tail's header row */
:root main:not(:has(> article)) > div:not(:has(> h2))::before {
  content: "Leer más"; grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; height: 210px; margin: 0 0 20px;
  background: linear-gradient(rgba(28,22,16,.58), rgba(28,22,16,.30)), url("/theme-assets/story-cover.jpg") center 70% / cover no-repeat, var(--primary);
  border-radius: 8px; color: #F4EEE1; font-family: var(--fb), system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
/* each <p> is a stretched grid cell; the inner <a> fills it → equal heights per row */
:root main:not(:has(> article)) > div:not(:has(> h2)) > p { margin: 0; padding: 0; display: flex; }
:root main:not(:has(> article)) > div:not(:has(> h2)) > p a { flex: 1; display: flex; align-items: center; background: var(--paper2); border: 1px solid rgba(0,0,0,.08); border-top: 2px solid var(--accent); border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.04); padding: 18px 22px; font-family: var(--fh), Cambria, serif; font-weight: 500; font-size: 14.5px; line-height: 1.4; color: var(--primary); text-decoration: none; transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease; }
:root main:not(:has(> article)) > div:not(:has(> h2)) > p a:hover { border-top-color: var(--primary); box-shadow: 0 3px 10px rgba(0,0,0,.08); transform: translateY(-2px); color: var(--accent); }

/* ============================================================= */
/* FOOTER                                                         */
/* ============================================================= */
:root footer { background: transparent; border-top: 1px solid var(--border); padding: 24px 0 34px; margin-top: 56px; text-align: center; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--fg); opacity: .62; letter-spacing: .02em; }
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--border); }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* ============================================================= */
/* RESPONSIVE — collapse grid, drop reserved gaps & bands        */
/* ============================================================= */
@media (max-width: 900px) {
  :root main:not(:has(> article)) { display: block; max-width: 740px; }
  :root main:not(:has(> article)) > div:has(> h2 > a) { grid-column: auto; }
  :root main:not(:has(> article)) > div:first-child { padding: 28px 24px 30px; margin-bottom: 8px; }
  :root main:not(:has(> article)) > div:first-child > h2 { font-size: 31px; }
  :root main:not(:has(> article)) > div:first-child > p:last-of-type::first-letter { font-size: 52px; }
  /* picks: stack, keep boxes, drop the desktop reserved top-margin */
  :root main:not(:has(> article)) > div:nth-child(2), :root main:not(:has(> article)) > div:nth-child(3), :root main:not(:has(> article)) > div:nth-child(4) { margin: 16px 0; }
  /* full-row picks label re-anchored to normal flow above card 2 */
  :root main:not(:has(> article)) > div:nth-child(2)::before { position: static; width: auto; display: block; margin: 40px 0 6px; }
  /* journal reserved gap off; strip 1 becomes a normal-flow band */
  :root main:not(:has(> article)) > div:nth-child(5), :root main:not(:has(> article)) > div:nth-child(6) { margin-top: 0; }
  :root main:not(:has(> article)) > div:nth-child(5)::before { position: static; width: auto; height: 150px; bottom: auto; margin: 40px 0 20px; }
  :root main:not(:has(> article)) > div:not(:has(> h2)) { grid-template-columns: repeat(2, 1fr); margin-top: 8px; }
  :root main:not(:has(> article)) > div:not(:has(> h2))::before { height: 150px; }
}
@media (max-width: 560px) {
  :root > body > header:has(> h1) > h1 { font-size: 27px; }
  :root main:has(> article) > h1 { font-size: 31px; }
  :root main > article > p { font-size: 17px; }
  /* M7 tail: single column of boxed cards on phones (no clipping, readable at 390px) */
  :root main:not(:has(> article)) > div:not(:has(> h2)) { grid-template-columns: 1fr; }
}


/* related-articles-nav-fix v1 */
:root main > nav p,
:root main > section p {
  line-height: 1.85;
  margin: 0;
}
:root main > nav a,
:root main > section a {
  display: inline-block;
  margin: 0 4px;
  padding: 0 2px;
}


/* mobile-overflow-fix v1 */
:root html, :root body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 920px) {
  :root main > * { max-width: 100%; }
  :root main { overflow-x: hidden; }
}


/* mobile-overflow-fix v2 */
@media (max-width: 640px) {
  :root main,
  :root main > article,
  :root main > div,
  :root main > section,
  :root main > nav {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  :root main > article > *,
  :root main > div > *,
  :root main > section > *,
  :root main > nav > * {
    max-width: 100%;
  }
  :root main h1,
  :root main h2,
  :root main h3,
  :root main h4 {
    overflow-wrap: break-word;
    word-break: normal;
  }
  /* Any 3+ col grid inside main → 1 col on mobile */
  :root main :is(ul, ol, section, div, nav)[style*="grid-template-columns"],
  :root main > section > ul,
  :root main > nav > ul,
  :root main > div > ul {
    grid-template-columns: 1fr !important;
  }
  /* Any CSS multi-column layout → 1 col on mobile */
  :root main :is(ul, ol, section, div, p) {
    columns: 1;
  }
  /* Article body images stay inside viewport */
  :root main img,
  :root main figure {
    max-width: 100%;
    height: auto;
  }
}


/* mobile-padding-fix v1 */
@media (max-width: 640px) {
  :root main {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Racquet-moody overlay=40% grid=asymmetric scale=dramatic family=flat-divs */


/* ── CARD 1: featured full-row with 300px photo header (via card-own background, NOT ::before —
    leaves ::before free for existing site's M2 label / meta content). ── */
:root main:not(:has(> h1)) > div:nth-of-type(1) {
  grid-column: 1 / -1;
  position: relative;      /* anchor for existing site's ::before label if it uses absolute */
  overflow: visible;       /* let above-card labels render without clipping */
  padding: 320px 44px 40px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 300px,
    var(--bg) !important;
  margin-top: 60px !important;  /* room for above-card M2 label (existing site convention) */
}

/* ── CARDS 2-4: medium with 180px photo header (background technique, ::before untouched) ── */
:root main:not(:has(> h1)) > div:nth-of-type(2) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(3) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(4) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

/* ── flat-divs family: cards 5 & 6 also get photo headers ── */
:root main:not(:has(> h1)) > div:nth-of-type(5) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-strip-1.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(6) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-strip-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

/* ── Article page: drop cap + dinkus dividers ── */
:root main:has(> h1) > article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-size: 76px; line-height: 0.9; color: var(--primary);
  float: left; margin: 6px 12px 0 0; padding: 0; font-weight: 400;
}
:root main:has(> h1) > article > h2 + p ~ h2::before {
  content: "✦ ✦ ✦";
  display: block; text-align: center; color: var(--accent);
  font-size: 12px; letter-spacing: 0.3em; margin-bottom: 24px;
  font-weight: 400;
}

/* ── Mobile responsive: adjust photo heights via background-size on the card itself ── */
@media (max-width: 720px) {
  :root main:not(:has(> h1)) > div:nth-of-type(1) {
    padding: 240px 22px 28px !important;
    background:
      url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 220px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:nth-of-type(2) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:nth-of-type(3) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:nth-of-type(4) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1))::before,
  :root main:not(:has(> h1))::after { min-height: 240px; }
  :root main:has(> h1) > article > p:first-of-type::first-letter { font-size: 60px; }
}


/* premium-upgrade v4 */
/* premium-upgrade v4 — surgical bundle. Applied 2026-08-30.
   Fixes: M10 CTA / M11 dinkus leak / M4 heights / M9 typography / M5 frames.
   Kills v2 "LATEST" label (proven counterproductive from v2 diagnosis). */

/* ── Kill v2 counterproductive homepage label ── */
:root main:not(:has(> h1))::before { content: none !important; }

/* ── M10: affiliate CTA visibility on article body ── */
:root main:has(> h1) a[href^="/try/"],
:root main:has(> h1) a[href^="/ref/"],
:root main:has(> h1) a[href^="/go/"],
:root main:has(> h1) a[href^="/out/"],
:root main:has(> h1) a[href^="/check/"],
:root main:has(> h1) a[href^="/view/"],
:root main:has(> h1) a[href*="hotmart.com"],
:root main:has(> h1) a[href*="digistore24"],
:root main:has(> h1) a[href*="clickbank"] {
  display: inline-block !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
}

/* ── M11: prevent dinkus leaking onto article page's first h2 ── */
:root main:has(> h1) > article > h2:first-of-type::before {
  content: none !important;
}

/* ── M4: force equal-height cards via grid stretch + card fill ── */
:root main:not(:has(> h1)) > div:has(> div) {
  align-items: stretch !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
:root main:not(:has(> h1)) > div > article {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
/* also for flat-divs family */
:root main:not(:has(> h1)) > div {
  height: 100% !important;
}

/* ── M9: cap small-title weight so Bebas/Anton counters don't fill in ── */
:root main:not(:has(> h1)) > div > div > h2,
:root main:not(:has(> h1)) > div > div > h2 a,
:root main:not(:has(> h1)) > section > ul > li > a,
:root main:not(:has(> h1)) > div > p > a {
  font-weight: 500 !important;
}

/* ── M5: universal soft frame fallback for card-like elements ── */
:root main:not(:has(> h1)) > div > div,
:root main:not(:has(> h1)) > div > article,
:root main:not(:has(> h1)) > article {
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05) !important;
}

