*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:#222;background:#f4f1eb}
.sc-NODhzn{max-width:1100px;margin:0 auto;padding:0 24px}
.sc-ImRbaD{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:48px 0;text-align:center;margin-bottom:48px}
.sc-ImRbaD h1{font-size:36px;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.sc-ImRbaD p{font-size:16px;opacity:.8;font-style:italic}
.sc-ImRbaD .sc-pVwtxO{color:#fff;text-decoration:none;font-size:20px;letter-spacing:1px;text-transform:uppercase}
.sc-SLgcmm{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.sc-lKZeex{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:28px;transition:box-shadow .2s}
.sc-lKZeex:hover{box-shadow:0 4px 20px rgba(0,0,0,.14)}
.sc-lKZeex h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.sc-lKZeex h2 a{color:#2c3e50;text-decoration:none}
.sc-lKZeex .sc-wYnmVn{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}
.sc-lKZeex p{font-size:15px;color:#555;margin-bottom:14px}
.sc-eJLnWu{color:#e74c3c;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.sc-QZMFOJ{max-width:780px;margin:0 auto;padding:0 24px 60px}
.sc-QZMFOJ h1{font-size:36px;margin-bottom:10px;line-height:1.2}
.sc-QZMFOJ .sc-wYnmVn{font-size:13px;color:#888;display:block;margin-bottom:28px;text-transform:uppercase;letter-spacing:1px}
.sc-QZMFOJ h2{font-size:24px;margin:36px 0 14px}
.sc-QZMFOJ h3{font-size:19px;margin:28px 0 10px}
.sc-QZMFOJ p{margin-bottom:18px;font-size:17px}
.sc-QZMFOJ ul,.sc-QZMFOJ ol{margin:0 0 18px 28px}
.sc-QZMFOJ a{color:#e74c3c}
.sc-QZMFOJ img{max-width:100%;height:auto;border-radius:4px;margin:20px 0}
.sc-NNDfZf{border-top:2px solid #ddd;padding:28px 0;margin-top:48px;text-align:center;font-size:13px;color:#888}
.sc-NNDfZf a{color:#888}
.sc-WlMsWW{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}
.sc-ThjbOO{background:#f9f3e3;padding:16px 20px;margin-top:28px;font-size:13px;color:#7a6230;border-radius:4px}
.sc-fsiMxm{font-size:11px;color:#888;margin:-22px 0 28px;text-transform:uppercase;letter-spacing:1.5px}
.sc-BOFMpe{margin:0 0 28px}
.sc-iWEpVW{width:100%;height:auto;border-radius:4px}
.sc-hKsozg{border-top:2px solid #ddd;margin-top:40px;padding-top:24px}
.sc-hKsozg 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}
.sc-zMJQmN{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:22px 28px;margin-top:28px}
.sc-zMJQmN p{font-size:15px;padding:4px 0;margin:0}
.sc-zMJQmN .sc-wYnmVn{margin:0 8px 0 0;display:inline}
.sc-zMJQmN a{color:#2c3e50;text-decoration:none}
.sc-zMJQmN a:hover{color:#e74c3c}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;700&display=swap');
body{font-family:'Inter',sans-serif;color:#2D3436;background:#F8FAF5}
.sc-ImRbaD{background:#1B4332;color:#fff}
.sc-ImRbaD h1{font-family:'Poppins',serif;color:#fff}
.sc-ImRbaD p{color:rgba(255,255,255,.75)}
.sc-ImRbaD a{color:#fff;text-decoration:none}
.card h2{font-family:'Poppins',serif}
.card h2 a{color:#1B4332}
.card h2 a:hover{color:#FF7043}
.read-more{color:#FF7043}
.article-content h1{font-family:'Poppins',serif}
.article-content h2{font-family:'Poppins',serif}
.article-content a{color:#FF7043}
.article-content img{border-radius:8px}
.affiliate-disclosure{border-radius:8px}
.ymyl-disclaimer{border-radius:8px}
/* === Custom === */
/* v.d478e2 — layout revision */
/*
  nd-fit-es — Taller Nutrición (tallernutricion.com)
  Persona: Santiago Ocampo, diseñador industrial freelance, Manizales — compara
  cursos de nutrición como fichas técnicas, con la calculadora en la mano.
  Signature: "ficha técnica / blueprint" — Archivo grotesk técnico para títulos,
  PT Serif cálido para lectura, cifras en monospace de contable.
  Palette: blueprint navy #1F3A56 · rust #C1662E (reservado: SOLO afiliados /see/
  + un CTA) · momento nogal #7A5A3C (2 usos: manifiesto + capitular) · papel #FAF7F1.

  LIVE build = styled-components (.sc-xxxxxxx), así que toda la capa .card /
  .sc-ImRbaD / .article-content es INERTE. Todo aquí es elemento/estructural con
  prefijo :root + :nth-of-type(1) para comprar peso-clase y ganarle a los pares
  del template (.sc-lKZeex h2 = (0,1,1) .. pares (0,2,0)). Ver css-pipeline-gotchas.
  Home  = :root main:nth-of-type(1):has(> div > div > h2)
  Article = :root main:nth-of-type(1):has(> article)
  Assets: front-image/entry-photo.jpg dan 404 → se usan los reales hero-masthead.jpg
  / article-hero.jpg (200), siempre sobre gradiente por si fallan.
*/

/* === FONTS — @font-face (el @import muere: se concatena tras las reglas) === */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/archivo/v25/k3kPo8UDI-1M0wlSV9XAw6lQkqWY8Q82sLydOxI.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/ptserif/v19/EJRVQgYoZZY2vCFuvAFWzr8.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/ptserif/v19/EJRTQgYoZZY2vCFuvAFT_r21cg.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Serif';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/ptserif/v19/EJRSQgYoZZY2vCFuvAnt66qSVys.woff2') format('woff2');
}

/* === TOKENS === */

:root {
  --primary:    #1F3A56;
  --primary-dk: #142839;
  --accent:     #B4551F;   /* rust — reservado */
  --accent-lt:  #F1E1CF;
  --moment:     #7A5A3C;   /* nogal — 2 usos exactos */
  --bg:         #FAF7F1;
  --bg-alt:     #F1EAE0;
  --paper:      #FAF5EC;   /* superficie de tarjeta (NUNCA blanco) */
  --paper-2:    #F5EFE1;
  --fg:         #24211D;
  --heading:    #182C40;
  --muted:      #6B6058;
  --border:     #E0D6C6;
  --r:          8px;
  --fh:         'Archivo';
  --fb:         'PT Serif';
  --fmono:      'Courier New', Courier, monospace;
  --prose-max:  68ch;
}

/* === BASE === */

body {
  font-family: var(--fb), Georgia, serif;
  color: var(--fg);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
  padding: 0;
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fh), system-ui, sans-serif;
  color: var(--heading);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.005em;
}

a { color: var(--primary); text-underline-offset: 3px; transition: color .15s; }

img { max-width: 100%; height: auto; }
strong { font-weight: 700; color: var(--heading); }

/* Cifras de contable — un guiño a Santiago llevando la cuenta */
.spec-value, .price, .cost {
  font-family: var(--fmono);
  font-size: 0.94em;
  color: var(--primary);
  background: var(--bg-alt);
  padding: 0.1em 0.42em;
  border-radius: 3px;
}

/* ============================================================= *
 *  MASTHEAD — blueprint + foto + manifiesto (compartido)        *
 * ============================================================= */

:root body > nav:first-child {
  background:
    linear-gradient(180deg, rgba(24,44,64,.82), rgba(20,40,57,.92)),
    url('/theme-assets/hero-masthead.jpg') center 42%/cover no-repeat,
    #17304a;
  color: #fff;
  max-width: none;
  border: none;
  border-bottom: 3px solid var(--accent);
  padding: 3.4rem 1.4rem 2.9rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* trama de plano técnico muy tenue */
:root body > nav:first-child::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
:root body > nav:first-child > div {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
/* kicker firma */
:root body > nav:first-child > div::before {
  content: "Taller Nutrición · Manizales · desde 2023";
  display: block;
  font-family: var(--fh), sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(226,214,196,.82);
  margin-bottom: 1.05rem;
}
:root body > nav:first-child h1 {
  font-family: var(--fh), sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: .01em;
  color: #fff;
  margin: 0;
  max-width: none;
  line-height: 1.05;
}
/* manifiesto — serif itálica + borde momento nogal (USO 1/2 de --moment) */
:root body > nav:first-child p {
  font-family: var(--fb), Georgia, serif;
  font-style: italic;
  font-size: 1.03rem;
  line-height: 1.55;
  color: rgba(244,238,228,.9);
  max-width: 40ch;
  margin: 1.1rem auto 0;
  padding-left: 1rem;
  border-left: 3px solid var(--moment);
  text-align: left;
  display: inline-block;
}
:root body > nav:first-child a { color: #fff; text-decoration: none; }

/* ============================================================= *
 *  HOME                                                          *
 * ============================================================= */

/* main ancho para la retícula */
:root main:nth-of-type(1):has(> div > div > h2) {
  max-width: 1120px;
  padding: 4.5rem 24px 2rem;
}

/* --- retícula: 2 columnas + pseudos como ítems de grid --- */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px 40px;
  align-items: stretch;
}

/* Tarjeta base (papel cálido, marco suave) — vence al .sc-lKZeex #fff */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div {
  background: var(--paper) !important;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  padding: 26px 32px 28px;
  margin: 0;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:hover {
  border-color: #C9BCA6;
  box-shadow: 0 6px 20px rgba(31,58,86,.12);
  transform: translateY(-2px);
}
/* fecha = meta ledger monospace */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div > p:first-child {
  font-family: var(--fmono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .5rem;
}
/* título */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div > h2 {
  font-family: var(--fh), sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 .6rem;
  max-width: none;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div > h2 a {
  color: var(--heading);
  text-decoration: none;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div > h2 a:hover {
  color: var(--primary);
}
/* extracto — clamp a 3 líneas para alturas parejas (RULE D) */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div > p:nth-of-type(2) {
  font-size: 15.5px;
  line-height: 1.6;
  color: #55493F;
  margin: 0 0 1.1rem;
  max-width: 64ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* CTA silencioso (navy) — texto reemplazado a español */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div > a:last-child {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--fh), sans-serif;
  font-weight: 700;
  font-size: 0;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: .04em;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div > a:last-child::after {
  content: "Leer la ficha →";
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
  transition: border-color .15s, color .15s;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div > a:last-child:hover::after {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --- HERO = primera tarjeta, a todo el ancho --- */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:first-child {
  grid-column: 1 / -1;
  order: 0;
  padding: 44px 52px 46px;
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%) !important;
  border-color: #D8CBB4;
  position: relative;
}
/* badge "última ficha" */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:first-child::before {
  content: "Última ficha · lectura 6 min";
  display: inline-block;
  font-family: var(--fh), sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: .34em .9em;
  margin-bottom: 1.1rem;
}
/* byline delante de la fecha */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:first-child > p:first-child::before {
  content: "Por Santiago Ocampo · ";
  color: var(--primary);
}
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:first-child > h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: .8rem;
}
/* extracto hero grande + capitular momento nogal (USO 2/2 de --moment) */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:first-child > p:nth-of-type(2) {
  font-size: 1.22rem;
  line-height: 1.5;
  color: #4A4038;
  max-width: 60ch;
  -webkit-line-clamp: 4;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:first-child > p:nth-of-type(2)::first-letter {
  font-family: var(--fb), Georgia, serif;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: .82;
  float: left;
  color: var(--moment);
  margin: .06em .12em 0 0;
}
/* CTA hero = píldora rust perfilada (el ÚNICO rust prominente de la home) */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:first-child > a:last-child::after {
  content: "Abrir la ficha completa →";
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: .62em 1.4em;
  color: var(--accent);
  font-size: 13.5px;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:first-child > a:last-child:hover::after {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* --- SELECCIÓN DEL EDITOR: etiqueta (::before del contenedor, a todo el ancho) --- */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type::before {
  content: "Selección del editor — empieza por estas";
  order: 1;
  grid-column: 1 / -1;
  font-family: var(--fh), sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  padding-bottom: .7rem;
  margin-top: .4rem;
  border-bottom: 1px solid var(--border);
}
/* tarjetas 2 y 3 = la banda de picks */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:nth-child(2),
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:nth-child(3) {
  order: 2;
  border-top: 3px solid var(--primary);
}

/* --- STRIP 1 "MÁS ABAJO" (::after del contenedor) entre picks y cuaderno --- */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type::after {
  content: "Más abajo";
  order: 3;
  grid-column: 1 / -1;
  min-height: 190px;
  margin: .8rem 0 .2rem;
  border-radius: var(--r);
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.28)),
    url('/theme-assets/article-hero.jpg') center 30%/cover no-repeat,
    #223247;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--fh), sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* --- EL CUADERNO: tarjetas 4+ = retícula cronológica --- */
:root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:nth-child(n+4) {
  order: 4;
}

/* --- STRIP 2 "TODAS LAS ENTRADAS" + índice de archivo (segundo div de main) --- */
:root main:nth-of-type(1):has(> div > div > h2) > div:nth-of-type(2) {
  background: var(--paper) !important;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  margin-top: 72px;
  padding: 0 34px 26px;
  overflow: hidden;
  column-count: 2;
  column-gap: 44px;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:nth-of-type(2)::before {
  content: "Todas las entradas";
  column-span: all;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin: 0 -34px 26px;
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
    url('/theme-assets/article-hero.jpg') center 70%/cover no-repeat,
    #223247;
  color: #fff;
  font-family: var(--fh), sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
:root main:nth-of-type(1):has(> div > div > h2) > div:nth-of-type(2) > p {
  background: var(--paper) !important;
  break-inside: avoid;
  margin: 0;
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px dotted rgba(0,0,0,.14);
}
:root main:nth-of-type(1):has(> div > div > h2) > div:nth-of-type(2) > p span {
  font-family: var(--fmono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted);
  margin-right: 8px;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:nth-of-type(2) > p a {
  color: var(--heading);
  text-decoration: none;
  font-family: var(--fh), sans-serif;
  font-weight: 600;
  font-size: 14.5px;
}
:root main:nth-of-type(1):has(> div > div > h2) > div:nth-of-type(2) > p a:hover {
  color: var(--accent);
}

/* ============================================================= *
 *  ARTICLE                                                       *
 * ============================================================= */

:root main:nth-of-type(1):has(> article) {
  max-width: 800px;
  padding: 3.4rem 24px 4rem;
}
/* kicker sobre el título */
:root main:nth-of-type(1):has(> article) > h1::before {
  content: "Ficha técnica";
  display: block;
  font-family: var(--fh), sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
:root main:nth-of-type(1):has(> article) > h1 {
  font-family: var(--fh), sans-serif;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin: 0 0 .6rem;
  max-width: none;
}
:root main:nth-of-type(1):has(> article) > time {
  font-family: var(--fmono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 2.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}
:root main:nth-of-type(1):has(> article) > article > p {
  font-size: 18.5px;
  line-height: 1.8;
  color: var(--fg);
  max-width: var(--prose-max);
  margin: 0 0 1.35em;
}
/* subtítulos con dinkus por encima (rompe secciones) */
:root main:nth-of-type(1):has(> article) > article > h2 {
  font-family: var(--fh), sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2.6em 0 .7em;
  max-width: none;
}
:root main:nth-of-type(1):has(> article) > article > h2::before {
  content: "✷ ✷ ✷";
  display: block;
  color: var(--moment);
  font-size: 1rem;
  letter-spacing: .5em;
  text-align: center;
  margin: 0 0 1.1em;
  opacity: .7;
}
:root main:nth-of-type(1):has(> article) > article > h3 {
  font-family: var(--fh), sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--fg);
  margin: 1.9em 0 .5em;
  max-width: none;
}
/* índice de la ficha (nav de tabla de contenidos dentro del artículo) */
:root main:nth-of-type(1):has(> article) > article > nav {
  background: var(--paper) !important;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--r);
  padding: 1.2em 1.5em;
  margin: 2.2em 0;
}
:root main:nth-of-type(1):has(> article) > article > nav::before {
  content: "En esta ficha";
  display: block;
  font-family: var(--fh), sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .7em;
}
:root main:nth-of-type(1):has(> article) > article > nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
}
:root main:nth-of-type(1):has(> article) > article > nav li {
  margin: 0 0 .45em;
  break-inside: avoid;
}
:root main:nth-of-type(1):has(> article) > article > nav a {
  color: var(--primary);
  font-family: var(--fh), sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}
:root main:nth-of-type(1):has(> article) > article > nav a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* enlaces de cuerpo = navy discreto */
:root main:nth-of-type(1):has(> article) > article a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
:root main:nth-of-type(1):has(> article) > article a:hover {
  text-decoration-color: var(--primary);
}
/* enlaces de AFILIADO /see/ = EL momento rust (bold, subrayado grueso) */
:root main:nth-of-type(1):has(> article) > article a[href^="/see/"],
:root main:nth-of-type(1):has(> article) > article > p a[href^="/see/"],
:root main:nth-of-type(1):has(> article) > article > ul a[href^="/see/"],
:root main:nth-of-type(1):has(> article) > article > ol a[href^="/see/"] {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
:root main:nth-of-type(1):has(> article) > article a[href^="/see/"]:hover {
  color: #fff;
  background: var(--accent);
  text-decoration-color: var(--accent);
  border-radius: 3px;
}
/* blockquote — cita colgante sobre tarjeta tostada */
:root main:nth-of-type(1):has(> article) > article blockquote {
  position: relative;
  margin: 1.9em 0;
  padding: 1.3em 1.4em 1.3em 3rem;
  background: var(--accent-lt);
  border: none;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--fb), Georgia, serif;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.6;
  color: #3E3226;
}
:root main:nth-of-type(1):has(> article) > article blockquote::before {
  content: "\201C";
  position: absolute;
  left: .55rem;
  top: .1em;
  font-family: Georgia, serif;
  font-size: 3.1rem;
  line-height: 1;
  color: var(--accent);
  opacity: .55;
}
:root main:nth-of-type(1):has(> article) > article blockquote p {
  margin: 0;
  max-width: none;
  font-size: inherit;
}
:root main:nth-of-type(1):has(> article) > article ul,
:root main:nth-of-type(1):has(> article) > article ol {
  max-width: var(--prose-max);
  margin: 0 0 1.35em;
  padding-left: 1.4em;
}
:root main:nth-of-type(1):has(> article) > article li {
  margin-bottom: .5em;
  line-height: 1.7;
}
:root main:nth-of-type(1):has(> article) > article ul li::marker { color: var(--accent); }
:root main:nth-of-type(1):has(> article) > article ol li::marker { color: var(--primary); font-weight: 700; }

/* ============================================================= *
 *  FOOTER                                                        *
 * ============================================================= */

:root body > footer {
  background: var(--primary-dk);
  color: rgba(255,255,255,.7);
  font-family: var(--fh), sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
  padding: 2em 1.2em;
  margin-top: 4em;
  text-align: center;
  border: none;
  border-top: 3px solid var(--accent);
}
:root body > footer a { color: rgba(255,255,255,.85); text-decoration: underline; text-underline-offset: 2px; }
:root body > footer a:hover { color: var(--accent); }

/* ============================================================= *
 *  RESPONSIVE                                                    *
 * ============================================================= */

@media (max-width: 720px) {
  :root main:nth-of-type(1):has(> div > div > h2) { padding: 3rem 18px 1.5rem; }
  :root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  :root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:first-child {
    grid-column: 1 / -1;
    padding: 32px 26px 34px;
  }
  :root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:nth-child(2),
  :root main:nth-of-type(1):has(> div > div > h2) > div:first-of-type > div:nth-child(3) {
    grid-column: 1 / -1;
  }
  :root main:nth-of-type(1):has(> div > div > h2) > div:nth-of-type(2) { column-count: 1; }
  :root body > nav:first-child { padding: 2.6rem 1.2rem 2.3rem; }
  :root main:nth-of-type(1):has(> article) > article > p { font-size: 17.5px; }
}
