*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:#222;background:#f4f1eb}
.Nav_foot__OSqAf{max-width:1100px;margin:0 auto;padding:0 24px}
.Footer_text__zyXY6{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:48px 0;text-align:center;margin-bottom:48px}
.Footer_text__zyXY6 h1{font-size:36px;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.Footer_text__zyXY6 p{font-size:16px;opacity:.8;font-style:italic}
.Footer_text__zyXY6 .Container_head__3xyBZ{color:#fff;text-decoration:none;font-size:20px;letter-spacing:1px;text-transform:uppercase}
.Grid_text__aWfxT{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.Page_box__2O6t7{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:28px;transition:box-shadow .2s}
.Page_box__2O6t7:hover{box-shadow:0 4px 20px rgba(0,0,0,.14)}
.Page_box__2O6t7 h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.Page_box__2O6t7 h2 a{color:#2c3e50;text-decoration:none}
.Page_box__2O6t7 .Nav_title__iODDu{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}
.Page_box__2O6t7 p{font-size:15px;color:#555;margin-bottom:14px}
.Hero_area__O2HpQ{color:#e74c3c;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.Hero_main__iu7yh{max-width:780px;margin:0 auto;padding:0 24px 60px}
.Hero_main__iu7yh h1{font-size:36px;margin-bottom:10px;line-height:1.2}
.Hero_main__iu7yh .Nav_title__iODDu{font-size:13px;color:#888;display:block;margin-bottom:28px;text-transform:uppercase;letter-spacing:1px}
.Hero_main__iu7yh h2{font-size:24px;margin:36px 0 14px}
.Hero_main__iu7yh h3{font-size:19px;margin:28px 0 10px}
.Hero_main__iu7yh p{margin-bottom:18px;font-size:17px}
.Hero_main__iu7yh ul,.Hero_main__iu7yh ol{margin:0 0 18px 28px}
.Hero_main__iu7yh a{color:#e74c3c}
.Hero_main__iu7yh img{max-width:100%;height:auto;border-radius:4px;margin:20px 0}
.Post_inner__D2jB5{border-top:2px solid #ddd;padding:28px 0;margin-top:48px;text-align:center;font-size:13px;color:#888}
.Post_inner__D2jB5 a{color:#888}
.Container_row__c969k{border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:14px 0;margin-bottom:28px;font-size:14px;color:#888;font-style:italic;text-align:center}
.Article_area__ZEnHD{background:#f9f3e3;padding:16px 20px;margin-top:28px;font-size:13px;color:#7a6230;border-radius:4px}
.Header_text__9D4Dh{font-size:11px;color:#888;margin:-22px 0 28px;text-transform:uppercase;letter-spacing:1.5px}
.Post_content__tVJuO{margin:0 0 28px}
.Wrapper_title__th222{width:100%;height:auto;border-radius:4px}
.Post_row__ZLLUf{border-top:2px solid #ddd;margin-top:40px;padding-top:24px}
.Post_row__ZLLUf h4{font-size:16px;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px;color:#888}
.mag-related-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mag-related-item a{color:#2c3e50;text-decoration:none;font-size:15px}
.mag-related-item a:hover{color:#e74c3c}
.Hero_root__HvthA{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:22px 28px;margin-top:28px}
.Hero_root__HvthA p{font-size:15px;padding:4px 0;margin:0}
.Hero_root__HvthA .Nav_title__iODDu{margin:0 8px 0 0;display:inline}
.Hero_root__HvthA a{color:#2c3e50;text-decoration:none}
.Hero_root__HvthA a:hover{color:#e74c3c}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Cinzel:wght@400;700&display=swap');
body{font-family:'Lora',sans-serif;color:#1A1A1A;background:#FDFBF7}
.Footer_text__zyXY6{background:#2D1B4E;color:#fff}
.Footer_text__zyXY6 h1{font-family:'Cinzel',serif;color:#fff}
.Footer_text__zyXY6 p{color:rgba(255,255,255,.75)}
.Footer_text__zyXY6 a{color:#fff;text-decoration:none}
.card h2{font-family:'Cinzel',serif}
.card h2 a{color:#2D1B4E}
.card h2 a:hover{color:#E6B325}
.read-more{color:#E6B325}
.article-content h1{font-family:'Cinzel',serif}
.article-content h2{font-family:'Cinzel',serif}
.article-content a{color:#E6B325}
.article-content img{border-radius:8px}
.affiliate-disclosure{border-radius:8px}
.ymyl-disclaimer{border-radius:8px}
/* === Custom === */
/* === QA round-1 fixes (2026-07-23T00:20:42+0800) ===
   tr-tarot-es / "Arcana Taller" — Beatriz Mondragon, translator-librarian who
   audits Hotmart tarot courses. Concept: a card-catalogue ledger, not an
   occult site. Every post carries an arcanum number (N.o I ... N.o XVII).

   A rewrite, not a patch, for three verified reasons:

   (a) The top-of-file @import was DEAD. Deploy concatenates template -> theme
       -> custom into /main.css, so the @import landed after style rules and
       Chromium dropped it: no webfont has ever loaded on the live site.
       Replaced with @font-face, which is position-independent.
   (b) The old .mag-* / .card / .article-content blocks were either silently
       REMAPPED by the class obfuscator (.Footer_text__zyXY6 -> .Footer_text__zyXY6,
       .Post_inner__D2jB5 -> .Post_inner__D2jB5) or wholly inert. All replaced with
       element + structural selectors specific enough to beat the template's
       (0,1,1) descendant pairs.
   (c) QA: the homepage was one flat 17-up grid and oxblood was the default
       link colour. Homepage is now hero -> "La mesa de trabajo" -> "El
       archivo"; oxblood is spent on the drop cap and the affiliate link only.

   Both /theme-assets/*.jpg return 404 on this host, so the masthead is
   typographic + a monogram mark rather than photographic. Nothing is forced.
*/

/* ─── Webfonts (must be @font-face, not @import — see note (a) above) ─── */
@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/crimsonpro/v28/q5uDsoa5M_tv7IihmnkabARVoYF6CsKjnlQ.woff2) format('woff2');
}
@font-face {
  font-family: 'Crimson Pro';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/crimsonpro/v28/q5uBsoa5M_tv7IihmnkabARekY1wDeChrlWhBw.woff2) format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/publicsans/v21/ijwRs572Xtc6ZYQws9YVwnNIfJ7QwOk1Fig.woff2) format('woff2');
}

/* ─── Design tokens ───
   One display voice (Crimson Pro italic), one text voice (Crimson Pro roman),
   one meta voice (Public Sans, tracked uppercase). Two families, three roles. */
:root {
  --color-primary:        #2A2420;
  --color-primary-dark:   #16120F;
  --color-primary-light:  #E8E1D3;
  --color-accent:         #A63D2E;
  --color-accent-dark:    #7C2D21;
  --color-accent-light:   #F0D9CE;
  --color-bg:             #F7F1E4;
  --color-bg-alt:         #EFE6D2;
  --color-surface:        #FFFBF2;
  --color-text:           #241F1B;
  --color-text-secondary: #4E453C;
  --color-text-muted:     #7A6F62;
  --color-border:         #D6C7A6;
  --color-border-light:   #E6DAC0;
  --color-highlight:      #EFE6D2;
  --color-nav-bg:         #16120F;
  --color-nav-text:       #F3ECDD;
  --color-link:           #3A2E26;
  --color-link-hover:     #A63D2E;
  --font-display:         'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-text:            'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-meta:            'Public Sans', system-ui, -apple-system, sans-serif;
  --font-heading:         var(--font-display);
  --font-body:            var(--font-text);
  --font-size-base:       17px;
  --font-size-sm:         15px;
  --lh-body:              1.66;
  --lh-heading:           1.14;
  --radius:               2px;
  --sp:                   8px;
  --max-prose:            60ch;
  --max-content:          1180px;
  --rule-ink:             1px solid var(--color-border);
  --meta:                 600 11px/1.9 'Public Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: var(--font-size-base);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text);
  font-size: 1.06rem;
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ─── Global type ─── */
:root h1, :root h2, :root h3, :root h4, :root h5, :root h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-heading);
  color: var(--color-primary);
  letter-spacing: -0.012em;
}

:root p  { max-width: var(--max-prose); margin-bottom: calc(var(--sp) * 2.25); color: var(--color-text); }
:root a  { color: var(--color-link); text-underline-offset: 3px; text-decoration-thickness: 1px;
           text-decoration-color: color-mix(in srgb, var(--color-link) 30%, transparent);
           transition: color .15s ease, text-decoration-color .15s ease; }
:root a:hover { color: var(--color-link-hover); text-decoration-color: currentColor; }

:root ul, :root ol  { max-width: var(--max-prose); padding-left: calc(var(--sp) * 3); margin-bottom: calc(var(--sp) * 2.5); }
:root li            { margin-bottom: var(--sp); line-height: var(--lh-body); }
:root ul li::marker { color: var(--color-text-muted); }
:root ol li::marker { color: var(--color-primary); font-weight: 700; font-family: var(--font-display); }
:root li ul, :root li ol { margin-top: var(--sp); margin-bottom: 0; }

:root blockquote {
  position: relative;
  max-width: var(--max-prose);
  margin: calc(var(--sp) * 4) 0;
  padding-left: calc(var(--sp) * 4);
  border-left: 2px solid var(--color-primary);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--color-text-secondary);
}
:root blockquote::before {
  content: "\00201C";
  position: absolute;
  left: calc(var(--sp) * -0.5);
  top: -0.3em;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-style: normal;
  line-height: 1;
  color: var(--color-border);
}
:root blockquote p            { margin-bottom: var(--sp); max-width: none; }
:root blockquote p:last-child { margin-bottom: 0; }
:root blockquote strong       { color: var(--color-primary); font-style: normal; }

:root img { max-width: 100%; height: auto; border-radius: var(--radius); display: block; }
:root hr  { border: none; border-top: var(--rule-ink); margin: calc(var(--sp) * 5) 0; }

/* ═══════════════════════════════════════════════════════════════
   MASTHEAD — body > nav on BOTH templates (home carries h1 + p,
   interior pages carry a single <a> wordmark). The shared band is
   styled unconditionally; :has() is used only for the per-template
   delta, so the two page types can never drift apart.
   ═══════════════════════════════════════════════════════════════ */
:root body > nav:first-of-type {
  background-color: var(--color-nav-bg);
  background-image:
    radial-gradient(120% 150% at 50% -30%, rgba(166, 61, 46, .20), transparent 62%),
    linear-gradient(180deg, #1D1814 0%, #16120F 100%);
  color: var(--color-nav-text);
  border-bottom: 3px solid var(--color-accent-dark);
  text-align: center;
  margin-bottom: calc(var(--sp) * 6);
  padding: calc(var(--sp) * 5) calc(var(--sp) * 3);
}

/* Signature mark: a Marseille card outline with a single oxblood pip.
   Present on every page — the one element that says "Arcana Taller". */
:root body > nav:first-of-type > div::before {
  content: "";
  display: block;
  width: 34px;
  height: 46px;
  margin: 0 auto calc(var(--sp) * 2);
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 60'%3E%3Crect x='.9' y='.9' width='42.2' height='58.2' rx='3' fill='none' stroke='%23E8DCC0' stroke-width='1.5'/%3E%3Crect x='5' y='5' width='34' height='50' rx='1.5' fill='none' stroke='%23E8DCC0' stroke-width='.7' opacity='.5'/%3E%3Cpath d='M22 13.5 30.5 30 22 46.5 13.5 30Z' fill='none' stroke='%23E8DCC0' stroke-width='1.2'/%3E%3Ccircle cx='22' cy='30' r='3.2' fill='%23A63D2E'/%3E%3C/svg%3E");
}

/* Wordmark — serif italic display voice, both templates */
:root body > nav:first-of-type h1,
:root body > nav:first-of-type > div > a {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.15rem, 6.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  text-transform: none;
  color: var(--color-nav-text);
  text-decoration: none;
}
:root body > nav:first-of-type > div > a:hover { color: #fff; }

/* Manifesto line — the real tagline, kept whole because it carries the voice */
:root body > nav:first-of-type h1 + p {
  max-width: 46rem;
  margin: calc(var(--sp) * 1.75) auto 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.58;
  color: color-mix(in srgb, var(--color-nav-text) 66%, transparent);
}

/* Departments line, home only (single-level :has, never nested) */
:root body > nav:first-of-type > div:has(> h1)::after {
  content: "TAROT DE MARSELLA\0000A0\0000B7\0000A0CARTAS ANGELICALES\0000A0\0000B7\0000A0CURSOS HOTMART";
  display: block;
  margin-top: calc(var(--sp) * 3);
  padding-top: calc(var(--sp) * 2);
  border-top: 1px solid color-mix(in srgb, var(--color-nav-text) 20%, transparent);
  font: var(--meta);
  letter-spacing: .22em;
  color: color-mix(in srgb, var(--color-nav-text) 52%, transparent);
}

/* Interior pages: compact bar, mark and wordmark set inline */
:root body > nav:first-of-type:has(> div > a) {
  padding: calc(var(--sp) * 3);
  margin-bottom: calc(var(--sp) * 5);
}
:root body > nav:first-of-type > div:has(> a)::before {
  display: inline-block;
  width: 22px;
  height: 30px;
  margin: 0 calc(var(--sp) * 1.5) 0 0;
  vertical-align: -0.42em;
}
:root body > nav:first-of-type > div:has(> a) > a {
  display: inline;
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — body > main > div is the post grid. Article pages have
   no direct div child of main, so these rules cannot leak.
   hero  ->  "La mesa de trabajo" (3)  ->  "El archivo" ledger grid
   ═══════════════════════════════════════════════════════════════ */
:root body > main:first-of-type > div {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1.25rem, 2.6vw, 2.4rem);
  row-gap: 0;
  counter-reset: arcano;
  padding-bottom: calc(var(--sp) * 6);
}

/* Card baseline — strip the template's white box + shadow. Consistency is
   the point: one card treatment, broken exactly twice and on purpose. */
:root body > main:first-of-type > div > div {
  counter-increment: arcano;
  position: relative;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  transition: none;
}
:root body > main:first-of-type > div > div:hover { box-shadow: none; }

/* Ledger meta line: "N.o VII · 2026-06-23" — the numbering is the signature */
:root body > main:first-of-type > div > div > p:first-of-type {
  max-width: none;
  margin-bottom: calc(var(--sp) * 1.25);
  font: var(--meta);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
:root body > main:first-of-type > div > div > p:first-of-type::before {
  content: "N.\0000BA\0000A0" counter(arcano, upper-roman) "\0000A0\0000B7\0000A0";
  color: var(--color-primary);
  font-weight: 700;
}

:root body > main:first-of-type > div > div > h2 {
  margin: 0 0 calc(var(--sp) * 1.25);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.24;
  letter-spacing: -0.012em;
}
:root body > main:first-of-type > div > div > h2 > a {
  color: var(--color-primary);
  text-decoration: none;
}
:root body > main:first-of-type > div > div > h2 > a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-border);
}
:root body > main:first-of-type > div > div > h2 + p {
  max-width: 46ch;
  margin-bottom: calc(var(--sp) * 1.75);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* CTA — the deployed string is the English "Continue Reading ->" on a Spanish
   site; the label is replaced typographically (the HTML is untouchable). */
:root body > main:first-of-type > div > div > a {
  display: inline-block;
  font-size: 0;
  line-height: 0;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 3px;
}
:root body > main:first-of-type > div > div > a::before {
  content: "LEER\0000A0\002192";
  font: var(--meta);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
:root body > main:first-of-type > div > div > a:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ─── 1. THE HERO — the one loud voice ─── */
:root body > main:first-of-type > div > div:nth-of-type(1) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: calc(var(--sp) * 1.5);
  padding-bottom: calc(var(--sp) * 6);
  margin-bottom: calc(var(--sp) * 2);
  border-bottom: 4px double var(--color-primary);
}

/* Left rail: byline block, so the full-width row is never pinned to one side */
:root body > main:first-of-type > div > div:nth-of-type(1)::before {
  /* NB: a plain space directly after a 6-digit escape is swallowed as the
     escape terminator, so every gap next to one is an explicit \0000A0. */
  content: "POR BEATRIZ MONDRAG\0000D3N\00000ATRADUCTORA\00000AALCAL\0000C1\0000A0DE\0000A0HENARES\00000ARESE\0000D1A DE CURSO";
  white-space: pre-line;
  font: var(--meta);
  line-height: 2.1;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-top: 2px solid var(--color-primary);
  padding-top: calc(var(--sp) * 1.5);
  margin-bottom: var(--sp);
}

:root body > main:first-of-type > div > div:nth-of-type(1) > p:first-of-type {
  font-size: 11px;
  letter-spacing: .18em;
  margin-bottom: calc(var(--sp) * 1.5);
}
:root body > main:first-of-type > div > div:nth-of-type(1) > p:first-of-type::after {
  content: "RESE\0000D1A DESTACADA";
  display: inline-block;
  margin-left: calc(var(--sp) * 1.5);
  padding: 3px calc(var(--sp) * 1.25);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  letter-spacing: .2em;
  font-size: 9.5px;
}

:root body > main:first-of-type > div > div:nth-of-type(1) > h2 {
  font-size: clamp(2.1rem, 5.6vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.026em;
  margin-bottom: calc(var(--sp) * 2);
}
:root body > main:first-of-type > div > div:nth-of-type(1) > h2 + p {
  max-width: 40ch;
  margin-bottom: calc(var(--sp) * 2.75);
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}
/* MOMENT COLOUR 1 of 2 — the drop cap */
:root body > main:first-of-type > div > div:nth-of-type(1) > h2 + p::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.7em;
  line-height: .78;
  margin: .06em .1em 0 0;
  color: var(--color-accent);
}
/* Outlined pill CTA, hero only */
:root body > main:first-of-type > div > div:nth-of-type(1) > a {
  justify-self: start;
  border: 1px solid var(--color-primary);
  padding: calc(var(--sp) * 1.4) calc(var(--sp) * 2.75);
}
:root body > main:first-of-type > div > div:nth-of-type(1) > a::before {
  content: "LEER LA RESE\0000D1A COMPLETA";
  font-size: 11px;
}
:root body > main:first-of-type > div > div:nth-of-type(1) > a:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

@media (min-width: 900px) {
  :root body > main:first-of-type > div > div:nth-of-type(1) {
    grid-template-columns: 14.5rem minmax(0, 1fr);
    column-gap: clamp(2rem, 5vw, 5rem);
  }
  :root body > main:first-of-type > div > div:nth-of-type(1)::before {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
  }
  :root body > main:first-of-type > div > div:nth-of-type(1) > * { grid-column: 2; }
}

/* ─── 2. "LA MESA DE TRABAJO" — the change of gear, cards II–IV ─── */
:root body > main:first-of-type > div > div:nth-of-type(n+2):nth-of-type(-n+4) {
  grid-column: span 4;
  margin-top: calc(var(--sp) * 7);
  padding: calc(var(--sp) * 2.5) calc(var(--sp) * 2.5) calc(var(--sp) * 3);
  background-color: var(--color-bg-alt);
  border-top: 3px solid var(--color-primary);
}
/* flex column so the three CTAs sit on a common baseline despite ragged copy */
:root body > main:first-of-type > div > div:nth-of-type(n+2):nth-of-type(-n+4) {
  display: flex;
  flex-direction: column;
}
:root body > main:first-of-type > div > div:nth-of-type(n+2):nth-of-type(-n+4) > h2 {
  font-size: 1.34rem;
}
:root body > main:first-of-type > div > div:nth-of-type(n+2):nth-of-type(-n+4) > a {
  margin-top: auto;
  align-self: flex-start;
}
/* Band label — anchored to the row top so it grows upward when it wraps */
:root body > main:first-of-type > div > div:nth-of-type(2)::after {
  content: "LA MESA DE TRABAJO\0000A0\002014\0000A0EMPIEZA POR AQU\0000CD";
  position: absolute;
  left: 0;
  /* anchored to the row top, so it grows upward instead of over the cards */
  bottom: calc(100% + 0.9rem);
  width: max-content;
  max-width: none;
  font: var(--meta);
  font-size: 11.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ─── 3. "EL ARCHIVO" — consistent two-up ledger, hairline per row ─── */
:root body > main:first-of-type > div > div:nth-of-type(n+5) {
  grid-column: span 6;
  padding: calc(var(--sp) * 3.25) 0 calc(var(--sp) * 3.5);
  border-top: var(--rule-ink);
}
:root body > main:first-of-type > div > div:nth-of-type(5),
:root body > main:first-of-type > div > div:nth-of-type(6) {
  margin-top: calc(var(--sp) * 8);
  border-top: 2px solid var(--color-primary);
}
:root body > main:first-of-type > div > div:nth-of-type(5)::after {
  content: "EL ARCHIVO\0000A0\002014\0000A0POR FECHA";
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.9rem);
  width: max-content;
  max-width: 100%;
  font: var(--meta);
  font-size: 11.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ─── Homepage responsive. `grid-column: span N` creates IMPLICIT tracks, so
   every band must be reset explicitly inside each breakpoint. ─── */
@media (max-width: 860px) {
  :root body > main:first-of-type > div > div:nth-of-type(n+2):nth-of-type(-n+4) {
    grid-column: 1 / -1;
    margin-top: calc(var(--sp) * 2.5);
    border-top-width: 1px;
  }
  :root body > main:first-of-type > div > div:nth-of-type(2):nth-of-type(-n+4) {
    margin-top: calc(var(--sp) * 6);
    border-top-width: 3px;
  }
  :root body > main:first-of-type > div > div:nth-of-type(n+5) { grid-column: 1 / -1; }
  :root body > main:first-of-type > div > div:nth-of-type(6):nth-of-type(n+5) {
    margin-top: 0;
    border-top: var(--rule-ink);
  }
  /* let the band labels wrap rather than push the viewport sideways */
  :root body > main:first-of-type > div > div:nth-of-type(2)::after,
  :root body > main:first-of-type > div > div:nth-of-type(5)::after { max-width: 100%; }
}
@media (max-width: 600px) {
  :root body > main:first-of-type > div > div:nth-of-type(1) { grid-column: 1 / -1; }
  :root body > main:first-of-type > div > div:nth-of-type(1) > p:first-of-type::after {
    display: block;
    width: max-content;
    margin: var(--sp) 0 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE PAGES — body > main > h1 + time + article + aside
   ═══════════════════════════════════════════════════════════════ */
:root body > main:first-of-type > h1 {
  font-size: clamp(2.05rem, 5.4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.026em;
  margin-bottom: calc(var(--sp) * 1.75);
}
:root body > main:first-of-type > h1::before {
  content: "NOTAS DEL TALLER";
  display: block;
  margin-bottom: calc(var(--sp) * 2);
  padding-bottom: calc(var(--sp) * 1.5);
  border-bottom: var(--rule-ink);
  font: var(--meta);
  letter-spacing: .26em;
  color: var(--color-text-muted);
}

/* Byline block — the deployed markup ships a date but no author line */
:root body > main:first-of-type > h1 + time {
  display: block;
  margin-bottom: calc(var(--sp) * 4.5);
  padding-bottom: calc(var(--sp) * 2.5);
  border-bottom: 2px solid var(--color-primary);
  font: var(--meta);
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
:root body > main:first-of-type > h1 + time::before {
  content: "POR BEATRIZ MONDRAG\0000D3N\0000A0\0000B7\0000A0";
  color: var(--color-primary);
  font-weight: 700;
}

/* Static pages (about / author / policy) — main > article > h1 */
:root body > main:first-of-type > article > h1 {
  font-size: clamp(1.9rem, 4.6vw, 2.7rem);
  margin-bottom: calc(var(--sp) * 3.5);
  padding-bottom: calc(var(--sp) * 2);
  border-bottom: 2px solid var(--color-primary);
}

/* Prose */
:root body > main:first-of-type > article > p {
  font-family: var(--font-text);
  font-size: 1.18rem;
  line-height: 1.68;
  margin-bottom: calc(var(--sp) * 2.5);
  color: var(--color-text);
}
/* MOMENT COLOUR 2 of 2 — the lede drop cap, same gesture as the homepage hero */
:root body > main:first-of-type > article > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.5em;
  line-height: .8;
  margin: .06em .1em 0 0;
  color: var(--color-accent);
}

:root body > main:first-of-type > article > h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.05rem);
  margin: calc(var(--sp) * 6) 0 calc(var(--sp) * 2);
  text-align: left;
}
/* Dinkus — three Marseille pip lozenges between sections */
:root body > main:first-of-type > article > h2::before {
  content: "\0025CA\0000A0\0000A0\0025CA\0000A0\0000A0\0025CA";
  display: block;
  margin-bottom: calc(var(--sp) * 4);
  font-family: var(--font-meta);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .45em;
  line-height: 1;
  color: var(--color-text-muted);
}
:root body > main:first-of-type > article > h3 {
  font-size: clamp(1.18rem, 2.4vw, 1.42rem);
  font-weight: 600;
  font-style: italic;
  margin: calc(var(--sp) * 4) 0 calc(var(--sp) * 1.25);
  color: var(--color-text-secondary);
}

:root body > main:first-of-type > article > ul,
:root body > main:first-of-type > article > ol {
  font-size: 1.1rem;
  margin-bottom: calc(var(--sp) * 3);
}

/* Links: ink by default. QA flagged oxblood-on-everything — it now reads as a
   decision because it appears twice per page, not thirty times. */
:root body > main:first-of-type > article a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-border);
}
:root body > main:first-of-type > article a:hover {
  color: var(--color-primary);
  text-decoration-color: var(--color-primary);
}

/* Figures */
:root body > main:first-of-type > article > figure                  { margin: calc(var(--sp) * 4.5) 0; }
:root body > main:first-of-type > article > figure:first-of-type    { margin: 0 0 calc(var(--sp) * 5); }
:root body > main:first-of-type > article > figure > img            { width: 100%; margin: 0; border-radius: var(--radius); }

/* Comparison table — a course ledger, not a UI widget */
:root body > main:first-of-type > article > table {
  width: 100%;
  border-collapse: collapse;
  margin: calc(var(--sp) * 4.5) 0;
  font-family: var(--font-meta);
  font-size: .92rem;
  border-top: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
}
:root body > main:first-of-type > article > table th {
  padding: calc(var(--sp) * 1.5) calc(var(--sp) * 1.75);
  text-align: left;
  vertical-align: bottom;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}
:root body > main:first-of-type > article > table td {
  padding: calc(var(--sp) * 1.5) calc(var(--sp) * 1.75);
  vertical-align: top;
  line-height: 1.5;
  color: var(--color-text-secondary);
  border-top: var(--rule-ink);
}
:root body > main:first-of-type > article > table tr > td:first-child {
  font-weight: 600;
  color: var(--color-primary);
}

/* LSSI affiliate notice (article > div) — a tracked ledger note, not a banner */
:root body > main:first-of-type > article > div {
  max-width: 37rem;   /* matches the optical width of the serif prose column */
  margin: calc(var(--sp) * 3.5) 0;
  padding: calc(var(--sp) * 1.75) 0;
  border-top: var(--rule-ink);
  border-bottom: var(--rule-ink);
  background: none;
  font-family: var(--font-meta);
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--color-text-muted);
  text-align: left;
}
:root body > main:first-of-type > article > div em { font-style: normal; }

/* Editorial disclaimer (article > aside) */
:root body > main:first-of-type > article > aside {
  max-width: 37rem;
  margin-top: calc(var(--sp) * 6);
  padding: calc(var(--sp) * 2.5) calc(var(--sp) * 3);
  background-color: var(--color-bg-alt);
  border-left: 2px solid var(--color-primary);
  border-radius: 0;
  font-family: var(--font-meta);
  font-size: 13px;
  line-height: 1.62;
  color: var(--color-text-secondary);
}

/* Related posts (main > aside) */
:root body > main:first-of-type > aside {
  margin-top: calc(var(--sp) * 8);
  padding-top: calc(var(--sp) * 3);
  border-top: 2px solid var(--color-primary);
}
:root body > main:first-of-type > aside > h4 {
  margin: 0 0 calc(var(--sp) * 2.5);
  font-family: var(--font-meta);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
:root body > main:first-of-type > aside > div > div {
  padding: calc(var(--sp) * 1.5) 0;
  border-top: var(--rule-ink);
}
:root body > main:first-of-type > aside > div > div > a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.32;
  color: var(--color-primary);
  text-decoration: none;
}
:root body > main:first-of-type > aside > div > div > a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-border);
}

/* ─── Affiliate links: the red pen. The only oxblood text on the page. ─── */
:root a[href^="/pick/"],
:root body > main:first-of-type > article a[href^="/pick/"] {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 1px;
}
:root a[href^="/pick/"]:hover,
:root body > main:first-of-type > article a[href^="/pick/"]:hover {
  color: var(--color-accent-dark);
  border-bottom-color: var(--color-accent-dark);
}

/* ─── Footer ─── */
:root body > footer {
  margin-top: calc(var(--sp) * 9);
  padding: calc(var(--sp) * 5) calc(var(--sp) * 3);
  background-color: var(--color-nav-bg);
  border-top: 3px solid var(--color-accent-dark);
  color: color-mix(in srgb, var(--color-nav-text) 60%, transparent);
  text-align: center;
}
:root body > footer > p {
  max-width: var(--max-content);
  margin: 0 auto;
  font: var(--meta);
  font-size: 11.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--color-nav-text) 58%, transparent);
}
:root body > footer > p > a {
  color: color-mix(in srgb, var(--color-nav-text) 80%, transparent);
  text-decoration: none;
}
:root body > footer > p > a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ─── Global responsive ─── */
@media (max-width: 680px) {
  :root { --font-size-base: 16px; }
  :root body > nav:first-of-type { padding: calc(var(--sp) * 4) calc(var(--sp) * 2); }
  :root body > main:first-of-type > article > p { font-size: 1.1rem; }
  :root body > main:first-of-type > article > table { display: block; overflow-x: auto; font-size: .84rem; }
}


/* === QA tail polish (2026-07-24T16:29:39.811246+00:00) — style Lambda [SB-20] compact tail across templates === */
/* The tail wrapper is always the LAST block child of <main> on the homepage,
   containing title-only rows of older articles. Various templates use different
   inner structures (ul>li / p / direct <a>) — this handles all three. */

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article)) {
  grid-column: 1 / -1;
  max-width: min(720px, 92vw);
  margin: 88px auto 0;
  padding: 40px 0 32px;
  border-top: 2px double rgba(0, 0, 0, .16);
  background: transparent;
  box-shadow: none;
}

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article))::before {
  content: "\2014  MORE FROM THE ARCHIVE  \2014";
  display: block;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 36px;
}

/* Any list / paragraph rows: 2-col on desktop, single on mobile */
:root main > *:last-child ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 48px;
}
@media (max-width: 899px) {
  :root main > *:last-child ul { columns: 1; }
}

:root main > *:last-child li,
:root main > *:last-child > p,
:root main > *:last-child > a {
  padding: 10px 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px dotted rgba(0, 0, 0, .12);
  break-inside: avoid;
  display: block;
}

:root main > *:last-child li a,
:root main > *:last-child p a,
:root main > *:last-child > a {
  text-decoration: none;
  font-weight: 600;
}

:root main > *:last-child li a:hover,
:root main > *:last-child p a:hover,
:root main > *:last-child > a:hover {
  text-decoration: underline;
}

/* dates (first inline child of li/p) — subtle mono */
:root main > *:last-child p > :first-child,
:root main > *:last-child li > :first-child:not(a) {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  opacity: .5;
  margin-right: 10px;
}
