*{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}
.sc-lNKrme{max-width:640px;margin:0 auto;padding:0 20px}
.sc-IFaGsJ{padding:60px 0 40px;border-bottom:1px solid #ccc;margin-bottom:48px}
.sc-IFaGsJ h1{font-size:24px;font-weight:400;letter-spacing:-.5px}
.sc-IFaGsJ p{font-size:14px;color:#777;margin-top:6px;font-style:italic}
.sc-IFaGsJ a{color:#2a2a2a;text-decoration:none;font-size:24px;font-weight:400;letter-spacing:-.5px}
.sc-RTEWHw{padding:20px 0}
.sc-RTEWHw h2{font-size:18px;font-weight:400;margin-bottom:4px}
.sc-RTEWHw h2 a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.sc-RTEWHw h2 a:hover{border-bottom-color:#2a2a2a}
.sc-RTEWHw .sc-rWcNbH{font-size:12px;color:#aaa;margin-bottom:6px}
.sc-RTEWHw p{font-size:14px;color:#666}
.sc-FJTfiK{color:#888;font-size:13px;text-decoration:none}
.sc-FJTfiK:hover{color:#2a2a2a}
.sc-CNFLWN{padding-bottom:60px}
.sc-CNFLWN h1{font-size:28px;font-weight:400;margin-bottom:8px}
.sc-CNFLWN .sc-rWcNbH{font-size:12px;color:#aaa;display:block;margin-bottom:32px}
.sc-CNFLWN h2{font-size:21px;font-weight:400;margin:40px 0 12px;border-bottom:1px solid #eee;padding-bottom:6px}
.sc-CNFLWN h3{font-size:17px;margin:28px 0 8px}
.sc-CNFLWN p{margin-bottom:18px;font-size:16px}
.sc-CNFLWN ul,.sc-CNFLWN ol{margin:0 0 18px 20px}
.sc-CNFLWN a{color:#555;border-bottom:1px solid #ccc}
.sc-CNFLWN a:hover{color:#000;border-bottom-color:#000}
.sc-CNFLWN img{max-width:100%;height:auto;margin:24px 0}
.sc-FJaSZZ{border-top:1px solid #ddd;padding:20px 0;margin-top:48px;text-align:center;font-size:12px;color:#aaa}
.sc-FJaSZZ a{color:#aaa;text-decoration:none}
.sc-KqWfXK{padding:0 0 16px;margin-bottom:24px;font-size:12px;color:#aaa;font-style:italic;border-bottom:1px solid #eee}
.sc-YRwtTN{padding:16px 0 0;margin-top:32px;font-size:11px;color:#999;border-top:1px solid #eee}
.sc-WekDcK{font-size:12px;color:#aaa;margin:-26px 0 32px;font-weight:300}
.sc-sTXeTa{margin:0 auto 32px;max-width:720px}
.sc-IOHyXy{width:100%;height:auto}
.sc-xsXBrb{margin-top:40px;padding-top:20px;border-top:1px solid #eee;font-size:14px;color:#888}
.sc-xsXBrb em{color:#aaa}
.sc-xsXBrb a{color:#555;border-bottom:1px solid #ddd;text-decoration:none}
.sc-dffLtA{padding:24px 0 0;border-top:1px solid #eee;margin-top:24px}
.sc-dffLtA p{padding:3px 0;margin:0;font-size:15px}
.sc-dffLtA a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.sc-dffLtA a:hover{border-bottom-color:#2a2a2a}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');
body{font-family:'Lora',sans-serif;color:#2D2926;background:#FAF9F6}
.sc-IFaGsJ{background:#5C3D46;color:#fff}
.sc-IFaGsJ h1{font-family:'Playfair Display',serif;color:#fff}
.sc-IFaGsJ p{color:rgba(255,255,255,.75)}
.sc-IFaGsJ a{color:#fff;text-decoration:none}
.card h2{font-family:'Playfair Display',serif}
.card h2 a{color:#5C3D46}
.card h2 a:hover{color:#E67E7E}
.read-more{color:#E67E7E}
.article-content h1{font-family:'Playfair Display',serif}
.article-content h2{font-family:'Playfair Display',serif}
.article-content a{color:#E67E7E}
.article-content img{border-radius:12px}
.affiliate-disclosure{border-radius:12px}
.ymyl-disclaimer{border-radius:12px}
/* === Custom === */
/* pj-pareja-es — "Gestos de Pareja" · cuaderno algarrobo-campo
   Voces tipográficas: Alegreya itálica (display) · Alegreya (texto) · Alegreya Sans (meta) */

/* === QA round-1 fixes (2026-07-22T03:55:46+0800) === */

/* ─── FUENTES ────────────────────────────────────────────────────────────
   @font-face en vez de @import: el build concatena template + theme + custom,
   así que cualquier @import queda después de reglas y el navegador lo descarta. */
@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/alegreya/v41/4UaBrEBBsBhlBjvfkSLhx6jj4JN0.woff2) format('woff2');
}
@font-face {
  font-family: 'Alegreya';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/alegreya/v41/4UaHrEBBsBhlBjvfkSLk96rp57F2IwM.woff2) format('woff2');
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/alegreyasans/v28/5aUz9_-1phKLFgshYDvh6Vwt7VptvWdUhm8.woff2) format('woff2');
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/alegreyasans/v28/5aUu9_-1phKLFgshYDvh6Vwt5alOqEp2i0VBuxM.woff2) format('woff2');
}
@font-face {
  font-family: 'Alegreya Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/alegreyasans/v28/5aUu9_-1phKLFgshYDvh6Vwt5eFIqEp2i0VBuxM.woff2) format('woff2');
}

/* ─── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --color-primary:      #5E3A1A;
  --color-accent:       #2E7A5F;
  --color-accent-soft:  #9DBFA9;
  --color-moment:       #B34F2A;
  --color-bg:           #FAF6EE;
  --color-bg-alt:       #F1EADA;
  --color-text:         #1C1510;
  --color-text-soft:    #3B2E22;
  --color-text-muted:   #6A5B4A;
  --color-heading:      #3A2510;
  --color-link:         #5E3A1A;
  --color-link-hover:   #2E7A5F;
  --color-border:       #D8CDB8;
  --color-cream:        #F6EEDC;

  --font-display:       'Alegreya', Georgia, 'Times New Roman', serif;
  --font-body:          'Alegreya', Georgia, 'Times New Roman', serif;
  --font-meta:          'Alegreya Sans', 'Helvetica Neue', Arial, sans-serif;

  --size-base:          18px;
  --lh-body:            1.78;
  --radius:             2px;
}

/* ─── BASE ───────────────────────────────────────────────────────────── */
:root body {
  font-family:            var(--font-body);
  font-size:              var(--size-base);
  line-height:            var(--lh-body);
  color:                  var(--color-text);
  background:             var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

:root *,
:root *::before,
:root *::after { box-sizing: border-box; }

:root h1, :root h2, :root h3, :root h4, :root h5, :root h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  color:       var(--color-heading);
}

:root a {
  color:                     var(--color-link);
  text-decoration:           underline;
  text-underline-offset:     3px;
  text-decoration-thickness: 1px;
  transition:                color .15s ease, background .15s ease, border-color .15s ease;
}

:root a:hover { color: var(--color-link-hover); }

/* ─── MASTHEAD (común) ───────────────────────────────────────────────── */
:root body > header {
  max-width:     none;
  background:    radial-gradient(120% 140% at 50% -20%, #6B4220 0%, #4A2C12 46%, #33200C 100%);
  color:         var(--color-cream);
  border-bottom: none;
  box-shadow:    inset 0 -1px 0 rgba(255, 255, 255, .14);
  text-align:    center;
}

/* Sello: dos voces, una más corta — la pausa */
:root body > header::before {
  content:    "";
  display:    block;
  margin:     0 auto 1.1rem;
  width:      48px;
  height:     48px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23EBDCBE' stroke-width='1.3'><circle cx='24' cy='24' r='20.5'/><path d='M13 19.5h22M13 26h13.5' stroke-linecap='round'/><circle cx='31.5' cy='26' r='1.8' fill='%23EBDCBE' stroke='none'/></svg>") center / contain no-repeat;
  opacity:    .92;
}

/* Portada */
:root body > header:has(> h1) {
  margin:  0 0 3.2rem;
  padding: 3.4rem 1.5rem 2.9rem;
}

:root body > header > h1 {
  font-family:    var(--font-display);
  font-style:     italic;
  font-weight:    500;
  font-size:      clamp(2.2rem, 5.4vw, 3.35rem);
  line-height:    1.02;
  letter-spacing: -.015em;
  color:          var(--color-cream);
  margin:         0;
}

:root body > header > h1::before {
  content:        "Cuaderno de pareja\0000A0\0000B7\0000A0Rosario";
  display:        block;
  margin-bottom:  1.05rem;
  font-family:    var(--font-meta);
  font-style:     normal;
  font-weight:    700;
  font-size:      .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color:          var(--color-accent-soft);
}

/* Firma: el único trazo de óxido del encabezado */
:root body > header > h1::after {
  content:    "";
  display:    block;
  width:      58px;
  height:     2px;
  margin:     1.2rem auto .2rem;
  background: var(--color-moment);
}

:root body > header > p {
  max-width:   58ch;
  margin:      1.1rem auto 0;
  font-family: var(--font-body);
  font-style:  italic;
  font-size:   .95rem;
  line-height: 1.6;
  color:       rgba(246, 238, 220, .68);
}

/* Cabecera interior (artículos y páginas) */
:root body > header:has(> a) {
  margin:  0 0 2.6rem;
  padding: 1.9rem 1.5rem 1.6rem;
}

:root body > header:has(> a)::before {
  width:         30px;
  height:        30px;
  margin-bottom: .65rem;
}

:root body > header > a {
  font-family:     var(--font-display);
  font-style:      italic;
  font-weight:     500;
  font-size:       1.55rem;
  letter-spacing:  -.01em;
  color:           var(--color-cream);
  text-decoration: none;
  border-bottom:   none;
}

:root body > header > a:hover { color: #fff; }

/* ─── PORTADA: rejilla editorial ─────────────────────────────────────── */
:root body > main:has(> div > h2) {
  max-width:             1080px;
  padding:               0 28px 1rem;
  display:               grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap:            2.4rem;
  counter-reset:         pick;
}

/* ── 1. La entrada más reciente: la voz alta ── */
:root body > main > div:nth-of-type(1) {
  grid-column:           1 / -1;
  display:               grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(190px, .8fr);
  column-gap:            2.8rem;
  align-items:           start;
  padding:               .4rem 0 2.8rem;
  margin:                0;
  border-bottom:         1px solid var(--color-border);
}

:root body > main > div:nth-of-type(1) > h2 {
  grid-column: 1;
  grid-row:    1;
  margin:      0 0 1.1rem;
}

:root body > main > div:nth-of-type(1) > h2 > a {
  display:         block;
  font-family:     var(--font-display);
  font-style:      italic;
  font-weight:     500;
  font-size:       clamp(2.1rem, 4.7vw, 3.35rem);
  line-height:     1.05;
  letter-spacing:  -.018em;
  color:           var(--color-heading);
  text-decoration: none;
  border-bottom:   none;
}

:root body > main > div:nth-of-type(1) > h2 > a:hover { color: var(--color-primary); }

:root body > main > div:nth-of-type(1) > p:nth-of-type(2) {
  grid-column: 1;
  grid-row:    2;
  max-width:   46ch;
  margin:      0 0 1.6rem;
  font-size:   1.07rem;
  line-height: 1.64;
  color:       var(--color-text-soft);
}

/* Capitular de óxido — el segundo (y último) uso del color momento */
:root body > main > div:nth-of-type(1) > p:nth-of-type(2)::first-letter {
  float:       left;
  font-family: var(--font-display);
  font-style:  italic;
  font-weight: 500;
  font-size:   3.5em;
  line-height: .82;
  padding:     .06em .1em 0 0;
  color:       var(--color-moment);
}

/* Bloque de metadatos: llena la columna derecha del hero */
:root body > main > div:nth-of-type(1) > p:nth-of-type(1) {
  grid-column:    2;
  grid-row:       1 / span 3;
  align-self:     start;
  margin:         .6rem 0 0;
  padding-left:   1.4rem;
  border-left:    1px solid var(--color-border);
  font-family:    var(--font-meta);
  font-size:      .72rem;
  font-weight:    500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height:    1.6;
  color:          var(--color-text-muted);
}

:root body > main > div:nth-of-type(1) > p:nth-of-type(1)::before {
  content:        "Última entrada";
  display:        block;
  margin-bottom:  .7rem;
  font-weight:    700;
  font-size:      .63rem;
  letter-spacing: .22em;
  color:          var(--color-accent);
}

:root body > main > div:nth-of-type(1) > p:nth-of-type(1)::after {
  content:        "Por Andrés Velarde\00000ARosario, Argentina\00000A5 min de lectura";
  display:        block;
  white-space:    pre-line;
  margin-top:     .9rem;
  padding-top:    .9rem;
  border-top:     1px solid var(--color-border);
  font-size:      .66rem;
  font-weight:    400;
  letter-spacing: .11em;
  line-height:    1.9;
}

/* ── Enlace de continuación (el markup dice "read more" en inglés) ── */
:root body > main > div > a {
  display:         inline-block;
  font-size:       0;
  text-decoration: none;
  border-bottom:   none;
}

:root body > main > div > a::after {
  content:        "Leer la entrada\0000A0\002192";
  font-family:    var(--font-meta);
  font-size:      .68rem;
  font-weight:    700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color:          var(--color-accent);
}

:root body > main > div > a:hover::after { color: var(--color-primary); }

/* CTA del hero: píldora contorneada */
:root body > main > div:nth-of-type(1) > a {
  grid-column:   1;
  grid-row:      3;
  justify-self:  start;
  padding:       .62rem 1.5rem;
  border:        1px solid var(--color-primary);
  border-radius: 999px;
}

:root body > main > div:nth-of-type(1) > a:hover {
  background:   var(--color-primary);
  border-color: var(--color-primary);
}

:root body > main > div:nth-of-type(1) > a:hover::after { color: var(--color-cream); }

/* ── 2. Segundo tiempo: banda "para empezar" (entradas 2-4) ── */
:root body > main > div:nth-of-type(n+2):nth-of-type(-n+4) {
  grid-column:       span 2;
  counter-increment: pick;
  margin-top:        3.6rem;
  padding:           1.4rem 0 .4rem;
  border-top:        1px solid var(--color-border);
}

:root body > main > div:nth-of-type(2) { position: relative; }

:root body > main > div:nth-of-type(2)::before {
  content:        "Para empezar\0000A0\002014\0000A0tres del cuaderno";
  position:       absolute;
  left:           0;
  bottom:         calc(100% + .95rem);
  font-family:    var(--font-meta);
  font-size:      .68rem;
  font-weight:    700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color:          var(--color-accent);
}

:root body > main > div:nth-of-type(n+2):nth-of-type(-n+4) > h2::before {
  content:        counter(pick, upper-roman);
  display:        block;
  margin-bottom:  .45rem;
  font-family:    var(--font-meta);
  font-size:      .7rem;
  font-weight:    700;
  letter-spacing: .2em;
  color:          var(--color-primary);
}

/* ── 3. El archivo cronológico (entradas 5 en adelante) ── */
:root body > main > div:nth-of-type(n+5):not(:last-of-type) {
  grid-column: span 3;
  padding:     1.7rem 0 .5rem;
  border-top:  1px solid var(--color-border);
}

:root body > main > div:nth-of-type(5),
:root body > main > div:nth-of-type(6) { margin-top: 4rem; }

:root body > main > div:nth-of-type(5) { position: relative; }

:root body > main > div:nth-of-type(5)::before {
  content:        "El cuaderno\0000A0\002014\0000A0semana a semana";
  position:       absolute;
  left:           0;
  bottom:         calc(100% + .95rem);
  font-family:    var(--font-meta);
  font-size:      .68rem;
  font-weight:    700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color:          var(--color-primary);
}

/* Última entrada del archivo cuando queda impar: ocupa la fila entera
   (título a la izquierda, copete a la derecha) en vez de dejar media fila vacía */
:root body > main > div:nth-of-type(odd):nth-last-of-type(2) {
  grid-column:           1 / -1;
  display:               grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap:            2.4rem;
  align-items:           start;
}

:root body > main > div:nth-of-type(odd):nth-last-of-type(2) > p:nth-of-type(1) {
  grid-column: 1;
  grid-row:    1;
}

:root body > main > div:nth-of-type(odd):nth-last-of-type(2) > h2 {
  grid-column: 1;
  grid-row:    2;
}

:root body > main > div:nth-of-type(odd):nth-last-of-type(2) > p:nth-of-type(2) {
  grid-column: 2;
  grid-row:    1 / span 2;
  margin:      0;
}

:root body > main > div:nth-of-type(odd):nth-last-of-type(2) > a {
  grid-column: 1;
  grid-row:    3;
  margin-top:  .9rem;
}

/* ── Tratamiento común de tarjeta (de la 2 en adelante) ── */
:root body > main > div:nth-of-type(n+2):not(:last-of-type) > h2 {
  margin: 0 0 .5rem;
}

:root body > main > div:nth-of-type(n+2):not(:last-of-type) > h2 > a {
  font-family:     var(--font-display);
  font-weight:     700;
  font-size:       1.16rem;
  line-height:     1.24;
  letter-spacing:  -.005em;
  color:           var(--color-heading);
  text-decoration: none;
  border-bottom:   none;
}

:root body > main > div:nth-of-type(n+2):not(:last-of-type) > h2 > a:hover {
  color: var(--color-primary);
}

:root body > main > div:nth-of-type(n+2):not(:last-of-type) > p:nth-of-type(1) {
  margin:         0 0 .55rem;
  font-family:    var(--font-meta);
  font-size:      .63rem;
  font-weight:    500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
}

:root body > main > div:nth-of-type(n+2):not(:last-of-type) > p:nth-of-type(2) {
  display:            -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow:           hidden;
  margin:             0 0 .9rem;
  font-size:          .93rem;
  line-height:        1.56;
  color:              var(--color-text-muted);
}

/* ── 4. Índice final: todo el cuaderno ── */
:root body > main > div:last-of-type {
  grid-column: 1 / -1;
  position:    relative;
  margin-top:  4.6rem;
  padding:     1.6rem 0 0;
  border-top:  2px solid var(--color-primary);
  columns:     2;
  column-gap:  3rem;
}

:root body > main > div:last-of-type::before {
  content:        "Todo el cuaderno\0000A0\002014\0000A0índice";
  position:       absolute;
  left:           0;
  bottom:         calc(100% + .9rem);
  font-family:    var(--font-meta);
  font-size:      .68rem;
  font-weight:    700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color:          var(--color-primary);
}

:root body > main > div:last-of-type > p {
  break-inside:  avoid;
  margin:        0;
  padding:       .5rem 0;
  border-bottom: 1px solid rgba(216, 205, 184, .55);
  font-size:     .93rem;
  line-height:   1.42;
}

:root body > main > div:last-of-type a {
  color:           var(--color-primary);
  text-decoration: none;
  border-bottom:   none;
}

:root body > main > div:last-of-type a::before {
  content: "\002014\0000A0";
  color:   var(--color-border);
}

:root body > main > div:last-of-type a:hover { color: var(--color-accent); }

/* ─── ARTÍCULO ───────────────────────────────────────────────────────── */
:root body > main:has(> article) {
  max-width: 730px;
  padding:   0 26px 2rem;
}

:root body > main:has(> article) > h1,
:root body > main > article > h1 {
  font-family:    var(--font-display);
  font-style:     italic;
  font-weight:    500;
  font-size:      clamp(2rem, 4.6vw, 2.95rem);
  line-height:    1.06;
  letter-spacing: -.018em;
  color:          var(--color-heading);
  margin:         .6rem 0 .7rem;
}

:root body > main:has(> article) > h1::before,
:root body > main > article > h1::before {
  content:        "Del cuaderno";
  display:        block;
  margin-bottom:  .9rem;
  font-family:    var(--font-meta);
  font-style:     normal;
  font-weight:    700;
  font-size:      .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color:          var(--color-accent);
}

:root body > main:has(> article) > span:first-of-type {
  display:        block;
  margin:         0 0 2.4rem;
  padding-bottom: 1.1rem;
  border-bottom:  1px solid var(--color-border);
  font-family:    var(--font-meta);
  font-size:      .68rem;
  font-weight:    500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color:          var(--color-text-muted);
}

:root body > main:has(> article) > span:first-of-type::after {
  content: "\0000A0\0000B7\0000A0Por Andrés Velarde, Rosario\0000A0\0000B7\0000A05 min de lectura";
}

:root body > main > article > p {
  max-width:   none;
  margin:      0 0 1.35rem;
  font-size:   1.03rem;
  line-height: 1.76;
  color:       var(--color-text);
}

/* Capitular sobria (marrón, no óxido) para abrir la entrada */
:root body > main > article > p:nth-of-type(1)::first-letter {
  float:       left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size:   3.2em;
  line-height: .84;
  padding:     .04em .09em 0 0;
  color:       var(--color-primary);
}

:root body > main > article > h2 {
  font-family:    var(--font-display);
  font-weight:    700;
  font-size:      1.5rem;
  line-height:    1.22;
  letter-spacing: -.01em;
  color:          var(--color-heading);
  border-bottom:  none;
  padding-bottom: 0;
  margin:         2.9rem 0 1rem;
}

/* Dinkus entre secciones */
:root body > main > article > h2::before {
  content:        "\002737\0000A0\0000A0\002737\0000A0\0000A0\002737";
  display:        block;
  margin:         0 0 2rem;
  text-align:     center;
  font-size:      .95rem;
  letter-spacing: .35em;
  color:          #B9AA8C;
}

:root body > main > article > h3 {
  font-family: var(--font-display);
  font-style:  italic;
  font-weight: 500;
  font-size:   1.2rem;
  color:       var(--color-primary);
  margin:      2rem 0 .6rem;
}

:root body > main > article ul,
:root body > main > article ol {
  margin:       0 0 1.4rem;
  padding-left: 1.3em;
}

:root body > main > article li {
  margin-bottom: .7em;
  font-size:     1rem;
  line-height:   1.68;
}

:root body > main > article li::marker { color: var(--color-accent); }

:root body > main > article li > strong { color: var(--color-primary); }

:root body > main > article blockquote {
  position:    relative;
  margin:      2rem 0;
  padding:     .2rem 0 .2rem 2.6rem;
  border-left: 2px solid var(--color-accent);
  font-style:  italic;
  font-size:   1.1rem;
  line-height: 1.6;
  color:       var(--color-text-soft);
}

:root body > main > article blockquote::before {
  content:     "\00201C";
  position:    absolute;
  left:        .55rem;
  top:         -.15em;
  font-family: var(--font-display);
  font-size:   3rem;
  line-height: 1;
  color:       var(--color-border);
}

:root body > main > article a {
  color:           var(--color-primary);
  text-decoration: none;
  border-bottom:   1px solid rgba(94, 58, 26, .32);
}

:root body > main > article a:hover {
  color:        var(--color-accent);
  border-color: var(--color-accent);
}

/* Imágenes: si falta el archivo queda un recuadro de papel, no un icono roto */
:root body > main > article img {
  display:        block;
  width:          100%;
  max-width:      min(100%, 640px);
  height:         auto;
  min-height:     140px;
  margin:         2.2rem auto;
  padding:        .6rem;
  background:     var(--color-bg-alt);
  border:         1px solid var(--color-border);
  border-radius:  var(--radius);
  font-family:    var(--font-meta);
  font-size:      .72rem;
  font-style:     italic;
  letter-spacing: .04em;
  text-align:     center;
  color:          var(--color-text-muted);
}

/* Aviso legal al pie del artículo */
:root body > main > article > div {
  margin:      3rem 0 0;
  padding:     1rem 1.2rem;
  background:  var(--color-bg-alt);
  border-top:  none;
  border-left: 2px solid var(--color-border);
  font-family: var(--font-meta);
  font-size:   .76rem;
  line-height: 1.6;
  color:       var(--color-text-muted);
}

:root body > main > article > div > strong {
  color:          var(--color-primary);
  font-weight:    700;
  letter-spacing: .04em;
}

/* Seguir leyendo */
:root body > main > nav {
  margin-top:  3.4rem;
  padding-top: 1.5rem;
  border-top:  2px solid var(--color-primary);
  font-size:   .95rem;
  color:       var(--color-text-muted);
}

:root body > main > nav em {
  display:        block;
  margin-bottom:  .8rem;
  font-family:    var(--font-meta);
  font-style:     normal;
  font-weight:    700;
  font-size:      .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color:          var(--color-accent);
}

:root body > main > nav p { margin: 0; line-height: 1.85; }

:root body > main > nav a {
  color:           var(--color-primary);
  text-decoration: none;
  border-bottom:   1px solid var(--color-border);
}

:root body > main > nav a:hover {
  color:        var(--color-accent);
  border-color: var(--color-accent);
}

/* ─── PIE ────────────────────────────────────────────────────────────── */
:root body > footer {
  margin-top: 4.5rem;
  padding:    2.4rem 1.5rem 3rem;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  text-align: center;
  color:      var(--color-text-muted);
}

:root body > footer::before {
  content:     "Escribo cuando probamos algo. No antes.";
  display:     block;
  margin:      0 auto 1.1rem;
  font-family: var(--font-display);
  font-style:  italic;
  font-size:   1.05rem;
  color:       var(--color-primary);
}

:root body > footer small {
  font-family:    var(--font-meta);
  font-size:      .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

:root body > footer a {
  color:           var(--color-primary);
  text-decoration: none;
  border-bottom:   1px solid var(--color-border);
}

:root body > footer a:hover { color: var(--color-accent); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  :root body > main > div:nth-of-type(n+2):nth-of-type(-n+4) { grid-column: span 3; }
  :root body > main > div:nth-of-type(4) { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root body > main:has(> div > h2) {
    grid-template-columns: 1fr;
    column-gap:            0;
    padding:               0 20px 1rem;
  }

  :root body > main > div:nth-of-type(1),
  :root body > main > div:nth-of-type(n+2):nth-of-type(-n+4),
  :root body > main > div:nth-of-type(n+5):not(:last-of-type),
  :root body > main > div:last-of-type { grid-column: 1 / -1; }

  :root body > main > div:nth-of-type(1),
  :root body > main > div:nth-of-type(odd):nth-last-of-type(2) { grid-template-columns: 1fr; }

  :root body > main > div:nth-of-type(odd):nth-last-of-type(2) > p:nth-of-type(1),
  :root body > main > div:nth-of-type(odd):nth-last-of-type(2) > h2,
  :root body > main > div:nth-of-type(odd):nth-last-of-type(2) > p:nth-of-type(2),
  :root body > main > div:nth-of-type(odd):nth-last-of-type(2) > a {
    grid-column: 1;
    grid-row:    auto;
  }

  :root body > main > div:nth-of-type(odd):nth-last-of-type(2) > p:nth-of-type(2) {
    margin: 0 0 .9rem;
  }

  :root body > main > div:nth-of-type(1) > h2,
  :root body > main > div:nth-of-type(1) > p:nth-of-type(1),
  :root body > main > div:nth-of-type(1) > p:nth-of-type(2),
  :root body > main > div:nth-of-type(1) > a {
    grid-column: 1;
    grid-row:    auto;
  }

  :root body > main > div:nth-of-type(1) > p:nth-of-type(1) {
    margin:        0 0 1.2rem;
    padding:       0 0 .9rem;
    border-left:   none;
    border-bottom: 1px solid var(--color-border);
  }

  :root body > main > div:nth-of-type(1) > p:nth-of-type(1)::after {
    margin-top:  .7rem;
    padding-top: .7rem;
  }

  :root body > main > div:nth-of-type(3),
  :root body > main > div:nth-of-type(4) { margin-top: 1.7rem; }
  :root body > main > div:nth-of-type(5) { margin-top: 4rem; }
  :root body > main > div:nth-of-type(6) { margin-top: 2.2rem; }
  :root body > main > div:last-of-type { columns: 1; }

  :root body > header:has(> h1) { padding: 2.6rem 1.2rem 2.2rem; }
  :root body > main:has(> article) { padding: 0 20px 2rem; }
}
