/*
Theme Name: Siticob La Revista
Theme URI: https://www.siticoblarevista.com
Author: Siticob
Description: Tema de la revista mensual de Siticob: casos reales de logística, almacén y retail. Blanco, negro y rojo Siticob, con Jost y Nunito Sans, cuadrícula escalonada, ediciones con portada y artículos pensados para SEO y AEO.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: siticob-revista
*/
/* =====================================================================
   SITICOB LA REVISTA — maqueta v2 (blanco, negro, rojo Siticob)
   Estructura basada en Fuselle: titular grande + cinta de temas, cuadrícula
   de artículos, "Imperdibles", bloque de suscripción y pie.
   Tipografía: Archivo (variable). Ancho 125 en portadas y titular principal,
   100 en lectura, 78 en metadatos.

   MAPA A BLOQUES DE WORDPRESS (fase de tema)
   .site-header ........ Template part "header" (Group + Site Title + Navigation + Button)
   .hero ............... Group: Heading (h1), Paragraph, Buttons
   .ticker ............. Group con lista de categorías (Query de términos)
   .cards .............. Query Loop (Post Template en cuadrícula): Featured Image 4:3, Post Terms, Post Title, Post Date
   .must ............... Query Loop filtrado por la etiqueta "Imperdibles"
   .edition-band ....... Query Loop sobre el tipo "Edición" (portada + índice)
   .promo .............. Group + Heading + Paragraph + Button (descargable)
   .prose .............. Post Content (Heading, Paragraph, List, Quote, Gallery, Details)
   .tldr / .note ....... Patrones de bloque (Group con estilo)
   .faq ................ Bloque Details (uno por pregunta)
   .share .............. Patrón: Buttons (LinkedIn, WhatsApp, copiar enlace)
   .author ............. Post Author + Post Author Biography
   ===================================================================== */

:root {
  --negro: #0A0A0A;
  --rojo: #FF004D;        /* rojo Siticob: sobre negro, formas grandes */
  --rojo-ui: #D61D4E;     /* rojo para texto y botones sobre blanco (contraste 5:1) */
  --carbon: #2A2A2A;
  --gris-50: #F3F3F3;
  --gris-100: #E9E9E9;
  --gris-200: #D6D6D6;
  --gris-500: #9A9A9A;
  --gris-600: #5C5C5C;
  --font: "Archivo", "DejaVu Sans", Verdana, sans-serif;
  --wrap: 1180px;
  --measure: 66ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-stretch: 100%; font-size: 1.0625rem; line-height: 1.65;
  color: var(--carbon); background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; overflow-wrap: break-word; color: var(--negro); }
p, ol, ul, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; border-radius: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--negro); padding: .7rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2 * clamp(1rem, 4vw, 2rem), var(--wrap)); margin-inline: auto; }

