/* ==========================================================================
   Portal de noticias — hoja de estilos única.

   Lenguaje visual de medio digital contemporáneo: blanco, negro y un amarillo
   de marca que nunca se usa como color de texto —sobre blanco su contraste es
   de 1:1 y sería ilegible— sino siempre como fondo con texto negro encima
   (19,6:1) o como barra y subrayado. El rojo queda reservado para donar.

   Sin fuentes externas: la tipografía del sistema ya está en el dispositivo
   del lector, así que el titular se pinta de inmediato. Eso es LCP, y el LCP
   es posicionamiento.
   ========================================================================== */

:root {
    --amarillo: #ffff00;
    --amarillo-suave: #fffbcc;
    --rojo: #e10600;
    --rojo-oscuro: #b30500;
    --tinta: #0e0e0e;
    --tinta-media: #3d3d3d;
    --tinta-suave: #6b6b6b;
    --linea: #e6e6e6;
    --linea-fuerte: #c9c9c9;
    --fondo: #ffffff;
    --papel: #f6f6f4;
    --oscuro: #0e0e0e;

    --acento: var(--amarillo);
    --donar: var(--rojo);
    /* Color del texto que va ENCIMA del color de marca. Lo calcula el servidor
       según la luminancia del color elegido, así que el bloque destacado se lee
       igual con un amarillo que con un azul marino. */
    --tinta-marca: var(--tinta);
    --tinta-donar: #fff;

    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;

    --ancho: 1240px;
    --ancho-lectura: 43rem;
    --radio: 2px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--fondo);
    color: var(--tinta);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
.icono { display: block; flex: 0 0 auto; }

a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--tinta);
    outline-offset: 2px;
}

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

.salto-contenido {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--amarillo); color: var(--tinta); padding: .75rem 1.25rem; font-weight: 700;
}
.salto-contenido:focus { left: 0; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 1.5rem; }
.contenedor--lectura { max-width: calc(var(--ancho-lectura) + 3rem); }
.contenedor--nota { max-width: calc(var(--ancho-lectura) + 3rem); }
.contenedor--ancho { max-width: 1440px; }

/* ---------------------------------------------------------------- cabecera */

.cabecera {
    position: relative;
    z-index: 30;
    background: var(--fondo);
    border-bottom: 1px solid var(--linea);
}

.cabecera__principal { padding: 1.1rem 0 .9rem; }

.cabecera__fila {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.cabecera__lado { display: flex; align-items: center; gap: .35rem; }
.cabecera__lado--der { justify-content: flex-end; gap: .75rem; }

.cabecera__hamburguesa {
    display: none; background: none; border: 0; padding: .35rem; color: var(--tinta);
}

/* Redes: círculo que se rellena de amarillo al pasar por encima. */
.redes { list-style: none; display: flex; align-items: center; gap: .25rem; }
.redes__enlace {
    display: grid; place-items: center; width: 34px; height: 34px;
    border-radius: 50%; color: var(--tinta); transition: background-color .15s ease;
}
.redes__enlace:hover { background: var(--amarillo); }

.marca { display: block; text-align: center; }
.marca__logo { max-height: 58px; width: auto; margin: 0 auto; }
.marca__nombre {
    display: block; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900;
    letter-spacing: -.045em; line-height: 1;
}
.marca__lema {
    display: block; font-size: .68rem; text-transform: uppercase;
    letter-spacing: .2em; color: var(--tinta-suave); margin-top: .3rem;
}

.buscar-icono {
    display: grid; place-items: center; width: 36px; height: 36px;
    border-radius: 50%; color: var(--tinta);
}
.buscar-icono:hover { background: var(--amarillo); }

/* Botón de donar: el único rojo del sitio, para que no compita con nada. */
.boton-donar {
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--donar); color: var(--tinta-donar);
    padding: .6rem 1.15rem; border-radius: 100px;
    font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
    transition: transform .12s ease, background-color .15s ease, box-shadow .12s ease;
}
.boton-donar:hover {
    background: var(--rojo-oscuro); color: #fff;
    filter: brightness(.88);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(225, 6, 0, .3);
}
.boton-donar:active { transform: translateY(1px); box-shadow: none; }
.boton-donar--grande { padding: .85rem 1.6rem; font-size: .92rem; }
.boton-donar--bloque { display: flex; justify-content: center; width: 100%; }

