/*
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.29
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:not(body) { 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-over: var(--c-ink); --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-over: #fff; --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: #fff; --c-over: var(--negro); --c-a: #fff; --c-b: var(--negro); --c-bt: #fff; }
.cover--white { --c-bg: #fff; --c-ink: var(--negro); --c-over: #fff; --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; }
/* Donde el número cruza el círculo de color, cambia de tinta (p. ej. negro → blanco sobre el rojo). El círculo mide 88cqw y su centro cae en (84, 66)cqw de la portada, es decir (78, 48)cqw dentro del número. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .cover__num { padding-block: 4cqw; margin-top: -4cqw; -webkit-text-fill-color: transparent; color: transparent; -webkit-background-clip: text; background-clip: text;
    background-image: radial-gradient(circle 44cqw at 78cqw 52cqw, var(--c-over) 43.5cqw, var(--c-ink) 44cqw); }
}
.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; }
a.tag, span.tag { display: inline-block; padding: .15rem .7rem; border-radius: 999px; background: var(--rojo-ui); color: #fff; 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:not(body) { 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:not(body) .avatar { width: 64px; height: 64px; font-size: 1.3rem; }
.author:not(body) strong { display: block; font-size: 1.15rem; color: var(--negro); }
.author:not(body) 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-ui); color: #fff; 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: #fff; }
.menu__panel a:hover, .menu__panel a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.menu__panel a:focus-visible { outline-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; }
.a169 { aspect-ratio: 16 / 9; } .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-ui); color: #fff; 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: #fff; }
.intro ul { list-style: none; padding: 0; display: grid; gap: .15rem; }
.intro a { font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; color: #fff; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.intro a:hover { text-decoration-thickness: 4px; text-underline-offset: 5px; }
.intro a:focus-visible { outline-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: center; padding: clamp(5.5rem, 11vh, 7.5rem) var(--pad) clamp(3rem, 9vh, 6rem); }
.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: .site-wrap = 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) */
/* OJO: no llamarlo .page: WordPress pone class="page" en el <body> de las páginas y el pie fijo quedaba recortado. */
.site-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: calc(100vh - var(--fh)); background: var(--page-bg, #F3F3F3); margin-bottom: var(--fh); clip-path: inset(0); }
.site-wrap > .band { margin-top: auto; }
.is-dark .site-wrap { --page-bg: #0A0A0A; }

/* home: el logo queda atrás, fijo, y baja con el scroll */
main.home { overflow: visible; }
/* La cuadrícula arranca más abajo: el logo de fondo (ancho máx. 821px, alto máx. ≈ 245px) queda libre, con su leyenda "LA REVISTA", y las columnas entran escalonadas por debajo. */
.st--home { padding-top: calc(var(--logo-top) + var(--logo-w) * .298 - 3.2rem); }
.logo-fixed { position: fixed; left: 0; right: 0; top: 0; height: 100vh; z-index: 0; pointer-events: none; overflow: hidden; }
/* TAMAÑO DEL LOGO DEL HOME: cambia solo --logo-w (ancho). La cuadrícula baja o sube sola para dejarle su espacio. */
:root { --logo-w: min(62vw, 821px); --logo-top: max(9vh, 4.6rem); }
@media (max-width: 760px) { :root { --logo-w: min(84vw, 520px); --logo-top: 4.8rem; } }
.logo-fixed i { display: block; width: var(--logo-w); aspect-ratio: 1295 / 386; max-width: 821px; margin: var(--logo-top) 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: auto 0 0 0; height: 100%; max-width: 821px; margin-inline: auto; background: var(--logo) center 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; }
  .site-wrap { margin-bottom: 0; min-height: 100vh; }
  .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: center 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; }

/* franja roja en movimiento (cinta) */
.band { overflow: hidden; white-space: nowrap; text-align: left; padding-inline: 0; }
.band__track { display: flex; width: max-content; animation: band-run 46s linear infinite; will-change: transform; }
.band__grp { display: flex; align-items: center; flex: none; }
.band__item, .band__dot { padding-inline: .55em; }
.band__dot { font-size: .55em; }
.band:hover .band__track, .band:focus-visible .band__track { animation-play-state: paused; }
@keyframes band-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band__track { animation: none; width: 100%; justify-content: center; } .band__grp:nth-child(n+2) { display: none; } .band__grp > :nth-child(n+5) { display: none; } }

/* difuminado rojo en el borde inferior de la pantalla */
body::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: clamp(90px, 19vh, 210px); z-index: 45; pointer-events: none;
  background: linear-gradient(to top, rgba(255, 0, 77, .5), rgba(255, 0, 77, .16) 45%, rgba(255, 0, 77, 0)); opacity: calc(1 - var(--r, 0)); transition: opacity .2s linear; }