/* ---------- roles tipográficos ---------- */
.display { font-stretch: 125%; font-weight: 900; text-transform: uppercase; letter-spacing: -.015em; line-height: .98; }
.h2 { font-stretch: 112%; font-weight: 800; font-size: clamp(1.55rem, 2.8vw, 2.25rem); letter-spacing: -.01em; }
.meta { font-stretch: 78%; font-weight: 600; font-size: .98rem; color: var(--gris-600); line-height: 1.4; }
.lead { font-size: 1.2rem; line-height: 1.55; max-width: 48ch; }
.cat { font-stretch: 78%; font-weight: 700; font-size: 1.02rem; color: var(--rojo-ui); text-decoration: none; }
a.cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.date { font-stretch: 78%; font-weight: 600; font-size: 1.02rem; color: var(--gris-600); }
.on-dark .cat { color: var(--rojo); }
.on-dark .date, .on-dark .meta { color: #C9C9C9; }

/* ---------- marca: tres puntos ---------- */
.dots { display: inline-flex; gap: 5px; align-items: center; }
.dots i { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--dot-1, var(--negro)); }
.dots i:nth-child(2) { background: var(--rojo); }
.dots i:nth-child(3) { background: var(--dot-3, var(--gris-500)); }
.on-dark { --dot-1: #fff; }

/* ---------- botones ---------- */
.btn {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--solid { background: var(--rojo-ui); color: #fff; }
.btn--solid:hover { background: #B8123E; }
.btn--dark { background: var(--negro); color: #fff; }
.btn--dark:hover { background: var(--rojo-ui); }
.btn--line { border-color: var(--negro); color: var(--negro); }
.btn--line:hover { background: var(--negro); color: #fff; }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--negro); }

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; color: var(--negro); border-bottom: 3px solid var(--negro); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; }
.brand__name { display: block; font-stretch: 125%; font-weight: 900; font-size: 1.05rem; line-height: 1; text-transform: uppercase; }
.brand__sub { display: block; margin-top: 4px; font-stretch: 78%; font-weight: 600; font-size: .9rem; line-height: 1; color: var(--gris-600); }
.nav { margin-left: auto; display: flex; gap: .2rem; }
.nav a { padding: .55rem .85rem; text-decoration: none; font-stretch: 90%; font-weight: 600; font-size: 1rem; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--rojo); }
.site-header .btn { padding: .6rem 1.2rem; }

/* ---------- portada (objeto de marca) ---------- */
.cover {
  --c-bg: var(--negro); --c-ink: #fff; --c-a: var(--rojo); --c-b: #fff; --c-bt: var(--negro);
  container-type: inline-size;
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden;
  background: var(--c-bg); color: var(--c-ink); border-radius: 4px; isolation: isolate; text-decoration: none;
}
.cover--c2 { --c-bg: var(--rojo-ui); --c-a: var(--negro); --c-b: var(--negro); --c-bt: #fff; }
.cover--c3 { --c-bg: var(--gris-100); --c-ink: var(--negro); --c-a: var(--rojo); --c-b: var(--negro); --c-bt: #fff; }
.cover--c4 { --c-a: #3A3A3A; --c-b: var(--rojo-ui); --c-bt: #fff; }
.cover--c5 { --c-bg: var(--rojo); --c-ink: var(--negro); --c-a: #fff; --c-b: var(--negro); --c-bt: #fff; }
.cover--white { --c-bg: #fff; --c-ink: var(--negro); --c-a: var(--rojo); --c-b: var(--negro); --c-bt: #fff; }
.cover__a { position: absolute; z-index: -1; right: -28cqw; top: 22cqw; width: 88cqw; aspect-ratio: 1; border-radius: 50%; background: var(--c-a); }
.cover__top { position: absolute; left: 8cqw; right: 8cqw; top: 7cqw; display: flex; justify-content: space-between; align-items: center; font-stretch: 125%; font-weight: 900; font-size: 4.1cqw; text-transform: uppercase; line-height: 1; }
.cover .dots { gap: 1.4cqw; }
.cover .dots i { width: 2.4cqw; height: 2.4cqw; background: currentColor; }
.cover .dots i:nth-child(2) { opacity: .65; }
.cover .dots i:nth-child(3) { opacity: .35; }
.cover__num { position: absolute; left: 6cqw; top: 18cqw; font-stretch: 125%; font-weight: 900; font-size: 54cqw; line-height: .85; letter-spacing: -.05em; }
.cover__band { position: absolute; left: 0; right: 0; bottom: 0; height: 33%; background: var(--c-b); color: var(--c-bt); padding: 0 8cqw 8cqw; display: flex; flex-direction: column; justify-content: flex-end; gap: 4cqw; }
.cover__month { font-stretch: 125%; font-weight: 800; font-size: 6.4cqw; line-height: 1; }
.cover__bars { display: block; height: 11cqw; background: repeating-linear-gradient(90deg, currentColor 0 .9cqw, transparent .9cqw 1.6cqw, currentColor 1.6cqw 2.1cqw, transparent 2.1cqw 3.6cqw, currentColor 3.6cqw 5.1cqw, transparent 5.1cqw 5.9cqw); }
.edition .cover__month { display: none; }
@container (max-width: 190px) {
  .cover__top span:first-child { display: none; }
  .cover__top { justify-content: flex-end; }
}
/* el lector pasa una vez sobre la portada */
.cover--live::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--rojo); box-shadow: 0 0 16px 4px rgba(255, 0, 77, .5); opacity: 0; transform: translateY(-6px); animation: scan 1.7s .7s cubic-bezier(.55, 0, .25, 1) 1 both; }
@keyframes scan { 0% { opacity: 1; transform: translateY(-6px); } 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(520px); } }

/* ---------- hero (titular grande, como Fuselle) ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 4vw, 3.2rem); }
.hero h1 { font-size: clamp(2.1rem, 6.4vw, 5.8rem); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* cinta de temas */
.ticker { background: var(--negro); color: #fff; overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: tick 50s linear infinite; }
.ticker__track:hover { animation-play-state: paused; }
.ticker ul { display: flex; gap: 3.2rem; list-style: none; padding: 1.05rem 1.6rem; margin: 0; }
.ticker a { font-stretch: 118%; font-weight: 800; font-size: clamp(1.35rem, 2.8vw, 2.1rem); text-decoration: none; white-space: nowrap; color: #fff; }
.ticker a::before { content: "#"; color: var(--rojo); margin-right: .3rem; }
.ticker a:hover { color: var(--rojo); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- secciones ---------- */
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--tint { background: var(--gris-50); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: .8rem; border-bottom: 3px solid var(--negro); }
.link-more { font-stretch: 90%; font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link-more:hover { color: var(--rojo-ui); }

/* imágenes de muestra */
.ph { position: relative; display: block; background: var(--ph, var(--gris-100)); border-radius: 6px; overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, var(--hatch, rgba(0, 0, 0, .09)) 14px 15px); }
.ph::after { content: attr(data-label); position: absolute; left: .7rem; bottom: .55rem; font-stretch: 78%; font-weight: 600; font-size: .9rem; color: var(--ph-ink, #555); }
.ph--rose { --ph: #FFD9E3; --ph-ink: #8A1233; }
.ph--dark { --ph: #1E1E1E; --hatch: rgba(255, 255, 255, .1); --ph-ink: #BDBDBD; }
.ph--mid { --ph: #CFCFCF; }

/* tarjetas */
.cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem 1.8rem; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card .ph { aspect-ratio: 4 / 3; }
.card__meta { display: flex; gap: 1rem; align-items: baseline; margin: .9rem 0 .35rem; }
.card h3 { font-stretch: 110%; font-weight: 800; font-size: 1.28rem; line-height: 1.2; letter-spacing: -.005em; }
.cards--4 .card h3 { font-size: 1.1rem; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--rojo); text-underline-offset: 4px; }
.card p.excerpt { margin-top: .5rem; color: var(--gris-600); font-size: 1rem; line-height: 1.5; }

/* imperdibles */
.must { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
.must li { padding: 1.15rem 0; border-top: 1px solid var(--gris-200); }
.must .card__meta { margin: 0 0 .3rem; }
.must a.t { display: block; font-stretch: 105%; font-weight: 700; font-size: 1.2rem; line-height: 1.25; text-decoration: none; color: var(--negro); }
.must a.t:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--rojo); text-underline-offset: 4px; }

/* edición del mes */
.edition-band { background: var(--negro); color: #fff; }
.edition-band h2 { color: #fff; }
.edition-band .cover--white { --c-b: var(--gris-600); }
.edition-band__grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.edition-band .h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin: .5rem 0 .8rem; }
.edition-band p.lead { color: #E3E3E3; margin-bottom: 1.4rem; }
.edition-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.tag { display: inline-block; padding: .15rem .7rem; border-radius: 999px; background: var(--rojo); color: var(--negro); font-stretch: 78%; font-weight: 700; font-size: .95rem; line-height: 1.5; }
.toc-list { list-style: none; padding: 0; border-top: 3px solid var(--negro); margin-bottom: 1.8rem; }
.toc-list li { border-bottom: 1px solid var(--gris-200); }
.toc-list a { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; text-decoration: none; align-items: baseline; }
.toc-list .pg { font-stretch: 78%; font-weight: 700; font-size: 1.05rem; color: var(--rojo-ui); }
.toc-list .tt { font-weight: 600; font-size: 1.12rem; line-height: 1.3; }
.toc-list a:hover .tt { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--rojo); text-underline-offset: 4px; }
.toc-list--inverse { border-top-color: #fff; }
.toc-list--inverse li { border-bottom-color: rgba(255, 255, 255, .28); }
.toc-list--inverse .pg { color: var(--rojo); }
.toc-list--inverse .meta { color: #C9C9C9; }

/* material descargable */
.promo__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.promo .h2 { margin-bottom: 1rem; }
.promo p { max-width: 52ch; }
.promo .meta { margin: 1rem 0 1.6rem; }
.sheet { background: #fff; color: var(--carbon); border: 3px solid var(--negro); border-radius: 6px; padding: 1.4rem 1.5rem 1.2rem; max-width: 320px; margin-inline: auto; width: 100%; }
.sheet p { font-stretch: 112%; font-weight: 800; font-size: 1.05rem; color: var(--negro); line-height: 1.2; padding-bottom: .8rem; margin-bottom: .6rem; border-bottom: 3px solid var(--rojo-ui); }
.sheet ul { list-style: none; padding: 0; }
.sheet li { display: flex; align-items: center; gap: .8rem; height: 2.1rem; }
.sheet li::before { content: ""; flex: none; width: 1.05rem; height: 1.05rem; border: 2px solid var(--negro); border-radius: 3px; }
.sheet li::after { content: ""; flex: 0 0 var(--w, 80%); height: .55rem; border-radius: 99px; background: var(--gris-200); }

/* te ayudamos */
.help { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.help__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.help__list h3 { font-stretch: 112%; font-weight: 800; font-size: 1.2rem; margin-bottom: .5rem; }
.help .btn { margin-top: 1.6rem; }

/* ediciones anteriores */
.editions-row { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.edition { position: relative; }
.edition h3 { font-weight: 700; font-size: 1.05rem; margin-top: .7rem; }
.edition h3 a { text-decoration: none; }
.edition h3 a::after { content: ""; position: absolute; inset: 0; }
.edition:hover h3 a { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--rojo); text-underline-offset: 4px; }

/* suscripción (banda roja) */
.subscribe { background: var(--rojo-ui); color: #fff; }
.subscribe h2 { color: #fff; }
.subscribe__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.subscribe .lead { margin-top: 1rem; }
.subscribe .cover { max-width: 220px; margin-top: 2rem; }
.form { background: #fff; color: var(--carbon); border: 3px solid var(--negro); border-radius: 16px; padding: clamp(1.2rem, 3vw, 2rem); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-stretch: 90%; font-weight: 700; font-size: 1rem; color: var(--negro); }
.field input, .field textarea { font: inherit; padding: .75rem .95rem; border: 2px solid var(--negro); border-radius: 10px; background: #fff; color: var(--carbon); width: 100%; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--rojo); outline-offset: 2px; }
.form .btn { margin-top: .4rem; width: 100%; }

/* pie */
.site-footer { background: var(--negro); color: #fff; padding-block: 3rem 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { color: #fff; font-stretch: 100%; font-weight: 800; font-size: 1rem; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { color: #E3E3E3; text-underline-offset: 4px; }
.footer-grid a:hover { color: #fff; }
.footer-grid .brand { color: #fff; }
.footer-grid .brand__sub { color: #C9C9C9; }
.footer-grid p { color: #E3E3E3; max-width: 34ch; margin-top: .9rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .25); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; font-stretch: 78%; font-size: 1rem; color: #C9C9C9; }

/* =====================  páginas internas  ===================== */
.page-head { padding-block: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.2rem); }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 4.8rem); }
.page-head .lead { margin-top: 1.2rem; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.chips a { display: inline-block; padding: .4rem 1rem; border: 2px solid var(--negro); border-radius: 999px; text-decoration: none; font-stretch: 90%; font-weight: 700; font-size: .98rem; }
.chips a:hover { background: var(--gris-100); }
.chips a[aria-current] { background: var(--negro); color: #fff; }
.pager { list-style: none; padding: 0; display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pager a, .pager span { display: inline-block; min-width: 2.8rem; text-align: center; padding: .55rem .9rem; border: 2px solid var(--negro); border-radius: 999px; text-decoration: none; font-weight: 700; }
.pager a:hover { background: var(--gris-100); }
.pager [aria-current] { background: var(--negro); color: #fff; }

.year { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 2rem; padding-block: 2.5rem; border-top: 3px solid var(--negro); }
.year__label { position: sticky; top: 92px; align-self: start; font-stretch: 125%; font-weight: 900; font-size: 2.4rem; line-height: 1; color: var(--negro); }
.edition-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem 1.4rem; }

/* ---------- artículo ---------- */
.progress { position: fixed; left: 0; top: 0; height: 4px; width: 100%; background: var(--rojo); transform: scaleX(0); transform-origin: 0 50%; z-index: 60; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}
.crumbs ol { list-style: none; padding: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; font-stretch: 78%; font-weight: 600; font-size: 1rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--gris-500); }
.crumbs a { color: var(--gris-600); }
.crumbs [aria-current] { color: var(--negro); }
.article-head { padding-block: 1.6rem 2rem; max-width: 960px; }
.article-head .card__meta { margin: 0 0 1rem; }
.article-head h1 { font-stretch: 118%; font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 3.4rem); letter-spacing: -.015em; margin: 0 0 1.2rem; }
.dek { font-size: 1.3rem; line-height: 1.5; max-width: 56ch; color: var(--carbon); }
.byline { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; align-items: center; margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--gris-200); }
.person { display: flex; align-items: center; gap: .8rem; }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--negro); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.person strong { display: block; line-height: 1.2; color: var(--negro); }
.article-figure .ph { height: clamp(240px, 36vw, 480px); }
.article-figure figcaption, .prose figcaption { margin-top: .6rem; font-stretch: 78%; font-weight: 600; font-size: 1rem; color: var(--gris-600); }
.article-grid { display: grid; grid-template-columns: 15rem minmax(0, var(--measure)); gap: clamp(2rem, 5vw, 5rem); padding-block: 3rem 4rem; }
.toc { position: sticky; top: 92px; align-self: start; }
.toc p { font-weight: 800; color: var(--negro); margin-bottom: .7rem; }
.toc ol { list-style: none; padding: 0; border-left: 3px solid var(--gris-200); }
.toc a { display: block; padding: .45rem 0 .45rem 1rem; margin-left: -3px; border-left: 3px solid transparent; text-decoration: none; font-stretch: 90%; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.toc a:hover { border-left-color: var(--rojo); }
.prose { font-size: 1.1875rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.2rem; }
.prose h2 { font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -.01em; margin-top: 3rem; scroll-margin-top: 96px; }
.prose h3 { font-stretch: 105%; font-weight: 700; font-size: 1.3rem; line-height: 1.25; }
.prose a:not(.btn) { color: var(--rojo-ui); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose > section { margin-top: 3rem; }
.prose > section > h2 { margin-top: 0; margin-bottom: .9rem; }
.tldr { border: 3px solid var(--negro); border-radius: 12px; padding: 1.2rem 1.5rem; }
.tldr .box-title, .note .box-title { font-stretch: 100%; font-weight: 800; font-size: 1.05rem; line-height: 1.3; color: var(--negro); }
.tldr p + p { margin-top: .3rem; }
.note { background: var(--gris-50); border-left: 6px solid var(--rojo); border-radius: 0 10px 10px 0; padding: 1rem 1.4rem; font-size: 1.05rem; line-height: 1.6; }
.steps { list-style: none; padding: 0; counter-reset: paso; }
.steps li { counter-increment: paso; display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--gris-200); }
.steps li:last-child { border-bottom: 1px solid var(--gris-200); }
.steps li::before { content: counter(paso); font-stretch: 125%; font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--rojo-ui); }
.steps h3 { margin-bottom: .3rem; }
.prose figure .ph { aspect-ratio: 16 / 9; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gallery .ph { aspect-ratio: 4 / 3 !important; }
.prose blockquote { border-left: 6px solid var(--rojo); padding-left: 1.4rem; margin-block: 2.2rem; font-stretch: 112%; font-weight: 700; font-size: 1.5rem; line-height: 1.3; color: var(--negro); }
.cta { background: var(--negro); color: #fff; border-radius: 14px; padding: 1.6rem 1.8rem; display: grid; gap: .5rem; justify-items: start; margin-top: 2.2rem; }
.cta p { line-height: 1.4; }
.cta .box-title { font-stretch: 112%; font-weight: 800; font-size: 1.35rem; color: #fff; }
.cta .btn { margin-top: .8rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; padding-block: 1.2rem; border-block: 1px solid var(--gris-200); margin-top: 2.5rem; }
.share p { font-weight: 800; color: var(--negro); font-size: 1.05rem; }
.share ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.share .btn { padding: .5rem 1.1rem; font-size: .95rem; background: #fff; }
.faq details { border-top: 1px solid var(--gris-200); }
.faq details:last-child { border-bottom: 1px solid var(--gris-200); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 2.5rem 1rem 0; position: relative; font-stretch: 105%; font-weight: 700; font-size: 1.15rem; line-height: 1.3; color: var(--negro); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .5rem; top: 50%; width: 11px; height: 11px; border-right: 3px solid var(--negro); border-bottom: 3px solid var(--negro); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); border-color: var(--rojo-ui); }
.faq details p { padding: 0 0 1.2rem; font-size: 1.1rem; line-height: 1.65; }
.sources ol { padding-left: 1.3rem; font-size: 1.05rem; line-height: 1.6; }
.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1.2rem; align-items: start; padding: 1.4rem; background: var(--gris-50); border-radius: 14px; margin-top: 3rem; font-size: 1.05rem; line-height: 1.55; }
.author .avatar { width: 64px; height: 64px; font-size: 1.3rem; }
.author strong { display: block; font-size: 1.15rem; color: var(--negro); }
.author p + p { margin-top: .5rem; }

/* ---------- adaptable ---------- */
@media (max-width: 980px) {
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: .4rem; }
  .site-header .btn { margin-left: auto; }
  .hero__row, .promo__grid, .help, .subscribe__grid, .edition-band__grid { grid-template-columns: minmax(0, 1fr); }
  .edition-band .cover { max-width: 300px; }
  .cards, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .must { grid-template-columns: minmax(0, 1fr); }
  .help__list { grid-template-columns: minmax(0, 1fr); }
  .editions-row, .edition-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .year { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .year__label { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-top: 2rem; }
  .toc { position: static; background: var(--gris-50); border-radius: 12px; padding: 1rem 1.2rem; }
}
@media (max-width: 620px) {
  .cards, .cards--4 { grid-template-columns: minmax(0, 1fr); }
  .editions-row, .edition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .toc-list a { grid-template-columns: 2.8rem minmax(0, 1fr); }
  .toc-list .meta { display: none; }
  .prose { font-size: 1.125rem; }
  .author { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .cover--live::after { display: none; }
  .progress { animation: none; }
  .ticker__track { animation: none; }
  .ticker { overflow-x: auto; }
}

/* banner de suscripción al final de páginas internas */
.banner { background: var(--rojo-ui); color: #fff; padding-block: 2.2rem; }
.banner .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.banner h2 { color: #fff; font-stretch: 112%; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); max-width: 30ch; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =====================================================================
   v3 — acomodo de cada referencia
   Navegación: hamburguesa + marca (Fuselle). Cada página conserva el
   acomodo de su referencia: Home y Categorías (Fuselle), Ediciones (Fuselle,
   portadas verticales), Artículo (Fuselle, hero dividido), Materiales
   (Horizonix), Te ayudamos (Fuselle /about), Suscríbete (Newsian).
   BLOQUES DE WORDPRESS: .bar = Navigation con menú superpuesto "siempre";
   .st = Query Loop en cuadrícula; .covers = Query Loop del tipo "Edición".
   ===================================================================== */
:root { --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "DejaVu Sans Mono", monospace; --pad: clamp(1rem, 2.2vw, 1.8rem); }
body { background: var(--gris-50); }
body.is-dark { background: var(--negro); color: #fff; }
body.is-dark h1, body.is-dark h2, body.is-dark h3 { color: #fff; }
.ph { background: var(--ph, #DEDEDE); }
.ph--rose { --ph: #FFD2DE; }
.ph--mid { --ph: #C9C9C9; }
.ph--dark { --ph: #1C1C1C; }

/* barra y menú tipo Fuselle */
.bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 1rem; padding: .8rem var(--pad); background: var(--gris-50); color: var(--negro); }
.is-dark .bar { background: var(--negro); color: #fff; }
.bar--over { background: transparent; position: absolute; left: 0; right: 0; color: #fff; }
.brand-mini { font-weight: 900; letter-spacing: -.03em; text-decoration: none; font-size: 1.05rem; line-height: 1; }
.brand-mini span { color: var(--gris-500); font-weight: 600; margin-left: .45rem; letter-spacing: -.01em; }
.bar__cta { margin-left: auto; padding: .5rem 1.1rem; font-size: .95rem; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; gap: 5px; width: 30px; padding: 7px 2px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary i { display: block; height: 3px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.menu[open] summary i:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu__panel { position: absolute; top: calc(100% + .7rem); left: 0; width: min(340px, 88vw); background: var(--rojo); color: var(--negro); padding: 1.3rem 1.5rem 1.2rem; border-radius: 4px; z-index: 70; }
.menu__panel ul { list-style: none; margin: 0; padding: 0; }
.menu__panel a { display: block; padding: .1rem 0; font-weight: 900; font-size: 2.05rem; line-height: 1.02; letter-spacing: -.05em; text-decoration: none; color: var(--negro); }
.menu__panel a:hover, .menu__panel a[aria-current] { color: #fff; }
.menu__panel .menu__social { display: flex; gap: 1.1rem; margin-top: 1.5rem; padding: 0; }
.menu__panel .menu__social a { font-size: .85rem; letter-spacing: 0; font-weight: 700; }

/* titulares gigantes */
.mega { font-stretch: 105%; font-weight: 900; font-size: clamp(3.4rem, 12.5vw, 12rem); letter-spacing: -.06em; line-height: .84; color: var(--negro); }
.page-title { padding: clamp(1.5rem, 4vw, 3.5rem) var(--pad) clamp(1.8rem, 4vw, 3.2rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: 2rem; align-items: end; }
.page-title p { font-weight: 600; font-size: 1rem; line-height: 1.4; }
.crumbs--s ol { padding: 0 var(--pad); font-size: .9rem; }

/* tarjetas escalonadas */
.st { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.4rem 1.5rem; align-items: start; padding: 0 var(--pad); position: relative; z-index: 1; }
.st .col { display: grid; gap: 2.4rem; align-content: start; }
.st--home .col:nth-child(2) { margin-top: 6rem; }
.st--home .col:nth-child(3) { margin-top: 2.5rem; }
.st--home .col:nth-child(4) { margin-top: 8.5rem; }
.tile .ph, .tile .cover { display: block; width: 100%; border-radius: 2px; }
.a43 { aspect-ratio: 4 / 3; } .a34 { aspect-ratio: 3 / 4; } .a45 { aspect-ratio: 4 / 5; } .a11 { aspect-ratio: 1; }
.tile h3 { font-weight: 900; font-stretch: 100%; font-size: clamp(1.15rem, 1.75vw, 1.6rem); letter-spacing: -.045em; line-height: .98; margin: .75rem 0 .5rem; }
.tile h3 a { text-decoration: none; }
.tile h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--rojo); text-underline-offset: 3px; }
.tile .m { font-weight: 700; font-size: .8rem; line-height: 1.3; color: var(--negro); }
.tile .m a { text-decoration: none; }
.tile .m a:hover { color: var(--rojo-ui); }
.more { text-align: center; padding: 3.5rem var(--pad) 4rem; }

/* home: tarjeta roja de presentación y marca de agua */
main.home { position: relative; overflow: hidden; padding-top: 1.2rem; }
.wm { position: absolute; left: 0; right: 0; top: 2rem; text-align: center; font-weight: 900; font-size: 27vw; line-height: .8; letter-spacing: -.07em; color: #fff; pointer-events: none; user-select: none; z-index: 0; }
.intro { background: var(--rojo); color: var(--negro); border-radius: 4px; padding: 1.3rem 1.3rem 1.1rem; min-height: 25rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.intro h1 { font-weight: 900; font-stretch: 100%; font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.055em; line-height: .93; color: var(--negro); }
.intro ul { list-style: none; padding: 0; display: grid; gap: .15rem; }
.intro a { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: var(--negro); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.intro a:hover { color: #fff; }
.intro .small { display: flex; gap: .9rem; margin-top: .6rem; font-size: .78rem; }
.intro .small a { font-size: .78rem; font-weight: 700; letter-spacing: 0; }

/* banda de suscripción al final */
.band { display: block; background: var(--rojo-ui); color: #fff; text-align: center; text-decoration: none; padding: 1.2rem var(--pad); font-weight: 900; font-size: clamp(1.4rem, 3.4vw, 2.6rem); letter-spacing: -.045em; line-height: 1.05; }
.band:hover { background: #B8123E; }
.band span { margin-inline: .7em; }

/* ediciones */
.year-t { font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.055em; padding: 0 var(--pad); margin: 0 0 1.2rem; line-height: 1; }
.covers { list-style: none; margin: 0 0 3.5rem; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.2rem 1.5rem; align-items: start; }
.covers .edition { position: relative; }
.covers .cover { box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.covers h3 { font-weight: 900; font-size: 1.3rem; letter-spacing: -.045em; line-height: 1; margin: .75rem 0 .3rem; }
.covers h3 a { text-decoration: none; }
.covers h3 a::after { content: ""; position: absolute; inset: 0; }
.covers .edition:hover h3 a { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--rojo); text-underline-offset: 3px; }
.covers .m { font-weight: 700; font-size: .8rem; }

/* artículo: hero dividido */
.a-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(88vh, 860px); background: #fff; }
.a-hero__text { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(5rem, 9vw, 7rem) var(--pad) clamp(1.5rem, 3.5vw, 3rem); }
.a-hero__text h1 { font-weight: 900; font-stretch: 100%; font-size: clamp(2rem, 4.9vw, 4.7rem); letter-spacing: -.058em; line-height: .93; color: var(--negro); }
.a-hero__meta { margin-top: 1.3rem; font-weight: 800; font-size: .95rem; }
.a-hero__meta a { text-decoration: none; }
.a-hero__meta a:hover { color: var(--rojo-ui); }
.a-hero__img { position: relative; }
.a-hero__img .ph { position: absolute; inset: 0; border-radius: 0; }
.a-body { background: #fff; padding-bottom: 1rem; }
.a-body .crumbs ol { padding-top: 1.6rem; }
.a-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem; padding: 1.4rem 0 .4rem; }
.a-body .article-grid { padding-top: 2rem; }
.prose h2 { font-weight: 900; font-stretch: 100%; letter-spacing: -.05em; line-height: 1; font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
.prose h3 { font-weight: 800; letter-spacing: -.03em; font-stretch: 100%; }
.prose blockquote { font-weight: 900; font-stretch: 100%; letter-spacing: -.04em; font-size: 1.8rem; line-height: 1.05; }
.rel { background: var(--gris-50); padding-block: 3.5rem 4rem; }
.rel h2 { padding: 0 var(--pad); margin-bottom: 1.6rem; font-weight: 900; letter-spacing: -.05em; font-size: clamp(1.8rem, 3.4vw, 3rem); }

/* materiales (Horizonix) */
.mat-hero { position: relative; min-height: clamp(280px, 44vh, 460px); display: flex; align-items: flex-end; background: #1C1C1C; color: #fff; overflow: hidden; isolation: isolate; }
.mat-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, transparent 0 16px, rgba(255,255,255,.07) 16px 17px), linear-gradient(180deg, #2B2B2B 0%, #111 70%, #3a0a1c 100%); }
.mat-hero::after { content: "Imagen de portada"; position: absolute; right: var(--pad); top: 5rem; font-weight: 600; font-size: .9rem; color: #BDBDBD; }
.mat-hero__in { padding: 5rem var(--pad) 2.2rem; }
.mat-hero h1 { color: #fff; font-weight: 900; font-size: clamp(3rem, 9vw, 8rem); letter-spacing: -.055em; line-height: .88; }
.mat-hero p { margin-top: 1rem; font-family: var(--mono); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: #E3E3E3; }
.mat-body { background: #F8F8F8; padding: 3rem var(--pad) 4rem; }
.mat-body .in { max-width: 900px; margin-inline: auto; }
.mat-body h2 { font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; margin-bottom: 1.2rem; }
.mat-list { list-style: none; padding: 0; display: grid; gap: 1rem; margin-bottom: 3.2rem; }
.mat-card { background: #fff; border: 1px solid var(--gris-200); border-radius: 14px; padding: 1.4rem 1.6rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 2rem; align-items: center; }
.mat-date { font-family: var(--mono); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; color: var(--negro); }
.mat-card h3 { font-weight: 800; font-size: 1.5rem; letter-spacing: -.035em; line-height: 1.1; margin: .25rem 0 .7rem; }
.mat-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; color: var(--gris-600); font-size: .92rem; }
.mat-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.mat-meta svg { width: 16px; height: 16px; flex: none; }
.mat-arch { list-style: none; padding: 0; border-left: 3px solid var(--negro); margin-left: .4rem; }
.mat-arch li { position: relative; display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: .85rem 0 .85rem 1.4rem; border-bottom: 1px solid var(--gris-200); }
.mat-arch li::before { content: ""; position: absolute; left: -8px; top: 1.2rem; width: 13px; height: 13px; border-radius: 50%; background: var(--rojo); border: 3px solid #F8F8F8; }
.mat-arch .t { font-weight: 700; letter-spacing: -.01em; }
.mat-arch a { font-weight: 700; font-size: .92rem; }
.mat-year { font-weight: 900; font-size: 1.1rem; margin: 1.6rem 0 .6rem; letter-spacing: -.03em; }

/* te ayudamos (about) */
.about { padding: .6rem var(--pad) 4rem; }
.about-banner .ph { height: clamp(220px, 34vw, 470px); border-radius: 2px; }
.about h1 { margin: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.2rem); max-width: 11ch; font-weight: 900; font-size: clamp(2.6rem, 7vw, 6.6rem); letter-spacing: -.062em; line-height: .86; color: var(--negro); padding-left: clamp(0rem, 8vw, 7rem); }
.about-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .7fr); gap: 2rem; padding-left: clamp(0rem, 8vw, 7rem); font-weight: 600; font-size: .98rem; line-height: 1.4; }
.about-cols h2 { font-weight: 900; font-size: 1rem; letter-spacing: -.02em; margin-bottom: .5rem; color: var(--negro); }
.about-cols p + h2 { margin-top: 1.4rem; }
.about-cols dl { margin: 0; }
.about-cols dt { color: var(--gris-500); font-weight: 600; margin-top: 1.4rem; }
.about-cols dt:first-child { margin-top: 0; }
.about-cols dd { margin: 0; font-weight: 800; }
.about-cols dd a { display: block; }
.about-form { margin: clamp(3rem, 6vw, 5rem) 0 0 clamp(0rem, 8vw, 7rem); max-width: 40rem; }
.about-form h2 { font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.05em; margin-bottom: 1.2rem; }
.about-form .form { border: 0; background: #fff; border-radius: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

/* suscríbete (Newsian) */
.sus { position: relative; min-height: min(92vh, 900px); padding: clamp(4.5rem, 8vw, 6rem) var(--pad) 1.4rem; display: grid; grid-template-rows: 1fr auto auto; overflow: hidden; }
.sus__stage { position: relative; display: grid; align-items: center; }
.sus h1 { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(4rem, 19.5vw, 19rem); line-height: .85; letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.fan { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 3; pointer-events: none; }
.fan .cover { position: absolute; width: clamp(110px, 17vw, 250px); left: calc(clamp(110px, 17vw, 250px) / -2); bottom: calc(clamp(110px, 17vw, 250px) * -.9); transform-origin: 50% 105%; border-radius: 14px; box-shadow: -6px 6px 24px rgba(0,0,0,.35); }
.fan .f1 { transform: rotate(-34deg); } .fan .f2 { transform: rotate(-22deg); } .fan .f3 { transform: rotate(-10deg); } .fan .f4 { transform: rotate(0deg); } .fan .f5 { transform: rotate(11deg); }
.sus__foot { display: flex; justify-content: space-between; gap: 2rem; font-size: .8rem; line-height: 1.45; font-weight: 500; max-width: none; padding-top: 1.2rem; color: #E3E3E3; }
.sus__foot p { max-width: 30rem; }
.sus__foot p:last-child { text-align: right; text-transform: uppercase; font-weight: 600; }
.sus__cats { list-style: none; padding: 1.2rem 0 0; margin: 1.2rem 0 0; border-top: 1px dashed rgba(255,255,255,.35); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; font-weight: 600; text-transform: uppercase; }
.sus__cats a { text-decoration: none; color: #fff; }
.sus__cats a:hover { color: var(--rojo); }
.sus-form { padding: clamp(2.5rem, 6vw, 5rem) var(--pad) 4rem; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); border-top: 1px solid rgba(255,255,255,.2); }
.sus-form h2 { font-weight: 900; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.05em; line-height: .95; }
.sus-form p { color: #E3E3E3; margin-top: 1rem; max-width: 34ch; }
.sus-form .field label { color: #fff; }
.sus-form .field input, .sus-form .field textarea { background: transparent; color: #fff; border: 0; border-bottom: 2px solid #fff; border-radius: 0; padding-inline: 0; }
.sus-form .field input:focus-visible, .sus-form .field textarea:focus-visible { outline-offset: 4px; }
.sus-form .btn { width: auto; }

/* pie */
.site-footer .wrap { width: calc(100% - 2 * var(--pad)); max-width: none; }

@media (max-width: 980px) {
  .st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st .col { display: contents; }
  .st--home .col:nth-child(n) { margin-top: 0; }
  .intro { grid-column: 1 / -1; min-height: 0; }
  .covers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-title { grid-template-columns: minmax(0, 1fr); }
  .a-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .a-hero__img { min-height: 62vw; order: -1; }
  .a-hero__text { padding-top: 1.6rem; }
  .about-cols { grid-template-columns: minmax(0, 1fr); padding-left: 0; }
  .about h1, .about-form { padding-left: 0; margin-left: 0; }
  .mat-card { grid-template-columns: minmax(0, 1fr); }
  .mat-arch li { grid-template-columns: minmax(0, 1fr) auto; }
  .mat-arch .mat-date { grid-column: 1 / -1; font-size: 1rem; }
  .sus-form { grid-template-columns: minmax(0, 1fr); }
  .sus__foot { flex-direction: column; gap: .8rem; }
  .sus__foot p:last-child { text-align: left; }
  .sus h1 { flex-direction: column; gap: 0; align-items: center; font-size: clamp(4.5rem, 24vw, 10rem); }
  .fan { position: relative; left: auto; top: auto; height: clamp(150px, 42vw, 260px); width: 100%; margin: .4rem 0 .2rem; }
  .fan .cover { left: 50%; margin-left: calc(clamp(110px, 17vw, 250px) / -2); bottom: 0; width: clamp(96px, 26vw, 170px); margin-left: calc(clamp(96px, 26vw, 170px) / -2); }
  .sus__stage { display: block; }
  .sus h1 + .fan { order: 2; }
}
@media (max-width: 620px) {
  .st { gap: 1.6rem .9rem; }
  .tile h3 { font-size: 1.05rem; }
  .covers { gap: 1.6rem .9rem; }
  .mat-arch li::before { top: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .cover--live::after { display: none; } }
.bar--white { background: #fff; }
.mat-arch .mat-date { font-size: 1rem; }
.mat-hero .mat-hero__in { max-width: none; }
.sus__stage { min-width: 0; }
.sus h1 { font-size: clamp(3rem, 11.5vw, 12.5rem); }
.fan .cover { width: clamp(110px, 15vw, 230px); left: calc(clamp(110px, 15vw, 230px) / -2); bottom: calc(clamp(110px, 15vw, 230px) * -.85); }
@media (max-width: 980px) { .sus h1 { font-size: clamp(4.5rem, 24vw, 10rem); } .fan .cover { width: clamp(96px, 26vw, 170px); left: 50%; margin-left: calc(clamp(96px, 26vw, 170px) / -2); bottom: 0; } }
.brand-mini span { color: var(--gris-600); }
.is-dark .brand-mini span { color: #BDBDBD; }
.bar--over .brand-mini span { color: #D6D6D6; }
.about-cols dt { color: var(--gris-600); }

/* =====================================================================
   v4 — tipografía reducida, logo que baja en la home y footer tipo cortina
   BLOQUES DE WORDPRESS: .page = Group principal; .logo-fixed = Group con
   fondo fijo (CSS del tema); .site-footer = Template part "footer" con
   posición fija; el movimiento lo mueve un script pequeño del tema (--p, --r).
   ===================================================================== */
:root { --fh: clamp(460px, 72vh, 680px); }

/* escala tipográfica más contenida (el contenido va a crecer) */
.mega { font-size: clamp(2.5rem, 6.2vw, 5.8rem); letter-spacing: -.05em; line-height: .9; }
.page-title { padding-block: clamp(1.2rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.2rem); }
.tile h3 { font-size: clamp(1rem, 1.15vw, 1.15rem); letter-spacing: -.03em; line-height: 1.1; margin: .65rem 0 .4rem; }
.tile .m { font-size: .78rem; }
.intro { min-height: 20rem; }
.intro h1 { font-size: clamp(1.3rem, 1.85vw, 1.7rem); letter-spacing: -.04em; line-height: 1.02; }
.intro a { font-size: .95rem; }
.menu__panel a { font-size: 1.55rem; letter-spacing: -.04em; line-height: 1.08; }
.a-hero__text h1 { font-size: clamp(1.7rem, 3.1vw, 2.9rem); letter-spacing: -.045em; line-height: 1; }
.prose h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.04em; }
.prose h3 { font-size: 1.15rem; }
.prose blockquote { font-size: 1.4rem; letter-spacing: -.03em; }
.year-t { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.covers h3 { font-size: 1.05rem; letter-spacing: -.03em; }
.mat-hero { min-height: clamp(220px, 34vh, 360px); }
.mat-hero h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: -.05em; }
.mat-card h3 { font-size: 1.25rem; }
.mat-date { font-size: 1.1rem; }
.about h1 { font-size: clamp(1.9rem, 4vw, 3.7rem); letter-spacing: -.05em; line-height: .95; max-width: 14ch; }
.about-form h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.sus h1 { font-size: clamp(2.6rem, 9vw, 9.5rem); }
.fan .cover { width: clamp(84px, 11.5vw, 175px); left: calc(clamp(84px, 11.5vw, 175px) / -2); bottom: calc(clamp(84px, 11.5vw, 175px) * -.85); }
.sus-form h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.rel h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.band { font-size: clamp(1.1rem, 2.2vw, 1.6rem); padding-block: 1rem; }
@media (max-width: 980px) {
  .sus h1 { font-size: clamp(3.4rem, 19vw, 8rem); }
  .fan .cover { width: clamp(84px, 24vw, 150px); left: 50%; margin-left: calc(clamp(84px, 24vw, 150px) / -2); bottom: 0; }
}

/* página: cubre al footer, que queda fijo detrás (efecto cortina) */
.page { position: relative; z-index: 1; min-height: 100vh; background: var(--page-bg, #F3F3F3); margin-bottom: var(--fh); clip-path: inset(0); }
.is-dark .page { --page-bg: #0A0A0A; }

/* home: el logo queda atrás, fijo, y baja con el scroll */
main.home { overflow: visible; }
.logo-fixed { position: fixed; left: 0; right: 0; top: 0; height: 100vh; z-index: 0; pointer-events: none; overflow: hidden; }
.logo-fixed i { display: block; width: min(92vw, 1500px); aspect-ratio: 1295 / 386; margin: 11vh auto 0; background: var(--logo) center / contain no-repeat; transform: translateY(calc(var(--p, 0) * 56vh)); animation: logo-in 1.1s cubic-bezier(.2, .7, .2, 1) both; will-change: transform; }
@keyframes logo-in { from { opacity: 0; translate: 0 -5vh; } to { opacity: 1; translate: 0 0; } }

/* footer fijo que se revela al llegar al final */
.site-footer { position: fixed; left: 0; right: 0; bottom: 0; height: var(--fh); z-index: 0; background: var(--negro); color: #fff; padding: clamp(1.4rem, 3vw, 2.4rem) var(--pad) 1rem; display: flex; flex-direction: column; gap: 1.4rem; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .18); }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; font-size: .95rem; line-height: 1.5; }
.foot-top h2 { font-size: .95rem; font-weight: 800; margin-bottom: .5rem; color: #fff; letter-spacing: -.01em; }
.foot-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.foot-top a { color: #E3E3E3; text-underline-offset: 3px; }
.foot-top a:hover { color: var(--rojo); }
.foot-top p { color: #E3E3E3; max-width: 34ch; }
.foot-logo-wrap { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.foot-logo { position: absolute; inset: 0; background: var(--logo) left bottom / contain no-repeat; transform: translateY(calc((1 - var(--r, 0)) * 55%)); opacity: calc(.2 + var(--r, 0) * .8); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 2rem; font-size: .85rem; color: #C9C9C9; }
@media (max-width: 760px) {
  :root { --fh: 0px; }
  .page { margin-bottom: 0; }
  .site-footer { position: static; height: auto; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-logo-wrap { flex: none; height: 30vw; }
  .foot-logo { transform: none; opacity: 1; background-position: left center; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-fixed i { animation: none; transform: none; }
  .foot-logo { transform: none; opacity: 1; }
}
.band, .more { position: relative; z-index: 2; }

/* =====================================================================
   v5 — Jost (títulos, menús, etiquetas, botones) + Nunito Sans (texto corrido)
   Fuentes alojadas en el propio sitio (licencia OFL), sin llamadas a Google.
   ===================================================================== */
@font-face { font-family: "Jost"; src: url("assets/fonts/jost.woff") format("woff"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("assets/fonts/nunitosans.woff") format("woff"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("assets/fonts/nunitosans-italic.woff") format("woff"); font-weight: 200 1000; font-style: italic; font-display: swap; }
:root {
  --font: "Nunito Sans", "Segoe UI", Verdana, sans-serif;
  --head: "Jost", "Century Gothic", Futura, "Trebuchet MS", sans-serif;
  --logo: url("assets/logo.png");
}
body { font-family: var(--font); font-stretch: 100%; }
h1, h2, h3, h4, .btn, .brand-mini, .menu__panel, .band, .tag, .cat, .chips, .toc p, .toc a, .faq summary, .mega, .display, .year-t, .pager,
.crumbs, .meta, .date, .tile .m, .tile h3, .box-title, .share p, .mat-date, .mat-meta, .sus__cats, .site-footer h2, .foot-top h2, .person strong, .avatar,
.field label, .intro, .a-hero__meta, .cover, .ph::after, .menu__social, .progress-label, .prose figcaption, .tagline > span:first-child, th {
  font-family: var(--head); font-stretch: 100%;
}
.prose, .prose p, .prose li, .tile .m a, .page-title p, .foot-top p, .foot-top li, input, textarea, .lead, .sus__foot, .about-cols p, .mat-card p { font-family: var(--font); }
.tile .m, .meta, .crumbs, .date, .cat { font-family: var(--font); font-weight: 700; }
.meta, .date { font-weight: 600; }
.crumbs ol { font-family: var(--font); font-weight: 600; }
.chips a { font-family: var(--head); font-weight: 600; font-size: 1rem; }
.btn { font-weight: 600; letter-spacing: .01em; }
.prose figcaption { font-family: var(--font); font-weight: 600; }

/* titulares: Jost pesa menos de ancho que Archivo, se ajusta el tracking */
.mega { font-weight: 700; font-size: clamp(2.5rem, 6.4vw, 6rem); letter-spacing: -.04em; line-height: .92; }
.a-hero__text h1 { font-weight: 700; font-size: clamp(1.8rem, 3.3vw, 3.1rem); letter-spacing: -.03em; line-height: 1.02; }
.tile h3 { font-weight: 600; font-size: clamp(1.02rem, 1.2vw, 1.2rem); letter-spacing: -.012em; line-height: 1.14; }
.intro h1 { font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: -.02em; line-height: 1.08; }
.prose h2 { font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -.02em; line-height: 1.12; }
.prose h3 { font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }
.prose h4 { font-weight: 600; font-size: 1.05rem; }
.rel h2, .year-t, .about-form h2, .sus-form h2 { font-weight: 700; letter-spacing: -.02em; }
.covers h3 { font-weight: 600; letter-spacing: -.01em; }
.mat-hero h1 { font-weight: 700; letter-spacing: -.035em; }
.mat-card h3 { font-weight: 600; }
.about h1 { font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.about h2 { font-weight: 600; }
.sus h1 { font-weight: 700; text-transform: uppercase; letter-spacing: -.035em; line-height: .86; font-size: clamp(2.6rem, 7vw, 7.6rem); }
@media (max-width: 980px) { .sus h1 { font-size: clamp(3rem, 17vw, 7rem); } }
.mat-hero::after { content: none; }
.mat-body section > p { margin-top: 1.6rem; }
.menu__panel a { font-weight: 600; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.12; }
.menu__panel .menu__social a { font-size: .9rem; letter-spacing: 0; font-weight: 600; }
.band { font-weight: 600; letter-spacing: .01em; }
.cover__top, .cover__num, .cover__month { font-stretch: 100%; }
.cover__num { font-weight: 700; font-size: 50cqw; letter-spacing: -.04em; }
.cover__top { font-weight: 700; font-size: 3.9cqw; letter-spacing: .02em; }
.cover__month { font-weight: 700; }

/* menú: secciones principales + lista de categorías */
.menu__panel .menu__sub { margin-top: 1rem; padding-top: .9rem; border-top: 2px solid rgba(10, 10, 10, .28); display: grid; gap: .05rem; }
.menu__panel .menu__sub a { font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }

/* listados */
.page-chips { padding: 0 var(--pad) 2rem; }
.page-chips .chips { margin-top: 0; }
.st--rel .col { margin-top: 0 !important; }
.st--rel { gap: 1.5rem; }
.edhead { padding: 0 var(--pad) 2.4rem; }
.edhead .cover { width: clamp(150px, 17vw, 230px); border-radius: 6px; }
.pager { list-style: none; padding: 2.5rem var(--pad) 3rem; display: flex; gap: .5rem; flex-wrap: wrap; font-family: var(--head); font-weight: 600; }
.pager a, .pager span { display: inline-block; min-width: 2.4rem; padding: .45rem .9rem; border: 2px solid var(--negro); border-radius: 999px; text-align: center; text-decoration: none; }
.pager a:hover { background: var(--gris-100); }
.pager [aria-current] { background: var(--negro); color: #fff; }
.mat-list { list-style: none; padding: 0; margin: 0; }

/* artículo: contenido real */
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; border-radius: inherit; }
.ph:has(img)::before, .ph:has(img)::after { display: none; }
.a-byline { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; padding-top: 1.2rem; }
.a-byline a { color: var(--rojo-ui); text-underline-offset: 3px; }
.article-grid--solo { grid-template-columns: minmax(0, var(--measure)); justify-content: center; }
.prose { font-size: 1.125rem; line-height: 1.72; }
.prose p { overflow-wrap: break-word; }
.prose ul, .prose ol { padding-left: 1.4rem; display: grid; gap: .5rem; }
.prose li::marker { color: var(--rojo-ui); font-weight: 700; }
.prose figure { margin-block: 2rem; }
.prose figure img { width: 100%; height: auto; border-radius: 4px; background: var(--gris-100); }
.prose figure.gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; }
.prose figure.gal img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose hr { border: 0; border-top: 2px solid var(--gris-200); margin-block: 2.4rem; }
.tblwrap { overflow-x: auto; margin-block: 2rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.45; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .7rem .9rem; border-bottom: 1px solid var(--gris-200); }
.prose th { background: var(--negro); color: #fff; font-weight: 600; font-size: .95rem; }
.filelink { margin-block: 1.8rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 2px solid var(--gris-200); }
.share p { font-weight: 600; margin: 0; }
.share ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.share .btn { padding: .45rem 1rem; font-size: .92rem; }
.a-body--solo .crumbs, .a-body--solo .a-byline { max-width: var(--measure); margin-inline: auto; }
.tagline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 2.6rem; padding-top: 1.4rem; border-top: 2px solid var(--gris-200); }
.tagline > span:first-child { font-weight: 600; font-size: .9rem; color: var(--gris-600); margin-right: .4rem; }
.tagline .tag { font-family: var(--head); font-weight: 600; font-size: .9rem; background: var(--gris-100); color: var(--negro); }
.toc p { font-weight: 600; }
.toc a { font-weight: 500; }
@media (max-width: 760px) {
  .page-chips, .edhead, .pager { padding-inline: var(--pad); }
  .prose { font-size: 1.06rem; }
  .prose figure.gal { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   WordPress: ajustes del tema (barra de administración, bloques, plantillas)
   ===================================================================== */
body.admin-bar .bar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .bar { top: 46px; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; margin-block: 2rem; }
.prose .wp-block-gallery figure { margin: 0; width: auto; }
.prose .wp-block-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.prose .wp-block-image { margin-block: 2rem; }
.prose .wp-block-buttons { margin-block: 1.8rem; }
.prose .wp-block-button__link { display: inline-block; font-family: var(--head); font-weight: 600; background: var(--negro); color: #fff; border-radius: 999px; padding: .8rem 1.6rem; text-decoration: none; }
.prose .wp-block-button__link:hover { background: var(--rojo-ui); color: #fff; }
.prose .wp-block-table { overflow-x: auto; margin-block: 2rem; }
.prose .wp-block-separator { border: 0; border-top: 2px solid var(--gris-200); margin-block: 2.4rem; }
.prose .lead { max-width: none; }
.prose .page-numbers { text-decoration: none; }
.pager li { list-style: none; }
.pager a, .pager span { display: inline-block; min-width: 2.4rem; padding: .45rem .9rem; border: 2px solid var(--negro); border-radius: 999px; text-align: center; text-decoration: none; font-family: var(--head); font-weight: 600; }
.pager .dots { border-color: transparent; background: none; }
.page-generic { padding-block: clamp(1.5rem, 4vw, 3rem) 4rem; }
.page-generic .mega { margin-bottom: 2rem; }
.page-generic .prose { max-width: var(--measure); }
.about-content { columns: 2 22rem; column-gap: clamp(2rem, 5vw, 4rem); padding-left: clamp(0rem, 8vw, 7rem); }
.about-content > * { break-inside: avoid; }
.about-content h2 { font-family: var(--head); font-weight: 700; font-size: 1.25rem; margin-top: 1.6rem; margin-bottom: .4rem; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { margin-bottom: .6rem; }
.about-banner .ph img { object-position: center; }
.sus-content { display: grid; gap: 1rem; padding: clamp(2rem, 5vw, 4rem) var(--pad) 5rem; max-width: 64rem; color: #E3E3E3; }
.sus-content h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.sus-content p, .sus-content li { font-size: 1.05rem; line-height: 1.6; }
.sus-content a:not(.wp-element-button) { color: #fff; }
.sus-content input:not([type=submit]), .sus-content textarea, .sus-content select { width: 100%; padding: .8rem 1rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.mat-body .in .prose { max-width: none; }
.mat-body .in .wp-block-button__link { margin-top: .4rem; }
.no-results { padding: 2rem var(--pad) 4rem; }
.edhead .cover { display: block; }
.about-content h2 { break-after: avoid; }
.prose .wp-block-button a.wp-block-button__link, .prose a.wp-element-button { color: #fff; }
.prose .wp-block-button a.wp-block-button__link:hover, .prose a.wp-element-button:hover { color: #fff; background: var(--rojo-ui); }
.sus-content .wp-block-button a.wp-block-button__link { background: var(--rojo-ui); }