/* Navegación de secciones */
.navegacion { border-top: 1px solid var(--linea); background: var(--fondo); }
.navegacion__fila {
    display: flex; justify-content: center; align-items: center; gap: 2rem;
    overflow-x: auto; scrollbar-width: none;
}
.navegacion__fila::-webkit-scrollbar { display: none; }

.navegacion__enlace {
    position: relative; white-space: nowrap; padding: .85rem 0;
    font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em;
    color: var(--tinta);
}
.navegacion__enlace::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 4px; background: var(--amarillo); transform: scaleX(0);
    transition: transform .18s ease;
}
.navegacion__enlace:hover::after, .navegacion__enlace.activo::after { transform: scaleX(1); }
.navegacion__donar { display: none; }

/* ----------------------------------------------------------------- portada */

main { display: block; padding-bottom: 4rem; }

.apertura {
    display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
    gap: 2.5rem; padding: 2.25rem 0 2rem; border-bottom: 4px solid var(--tinta);
}
.apertura__lateral { display: flex; flex-direction: column; gap: 1.35rem; }
.apertura__lateral .tarjeta { padding-bottom: 1.35rem; border-bottom: 1px solid var(--linea); }
.apertura__lateral .tarjeta:last-child { border-bottom: 0; padding-bottom: 0; }

.bloque__titulo {
    display: inline-block;
    font-size: .92rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 900;
    margin: 2.75rem 0 1.35rem; padding: .3rem .6rem;
    background: var(--amarillo); color: var(--tinta-marca);
}
.bloque__titulo--claro { background: var(--amarillo); color: var(--tinta-marca); margin: 0; }
.bloque__vermas {
    font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em;
    color: #fff;
}
.bloque__vermas:hover { color: var(--amarillo); }

.columnas { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 3.5rem; }
.columnas__lateral { padding-top: 2.75rem; }

.rejilla { display: grid; gap: 2.25rem 2rem; }
.rejilla--3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rejilla--4 { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }

/* ----------------------------------------------------------------- tarjetas */

.tarjeta { display: flex; flex-direction: column; gap: .8rem; }
.tarjeta__figura { display: block; position: relative; background: var(--papel); overflow: hidden; }
.tarjeta__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .45s ease; }
.tarjeta__figura:hover .tarjeta__img { transform: scale(1.04); }

