/*
Theme Name: Hegemonía Latinoamericana
Theme URI: https://politicalatinoamericana.com
Description: Tema del Grupo de Investigación Hegemonía Latinoamericana (IEALC · FSOC · UBA). Recupera la identidad del sitio original (logo con el mapa, naranja y carbón, Roboto, portada fotográfica) con una estructura nueva. Hijo de Twenty Twenty-Five, sin plugins.
Template: twentytwentyfive
Version: 2.0.0
Requires at least: 6.7
Requires PHP: 7.4
Text Domain: hegemonia
License: GPLv2 or later
*/

:root {
	--hl-naranja: #E66432; --hl-naranja-osc: #BA4F28; --hl-carbon: #1A100E; --hl-gris: #F2F2F2;
	--hl-rpl: #4A99D2; --hl-ople: #008E97; --hl-lima: #C9E265; --hl-redsur: #A31A4E;
	--hl-cond: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
::selection { background: var(--hl-naranja); color: #fff; }
:focus-visible { outline: 2px solid var(--hl-naranja); outline-offset: 3px; }
img { height: auto; }
a { text-underline-offset: .2em; }

/* ---------- Encabezado: logo original sobre carbón, borde naranja ---------- */
.hl-encabezado { border-bottom: 4px solid var(--hl-naranja); position: sticky; top: 0; z-index: 50; }
.hl-logo { display: block; line-height: 0; }
.hl-logo img { height: 88px; width: auto; display: block; }
.hl-nav .wp-block-navigation-item__content { font-family: var(--hl-cond); text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; padding: 1.75rem .8rem !important; border-bottom: 3px solid transparent; margin-bottom: -4px; transition: color .15s, border-color .15s; }
.hl-nav .wp-block-navigation-item__content:hover,
.hl-nav .current-menu-item > .wp-block-navigation-item__content,
.hl-nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--hl-naranja) !important; border-bottom-color: var(--hl-naranja); }
.hl-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: .6rem 0 !important; font-size: 1.2rem; }