@media (max-width: 760px) { body::after { opacity: .7; height: clamp(70px, 14vh, 130px); } }
@media print { body::after { display: none; } }

/* =====================================================================
   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.woff2") format("woff2"), 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.woff2") format("woff2"), 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.woff2") format("woff2"), 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) clamp(1.5rem, 4vw, 3rem); }
.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); }
/* Las etiquetas viven dentro de .prose y heredaban el rojo y el subrayado de los enlaces del texto: aquí van negras, sin subrayado (solo al pasar el cursor). */
.prose .tagline a.tag { color: var(--negro); text-decoration: none; }
.prose .tagline a.tag:hover, .prose .tagline a.tag:focus-visible { background: var(--gris-200); text-decoration: underline; text-decoration-color: var(--rojo); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.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); }

/* ---- Formularios (Contact Form 7, WPForms, Fluent Forms u otros) dentro de páginas ---- */
.prose form p, .prose .wpcf7-form p { margin: 0 0 1rem; }
.prose label { display: block; font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--negro); }
.prose input[type=text], .prose input[type=email], .prose input[type=tel], .prose input[type=url], .prose input[type=number], .prose textarea, .prose select {
  width: 100%; margin-top: .35rem; padding: .8rem 1rem; border: 1px solid var(--gris-200); border-radius: 8px; background: #fff; color: var(--negro); font: inherit; font-weight: 400; }
.prose textarea { min-height: 7rem; }
.prose input:focus, .prose textarea:focus, .prose select:focus { outline: 3px solid var(--rojo); outline-offset: 2px; border-color: var(--negro); }
.prose input[type=submit], .prose button[type=submit], .prose .wpcf7-submit, .prose .wpforms-submit {
  font-family: var(--head); font-weight: 600; font-size: 1rem; background: var(--rojo-ui); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.8rem; cursor: pointer; }
.prose input[type=submit]:hover, .prose button[type=submit]:hover { background: #B8123E; }
.prose input[type=checkbox], .prose input[type=radio] { width: auto; margin-right: .5rem; }
.prose .wpcf7-acceptance label, .prose .wpcf7-list-item label { font-weight: 400; font-family: var(--font); }
.prose .wpcf7-not-valid-tip { color: #B8123E; font-size: .9rem; margin-top: .25rem; }
.prose .wpcf7-response-output { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: 8px; border: 2px solid var(--negro); }
.about-content form { break-inside: avoid; }
.sus-content label { color: #fff; }
.sus-content input[type=text], .sus-content input[type=email], .sus-content input[type=tel], .sus-content input[type=url], .sus-content textarea, .sus-content select {
  background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.sus-content input:focus, .sus-content textarea:focus { border-color: #fff; }
.sus-content .wpcf7-acceptance label, .sus-content .wpcf7-list-item label { color: #E3E3E3; }
.sus-content .wpcf7-not-valid-tip { color: #FF8FAE; }
.sus-content .wpcf7-response-output { border-color: #fff; color: #fff; }

/* Formulario de Suscríbete (Contact Form 7, inc/suscribete.php) sobre fondo oscuro */
.sus-form-wrap { max-width: 46rem; margin-top: 1.8rem; }
.sus-content .wpcf7-form-control-wrap { display: block; }
.sus-content .sus-field { display: block; margin: 0 0 1.1rem; }
.sus-content .sus-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.4rem; }
.sus-content .sus-label { display: block; font-family: var(--head); font-weight: 600; font-size: .95rem; color: #fff; }
.sus-content .sus-label em { font-style: normal; font-weight: 400; color: #C9C9C9; }
.sus-content .sus-field textarea { min-height: 5.2rem; resize: vertical; }
.sus-content .sus-field ::placeholder { color: rgba(255,255,255,.55); }
.sus-content .sus-accept { margin: .4rem 0 1.4rem; font-size: .95rem; line-height: 1.5; }
.sus-content .sus-accept a { color: #fff; text-underline-offset: 3px; }
.sus-content .sus-accept .wpcf7-list-item { margin: 0; }
.sus-content .sus-accept input[type=checkbox] { width: 1.1rem; height: 1.1rem; margin: 0 .6rem 0 0; vertical-align: -.15rem; accent-color: var(--rojo-ui); }
.sus-content .sus-submit { margin: 0; }
.sus-content .wpcf7-spinner { background-color: rgba(255,255,255,.4); }
.sus-content .sus-missing { color: #E3E3E3; }
@media (max-width: 640px) { .sus-content .sus-row { grid-template-columns: minmax(0, 1fr); } }

/* listado (Artículos, secciones, ediciones, búsqueda): cuadrícula pareja, filas alineadas y más aire bajo el título */
.st--list { margin-top: clamp(1.5rem, 5vw, 4rem); row-gap: clamp(2.2rem, 3.6vw, 3.4rem); }
.st--list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st--list .tile .ph { aspect-ratio: 16 / 9; }
@media (max-width: 980px) { .st--list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .st--list { grid-template-columns: minmax(0, 1fr); } }

/* Home: fondo gris algo más profundo (como la home "grid-02" de Fuselle, ≈ #EBEBEB) y sombra suave en el logo, para que el logo blanco resalte. */
body.home { --page-bg: #E6E6E6; background: #E6E6E6; }
body.home .site-wrap { --page-bg: #E6E6E6; }
body.home .bar { background: #E6E6E6; }
.logo-fixed i { filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .13)); }

/* =====================================================================
   INICIO TIPO REVISTA (1.0.7)
   .hm-hero = intro + destacado + edición · .hm-sec = bloques con encabezado · .hm-cols = principal + lista
   .ad = espacios de publicidad (se llenan en Apariencia > Widgets)
   ===================================================================== */
.hm { position: relative; z-index: 1; padding: calc(var(--logo-top) + var(--logo-w) * .298 - 3.2rem) var(--pad) 0; }
.hm-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.hm-hero .intro { min-height: 0; height: 100%; }
.hm-hero .feat { grid-column: span 2; }
.hm-hero .tile.ed { display: flex; flex-direction: column; }
.ed__txt h3 { margin: .75rem 0 .3rem; }
.ed__more { display: inline-block; margin-top: .5rem; font-weight: 800; font-size: .92rem; color: var(--negro); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.ed__more:hover { color: var(--rojo-ui); }

/* destacado: imagen grande con el título encima */
.feat { position: relative; overflow: hidden; border-radius: 4px; background: var(--negro); min-height: 100%; isolation: isolate; }
.feat .ph { position: absolute; inset: 0; display: block; border-radius: 0; }
.feat .ph img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.feat:hover .ph img { transform: scale(1.025); }
.feat::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(10, 10, 10, .86) 0%, rgba(10, 10, 10, .55) 38%, rgba(10, 10, 10, 0) 68%); }
.feat__txt { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: clamp(1.1rem, 2.4vw, 1.9rem); color: #fff; display: grid; gap: .55rem; justify-items: start; }
.feat h2 { font-weight: 700; font-size: clamp(1.5rem, 2.9vw, 2.6rem); letter-spacing: -.03em; line-height: 1.03; color: #fff; max-width: 22ch; }
.feat h2 a { text-decoration: none; color: #fff; }
.feat h2 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.feat .m { font-weight: 700; font-size: .85rem; color: #fff; opacity: .92; }
.feat::after { content: ""; display: block; padding-top: 56.25%; }
.pill { display: inline-block; padding: .15rem .75rem; border-radius: 999px; background: var(--rojo-ui); color: #fff; font-weight: 700; font-size: .85rem; line-height: 1.5; text-decoration: none; }
.pill:hover { background: #B8123E; color: #fff; }

/* bloques con encabezado */
.hm-sec { margin-top: clamp(2.6rem, 5.5vw, 4.5rem); }
.hm-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 3px solid var(--negro); padding-top: .85rem; margin-bottom: 1.3rem; }
.hm-head h2 { font-weight: 800; font-size: clamp(1.35rem, 2.1vw, 1.9rem); letter-spacing: -.04em; line-height: 1; }
.hm-head h2 span { font-weight: 600; color: var(--gris-600); letter-spacing: -.02em; margin-left: .35rem; }
.hm-head a { font-weight: 800; font-size: .92rem; color: var(--negro); text-decoration: none; white-space: nowrap; }
.hm-head a:hover { color: var(--rojo-ui); }
.hm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.hm-grid .tile h3 { font-size: clamp(1.05rem, 1.5vw, 1.35rem); }

/* sección por categoría: principal a la izquierda y lista a la derecha */
.hm-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.hm-lead { grid-column: span 2; }
.hm-lead .ph { border-radius: 4px; }
.hm-lead h3 { font-weight: 800; font-size: clamp(1.3rem, 2.1vw, 1.9rem); letter-spacing: -.045em; line-height: 1; margin: .85rem 0 .5rem; }
.hm-lead h3 a, .row h3 a { text-decoration: none; }
.hm-lead h3 a:hover, .row h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--rojo); text-underline-offset: 3px; }
.hm-lead__exc { font-family: var(--font); font-size: 1rem; line-height: 1.5; margin-bottom: .6rem; max-width: 52ch; }
.hm-lead .m, .row .m { font-weight: 700; font-size: .8rem; line-height: 1.3; color: var(--negro); }
.hm-lead .m a, .row .m a { text-decoration: none; }
.hm-lead .m a:hover, .row .m a:hover { color: var(--rojo-ui); }
.hm-rows { grid-column: span 2; display: grid; gap: 1.3rem; align-content: start; }
.row { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 1rem; align-items: center; }
.row .ph { aspect-ratio: 16 / 9; border-radius: 3px; }
.row h3 { font-weight: 800; font-size: clamp(1.05rem, 1.55vw, 1.35rem); letter-spacing: -.04em; line-height: 1.02; margin-bottom: .45rem; }
.hm-sec--rev .hm-lead { order: 2; }

/* publicidad */
.ad { margin-top: clamp(2.6rem, 5.5vw, 4.5rem); border-block: 1px solid rgba(10, 10, 10, .14); padding: .55rem 0 1.1rem; text-align: center; background: var(--page-bg, #E6E6E6); position: relative; z-index: 2; }
.ad__label { font-family: var(--font); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-600); margin-bottom: .6rem; }
.ad__body img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.ad__item + .ad__item { margin-top: 1rem; }

@media (max-width: 980px) {
  .hm-hero, .hm-grid, .hm-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-hero .intro { grid-column: span 2; height: auto; }
  .hm-hero .tile.ed { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 1.1rem; align-items: center; }
  .ed__txt h3 { margin-top: 0; }
  .feat::after { padding-top: 56.25%; }
  .hm-sec--rev .hm-lead { order: 0; }
  .hm-lead, .hm-rows { grid-column: span 1; }
}
@media (max-width: 620px) {
  .hm-lead, .hm-rows { grid-column: span 2; }
  .feat::after { padding-top: 56.25%; }
  .hm-hero { gap: 1.1rem; }
  .hm-grid { gap: 1.6rem .9rem; }
  .row { grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: .8rem; }
  .hm-head { flex-wrap: wrap; row-gap: .3rem; }
}

/* =====================================================================
   TE AYUDAMOS (1.0.8)
   .ta-hero · .ta-steps (Así trabajamos) · .ta-sols (Soluciones) · .ta-cases (Experiencias)
   .ta-talk = bloque oscuro "Hablemos" con el formulario de Contact Form 7 (.ta-form) y el contacto directo (.ta-direct)
   Usa los mismos colores, tipografías, tarjetas y botones del resto del tema.
   ===================================================================== */
.ta-hero { padding: clamp(1.6rem, 4.5vw, 3.6rem) var(--pad) 0; }
.ta-hero h1 { font-weight: 800; font-size: clamp(2rem, 4.6vw, 4rem); letter-spacing: -.045em; line-height: 1.02; max-width: 20ch; }
.ta-hero p { margin-top: 1.2rem; max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.55; }

.ta-sec { padding: clamp(2.6rem, 5.5vw, 4.4rem) var(--pad) 0; }
.ta-head { border-top: 3px solid var(--negro); padding-top: .9rem; margin-bottom: 1.5rem; display: grid; gap: .25rem; }
.ta-head h2 { font-weight: 800; font-size: clamp(1.45rem, 2.5vw, 2.2rem); letter-spacing: -.04em; line-height: 1.05; }
.ta-head__p { max-width: 62ch; margin-top: .4rem; }
.ta-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ta-head--row > div { display: grid; gap: .25rem; }
.ta-eyebrow { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo-ui); line-height: 1.3; }

/* tarjetas */
.ta-steps, .ta-sols, .ta-cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ta-card { position: relative; display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--gris-200); border-radius: 14px; padding: 1.3rem 1.4rem 1.4rem; transition: border-color .15s; }
.ta-card h3 { font-weight: 800; font-size: 1.3rem; letter-spacing: -.035em; line-height: 1.1; }
.ta-card p { font-size: .98rem; line-height: 1.5; }
.ta-card p.ta-card__n { font-size: .85rem; line-height: 1.3; }
.ta-card p.ta-badge { font-size: 1.05rem; line-height: 1; }
.ta-card__n { font-family: var(--mono); font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: var(--rojo-ui); }
.ta-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ta-sols { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ta-sols > .ta-card { grid-column: span 2; }
.ta-sols > .ta-card:nth-child(n+4) { grid-column: span 3; }
.ta-badge { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 10px; background: var(--negro); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.05rem; margin-bottom: .35rem; }
.ta-card .ta-card__link { margin-top: auto; padding-top: .95rem; border-top: 1px dashed var(--gris-200); font-size: .85rem; color: var(--gris-600); }
.ta-card__link a { color: var(--negro); text-decoration: none; }
.ta-card__link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ta-card--sol:hover { border-color: var(--negro); }
.ta-card--sol:hover .ta-card__link strong { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--rojo); text-underline-offset: 3px; }
.ta-card--sol:focus-within { outline: 3px solid var(--rojo); outline-offset: 2px; }
.ta-card--sol a:focus-visible { outline: 0; }

/* experiencias */
.ta-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ta-case { position: relative; background: #fff; border: 1px solid var(--gris-200); border-radius: 14px; overflow: hidden; transition: border-color .15s; }
.ta-case:hover { border-color: var(--negro); }
.ta-case__img { display: block; aspect-ratio: 16 / 9; border-radius: 0; }
.ta-case__body { display: grid; gap: .4rem; padding: 1.1rem 1.3rem 1.4rem; }
.ta-case h3 { font-weight: 800; font-size: 1.2rem; letter-spacing: -.035em; line-height: 1.1; }
.ta-case h3 a { text-decoration: none; }
.ta-case h3 a::after { content: ""; position: absolute; inset: 0; }
.ta-case:hover h3 a { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--rojo); text-underline-offset: 3px; }
.ta-case__body p:last-child { font-size: .95rem; line-height: 1.5; color: var(--gris-600); }

/* hablemos (bloque oscuro) */
.ta-talk { background: var(--negro); color: #fff; margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(2.4rem, 6vw, 4.6rem) var(--pad); scroll-margin-top: 4rem; }
.ta-talk__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "head form" "direct form"; gap: 1.6rem clamp(2rem, 5vw, 5rem); align-items: start; }
.ta-talk__head { grid-area: head; display: grid; gap: .5rem; }
.ta-talk h2 { color: #fff; font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.8rem); letter-spacing: -.045em; line-height: 1; }
.ta-talk .ta-eyebrow { color: var(--rojo); }
.ta-talk__head p:last-child { color: #D6D6D6; max-width: 38ch; margin-top: .5rem; }
.ta-form { grid-area: form; min-width: 0; background: #fff; color: var(--carbon); border-radius: 22px; padding: clamp(1.1rem, 3vw, 2rem); }
.ta-direct { grid-area: direct; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 1.2rem 1.4rem 1.3rem; }
.ta-direct h3 { color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; margin-bottom: .5rem; }
.ta-direct p { color: #E3E3E3; margin-top: .3rem; }
.ta-direct a { color: #fff; font-weight: 800; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.ta-direct a:hover { color: var(--rojo); }
.ta-direct .ta-direct__hint { font-size: .85rem; color: #C9C9C9; margin-top: .8rem; }
.ta-missing { color: #B8123E; font-size: .95rem; }

/* formulario (Contact Form 7) */
.ta-form .ta-field { display: block; margin: 0 0 1.05rem; }
.ta-form .ta-label { display: block; font-family: var(--head); font-weight: 700; font-size: .88rem; line-height: 1.3; color: var(--negro); margin-bottom: .4rem; }
.ta-form .ta-label em { font-style: normal; font-family: var(--font); font-weight: 600; color: var(--gris-600); }
.ta-form .ta-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.ta-form .wpcf7-form-control-wrap { display: block; }
.ta-form input[type=text], .ta-form input[type=tel], .ta-form input[type=email], .ta-form select, .ta-form textarea {
  display: block; width: 100%; padding: .8rem 1rem; border: 1px solid var(--gris-200); border-radius: 10px; background: #fff; color: var(--negro); font: inherit; font-weight: 400; line-height: 1.3; }
.ta-form textarea { resize: vertical; min-height: 6.5rem; }
.ta-form ::placeholder { color: #767676; opacity: 1; }
.ta-form input:focus-visible, .ta-form select:focus-visible, .ta-form textarea:focus-visible { outline: 3px solid var(--rojo); outline-offset: 2px; border-color: var(--negro); }
.ta-form .wpcf7-not-valid { border-color: #B8123E; }
.ta-form .wpcf7-not-valid-tip { display: block; margin-top: .3rem; color: #B8123E; font-size: .85rem; font-weight: 600; }
.ta-count { display: block; margin-top: .25rem; text-align: right; font-size: .78rem; color: var(--gris-600); }

.ta-form .wpcf7-list-item { display: block; margin: 0; }
.ta-form .wpcf7-radio label, .ta-form .wpcf7-acceptance label { position: relative; display: block; cursor: pointer; font-weight: 400; }
.ta-form .wpcf7-radio input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
/* ruta: dos tarjetas */
.ta-ruta .wpcf7-radio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.ta-ruta .wpcf7-list-item-label { display: block; height: 100%; padding: .85rem 1rem; border: 1px solid var(--gris-200); border-radius: 12px; background: #fff; color: var(--negro); font-family: var(--head); font-weight: 700; transition: border-color .15s, background-color .15s; }
.ta-ruta .wpcf7-list-item-label strong { display: block; font-weight: 700; font-size: 1rem; line-height: 1.25; }
.ta-ruta .wpcf7-list-item-label small { display: block; margin-top: .15rem; font-family: var(--font); font-weight: 400; font-size: .88rem; line-height: 1.35; color: var(--gris-600); }
.ta-ruta .wpcf7-list-item-label:hover { border-color: var(--negro); }
.ta-ruta input:checked + .wpcf7-list-item-label { border-color: var(--rojo-ui); background: #FFF0F4; box-shadow: inset 0 0 0 1px var(--rojo-ui); }
.ta-ruta input:checked + .wpcf7-list-item-label strong { color: var(--rojo-ui); }
/* solución de interés: botones redondos */
.ta-chips .wpcf7-radio { display: flex; flex-wrap: wrap; gap: .5rem; }
.ta-chips .wpcf7-list-item-label { display: inline-block; padding: .4rem .95rem; border: 1px solid var(--gris-200); border-radius: 999px; background: #fff; color: var(--negro); font-family: var(--head); font-weight: 600; font-size: .92rem; line-height: 1.3; transition: border-color .15s, background-color .15s; }
.ta-chips .wpcf7-list-item-label:hover { border-color: var(--negro); }
.ta-chips input:checked + .wpcf7-list-item-label { border-color: var(--rojo-ui); background: #FFF0F4; color: var(--rojo-ui); }
.ta-chips input:checked + .wpcf7-list-item-label::after { content: " ✓"; }
.ta-ruta input:focus-visible + .wpcf7-list-item-label, .ta-chips input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--rojo); outline-offset: 2px; }
/* campos extra de "Diséñalo a tu medida" */
.ta-extra { margin: 0 0 1.05rem; padding: 1rem 1rem .1rem; border: 1px dashed var(--gris-200); border-radius: 12px; }
.ta-extra[hidden] { display: none; }
.ta-extra .ta-extra__t { margin: 0 0 .8rem; font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--negro); }
/* privacidad y envío */
.ta-accept { margin: .2rem 0 1rem; font-size: .92rem; line-height: 1.45; }
.ta-accept label { display: flex; align-items: flex-start; gap: .6rem; }
.ta-accept input[type=checkbox] { flex: none; width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; accent-color: var(--rojo-ui); }
.ta-accept a { color: var(--rojo-ui); }
.ta-submit { position: relative; margin: 0; }
.ta-form .wpcf7-submit { display: block; width: 100%; padding: 1rem 1.4rem; border: 0; border-radius: 999px; background: var(--rojo-ui); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.05rem; line-height: 1.1; cursor: pointer; transition: background-color .15s; }
.ta-form .wpcf7-submit:hover { background: #B8123E; }
.ta-form .wpcf7-submit:disabled { opacity: .55; cursor: not-allowed; }
.ta-form form.submitting .wpcf7-submit:disabled { opacity: .85; cursor: progress; }
.ta-form .wpcf7-spinner { position: absolute; right: 1.1rem; top: 50%; margin: -12px 0 0; background-color: #fff; }
.ta-form .wpcf7-spinner::before { background-color: var(--rojo-ui); }
.ta-form .wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: .8rem 1rem; border-width: 2px; border-radius: 10px; font-size: .95rem; }

@media (max-width: 1100px) {
  .ta-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ta-sols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ta-sols > .ta-card, .ta-sols > .ta-card:nth-child(n+4) { grid-column: span 1; }
  .ta-sols > .ta-card:last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 980px) {
  .ta-talk__in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "direct"; }
}
@media (max-width: 760px) {
  .ta-cases { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .ta-steps, .ta-sols { grid-template-columns: minmax(0, 1fr); }
  .ta-sols > .ta-card:last-child:nth-child(odd) { grid-column: span 1; }
  .ta-form .ta-row, .ta-ruta .wpcf7-radio { grid-template-columns: minmax(0, 1fr); }
  .ta-form .ta-row { gap: 0; }
  .ta-ruta .wpcf7-radio { gap: .6rem; }
}

/* =====================================================================
   VISTA PREVIA DE LA EDICIÓN (Heyzine) · 1.0.11
   Panel oscuro: texto a la izquierda, libro a la derecha. En pantallas chicas, el texto arriba y el libro abajo.
   ===================================================================== */
.ed-flip { margin: 0 var(--pad) 2.8rem; background: var(--negro); color: #fff; border-radius: 22px; padding: clamp(1.3rem, 3vw, 2.4rem); }
.ed-flip__in { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: clamp(1.4rem, 3.5vw, 3rem); align-items: center; }
.ed-flip__txt { display: grid; gap: .7rem; justify-items: start; }
.ed-flip__eyebrow { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo); line-height: 1.3; }
.ed-flip h2 { color: #fff; font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.5rem); letter-spacing: -.045em; line-height: 1.02; }
.ed-flip h2 span { display: block; color: #BDBDBD; font-weight: 600; letter-spacing: -.03em; }
.ed-flip__txt > p:not(.ed-flip__eyebrow):not(.ed-flip__btns) { color: #D6D6D6; max-width: 34ch; }
.ed-flip__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.ed-flip__box { border-radius: 14px; overflow: hidden; background: #1A1A1A; }
.ed-flip__frame { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 70vh; border: 0; }
@media (max-width: 860px) {
  .ed-flip__in { grid-template-columns: minmax(0, 1fr); }
  .ed-flip__frame { aspect-ratio: 4 / 5; max-height: none; }
}

/* =====================================================================
   PORTADA REAL (imagen de Heyzine) Y VENTANA DEL LIBRO · 1.0.13
   La portada real conserva su proporción (no se recorta). Con vista previa, la portada abre el libro en una ventana.
   ===================================================================== */
.cover--img { aspect-ratio: auto; background: #fff; }
.cover--img .cover__img { display: block; width: 100%; height: auto; }

.covers .cover-open { position: relative; z-index: 2; display: block; border-radius: 4px; text-decoration: none; color: inherit; }
.covers .cover-open .cover { transition: transform .25s ease, box-shadow .25s ease; }
.covers .cover-open:hover .cover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 14px 26px -14px rgba(0,0,0,.45); }
.covers .cover-open:focus-visible { outline: 3px solid var(--rojo); outline-offset: 4px; }
.cover-open__tag { position: absolute; left: .6rem; bottom: .6rem; z-index: 3; display: inline-flex; align-items: center; gap: .45em; padding: .5em .85em .5em .7em; border-radius: 999px; background: var(--negro); color: #fff; font-family: var(--head); font-weight: 700; font-size: .8rem; line-height: 1; letter-spacing: .03em; }
.cover-open__tag::before { content: ""; width: 0; height: 0; border-left: .6em solid #fff; border-top: .38em solid transparent; border-bottom: .38em solid transparent; }
@media (prefers-reduced-motion: reduce) { .covers .cover-open .cover { transition: none; } .covers .cover-open:hover .cover { transform: none; } }

html.flip-lock { overflow: hidden; }
.flipbox { padding: 0; border: 0; border-radius: 18px; background: var(--negro); color: #fff; width: min(96vw, 1280px); height: min(92vh, 860px); max-width: none; max-height: none; overflow: hidden; }
.flipbox[open] { display: flex; flex-direction: column; }
.flipbox::backdrop { background: rgba(0, 0, 0, .8); }
.flipbox__bar { flex: none; display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem .65rem 1.2rem; }
.flipbox__t { margin: 0 auto 0 0; min-width: 0; font-family: var(--head); font-weight: 800; font-size: 1.1rem; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flipbox__ext { padding: .55rem 1rem; font-size: .88rem; white-space: nowrap; }
.flipbox__x { flex: none; width: 2.7rem; height: 2.7rem; border: 2px solid #fff; border-radius: 50%; background: transparent; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.flipbox__x:hover { background: #fff; color: var(--negro); }
.flipbox__x:focus-visible, .flipbox__ext:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.flipbox__stage { position: relative; flex: 1 1 auto; min-height: 0; background: #1A1A1A; }
.flipbox__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.flipbox__load { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: #BDBDBD; }
.flipbox.is-loaded .flipbox__load { display: none; }
@media (max-width: 640px) {
  .flipbox { width: 100vw; height: 100dvh; border-radius: 0; }
  .flipbox__ext { display: none; }
}

/* =====================================================================
   IMÁGENES SIN RECORTAR (1.0.15)
   Las portadas de los artículos son 16:9. Antes se mostraban en cajas 4:5 / 4:3 / vertical
   y se cortaban los costados (caras de los invitados). Ahora todas las cajas son 16:9.
   ===================================================================== */
.a-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 0; align-items: center; }
.a-hero__img { aspect-ratio: 16 / 9; min-height: 0; align-self: center; }
@media (max-width: 980px) {
  .a-hero { grid-template-columns: minmax(0, 1fr); }
  .a-hero__img { min-height: 0; order: -1; align-self: stretch; }
}
/* Inicio (escritorio): el destacado ocupa más ancho para que su alto sea 16:9 y la imagen no se recorte a los lados */
@media (min-width: 981px) {
  .hm-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 3fr) minmax(0, 1fr); }
  .hm-hero .feat { grid-column: span 1; }
}

/* =====================================================================
   NAVEGACIÓN (1.0.16)
   Menú visible en la cabecera (escritorio), buscador, franja "Explora por sección" y ediciones anteriores en el Inicio.
   ===================================================================== */
.bar__navw { display: none; }
.bar__tools { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.bar__tools .bar__cta { margin-left: 0; }
@media (min-width: 1024px) {
  .bar__navw { display: block; margin-left: 1.6rem; }
  .bar__nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
  .bar__nav a { display: block; padding: .3rem 0; font-family: var(--head); font-weight: 600; font-size: .98rem; letter-spacing: -.01em; text-decoration: none; border-bottom: 2px solid transparent; }
  .bar__nav a:hover, .bar__nav a[aria-current] { border-bottom-color: currentColor; }
}
@media (max-width: 430px) { .brand-mini span { display: none; } }

/* buscador (details, como el menú: funciona sin JavaScript) */
.srch summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.srch summary::-webkit-details-marker { display: none; }
.srch summary:hover, .srch[open] summary { background: rgba(10, 10, 10, .09); }
.is-dark .srch summary:hover, .is-dark .srch[open] summary, .bar--over .srch summary:hover, .bar--over .srch[open] summary { background: rgba(255, 255, 255, .18); }
.srch__panel { position: absolute; top: calc(100% + .5rem); right: var(--pad); z-index: 70; width: min(460px, calc(100vw - 2 * var(--pad))); display: flex; gap: .5rem; align-items: center; padding: .45rem .45rem .45rem 1.1rem; background: #fff; color: var(--negro); border: 2px solid var(--negro); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.srch__panel input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--negro); padding: .5rem 0; outline: none; }
.srch__panel input[type="search"]::placeholder { color: var(--gris-600); }
.srch__panel .btn { padding: .6rem 1.2rem; font-size: .95rem; }
.srch__panel:focus-within { outline: 3px solid var(--rojo-ui); outline-offset: 2px; }

/* Inicio: franja de secciones */
.hm-secs { margin-top: clamp(1.6rem, 3vw, 2.4rem); display: flex; align-items: center; flex-wrap: wrap; gap: .7rem 1.4rem; }
.hm-secs__t { margin: 0; font-family: var(--head); font-weight: 800; font-size: .95rem; letter-spacing: -.01em; }
.hm-secs .chips { margin-top: 0; }
.hm-secs .chips a.chips__all { background: var(--negro); color: #fff; }
.hm-secs .chips a.chips__all:hover { background: var(--rojo-ui); border-color: var(--rojo-ui); }
@media (max-width: 620px) {
  .hm-secs { display: block; }
  .hm-secs__t { margin-bottom: .6rem; }
  .hm-secs .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: 0 var(--pad) .5rem; scrollbar-width: none; }
  .hm-secs .chips::-webkit-scrollbar { display: none; }
  .hm-secs .chips a { white-space: nowrap; }
}

/* descripción corta bajo el título de un bloque */
.hm-head__d { margin-top: .4rem; font-family: var(--font); font-weight: 500; font-size: 1rem; line-height: 1.4; color: var(--gris-600); max-width: 62ch; }

/* Inicio: ediciones anteriores */
.hm .covers { padding: 0; margin: 0; }


/* =====================================================================
   1.0.20 · FICHA DE LA PIEZA, DOS RUTAS Y CÓMO CITAR
   ===================================================================== */
.a-ficha { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem .55rem; }
.a-ficha li { display: inline-flex; flex-wrap: wrap; gap: .1rem .45rem; align-items: baseline; font-size: .88rem; background: #fff; border: 1px solid var(--gris-200); border-radius: 999px; padding: .28rem .85rem; }
.a-ficha li > span { color: var(--gris-600); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.a-ficha a { color: var(--rojo-ui); font-weight: 700; text-underline-offset: 3px; }
.cta__rutas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .8rem; }
.cta__rutas .btn { margin-top: 0; }
.cta .cta__n { font-size: .92rem; color: #D6D6D6; margin-top: .9rem; max-width: 60ch; }
.cta .cta__n strong { color: #fff; }
.cita { margin-top: 2rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--gris-200); border-radius: 12px; font-size: .92rem; }
.cita__t { font-weight: 800; color: var(--negro); margin-bottom: .3rem; }
.cita__p { color: var(--carbon); overflow-wrap: anywhere; }
.cita__m { color: var(--gris-600); margin-top: .3rem; }
.sol-link { margin-top: 1.6rem; font-weight: 700; }
.sol-link span { color: var(--gris-600); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-right: .5rem; }
.sol-link a { color: var(--rojo-ui); text-underline-offset: 3px; }

/* =====================================================================
   1.0.23 · SEGUIR LEYENDO Y CÓMO CITAR PLEGABLE
   ===================================================================== */
.tagline--cadena { margin-top: 1.2rem; padding-top: 0; border-top: 0; }
.cita--plegable { padding: .8rem 1.2rem; }
.cita--plegable summary { cursor: pointer; margin-bottom: 0; font-weight: 700; }
.cita--plegable[open] summary { margin-bottom: .5rem; }