.tarjeta__play {
    position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%;
    background: var(--amarillo); display: block; box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.tarjeta__play::after {
    content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0;
    border-left: 16px solid var(--tinta-marca); border-top: 10px solid transparent;
    border-bottom: 10px solid transparent; transform: translateX(3px);
}

.tarjeta__cuerpo { display: flex; flex-direction: column; gap: .5rem; }

.kicker {
    display: inline-block; font-size: .7rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: .11em; color: var(--tinta);
    box-shadow: inset 0 -.42em 0 var(--amarillo);
    /* Dentro de una tarjeta el contenedor es flex y estiraría el subrayado
       hasta el borde: se ancla al principio para que marque sólo el texto. */
    align-self: flex-start;
}
.kicker:hover { color: var(--tinta-marca); box-shadow: inset 0 -1em 0 var(--amarillo); }

/* Enlaces cuyo subrayado crece hasta cubrir el texto: al rellenarse, el texto
   pasa al color que contrasta con la marca. */
.tarjeta__titulo a:hover,
.migas a:hover,
.firma__autor a:hover,
.mas-leidos__item a:hover,
.barra-nota__lista a:hover,
.barra-nota__vermas:hover,
.ficha-autor__enlaces a:hover,
.nota__cuerpo a:hover { color: var(--tinta-marca); }
.kicker--grande { font-size: .78rem; margin-bottom: .9rem; }
.kicker--sobrio {
    color: var(--tinta-suave); font-size: .66rem; display: block; box-shadow: none;
    margin-bottom: .15rem;
}

.tarjeta__titulo { font-size: 1.2rem; line-height: 1.2; letter-spacing: -.015em; }
.tarjeta__titulo a { background-image: linear-gradient(var(--amarillo), var(--amarillo)); background-size: 0 100%; background-repeat: no-repeat; transition: background-size .25s ease; }
.tarjeta__titulo a:hover { background-size: 100% 100%; }
.tarjeta--grande .tarjeta__titulo { font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.03; letter-spacing: -.035em; }
.tarjeta--destacada .tarjeta__titulo { font-size: 1.3rem; }
.tarjeta--lista .tarjeta__titulo { font-size: 1rem; }

.tarjeta__bajada { color: var(--tinta-media); font-size: 1rem; line-height: 1.5; margin: 0; }
.tarjeta--grande .tarjeta__bajada { font-size: 1.15rem; }

.tarjeta__meta {
    margin: 0; font-size: .78rem; color: var(--tinta-suave);
    display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
}
.tarjeta__autor { font-weight: 700; color: var(--tinta-media); }
.tarjeta__autor:hover { color: var(--tinta); }

.tarjeta--lista { flex-direction: row; gap: 1rem; align-items: flex-start; }
.tarjeta--lista .tarjeta__figura { flex: 0 0 110px; }

/* -------------------------------------------------------- franja de vídeos */

.franja-video {
    background: var(--oscuro); color: #fff; margin: 2.75rem 0; padding: 2rem 1.75rem 2.5rem;
}
.franja-video .rejilla--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.franja-video__cabecera {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    margin-bottom: 1.75rem;
}
.franja-video .tarjeta__titulo { font-size: 1.02rem; }
.franja-video .tarjeta__titulo a { background-image: none; }
.franja-video .tarjeta__titulo a:hover { color: var(--amarillo); }
.franja-video .tarjeta__meta { color: rgba(255, 255, 255, .6); }
.franja-video .tarjeta__autor { color: rgba(255, 255, 255, .85); }
.franja-video .kicker { color: #fff; box-shadow: none; opacity: .7; }

/* ---------------------------------------------------------------- más leído */

.mas-leidos { position: sticky; top: 1.5rem; }
.mas-leidos__lista { list-style: none; display: flex; flex-direction: column; }
.mas-leidos__item {
    display: flex; gap: .9rem; align-items: flex-start;
    padding: .95rem 0; border-bottom: 1px solid var(--linea);
}
.mas-leidos__item:last-child { border-bottom: 0; }
.mas-leidos__numero {
    font-size: 1.5rem; font-weight: 900; line-height: 1; color: var(--tinta);
    min-width: 1.5rem; box-shadow: inset 0 -.35em 0 var(--amarillo);
}
.mas-leidos__item a { font-weight: 700; font-size: .98rem; line-height: 1.28; }
.mas-leidos__item a:hover { box-shadow: inset 0 -.7em 0 var(--amarillo); }

/* ------------------------------------------------------ cabeceras de sección */

.cabecera-seccion {
    padding: 2.5rem 0 1.25rem; margin-bottom: 1.75rem;
    border-bottom: 4px solid var(--tinta);
}
.cabecera-seccion__antetitulo {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .15em;
    color: var(--tinta-suave); font-weight: 800; margin: 0 0 .4rem;
}
.cabecera-seccion__titulo {
    display: inline-block; font-size: clamp(2rem, 5.5vw, 3.2rem); letter-spacing: -.035em;
    box-shadow: inset 0 -.28em 0 var(--amarillo);
}
.cabecera-seccion__texto { color: var(--tinta-media); font-size: 1.08rem; max-width: 44rem; margin: .9rem 0 0; }
.cabecera-seccion__meta { font-size: .84rem; color: var(--tinta-suave); margin: .8rem 0 0; }
.cabecera-seccion__meta a { text-decoration: underline; }

/* -------------------------------------------------------------------- nota */

.migas {
    font-size: .76rem; color: var(--tinta-suave); padding: 1.5rem 0 0;
    display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
    text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
}
.migas a:hover { color: var(--tinta); box-shadow: inset 0 -.7em 0 var(--amarillo); }
.migas__actual { color: var(--tinta-media); font-weight: 400; text-transform: none; letter-spacing: 0; }

.nota__cabecera-hueco { display: none; }
.nota__titulo {
    font-size: clamp(2rem, 5.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.04em;
    margin-bottom: 1rem;
}
.nota__bajada {
    font-size: 1.24rem; line-height: 1.45; color: var(--tinta-media);
    margin: 0 0 1.75rem; font-weight: 400;
}

.firma {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem;
    align-items: center;
    padding: 1.1rem 0; border-top: 2px solid var(--tinta); border-bottom: 1px solid var(--linea);
}
.firma__datos { font-size: .88rem; }
.firma__autor { margin: 0 0 .15rem; font-weight: 600; }
.firma__autor a { font-weight: 800; }
.firma__autor a:hover { box-shadow: inset 0 -.7em 0 var(--amarillo); }
.firma__cargo { color: var(--tinta-suave); font-weight: 400; }
.firma__fecha { margin: 0; color: var(--tinta-suave); font-size: .8rem; }

.nota__portada { margin: 0 0 2.5rem; }
.nota__portada-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nota__portada figcaption, .figura figcaption {
    font-size: .78rem; color: var(--tinta-suave); padding: .65rem 0 0; line-height: 1.45;
}
.credito { color: var(--linea-fuerte); }
.figura .credito { color: var(--tinta-suave); font-style: italic; }

.nota__rejilla {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem;
    align-items: start;
}
.nota__principal { max-width: 46rem; min-width: 0; }
.nota__cabecera { padding: .25rem 0 1.5rem; }

.nota__cuerpo { font-size: 1.16rem; line-height: 1.7; color: #1b1b1b; }
.nota__cuerpo p { margin: 0 0 1.4em; }
.nota__cuerpo a {
    font-weight: 600; box-shadow: inset 0 -.12em 0 var(--amarillo);
    transition: box-shadow .18s ease;
}
.nota__cuerpo a:hover { box-shadow: inset 0 -1em 0 var(--amarillo); }
.nota__cuerpo h2 { font-size: 1.6rem; margin: 2.4rem 0 .85rem; letter-spacing: -.025em; }
.nota__cuerpo h3 { font-size: 1.28rem; margin: 1.9rem 0 .7rem; }
.nota__cuerpo .lista { margin: 0 0 1.4em 1.35em; }
.nota__cuerpo .lista li { margin-bottom: .55em; }
.nota__cuerpo .separador { border: 0; border-top: 3px solid var(--amarillo); margin: 2.75rem auto; width: 4rem; }

.cita {
    margin: 2.25rem 0; padding: .25rem 0 .25rem 1.5rem;
    border-left: 5px solid var(--amarillo); font-size: 1.4rem; line-height: 1.35;
    font-weight: 700; letter-spacing: -.02em;
}
.cita p { margin: 0 0 .6rem; }
.cita cite {
    display: block; font-size: .78rem; font-style: normal; font-weight: 800;
    text-transform: uppercase; letter-spacing: .1em; color: var(--tinta-suave);
}

.destacado {
    margin: 2.25rem 0; padding: 1.35rem 1.5rem; background: var(--amarillo);
    font-size: 1.08rem; font-weight: 600; line-height: 1.45; color: var(--tinta-marca);
}

.figura { margin: 2.25rem 0; }
.figura--ancha { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.figura--ancha img { width: 100%; max-height: 32rem; object-fit: cover; }

.embed { margin: 0; }
.embed--video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.embed--audio iframe { width: 100%; height: 152px; border: 0; }
.embed--tuit, .embed--instagram, .embed--tiktok { display: flex; justify-content: center; }
.bloque-video, .bloque-tuit, .bloque-embed { margin: 2.25rem 0; }
.bloque-video figcaption, .bloque-tuit figcaption { font-size: .78rem; color: var(--tinta-suave); padding-top: .5rem; }
.embed-enlace { font-size: .95rem; }

.yt-diferido { position: relative; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.yt-diferido img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.yt-diferido:hover img { opacity: .65; }
.yt-diferido iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-diferido__play {
    position: absolute; inset: 0; margin: auto; width: 74px; height: 52px; border: 0;
    border-radius: 10px; background: var(--amarillo); cursor: pointer;
}
.yt-diferido__icono {
    position: absolute; inset: 0; margin: auto; width: 0; height: 0;
    border-left: 20px solid var(--tinta-marca); border-top: 12px solid transparent;
    border-bottom: 12px solid transparent; transform: translateX(3px);
}

.bloque-boletin {
    margin: 2.5rem 0; padding: 1.75rem; background: var(--papel);
    border-top: 5px solid var(--amarillo);
}
.bloque-boletin h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.bloque-boletin p { font-size: .98rem; color: var(--tinta-media); }

.nota__temas { margin: 2.75rem 0 1rem; }
.nota__temas-titulo {
    display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em;
    color: var(--tinta-suave); font-weight: 800; margin-bottom: .7rem;
}
.etiquetas { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.etiquetas a {
    display: inline-block; padding: .35rem .8rem; background: var(--papel);
    font-size: .82rem; font-weight: 600; color: var(--tinta-media);
}
.etiquetas a:hover { background: var(--amarillo); color: var(--tinta-marca); }

/* --------------------------------------------------------------- compartir */

.compartir { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.compartir__etiqueta {
    font-size: .7rem; text-transform: uppercase; letter-spacing: .13em;
    color: var(--tinta-suave); font-weight: 800;
}
.compartir__lista { list-style: none; display: flex; gap: .5rem; }
.compartir__boton {
    display: grid; place-items: center; width: 38px; height: 38px;
    border-radius: 50%; border: 0; padding: 0;
    background: var(--papel); color: var(--tinta);
    transition: transform .14s ease, background-color .14s ease, color .14s ease;
}
.compartir__boton:hover { transform: translateY(-3px); color: #fff; }
.compartir__boton--whatsapp:hover { background: #25d366; }
.compartir__boton--x:hover { background: #000; }
.compartir__boton--facebook:hover { background: #1877f2; }
.compartir__boton--linkedin:hover { background: #0a66c2; }
.compartir__boton--telegram:hover { background: #229ed9; }
.compartir__boton--enlace:hover { background: var(--amarillo); color: var(--tinta-marca); }

.compartir--ancho {
    margin: 2.5rem 0; padding: 1.35rem 0; gap: 1.25rem;
    border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea);
}
.compartir--ancho .compartir__etiqueta { font-size: .8rem; }
.compartir--ancho .compartir__boton { width: 44px; height: 44px; }

/* ----------------------------------------------------------- apoyo y barra */

.apoyo-nota {
    margin: 2.5rem 0; padding: 1.75rem; background: var(--amarillo); text-align: center;
    color: var(--tinta-marca);
}
.apoyo-nota__texto { font-size: 1.3rem; font-weight: 800; margin: 0 0 .5rem; letter-spacing: -.02em; }
.apoyo-nota__detalle { font-size: .95rem; opacity: .8; margin: 0 0 1.25rem; }

.barra-nota { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 2.25rem; }
.barra-nota__bloque { border-top: 4px solid var(--tinta); padding-top: .9rem; }
.barra-nota__titulo {
    font-size: .82rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 900;
    margin-bottom: 1rem;
}
.barra-nota__lista { list-style: none; display: flex; flex-direction: column; }
.barra-nota__lista li {
    display: flex; gap: .8rem; align-items: flex-start;
    padding: .8rem 0; border-bottom: 1px solid var(--linea);
}
.barra-nota__lista li:last-child { border-bottom: 0; }
.barra-nota__lista a { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.barra-nota__lista a:hover { box-shadow: inset 0 -.7em 0 var(--amarillo); }
.barra-nota__numero {
    font-size: 1.4rem; font-weight: 900; line-height: 1; min-width: 1.3rem;
    box-shadow: inset 0 -.32em 0 var(--amarillo);
}
.barra-nota__hora {
    display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--tinta-suave); font-weight: 700; margin-bottom: .15rem;
}
.barra-nota__vermas {
    display: inline-flex; align-items: center; gap: .3rem; margin-top: .9rem;
    font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em;
}
.barra-nota__vermas:hover { box-shadow: inset 0 -.7em 0 var(--amarillo); }
.barra-nota__apoyo { background: var(--papel); padding: 1.35rem; text-align: center; }
.barra-nota__apoyo p { font-weight: 700; font-size: .98rem; margin: 0 0 .9rem; }

.relacionados { margin-top: 3.5rem; padding-top: .5rem; border-top: 1px solid var(--linea); }

.aviso { padding: .85rem 1rem; font-size: .9rem; margin: 1.5rem 0; }
.aviso--previa { background: var(--amarillo-suave); border-left: 4px solid var(--amarillo); }

/* --------------------------------------------------------- video columnas */

.videocolumna__escenario { background: var(--oscuro); padding: 2.5rem 0; margin-bottom: 2rem; }
.videocolumna__reproductor { max-width: 62rem; margin: 0 auto; }

/* ----------------------------------------------------------- ficha de autor */

.ficha-autor {
    display: flex; gap: 1.75rem; align-items: flex-start; flex-wrap: wrap;
    padding: 2.5rem 0 2rem; margin-bottom: 1.75rem; border-bottom: 4px solid var(--tinta);
}
.ficha-autor__avatar, .tarjeta-autor__avatar {
    flex: 0 0 auto; width: 112px; height: 112px; border-radius: 50%; overflow: hidden;
    background: var(--papel); display: grid; place-items: center;
}
.ficha-autor__avatar img, .tarjeta-autor__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ficha-autor__iniciales { font-size: 2rem; font-weight: 900; color: var(--tinta-suave); }
.ficha-autor__nombre { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.035em; }
.ficha-autor__cargo {
    color: var(--tinta); font-weight: 800; font-size: .8rem; text-transform: uppercase;
    letter-spacing: .1em; margin: .5rem 0 .7rem; display: inline-block;
    box-shadow: inset 0 -.45em 0 var(--amarillo);
}
.ficha-autor__bio { color: var(--tinta-media); max-width: 44rem; font-size: 1.05rem; }
.ficha-autor__enlaces { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; font-weight: 700; }
.ficha-autor__enlaces a:hover { box-shadow: inset 0 -.7em 0 var(--amarillo); }
.ficha-autor__total { color: var(--tinta-suave); font-weight: 400; }

.tarjeta-autor { display: flex; gap: 1rem; align-items: flex-start; }
.tarjeta-autor__avatar { width: 84px; height: 84px; }
.tarjeta-autor__nombre { font-size: 1.12rem; }
.tarjeta-autor__cargo { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; margin: .25rem 0; color: var(--tinta-suave); }
.tarjeta-autor__bio { font-size: .9rem; color: var(--tinta-media); margin: .35rem 0; }
.tarjeta-autor__total { font-size: .76rem; color: var(--tinta-suave); margin: 0; }

/* ------------------------------------------------------------- paginación */

.paginacion { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 3.5rem 0 1rem; }
.paginacion__enlace {
    padding: .55rem .9rem; border: 2px solid var(--linea); font-size: .86rem; font-weight: 700;
    color: var(--tinta-media);
}
.paginacion__enlace:hover { border-color: var(--tinta); color: var(--tinta); }
.paginacion__enlace--activo { background: var(--amarillo); border-color: var(--amarillo); color: var(--tinta-marca); }
.paginacion__puntos { padding: .55rem .3rem; color: var(--tinta-suave); }

/* --------------------------------------------------------- buscador y boletín */

.buscador { display: flex; align-items: center; border: 2px solid var(--tinta); }
.buscador input {
    border: 0; padding: .6rem .8rem; font: inherit; font-size: .95rem; flex: 1;
    background: transparent; color: inherit; min-width: 0;
}
.buscador input:focus { outline: none; }
.buscador button {
    border: 0; background: var(--amarillo); padding: .65rem 1rem; font-size: .76rem;
    text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--tinta);
}
.buscador button:hover { background: var(--tinta); color: #fff; }
.buscador button { color: var(--tinta-marca); }
.buscador--grande { max-width: 34rem; margin: 1.25rem 0; }
.buscador--grande input { font-size: 1.05rem; padding: .85rem 1rem; }

.franja-boletin { background: var(--papel); margin-top: 3.5rem; padding: 3rem 0; }
.franja-boletin__caja { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.franja-boletin h2 { font-size: 1.9rem; margin-bottom: .5rem; letter-spacing: -.03em; }
.franja-boletin p { color: var(--tinta-media); margin: 0; }
.boletin__form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.boletin__form input[type="email"] {
    flex: 1 1 14rem; padding: .8rem .9rem; border: 2px solid var(--tinta); font: inherit; background: #fff;
}
.boletin__form button {
    padding: .8rem 1.4rem; border: 0; background: var(--tinta); color: #fff;
    font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem;
}
.boletin__form button:hover { background: var(--amarillo); color: var(--tinta-marca); }
.boletin__aviso { flex-basis: 100%; margin: 0; font-size: .85rem; font-weight: 700; }

/* ------------------------------------------------------------------- pie */

.pie { background: var(--oscuro); color: rgba(255, 255, 255, .72); padding: 3.5rem 0 0; margin-top: 4rem; }

.pie__cima {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.pie__logo { max-height: 62px; width: auto; }
.pie__nombre { font-size: 1.9rem; font-weight: 900; color: #fff; letter-spacing: -.04em; }
.pie__donar { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.pie__donar-texto { margin: 0; color: #fff; font-weight: 700; font-size: 1.02rem; max-width: 22rem; }

.redes--pie { justify-content: flex-start; gap: .5rem; padding: 1.75rem 0; }
.redes--pie .redes__enlace { width: 40px; height: 40px; color: #fff; background: rgba(255, 255, 255, .1); }
.redes--pie .redes__enlace:hover { background: var(--amarillo); color: var(--tinta-marca); }

.pie__rejilla {
    display: grid; grid-template-columns: 1fr 1fr 2.2fr;
    gap: 2.5rem; padding-bottom: 2.5rem;
}
.pie__columna h2 {
    font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; color: #fff;
    margin-bottom: 1rem; font-weight: 900;
}
.pie__columna ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; font-size: .92rem; }
.pie__columna a:hover { color: var(--amarillo); }
/* Los temas van en fila; la regla de arriba pone las listas del pie en
   columna, así que aquí hace falta ganarle en especificidad. */
.pie__columna ul.etiquetas--pie { flex-direction: row; flex-wrap: wrap; gap: .5rem; }
.etiquetas--pie a { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); font-size: .78rem; }
.etiquetas--pie a:hover { background: var(--amarillo); color: var(--tinta-marca); }
.pie__descripcion { font-size: .88rem; max-width: 46rem; padding-bottom: 2rem; }

.pie__legal { border-top: 1px solid rgba(255, 255, 255, .15); padding: 1.25rem 0; font-size: .78rem; }
.pie__legal-fila { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.pie__legal p { margin: 0; }

/* ----------------------------------------------------------------- varios */

.vacio { padding: 3rem 0; color: var(--tinta-suave); font-size: 1.05rem; text-align: center; }
.error-404 { padding: 4rem 0 2rem; }
.error-404__codigo {
    font-size: 5rem; font-weight: 900; margin: 0; line-height: 1; letter-spacing: -.05em;
    display: inline-block; box-shadow: inset 0 -.3em 0 var(--amarillo);
}
.error-404__titulo { font-size: 2.2rem; margin: 1rem 0; letter-spacing: -.03em; }
.error-404__texto { color: var(--tinta-media); font-size: 1.1rem; }

/* ------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
    .nota__rejilla { grid-template-columns: minmax(0, 1fr) 290px; gap: 2.5rem; }
    .columnas { grid-template-columns: minmax(0, 1fr) 290px; gap: 2.5rem; }
}

@media (max-width: 980px) {
    .nota__rejilla, .columnas { grid-template-columns: 1fr; gap: 1rem; }
    .nota__principal { max-width: none; }
    .barra-nota, .mas-leidos { position: static; }
    .barra-nota { margin-top: 3rem; }
    .columnas__lateral { padding-top: 0; }
    .pie__rejilla { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .apertura { grid-template-columns: 1fr; gap: 2rem; padding-top: 1.5rem; }
    .franja-boletin__caja { grid-template-columns: 1fr; }

    .cabecera__fila { grid-template-columns: auto 1fr auto; }
    .cabecera__hamburguesa { display: block; }
    .cabecera__lado--izq .redes { display: none; }
    .buscar-icono { display: none; }
    .marca__logo { max-height: 44px; }
    .boton-donar { padding: .5rem .9rem; font-size: .74rem; }

    .navegacion { display: none; border-top: 0; }
    .navegacion.abierto { display: block; border-top: 1px solid var(--linea); }
    .navegacion.abierto .navegacion__fila { flex-direction: column; align-items: stretch; gap: 0; }
    .navegacion.abierto .navegacion__enlace {
        padding: .95rem .25rem; border-bottom: 1px solid var(--linea); font-size: .9rem;
    }
    .navegacion.abierto .navegacion__enlace::after { display: none; }
    .navegacion.abierto .navegacion__donar {
        display: block; margin: 1rem .25rem; padding: .8rem; text-align: center;
        background: var(--donar); color: #fff; font-weight: 800; text-transform: uppercase;
        letter-spacing: .06em; font-size: .82rem; border-radius: 100px;
    }

    .figura--ancha { margin-left: 0; margin-right: 0; }
    .figura--ancha img { max-height: 20rem; }
}

@media (max-width: 560px) {
    body { font-size: 15px; }
    .contenedor { padding: 0 1.15rem; }
    .rejilla { gap: 2rem 1.25rem; }
    .rejilla--3, .rejilla--4 { grid-template-columns: 1fr; }
    .nota__cuerpo { font-size: 1.08rem; }
    .nota__portada { padding: 0; }
    .pie__rejilla { grid-template-columns: 1fr; }
    .pie__cima { flex-direction: column; align-items: flex-start; }
    .pie__donar { flex-direction: column; align-items: flex-start; }
    .ficha-autor__avatar { width: 84px; height: 84px; }
    .compartir--ancho { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

@media print {
    .cabecera, .pie, .franja-boletin, .compartir, .relacionados, .franja-video,
    .barra-nota, .apoyo-nota { display: none; }
    body { font-size: 12pt; }
}