/* ---------- Títulos de sección (como el sitio original) ---------- */
.hl-titulo-seccion, .hl-seccion h2.hl-titulo-seccion { font-family: var(--hl-cond); text-transform: uppercase; letter-spacing: .02em; }
.hl-titulo-seccion::after { content: ""; display: block; width: 56px; height: 4px; background: var(--hl-naranja); margin: .9rem auto 0; }
.has-text-align-left.hl-titulo-seccion::after, .hl-izq .hl-titulo-seccion::after { margin-left: 0; }
.hl-banda-titulo .hl-titulo-seccion { margin: 0; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.hl-titulo-entrada { text-transform: none !important; font-size: clamp(1.6rem, 3.2vw, 2.3rem) !important; max-width: 900px; margin-left: auto !important; margin-right: auto !important; }
.hl-antetitulo, .hl-antetitulo a { font-family: var(--hl-cond); font-size: .82rem !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--hl-naranja-osc); text-decoration: none; }
.hl-fecha { font-family: var(--hl-cond); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #6B6B6B; }
.hl-bajada { color: #6B6B6B; max-width: 680px; margin: .8rem auto 0 !important; }
.hl-entrada { font-size: 1.22rem; line-height: 1.6; color: #333; }

/* ---------- Portada: slider fotográfico (CSS, sin JavaScript) ---------- */
.hl-portada { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--hl-carbon); color: #fff; text-align: center; }
.hl-portada__slides, .hl-portada__slides span { position: absolute; inset: 0; }
.hl-portada__slides span { background-size: cover; background-position: center; opacity: 0; animation: hl-fundido 21s infinite; }
.hl-portada__slides span:nth-child(1) { animation-delay: 0s; }
.hl-portada__slides span:nth-child(2) { animation-delay: 7s; }
.hl-portada__slides span:nth-child(3) { animation-delay: 14s; }
@keyframes hl-fundido { 0% { opacity: 0; transform: scale(1.04); } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; transform: scale(1); } 100% { opacity: 0; } }
.hl-portada::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,16,14,.35) 0%, rgba(26,16,14,.55) 55%, rgba(26,16,14,.85) 100%); }
.hl-portada__texto { position: relative; z-index: 2; width: 100%; box-sizing: border-box; max-width: 980px; padding: 6rem 1.5rem 5rem; }
.hl-portada__ante { font-family: var(--hl-cond); letter-spacing: .22em; text-transform: uppercase; font-size: .9rem; color: var(--hl-naranja); font-weight: 700; margin: 0 0 1rem; }
.hl-portada h1 { color: #fff; font-size: clamp(2rem, 8vw, 5rem); line-height: 1; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.45); letter-spacing: .01em; }
.hl-portada__bajada { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 300; margin: 1.2rem auto 2rem; max-width: 760px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hl-portada__botones { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hl-boton { display: inline-block; font-family: var(--hl-cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; padding: .85rem 1.6rem; background: var(--hl-naranja); color: var(--hl-carbon) !important; text-decoration: none; border: 2px solid var(--hl-naranja); transition: background .15s, color .15s; }
.hl-boton:hover { background: transparent; color: #fff !important; }
.hl-boton--linea { background: transparent; color: #fff !important; border-color: #fff; }
.hl-boton--linea:hover { background: #fff; color: var(--hl-carbon) !important; }
.hl-boton--oscuro { background: var(--hl-carbon); border-color: var(--hl-carbon); color: #fff !important; }
.hl-boton--oscuro:hover { background: transparent; color: var(--hl-carbon) !important; }
.hl-portada__puntos { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: .5rem; }
.hl-portada__puntos i { width: 26px; height: 4px; background: rgba(255,255,255,.35); display: block; animation: hl-punto 21s infinite; }
.hl-portada__puntos i:nth-child(2) { animation-delay: 7s; } .hl-portada__puntos i:nth-child(3) { animation-delay: 14s; }
@keyframes hl-punto { 0%, 33% { background: var(--hl-naranja); } 34%, 100% { background: rgba(255,255,255,.35); } }

/* ---------- Secciones ---------- */
.hl-seccion { padding: clamp(3.5rem, 7vw, 6rem) 1.5rem; }
.hl-seccion--gris { background: var(--hl-gris); }
.hl-seccion--carbon { background: var(--hl-carbon); color: #fff; }
.hl-seccion--carbon h2, .hl-seccion--carbon h3 { color: #fff; }
.hl-contenedor { max-width: 1180px; margin: 0 auto; }
.hl-dos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hl-foto-marco { position: relative; margin: 0; }
.hl-foto-marco__img { position: relative; display: block; margin: 0 18px 18px 0; }
.hl-foto-marco__img img { width: 100%; display: block; position: relative; z-index: 1; }
.hl-foto-marco__img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 4px solid var(--hl-naranja); z-index: 0; }
.hl-foto-marco figcaption { margin-top: 1.6rem; }
.hl-pie-foto { font-size: .82rem; color: #6B6B6B; margin-top: .6rem; }

.home .wp-site-blocks > .wp-block-post-content, .home .wp-block-post-content > * + * { margin-block-start: 0; }
.home .wp-site-blocks > footer, .home .wp-site-blocks > .wp-block-template-part + * { margin-block-start: 0; }
.hl-seccion--sin-pad { padding: 4px 0 0; }
.hl-seccion--sin-pad .hl-contenedor { max-width: none; }
/* Mosaicos con foto (como los accesos del sitio original) */
.hl-mosaicos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.hl-mosaico { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; color: #fff !important; text-decoration: none; background: var(--hl-carbon); }
.hl-mosaico img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; opacity: .75; }
.hl-mosaico:hover img { transform: scale(1.06); opacity: .55; }
.hl-mosaico::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(26,16,14,.92) 100%); }
.hl-mosaico__texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.3rem; z-index: 2; }
.hl-mosaico__dato { font-family: var(--hl-cond); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hl-naranja); font-weight: 700; }
.hl-mosaico__titulo { font-family: var(--hl-cond); font-size: 1.7rem; font-weight: 700; text-transform: uppercase; line-height: 1.05; margin: .3rem 0 .5rem; display: block; }
.hl-mosaico__desc { font-size: .9rem; line-height: 1.45; opacity: .9; display: block; }
.hl-mosaico--marca img { object-fit: contain; background: #fff; opacity: 1; padding: 18% 12% 40%; }
.hl-mosaico--marca::after { background: linear-gradient(180deg, transparent 45%, rgba(26,16,14,.95) 75%); }

/* Banda con foto fija (parallax del sitio original) */
.hl-parallax { position: relative; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; text-align: center; }
.hl-parallax::before { content: ""; position: absolute; inset: 0; background: rgba(26,16,14,.78); }
.hl-parallax > * { position: relative; }
.hl-parallax h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 900px; margin: .4rem auto 1rem; }
.hl-parallax p { max-width: 760px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
@media (hover: none) { .hl-parallax { background-attachment: scroll; } }

/* Revista: tapas */
.hl-tapas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; list-style: none; padding: 0; margin: 2.5rem 0 0; }
.hl-tapa a { display: block; text-decoration: none; color: inherit; }
.hl-tapa__img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--hl-rpl); }
.hl-tapa__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.hl-tapa a:hover .hl-tapa__img img { transform: scale(1.05); }
.hl-tapa__num { position: absolute; left: 0; top: 0; background: var(--hl-rpl); color: #fff; font-family: var(--hl-cond); font-weight: 700; font-size: 1.5rem; line-height: 1; padding: .45rem .7rem; }
.hl-tapa__img img.hl-tapa__logo { object-fit: contain; background: #fff; padding: 12%; box-sizing: border-box; }
.hl-tapa__sin { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-family: var(--hl-cond); font-weight: 700; font-size: 3.4rem; letter-spacing: -.02em; }
.hl-tapa__anio { font-family: var(--hl-cond); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #6B6B6B; margin-top: .6rem; display: block; }
.hl-tapa__titulo { font-weight: 500; font-size: .95rem; line-height: 1.35; display: block; margin-top: .15rem; }
.hl-tapa a:hover .hl-tapa__titulo { color: var(--hl-naranja-osc); }
.hl-marca-rpl { display: flex; gap: 1.5rem; align-items: center; }
.hl-marca-rpl img { width: 150px; flex: none; }

/* Galería */
.hl-galeria { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 210px; gap: 4px; margin: 2.5rem 0 0; }
.hl-galeria figure { margin: 0; position: relative; overflow: hidden; }
.hl-galeria figure:first-child { grid-row: span 2; }
.hl-galeria img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-galeria figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .7rem; font-size: .8rem; color: #fff; background: linear-gradient(transparent, rgba(26,16,14,.85)); }

/* Tarjetas de entradas (archivo y portada) */
.hl-tarjetas-entradas .wp-block-post { background: #fff; display: flex; flex-direction: column; }
.hl-tarjeta-img { margin: 0 0 .9rem !important; background: var(--hl-gris); }
.hl-tarjeta-img img { transition: transform .4s; }
.hl-tarjeta-img:hover img { transform: scale(1.04); }
.hl-tarjeta-img { overflow: hidden; }
.hl-tarjeta-titulo { font-family: var(--hl-cond) !important; text-transform: none !important; font-size: 1.25rem !important; line-height: 1.25; margin-top: .3rem !important; }
.hl-tarjeta-titulo a { text-decoration: none; color: var(--hl-carbon); }
.hl-tarjeta-titulo a:hover { color: var(--hl-naranja-osc); }

/* Listas y tablas de contenido */
.hl-indice { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--hl-carbon); }
.hl-indice li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid #E2E2E2; align-items: baseline; }
.hl-indice .titulo { font-weight: 500; font-size: 1.05rem; line-height: 1.4; color: var(--hl-carbon); }
.hl-indice .autores { grid-column: 1; color: #6B6B6B; font-size: .93rem; }
.hl-indice .pdf { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--hl-cond); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; padding: .4rem .8rem; background: var(--hl-naranja); color: var(--hl-carbon); }
.hl-indice .pdf:hover { background: var(--hl-carbon); color: #fff; }
.hl-revista .hl-indice .pdf { background: var(--hl-rpl); color: #fff; }
.hl-revista .hl-indice .pdf:hover { background: var(--hl-carbon); }
.hl-seccion-revista { font-family: var(--hl-cond) !important; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem !important; color: var(--hl-rpl) !important; margin-top: 2.5rem !important; }
.hl-cabecera-numero { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: center; margin-bottom: 2rem; }
.hl-cabecera-numero img { width: 100%; display: block; }
.hl-tabla { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.hl-tabla th { text-align: left; font-family: var(--hl-cond); text-transform: uppercase; letter-spacing: .04em; padding: .75rem .9rem; background: var(--hl-carbon); color: #fff; }
.hl-tabla td { padding: .75rem .9rem; border-bottom: 1px solid #E2E2E2; vertical-align: top; }
.hl-tabla tr:nth-child(even) td { background: var(--hl-gris); }

/* Línea de tiempo de proyectos */
.hl-linea { list-style: none; padding: 0; margin: 0; position: relative; }
.hl-linea::before { content: ""; position: absolute; left: 6.4rem; top: .4rem; bottom: .4rem; width: 2px; background: #E2E2E2; }
.hl-linea li { display: grid; grid-template-columns: 5.4rem 1fr; gap: 1.5rem; padding: 0 0 1.75rem; position: relative; }
.hl-linea li::before { content: ""; position: absolute; left: calc(6.4rem - 6px); top: .35rem; width: 14px; height: 14px; background: #fff; border: 3px solid var(--hl-naranja); }
.hl-linea li.vigente::before { background: var(--hl-naranja); }
.hl-linea .periodo { font-family: var(--hl-cond); font-weight: 700; font-size: .95rem; color: var(--hl-carbon); text-align: right; }
.hl-linea .cuerpo { padding-left: .9rem; }
.hl-linea .cuerpo a, .hl-linea .cuerpo .t { font-weight: 500; font-size: 1.08rem; text-decoration: none; color: var(--hl-carbon); }
.hl-linea .cuerpo a:hover { color: var(--hl-naranja-osc); }
.hl-linea .etiqueta { display: inline-block; font-family: var(--hl-cond); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--hl-carbon); background: var(--hl-naranja); padding: .1rem .45rem; margin-left: .4rem; vertical-align: middle; }
.hl-linea .sub { display: block; color: #6B6B6B; font-size: .9rem; margin-top: .15rem; }

/* Integrantes */
.hl-equipo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.2rem; list-style: none; padding: 0; margin: 0 0 3rem; text-align: center; }
.hl-equipo a { text-decoration: none; color: inherit; display: block; }
.hl-equipo img, .hl-equipo .sin-foto { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto .8rem; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--hl-naranja); transition: box-shadow .2s; }
.hl-equipo .sin-foto { background: var(--hl-gris); display: flex; align-items: center; justify-content: center; font-family: var(--hl-cond); font-size: 2.2rem; font-weight: 700; color: var(--hl-naranja-osc); }
.hl-equipo a:hover img { box-shadow: 0 0 0 5px var(--hl-naranja); }
.hl-equipo .nombre { font-family: var(--hl-cond); font-weight: 700; font-size: 1.1rem; display: block; color: var(--hl-carbon); }
.hl-equipo .rol { font-size: .85rem; color: #6B6B6B; display: block; }
.hl-persona { border-top: 2px solid var(--hl-carbon); padding-top: 1.5rem !important; scroll-margin-top: 140px; }
.hl-persona .rol { font-family: var(--hl-cond); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--hl-naranja-osc); }
.hl-persona h2 { text-transform: none !important; font-size: 1.8rem !important; }
.hl-foto { float: right; width: 150px; margin: 0 0 1rem 1.5rem !important; }
.hl-foto img { aspect-ratio: 1; object-fit: cover; }

/* Marcas OPLE */
.hl-ople-cabecera { display: flex; gap: 2rem; align-items: center; margin-bottom: 1.5rem; }
.hl-ople-cabecera img { width: 160px; flex: none; }
.hl-ople .hl-indice .pdf { background: var(--hl-ople); color: #fff; }

/* Avisos */
.hl-aviso-archivo { border-left: 4px solid var(--hl-naranja); }
.hl-nav-entradas a { font-family: var(--hl-cond); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; font-weight: 700; }

/* Pie */
.hl-pie a { color: #fff; text-decoration: none; opacity: .85; }
.hl-pie a:hover { opacity: 1; color: var(--hl-naranja); }
.hl-pie ul { list-style: none; padding: 0; margin: 0; }
.hl-pie li { padding: .25rem 0; }
.hl-pie__titulo { font-family: var(--hl-cond); color: var(--hl-naranja) !important; font-size: .9rem !important; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .8rem; }
.hl-logo--pie img { height: auto; width: 100%; max-width: 340px; }
.hl-pie__sede { opacity: .75; font-size: .85rem; margin-top: 1rem; }
.hl-pie__cierre { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; margin-top: 2rem; font-size: .8rem; opacity: .55; }

/* ---------- Celular ---------- */
@media (max-width: 960px) {
	.hl-mosaicos { grid-template-columns: repeat(2, 1fr); }
	.hl-tapas { grid-template-columns: repeat(3, 1fr); }
	.hl-equipo { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 781px) {
	.hl-logo img { height: 54px; }
	.hl-dos, .hl-cabecera-numero { grid-template-columns: 1fr; }
	.hl-foto-marco__img { margin: 0 10px 10px 0; } .hl-foto-marco__img::before { inset: 10px -10px -10px 10px; }
	.hl-tapas { grid-template-columns: repeat(2, 1fr); }
	.hl-equipo { grid-template-columns: repeat(2, 1fr); }
	.hl-galeria { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
	.hl-galeria figure:first-child { grid-column: span 2; grid-row: span 1; }
	.hl-mosaico { aspect-ratio: 3/4; }
	.hl-mosaico__titulo { font-size: 1.3rem; }
	.hl-mosaico__desc { display: none; }
	.hl-linea::before { left: .3rem; }
	.hl-linea li { grid-template-columns: 1fr; gap: .2rem; padding-left: 1.6rem; }
	.hl-linea li::before { left: -3px; }
	.hl-linea .periodo { text-align: left; }
	.hl-linea .cuerpo { padding-left: 0; }
	.hl-indice li { grid-template-columns: 1fr; }
	.hl-indice .pdf { grid-row: auto; grid-column: 1; justify-self: start; margin-top: .4rem; }
	.hl-foto { width: 100px; }
	.hl-marca-rpl, .hl-ople-cabecera { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hl-portada__slides span { animation: none; opacity: 0; }
	.hl-portada__slides span:first-child { opacity: 1; }
	.hl-portada__puntos { display: none; }
}

/* ===== v2.1: correcciones de QA y mejoras ===== */
/* Barra de título alineada a la izquierda */
.hl-titulo-seccion.hl-izq { text-align: left; }
.hl-titulo-seccion.hl-izq::after { margin-left: 0; margin-right: 0; }
/* Logo: el fondo gris de la imagen se funde con el carbón del encabezado y del pie */
.hl-logo { padding: .9rem 0; }
.hl-logo img { height: 58px; width: auto; }
.hl-logo--pie { padding: 0; }
.hl-logo--pie img { height: auto; width: 100%; max-width: 320px; }
@media (max-width: 781px) { .hl-logo img { height: 40px; } .hl-logo { padding: .7rem 0; } }
/* Legibilidad de textos sobre fotos */
.hl-portada__ante { display: inline-block; background: rgba(26,16,14,.72); padding: .35rem .8rem; }
.hl-mosaico::after { background: linear-gradient(180deg, rgba(26,16,14,.05) 20%, rgba(26,16,14,.96) 82%); }
.hl-mosaico__texto { text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.hl-mosaicos--3 { grid-template-columns: repeat(3, 1fr); }
.hl-mosaicos--2 { grid-template-columns: repeat(2, 1fr); }
.hl-mosaicos--3 .hl-mosaico, .hl-mosaicos--2 .hl-mosaico { aspect-ratio: 4/3; }
.wp-block-post-content .hl-mosaicos { margin: 2rem 0; }
/* Tarjetas */
.hl-tarjeta { border: 1px solid #E2E2E2; border-top: 4px solid var(--hl-naranja); background: #fff; height: 100%; transition: box-shadow .2s, transform .2s; }
.hl-tarjeta:hover { box-shadow: 0 10px 28px rgba(26,16,14,.1); transform: translateY(-2px); }
.hl-tarjeta h3 { font-family: var(--hl-cond); text-transform: uppercase; font-size: 1.15rem; }
.hl-tarjeta h3 a { color: var(--hl-carbon); text-decoration: none; }
.hl-tarjeta h3 a::after { content: " →"; color: var(--hl-naranja); }
/* Revista: logo en los números sin tapa */
.hl-tapa__img img.hl-tapa__logo { padding: 26% 16% 10%; }
/* Cifras */
.hl-cifras { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; background: var(--hl-carbon); color: #fff; }
.hl-cifras div { padding: 2.2rem 1rem; border-right: 1px solid rgba(255,255,255,.08); }
.hl-cifras div:last-child { border-right: 0; }
.hl-cifras b { display: block; font-family: var(--hl-cond); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--hl-naranja); }
.hl-cifras span { display: block; font-family: var(--hl-cond); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-top: .5rem; opacity: .85; }
/* Libros */
.hl-libros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; }
.hl-libro__tapa { aspect-ratio: 2/3; overflow: hidden; box-shadow: 0 8px 22px rgba(26,16,14,.18); background: var(--hl-carbon); position: relative; }
.hl-libro__tapa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl-libro__tapa--texto { display: flex; flex-direction: column; justify-content: space-between; padding: 1.2rem; color: #fff; border-top: 8px solid var(--hl-naranja); }
.hl-libro__tapa--texto .t { font-family: var(--hl-cond); font-weight: 700; font-size: 1.25rem; line-height: 1.15; text-transform: uppercase; }
.hl-libro__tapa--texto .a { font-size: .85rem; opacity: .85; position: relative; z-index: 1; }
.hl-libro__dato { font-size: .85rem; color: #6B6B6B; margin-top: .7rem; display: block; line-height: 1.4; }
.hl-libro__titulo { font-weight: 500; color: var(--hl-carbon); display: block; margin-top: .2rem; line-height: 1.35; }
/* Citas destacadas */
.wp-block-quote.hl-cita { border: 0; border-left: 5px solid var(--hl-naranja); padding: .4rem 0 .4rem 1.5rem; margin: 2.5rem 0; }
.wp-block-quote.hl-cita p { font-family: var(--hl-cond); font-style: normal; font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.3; color: var(--hl-carbon); }
.wp-block-quote.hl-cita cite { font-size: .85rem; color: #6B6B6B; font-style: normal; }
/* Textos de integrantes en la revista */
.hl-textos-rpl { margin-top: 1rem; padding: 1rem 1.2rem; background: var(--hl-gris); border-left: 4px solid var(--hl-rpl); font-size: .93rem; }
.hl-textos-rpl b { font-family: var(--hl-cond); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--hl-rpl); display: block; margin-bottom: .3rem; }
.hl-textos-rpl ul { margin: 0; padding-left: 1.1rem; }
.hl-textos-rpl li { padding: .15rem 0; }
.hl-equipo .n-textos { display: inline-block; margin-top: .3rem; font-family: var(--hl-cond); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: var(--hl-rpl); color: #fff; padding: .1rem .45rem; }
/* Paginación */
.wp-block-query-pagination { font-family: var(--hl-cond); text-transform: uppercase; letter-spacing: .06em; gap: .4rem; }
.wp-block-query-pagination a, .wp-block-query-pagination .current { display: inline-block; min-width: 2.4rem; padding: .5rem .8rem; text-align: center; text-decoration: none; border: 2px solid var(--hl-carbon); color: var(--hl-carbon); font-weight: 700; }
.wp-block-query-pagination .current { background: var(--hl-carbon); color: #fff; }
.wp-block-query-pagination a:hover { background: var(--hl-naranja); border-color: var(--hl-naranja); }
.wp-block-query-pagination-numbers { display: flex; gap: .4rem; }
/* Más del archivo (entradas) */
.hl-mas { border-top: 2px solid var(--hl-carbon); margin-top: 3.5rem !important; padding-top: 2rem; }
.hl-mas h2 { font-size: 1.4rem !important; }
@media (max-width: 960px) { .hl-cifras { grid-template-columns: repeat(3, 1fr); } .hl-cifras div:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.08); } }
@media (max-width: 781px) {
	.hl-cifras { grid-template-columns: repeat(2, 1fr); } .hl-cifras div:last-child { grid-column: span 2; }
	.hl-mosaicos--3, .hl-mosaicos--2 { grid-template-columns: 1fr; }
	.hl-libros { grid-template-columns: repeat(2, 1fr); }
}

/* v2.2 */
.hl-mosaico__dato { display: inline-block; background: var(--hl-naranja); color: var(--hl-carbon); padding: .15rem .5rem; text-shadow: none; }
.hl-libro__tapa--texto { background: var(--hl-carbon) url(assets/img/mapa-trazo.png) no-repeat right 8% top 38% / 46% auto; }
.hl-libros li:nth-child(3n+2) .hl-libro__tapa--texto { border-top-color: var(--hl-rpl); }
.hl-libros li:nth-child(3n) .hl-libro__tapa--texto { border-top-color: var(--hl-redsur); }
.hl-libro__tapa--texto .t { font-size: 1.45rem; text-shadow: 0 1px 8px rgba(0,0,0,.7); }
.hl-mosaicos--1 { grid-template-columns: 1fr; }
.hl-mosaicos--1 .hl-mosaico { aspect-ratio: 21/8; }
@media (max-width: 781px) { .hl-mosaicos--1 .hl-mosaico { aspect-ratio: 4/3; } }
.hl-contacto { align-items: stretch; }
.hl-contacto__correo { font-family: var(--hl-cond); font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 0; word-break: break-word; }
.hl-contacto__correo a { color: var(--hl-carbon); text-decoration-color: var(--hl-naranja); text-decoration-thickness: 3px; }
.hl-etiquetas { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; }
.hl-etiquetas li { font-family: var(--hl-cond); text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; padding: .4rem .75rem; background: var(--hl-gris); border-left: 3px solid var(--hl-rpl); }
.hl-etiquetas b { color: var(--hl-rpl); margin-left: .25rem; }
.hl-citar { margin-top: 2.5rem; padding: 1.1rem 1.3rem; background: var(--hl-gris); border-left: 4px solid var(--hl-rpl); font-size: .92rem; }
.hl-citar b { font-family: var(--hl-cond); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--hl-rpl); }
.hl-citar p { margin: .35rem 0 0; }
.hl-tarjeta, .hl-mosaico, .hl-libro__tapa, .hl-citar, .hl-textos-rpl { box-sizing: border-box; }
.hl-contacto { align-items: center; }
.hl-contacto .hl-tarjeta { height: auto; }
@media (max-width: 781px) { .hl-libro__tapa--texto { padding: .8rem; } .hl-libro__tapa--texto .t { font-size: 1.02rem; } .hl-libro__tapa--texto .a { font-size: .75rem; } .hl-libros { gap: 1.5rem 1rem; } }
.wp-block-post-content .hl-mosaicos--3 .hl-mosaico { aspect-ratio: 3/4; }
.wp-block-post-content .hl-mosaicos--3 .hl-mosaico__titulo { font-size: 1.2rem; }
.wp-block-post-content .hl-mosaicos--3 .hl-mosaico__desc { font-size: .82rem; }
.wp-block-post-content .hl-mosaicos--3 .hl-mosaico__texto { padding: 1rem; }
@media (max-width: 781px) { .wp-block-post-content .hl-mosaicos--3 .hl-mosaico { aspect-ratio: 16/9; } }
.hl-resultados .wp-block-post { border-bottom: 1px solid #E2E2E2; padding: 1.2rem 0; }
.hl-resultados .wp-block-post-excerpt { color: #6B6B6B; font-size: .95rem; margin-top: .3rem; }
.hl-resultados .wp-block-post-excerpt__more-text { display: none; }
/* v2.3 — botón a la nota original dentro de las entradas, aviso de enlace caído, búsqueda */
.hl-boton--nota { background: transparent; color: var(--hl-carbon) !important; font-size: .85rem; padding: .6rem 1.2rem; }
.hl-boton--nota::after { content: " ↗"; }
.hl-boton--nota:hover { background: var(--hl-naranja); color: var(--hl-carbon) !important; }
.hl-nota-caida { font-size: .88rem; color: var(--hl-gris-texto, #6B6B6B); font-style: italic; border-left: 3px solid #E2E2E2; padding-left: .8rem; }
.hl-resultados .type-page .wp-block-post-date { display: none; }
.hl-resultados .type-page::before { content: "Página"; display: block; font-family: var(--hl-cond); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hl-naranja-osc, #BA4F28); }
.hl-contacto__correo { font-size: clamp(1.15rem, 2.2vw, 1.5rem); word-break: normal; overflow-wrap: normal; }
