/* ==========================================================================
   EH Prensa — hoja unica
   Maqueta calcada de Newsfy/NewsPress (home-01) con la paleta de Energía Hoy.
   Nada de frameworks: grid y flex a pelo.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fichas de color y medidas
   --------------------------------------------------------------------------
   El verde es el --c-main que ya usaba el sitio (#79b32a), no el del PNG del
   logotipo (#8ABD37), que es un pelin mas claro.

   Newsfy pinta la barra de navegacion de azul vivo y las etiquetas de rojo.
   Aqui la barra va en gris casi negro: el verde de la casa sobre blanco da
   2,6:1 de contraste, que no pasa AA, asi que se reserva para acentos y no
   para fondos con texto encima.
   -------------------------------------------------------------------------- */

:root {
	--eh-verde:          #79b32a;
	--eh-verde-oscuro:   #5f8f20;
	--eh-verde-palido:   #e9ffcb;
	--eh-verde-rgb:      121, 179, 42;

	--eh-tinta:          #161616;
	--eh-texto:          #444444;
	--eh-apagado:        #8a8a8a;
	--eh-linea:          #e2e5e9;
	--eh-linea-fuerte:   #d5d8dc;

	--eh-fondo:          #ffffff;
	--eh-fondo-suave:    #f5f7f3;
	--eh-oscuro:         #16181a;
	--eh-oscuro-2:       #0c0d0e;

	--eh-ancho:          1300px;
	--eh-aire:           24px;
	--eh-radio:          10px;
	--eh-radio-chico:    5px;
	--eh-sombra:         0 6px 10px -2px rgba(37, 38, 43, .26);
	--eh-sombra-suave:   0 2px 6px -1px rgba(37, 38, 43, .14);

	--eh-fuente:         "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

	/* Titulares con la letra del logotipo.
	   El imagotipo esta trazado en una geometrica de palo seco con la "a"
	   de un solo piso, remates planos y bowls circulares: la familia de
	   Futura / Century Gothic. Jost es la equivalente libre en Google
	   Fonts, y ademas trae pesos variables (la de Century Gothic no).
	   Si algun dia se quiere volver al slab, se cambia solo esta linea. */
	--eh-fuente-titulo:  "Jost", "Century Gothic", Futura, system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--eh-fuente);
	font-size: 15px;
	line-height: 1.6;
	color: var(--eh-texto);
	background: var(--eh-fondo);
	-webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--eh-verde); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--eh-fuente-titulo);
	color: var(--eh-tinta);
	margin: 0 0 .5em;
	line-height: 1.22;
	font-weight: 600;
	/* Una geometrica con la "a" circular pide un pelin menos de espacio
	   entre letras en titulares grandes; si no, se lee aireada y floja. */
	letter-spacing: -.012em;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

/* foco visible de verdad: se navega mucho con teclado desde lectores */
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
	outline: 3px solid var(--eh-verde);
	outline-offset: 2px;
	border-radius: 2px;
}

.eh-oculto {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.eh-saltar {
	position: absolute; left: -9999px;
	background: var(--eh-tinta); color: #fff;
	padding: 10px 16px; z-index: 999;
}
.eh-saltar:focus { left: 8px; top: 8px; }

.eh-contenedor {
	width: 100%;
	max-width: var(--eh-ancho);
	margin: 0 auto;
	padding: 0 16px;
}

/* --------------------------------------------------------------------------
   3. Publicidad
   --------------------------------------------------------------------------
   El hueco reserva altura desde el primer pintado. Si no, cuando el ad
   server mete el banner la pagina pega un salto y eso es exactamente lo que
   penaliza el CLS de Core Web Vitals.
   -------------------------------------------------------------------------- */

.eh-anuncio {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}
.eh-anuncio ins { display: block; margin: 0 auto; }
.eh-anuncio--728x90  { min-height: 90px;  max-width: 728px; }
.eh-anuncio--300x250 { min-height: 250px; max-width: 300px; }
.eh-anuncio--300x600 { min-height: 600px; max-width: 300px; }
.eh-anuncio--fluido  { min-height: 90px; }

.eh-anuncio--banda {
	padding: 18px 0;
	background: var(--eh-fondo-suave);
	border-block: 1px solid var(--eh-linea);
}

@media (max-width: 767px) {
	/* en movil un 728x90 no cabe: el hueco se encoge y no reserva de mas */
	.eh-anuncio--728x90 { min-height: 50px; }
	.eh-anuncio--300x600 { min-height: 250px; }
}

/* --------------------------------------------------------------------------
   4. Cabecera
   -------------------------------------------------------------------------- */

.eh-cabecera {
	background: var(--eh-fondo);
	border-bottom: 1px solid var(--eh-linea);
}

.eh-cabecera__fila {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 28px;
	padding: 20px 0;
}

.eh-logo img { width: 250px; height: auto; }

.eh-buscador { position: relative; max-width: 420px; width: 100%; }
.eh-buscador input[type="search"] {
	width: 100%;
	font: inherit;
	padding: 11px 44px 11px 18px;
	border: 1px solid var(--eh-linea-fuerte);
	border-radius: 999px;
	background: var(--eh-fondo);
	color: var(--eh-tinta);
}
.eh-buscador input::placeholder { color: var(--eh-apagado); }
.eh-buscador button {
	position: absolute; inset-inline-end: 6px; top: 50%;
	transform: translateY(-50%);
	border: 0; background: none; cursor: pointer;
	padding: 6px; color: var(--eh-apagado);
	display: flex;
}
.eh-buscador button:hover { color: var(--eh-verde); }

/* --------------------------------------------------------------------------
   5. Barra de navegacion
   --------------------------------------------------------------------------
   AVISO: nada de `overflow: hidden` en .eh-menu.

   Lo tuvo, para que los diez epigrafes no desbordasen la barra, y eso
   recortaba los desplegables a los 56 px de alto de la barra: al pasar el
   raton salia una caja blanca vacia encima de la tira de titulares y
   parecia que el menu estaba roto. El desbordamiento se resuelve con la
   densidad de los items y pasando al boton de menu por debajo de 1024 px.
   -------------------------------------------------------------------------- */

.eh-nav {
	background: var(--eh-oscuro);
	color: #fff;
	position: relative;
	z-index: 60;
}

/* Hilo verde superior: el gesto de marca, sin ocupar sitio */
.eh-nav::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 2px;
	background: linear-gradient(90deg, var(--eh-verde), #9ede4c 55%, transparent);
}

.eh-nav__fila {
	display: flex;
	align-items: stretch;
	gap: 16px;
	min-height: 56px;
}

.eh-fecha {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-inline-end: 16px;
	border-inline-end: 1px solid rgba(255, 255, 255, .14);
	flex-shrink: 0;
}
.eh-fecha__dia {
	font-family: var(--eh-fuente-titulo);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}
.eh-fecha__resto {
	font-size: 10.5px;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: rgba(255, 255, 255, .66);
}

.eh-menu {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 0; padding: 0;
	list-style: none;
	flex: 1 1 auto;
	min-width: 0;
}

.eh-menu > li { position: relative; flex-shrink: 0; display: flex; }

.eh-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 13px;
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .005em;
	color: rgba(255, 255, 255, .84);
	white-space: nowrap;
	transition: color .16s ease;
}
.eh-menu > li > a:hover { color: #fff; }

/* Subrayado que crece desde el centro en vez de aparecer de golpe */
.eh-menu > li > a::after {
	content: "";
	position: absolute;
	left: 13px; right: 13px; bottom: 11px;
	height: 2px;
	border-radius: 2px;
	background: var(--eh-verde);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .22s cubic-bezier(.4, 0, .2, 1);
}
.eh-menu > li > a:hover::after,
.eh-menu > li:focus-within > a::after,
.eh-menu > li.current-menu-item > a::after,
.eh-menu > li.current-menu-ancestor > a::after,
.eh-menu > li.current-post-ancestor > a::after,
.eh-menu > li.current-menu-parent > a::after { transform: scaleX(1); }

.eh-menu > li.current-menu-item > a,
.eh-menu > li.current-menu-ancestor > a,
.eh-menu > li.current-post-ancestor > a { color: #fff; }

/* Punta hacia abajo en los que tienen seccion dentro */
.eh-menu > li.menu-item-has-children > a::before {
	content: "";
	width: 7px; height: 7px;
	flex-shrink: 0;
	order: 2;
	margin-inline-start: 1px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: .55;
	transition: transform .2s ease, opacity .2s ease;
}
.eh-menu > li.menu-item-has-children:hover > a::before,
.eh-menu > li.menu-item-has-children:focus-within > a::before {
	transform: translateY(0) rotate(225deg);
	opacity: 1;
}

/* ---- Desplegables ---- */

.eh-menu .sub-menu {
	position: absolute;
	top: 100%; inset-inline-start: 0;
	z-index: 70;
	min-width: 248px;
	margin: 0; padding: 10px;
	list-style: none;
	background: #fff;
	border-radius: var(--eh-radio);
	box-shadow: 0 18px 38px -12px rgba(16, 18, 20, .34), 0 2px 8px rgba(16, 18, 20, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

/* Pico que lo engancha a la barra */
.eh-menu .sub-menu::before {
	content: "";
	position: absolute;
	top: -6px; inset-inline-start: 22px;
	width: 12px; height: 12px;
	background: #fff;
	transform: rotate(45deg);
	border-radius: 2px;
}

.eh-menu > li:hover > .sub-menu,
.eh-menu > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* Puente invisible: sin esto el raton "cae" en el hueco entre la barra y el
   desplegable y este se cierra antes de llegar. */
.eh-menu > li.menu-item-has-children::after {
	content: "";
	position: absolute;
	top: 100%; inset-inline: 0;
	height: 10px;
}

.eh-menu .sub-menu li { display: block; }

.eh-menu .sub-menu a {
	display: block;
	position: relative;
	padding: 9px 12px 9px 14px;
	border-radius: var(--eh-radio-chico);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.35;
	color: #2f3134;
	transition: background-color .14s ease, color .14s ease;
}
.eh-menu .sub-menu a::before {
	content: "";
	position: absolute;
	inset-inline-start: 4px; top: 50%;
	width: 3px; height: 0;
	border-radius: 3px;
	background: var(--eh-verde);
	transform: translateY(-50%);
	transition: height .16s ease;
}
.eh-menu .sub-menu a:hover,
.eh-menu .sub-menu a:focus-visible {
	background: var(--eh-verde-palido);
	color: var(--eh-verde-oscuro);
}
.eh-menu .sub-menu a:hover::before,
.eh-menu .sub-menu a:focus-visible::before { height: 16px; }

/* A partir de cinco hijos, dos columnas: una lista de siete en fila sale
   larguisima y obliga a recorrer media pantalla con el raton. */
.eh-menu > li.menu-item-has-children > .sub-menu:has(> li:nth-child(5)) {
	display: grid;
	grid-template-columns: repeat(2, minmax(176px, 1fr));
	gap: 0 6px;
	min-width: 390px;
}

/* Los ultimos epigrafes abren hacia dentro para no salirse de la pantalla */
.eh-menu > li:nth-last-child(-n+3) > .sub-menu { inset-inline-start: auto; inset-inline-end: 0; }
.eh-menu > li:nth-last-child(-n+3) > .sub-menu::before { inset-inline-start: auto; inset-inline-end: 22px; }

.eh-nav__acciones { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.eh-nav__boton {
	display: flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff; cursor: pointer;
	transition: background-color .16s ease;
}
.eh-nav__boton:hover { background: var(--eh-verde); }
.eh-nav__boton--menu { display: none; }

/* Entre 1024 y 1200 se aprieta un poco para que quepan los diez */
@media (max-width: 1199px) {
	.eh-menu > li > a { padding: 0 9px; font-size: 12.5px; }
	.eh-menu > li > a::after { left: 9px; right: 9px; }
}

/* --------------------------------------------------------------------------
   6. Tira de titulares
   -------------------------------------------------------------------------- */

.eh-tira {
	background: var(--eh-fondo-suave);
	border-bottom: 1px solid var(--eh-linea);
	padding: 14px 0;
}
.eh-tira__lista {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.eh-tira__item { display: flex; gap: 11px; align-items: center; min-width: 0; }
.eh-tira__item img {
	width: 64px; height: 48px;
	object-fit: cover;
	border-radius: var(--eh-radio-chico);
	flex-shrink: 0;
}
.eh-tira__titulo {
	font-family: var(--eh-fuente);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--eh-tinta);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. Etiquetas y metadatos
   -------------------------------------------------------------------------- */

.eh-etiqueta {
	display: inline-block;
	padding: 3px 9px;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: .05em;
	border-radius: 3px;
	background: var(--eh-verde);
	color: #fff;
}
.eh-etiqueta--viva { background: #d93025; }
.eh-etiqueta--suave { background: var(--eh-verde-palido); color: var(--eh-verde-oscuro); }

.eh-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 12px;
	color: var(--eh-apagado);
}
.eh-meta a { color: inherit; }
.eh-meta a:hover { color: var(--eh-verde); }
.eh-meta__autor { display: flex; align-items: center; gap: 7px; }
.eh-meta__autor img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; position: static; inset: auto; }

/* Insignia de fecha apilada (en Newsfy es roja; aqui verde) */
.eh-insignia {
	flex-shrink: 0;
	width: 42px;
	padding: 6px 0;
	text-align: center;
	border-radius: var(--eh-radio-chico);
	background: var(--eh-verde);
	color: #fff;
	line-height: 1.1;
}
.eh-insignia__dia { display: block; font-size: 17px; font-weight: 700; font-family: var(--eh-fuente-titulo); }
.eh-insignia__mes { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; opacity: .9; }

/* --------------------------------------------------------------------------
   8. Titulos de seccion con el gesto de las dos barras
   -------------------------------------------------------------------------- */

.eh-titulo-seccion {
	/*
	 * Flujo normal, NO flex.
	 *
	 * Con `display:flex` y `gap:10px` cada <span class="eh-e"> de la "e"
	 * volteada se convertia en un elemento flex y el hueco de 10 px caia
	 * entre letras: "Elegido" salia como "E l e gido". Con la hoja en
	 * ::before inline-block se consigue lo mismo sin romper la palabra.
	 */
	display: block;
	margin: 0 0 16px;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}
.eh-titulo-seccion::before {
	content: "";
	display: inline-block;
	vertical-align: -.3em;
	margin-inline-end: 9px;
	width: 24px; height: 24px;
	/*
	 * La hojita del logotipo en lugar de las dos barras del modelo.
	 *
	 * El viewBox va recortado al dibujo (2.6 3.2 18.6 18.6) y no a 0 0 24 24:
	 * con la caja entera la hoja nadaba dentro y a 22 px se leia como una
	 * pluma. Asi llena el hueco y el trazo queda en ~1,9 px reales.
	 *
	 * Va como mascara y no como imagen de fondo a proposito: asi el color
	 * sale de background-color y basta cambiar esa linea para teñirla. Con
	 * un SVG de fondo habria que duplicar el dato en cada variante.
	 */
	background-color: var(--eh-verde);
	-webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='4.8 4.2 15.4 15.4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5.4 18.6 17.6 7.2'/><path d='M9.4 14.6C9.3 7.8 12.6 4.7 19.4 5.2c.1 6.8-3.2 10.1-10 9.4z'/><path d='M11.5 12.9 9.7 11M14.2 10.4 12.4 8.5'/><path d='M11.5 12.9 13.3 14.8M14.2 10.4 16 12.3'/></svg>") center / contain no-repeat;
	        mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='4.8 4.2 15.4 15.4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5.4 18.6 17.6 7.2'/><path d='M9.4 14.6C9.3 7.8 12.6 4.7 19.4 5.2c.1 6.8-3.2 10.1-10 9.4z'/><path d='M11.5 12.9 9.7 11M14.2 10.4 12.4 8.5'/><path d='M11.5 12.9 13.3 14.8M14.2 10.4 16 12.3'/></svg>") center / contain no-repeat;
}
.eh-titulo-seccion a { color: inherit; }

.eh-titulo-seccion--claro { color: #fff; }
/* Sobre fondo oscuro el verde de marca se apaga: se sube al palido. */
.eh-titulo-seccion--claro::before { background-color: #9ede4c; }

/* --------------------------------------------------------------------------
   9. Tarjetas
   -------------------------------------------------------------------------- */

.eh-tarjeta { background: var(--eh-fondo); border-radius: var(--eh-radio); overflow: hidden; }

.eh-figura { position: relative; overflow: hidden; border-radius: var(--eh-radio); background: var(--eh-fondo-suave); }
.eh-figura img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
a:hover > .eh-figura img, .eh-tarjeta:hover .eh-figura img { transform: scale(1.04); }
.eh-figura__etiqueta { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; }

/* Tarjeta grande con el texto encima de la foto */
.eh-destacada { position: relative; border-radius: var(--eh-radio); overflow: hidden; min-height: 420px; display: flex; background: #20242a; }
/* OJO: el hijo DIRECTO, no cualquier img. Si se escribe `.eh-destacada img`
   tambien cae el avatar del autor, que esta dentro del texto, y se estira a
   toda la tarjeta. Pasa, y cuesta un rato verlo. */
.eh-destacada > img,
.eh-destacada > .eh-sin-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eh-destacada::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(10,12,14,0) 32%, rgba(10,12,14,.5) 58%, rgba(10,12,14,.92) 100%);
}
.eh-destacada__texto { position: relative; z-index: 2; align-self: flex-end; padding: 28px; max-width: 640px; }
.eh-destacada__texto h2 { color: #fff; font-size: 30px; margin: 10px 0 12px; }
.eh-destacada__texto h2 a { color: #fff; }
.eh-destacada__texto h2 a:hover { color: var(--eh-verde-palido); }
.eh-destacada__texto .eh-meta { color: rgba(255, 255, 255, .8); }
.eh-destacada__texto .eh-meta a { color: rgba(255, 255, 255, .8); }
.eh-destacada__extracto { color: rgba(255, 255, 255, .82); font-size: 13.5px; margin: 10px 0 0; }

/* Lista vertical: imagen pequena a un lado */
.eh-lista { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.eh-lista__item { display: flex; gap: 12px; align-items: flex-start; }
.eh-lista__item img { width: 86px; height: 64px; object-fit: cover; border-radius: var(--eh-radio-chico); flex-shrink: 0; }
.eh-lista__titulo { font-family: var(--eh-fuente); font-size: 13.5px; font-weight: 600; line-height: 1.4; margin: 0 0 4px; color: var(--eh-tinta); }
.eh-lista__item:hover .eh-lista__titulo { color: var(--eh-verde); }

/* Tarjeta vertical clasica */
.eh-ficha__figura { aspect-ratio: 16 / 10; border-radius: var(--eh-radio); overflow: hidden; margin-bottom: 12px; position: relative; background: var(--eh-fondo-suave); }
.eh-ficha__figura img { width: 100%; height: 100%; object-fit: cover; }
.eh-ficha__titulo { font-size: 17px; margin: 8px 0; }
.eh-ficha__extracto { font-size: 13.5px; color: var(--eh-texto); margin: 0 0 8px; }

/* --------------------------------------------------------------------------
   10. Portada
   -------------------------------------------------------------------------- */

.eh-portada { padding: 26px 0 40px; }
.eh-bloque { margin-bottom: 38px; }

/* 10.1 Heroe: columna de 300 + destacada + columna superpuesta */
.eh-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; }

.eh-hero__aparte { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

.eh-elegidas {
	background: var(--eh-oscuro);
	border-radius: var(--eh-radio);
	padding: 18px;
	color: #fff;
}
.eh-elegidas .eh-lista__titulo { color: #fff; }
.eh-elegidas .eh-lista__item:hover .eh-lista__titulo { color: var(--eh-verde-palido); }
.eh-elegidas .eh-meta { color: rgba(255, 255, 255, .6); }
.eh-elegidas__figura { aspect-ratio: 16/10; border-radius: var(--eh-radio-chico); overflow: hidden; margin-bottom: 12px; }
.eh-elegidas__figura img { width: 100%; height: 100%; object-fit: cover; }
.eh-elegidas h3 { color: #fff; font-size: 16px; margin: 0 0 6px; }
.eh-elegidas h3 a:hover { color: var(--eh-verde-palido); }

.eh-otras { border: 1px solid var(--eh-linea); border-radius: var(--eh-radio); padding: 18px; }
.eh-otras .eh-lista__item { gap: 12px; }

.eh-hero__principal { position: relative; min-width: 0; }
.eh-hero__principal .eh-destacada { min-height: 470px; }

/* los tres titulares que en el original flotan a la derecha de la foto */
.eh-hero__flotante {
	position: absolute;
	top: 22px; inset-inline-end: 22px;
	z-index: 3;
	width: 240px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.eh-hero__flotante a {
	display: block;
	padding: 11px 13px;
	border-radius: var(--eh-radio-chico);
	background: rgba(12, 14, 16, .55);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}
.eh-hero__flotante a:hover { background: rgba(var(--eh-verde-rgb), .85); color: #fff; }
.eh-hero__flotante time { display: block; margin-top: 5px; font-size: 11px; font-weight: 400; opacity: .72; }

/* 10.2 Fila de categorias */
.eh-categorias__lista {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0; padding: 0;
	list-style: none;
}
.eh-categorias__item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 22px 12px;
	border: 1px solid var(--eh-linea);
	border-radius: var(--eh-radio);
	text-align: center;
	transition: border-color .18s, box-shadow .18s;
}
.eh-categorias__item a:hover { border-color: var(--eh-verde); box-shadow: var(--eh-sombra-suave); color: var(--eh-tinta); }
.eh-categorias__icono {
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border-radius: 50%;
	background: var(--eh-verde-palido);
	color: var(--eh-verde-oscuro);
}
.eh-categorias__nombre { font-weight: 600; font-size: 14px; color: var(--eh-tinta); }
.eh-categorias__cuenta { font-size: 12px; color: var(--eh-apagado); }

/* 10.3 Rejilla de tres columnas */
.eh-tres { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 26px; align-items: start; }

.eh-populares { display: flex; flex-direction: column; gap: 16px; align-self: start; position: sticky; top: 16px; }
.eh-populares .eh-destacada { min-height: 215px; }
.eh-populares .eh-destacada__texto { padding: 16px; }
.eh-populares .eh-destacada__texto h2 { font-size: 15px; margin: 8px 0 4px; font-family: var(--eh-fuente); font-weight: 700; }

.eh-centro { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.eh-pareja { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.eh-pareja .eh-destacada { min-height: 260px; }
.eh-pareja .eh-destacada__texto { padding: 18px; }
.eh-pareja .eh-destacada__texto h2 { font-size: 18px; margin: 8px 0 4px; }

/* 10.4 Bloque con pestanas */
.eh-pestanas__barra {
	display: flex;
	gap: 0;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--eh-linea);
}
.eh-pestanas__barra button {
	border: 0;
	background: none;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	color: var(--eh-apagado);
	padding: 10px 18px;
	cursor: pointer;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.eh-pestanas__barra button[aria-selected="true"] { color: var(--eh-tinta); border-bottom-color: var(--eh-verde); }
.eh-pestanas__panel[hidden] { display: none; }
.eh-pestanas__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }

.eh-numerada { margin: 0; padding: 0; list-style: none; counter-reset: eh; display: flex; flex-direction: column; gap: 14px; }
.eh-numerada li { display: flex; gap: 14px; align-items: flex-start; counter-increment: eh; }
.eh-numerada li::before {
	content: counter(eh);
	flex-shrink: 0;
	width: 26px;
	font-family: var(--eh-fuente-titulo);
	font-size: 19px;
	font-weight: 700;
	color: var(--eh-linea-fuerte);
	line-height: 1.2;
}
.eh-numerada li:hover::before { color: var(--eh-verde); }
.eh-numerada a { font-size: 13.5px; font-weight: 600; color: var(--eh-tinta); line-height: 1.4; }
.eh-numerada a:hover { color: var(--eh-verde); }

/* 10.5 Lateral */
.eh-lateral { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 16px; }
.eh-lateral__caja { border: 1px solid var(--eh-linea); border-radius: var(--eh-radio); padding: 18px; }
.eh-lateral__caja--oscura { background: var(--eh-oscuro); border-color: var(--eh-oscuro); color: #fff; }
.eh-lateral__caja--oscura .eh-lista__titulo { color: #fff; }
.eh-lateral__caja--oscura .eh-meta { color: rgba(255,255,255,.55); }
.eh-lateral__caja--oscura .eh-lista__item + .eh-lista__item { border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }

/* 10.6 Lo mas reciente (vive dentro de .eh-centro) */
.eh-recientes__lista { display: flex; flex-direction: column; gap: 22px; margin: 0; padding: 0; list-style: none; }
.eh-recientes__item { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; }
.eh-recientes__item + .eh-recientes__item { border-top: 1px solid var(--eh-linea); padding-top: 22px; }
.eh-recientes__item .eh-figura { aspect-ratio: 16/11; }
.eh-recientes__titulo { font-size: 19px; margin: 8px 0 10px; }
.eh-recientes__mas { margin: 22px 0 0; }
.eh-recientes__mas a {
	display: inline-block;
	padding: 10px 22px;
	border: 1px solid var(--eh-linea-fuerte);
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--eh-tinta);
}
.eh-recientes__mas a:hover { border-color: var(--eh-verde); background: var(--eh-verde); color: #fff; }

/* 10.7 Huecos de publicidad que el ad server deja vacios
   -----------------------------------------------------
   Reservamos altura para no mover la pagina (CLS), pero si pasados unos
   segundos la zona sigue sin creativo, el hueco se pliega. Un 300x600 vacio
   son 600 px de blanco en mitad del lateral. */
.eh-anuncio--vacio { min-height: 0 !important; height: 0; margin: 0; padding: 0; border: 0; }

/* --------------------------------------------------------------------------
   11. Nota
   -------------------------------------------------------------------------- */

.eh-nota { padding: 26px 0 44px; }
.eh-nota__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }

.eh-migas { font-size: 12.5px; color: var(--eh-apagado); margin-bottom: 14px; }
.eh-migas a:hover { color: var(--eh-verde); }

.eh-nota__titulo { font-size: 38px; line-height: 1.18; margin: 10px 0 14px; }
.eh-nota__entradilla { font-size: 17px; color: var(--eh-texto); }

.eh-nota__cabeza { border-bottom: 1px solid var(--eh-linea); padding-bottom: 16px; margin-bottom: 20px; }
.eh-nota__portada { border-radius: var(--eh-radio); overflow: hidden; margin: 0 0 22px; }
.eh-nota__portada figcaption { font-size: 12px; color: var(--eh-apagado); padding: 8px 2px 0; }

.eh-cuerpo { font-size: 16.5px; line-height: 1.75; color: #2f3134; }
.eh-cuerpo h2 { font-size: 25px; margin: 1.5em 0 .5em; }
.eh-cuerpo h3 { font-size: 20px; margin: 1.3em 0 .4em; }
.eh-cuerpo a { color: var(--eh-verde-oscuro); text-decoration: underline; text-underline-offset: 2px; }
.eh-cuerpo a:hover { color: var(--eh-tinta); }
.eh-cuerpo img { border-radius: var(--eh-radio); margin: 1.2em auto; }
.eh-cuerpo figure { margin: 1.4em 0; }
.eh-cuerpo figcaption { font-size: 12.5px; color: var(--eh-apagado); text-align: center; margin-top: 6px; }
.eh-cuerpo blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 20px;
	border-inline-start: 3px solid var(--eh-verde);
	font-family: var(--eh-fuente-titulo);
	font-size: 20px;
	color: var(--eh-tinta);
}
.eh-cuerpo ul, .eh-cuerpo ol { padding-inline-start: 1.4em; }
.eh-cuerpo li { margin-bottom: .5em; }
.eh-cuerpo h6 { font-family: var(--eh-fuente); font-size: 12.5px; font-weight: 400; color: var(--eh-apagado); border-top: 1px solid var(--eh-linea); padding-top: 12px; margin-top: 2em; }

.eh-firma { display: flex; gap: 14px; align-items: flex-start; margin: 32px 0; padding: 18px; background: var(--eh-fondo-suave); border-radius: var(--eh-radio); }
.eh-firma img { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.eh-firma h3 { font-size: 16px; margin: 0 0 4px; }
.eh-firma p { font-size: 13.5px; margin: 0; }

.eh-compartir { display: flex; gap: 8px; align-items: center; margin: 24px 0; flex-wrap: wrap; }
.eh-compartir a {
	display: flex; align-items: center; justify-content: center;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: var(--eh-fondo-suave);
	color: var(--eh-tinta);
}
.eh-compartir a:hover { background: var(--eh-verde); color: #fff; }

.eh-relacionadas { margin-top: 40px; }
.eh-relacionadas__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }

/* --------------------------------------------------------------------------
   12. Archivos y buscador
   -------------------------------------------------------------------------- */

.eh-archivo { padding: 26px 0 44px; }
.eh-archivo__cabeza { margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--eh-linea); }
.eh-archivo__cabeza h1 { font-size: 32px; margin: 0 0 6px; }
.eh-archivo__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.eh-rejilla-fichas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/*
 * Paginacion.
 *
 * Dos cosas que WordPress hace y hay que atender:
 *
 *  1. `get_the_posts_pagination()` mete un <h2 class="screen-reader-text">
 *     con el texto "Paginacion de entradas". Si el tema no define esa clase
 *     —y este no la definia— el titulo SALE A LA VISTA en mitad de la
 *     pagina. Esta mas abajo, en el bloque de accesibilidad.
 *  2. Los numeros no cuelgan del <nav>, sino de un <div class="nav-links">
 *     intermedio. Poner el flex en el <nav> no los alinea: se quedaban uno
 *     debajo de otro porque cada enlace era un grid de bloque.
 */

.eh-paginacion { margin-top: 36px; }

.eh-paginacion .nav-links,
.eh-paginacion > .page-numbers:first-child {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
}

.eh-paginacion .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px; height: 42px;
	padding: 0 13px;
	border: 1px solid var(--eh-linea-fuerte);
	border-radius: 999px;
	font-family: var(--eh-fuente);
	font-size: 14px;
	font-weight: 600;
	color: var(--eh-tinta);
	background: var(--eh-fondo);
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.eh-paginacion a.page-numbers:hover {
	border-color: var(--eh-verde);
	background: var(--eh-verde-palido);
	color: var(--eh-verde-oscuro);
}
.eh-paginacion .page-numbers.current {
	background: var(--eh-verde);
	border-color: var(--eh-verde);
	color: #fff;
	cursor: default;
}
/* Los puntos suspensivos no son un boton: que no lo parezcan */
.eh-paginacion .page-numbers.dots {
	border-color: transparent;
	background: none;
	min-width: 26px;
	padding: 0 2px;
	color: var(--eh-apagado);
	letter-spacing: .08em;
}
/* Anterior y Siguiente llevan texto, no caben en un circulo */
.eh-paginacion .prev,
.eh-paginacion .next { padding: 0 20px; gap: 7px; }
.eh-paginacion .prev::before,
.eh-paginacion .next::after {
	content: "";
	width: 7px; height: 7px;
	border-top: 1.7px solid currentColor;
	border-right: 1.7px solid currentColor;
}
.eh-paginacion .prev::before { transform: rotate(-135deg); }
.eh-paginacion .next::after  { transform: rotate(45deg); }

/* La paginacion dentro de una nota partida en paginas (wp_link_pages) */
.eh-cuerpo .eh-paginacion { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.eh-cuerpo .eh-paginacion > a,
.eh-cuerpo .eh-paginacion > span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 13px;
	border: 1px solid var(--eh-linea-fuerte); border-radius: 999px;
	font-size: 14px; font-weight: 600; text-decoration: none;
	color: var(--eh-tinta);
}
.eh-cuerpo .eh-paginacion > span { background: var(--eh-verde); border-color: var(--eh-verde); color: #fff; }
.eh-cuerpo .eh-paginacion > a:hover { border-color: var(--eh-verde); background: var(--eh-verde-palido); color: var(--eh-verde-oscuro); }

@media (max-width: 575px) {
	.eh-paginacion .page-numbers { min-width: 38px; height: 38px; padding: 0 10px; font-size: 13.5px; }
	.eh-paginacion .prev, .eh-paginacion .next { padding: 0 14px; }
}

.eh-vacio { padding: 50px 0; text-align: center; color: var(--eh-apagado); }

/* --------------------------------------------------------------------------
   13. Pie
   -------------------------------------------------------------------------- */

.eh-pie { background: var(--eh-oscuro); color: rgba(255, 255, 255, .72); margin-top: 40px; }
.eh-pie__arriba { padding: 46px 0 34px; }
.eh-pie__rejilla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.eh-pie h2, .eh-pie h3 { color: #fff; font-size: 16px; margin: 0 0 14px; }
.eh-pie a { color: rgba(255, 255, 255, .72); }
.eh-pie a:hover { color: var(--eh-verde); }
.eh-pie ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.eh-pie__logo img { width: 230px; margin-bottom: 14px; }
.eh-pie__abajo {
	background: var(--eh-oscuro-2);
	padding: 16px 0;
	font-size: 13px;
}
.eh-pie__abajo .eh-contenedor { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.eh-redes { display: flex; gap: 9px; }
.eh-redes a {
	display: grid; place-items: center;
	width: 36px; height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
}
.eh-redes a:hover { background: var(--eh-verde); }

/* --------------------------------------------------------------------------
   14. Subir
   -------------------------------------------------------------------------- */

.eh-subir {
	position: fixed;
	inset-inline-end: 18px; bottom: 18px;
	width: 44px; height: 44px;
	display: grid; place-items: center;
	border: 0; border-radius: 50%;
	background: var(--eh-verde);
	color: #fff;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, visibility .2s;
	z-index: 50;
	box-shadow: var(--eh-sombra);
}
.eh-subir.se-ve { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   15. Adaptable
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
	.eh-tres { grid-template-columns: minmax(0, 1fr) 280px; }
	.eh-populares { display: none; }
	.eh-hero { grid-template-columns: 260px minmax(0, 1fr); }
	.eh-hero__flotante { display: none; }
}

@media (max-width: 991px) {
	/* El 728x90 de cabecera NO se esconde en movil: se baja a su propia fila.
	   Es inventario vendido; ocultarlo seria quitarle dinero al cliente.
	   El ad server ya devuelve el creativo que toque para el ancho. */
	.eh-cabecera__fila { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; }
	.eh-cabecera__anuncio { grid-column: 1 / -1; }
	.eh-tira__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eh-categorias__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.eh-tres, .eh-hero, .eh-nota__rejilla, .eh-archivo__rejilla { grid-template-columns: minmax(0, 1fr); }
	.eh-lateral { position: static; }
	.eh-rejilla-fichas, .eh-relacionadas__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eh-pestanas__panel { grid-template-columns: minmax(0, 1fr); }
	.eh-pie__rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Por debajo de 1024 el menu pasa al boton: diez epigrafes con submenus no
   caben en una barra sin apretarlos hasta hacerlos ilegibles. */
@media (max-width: 1023px) {
	.eh-nav__fila { min-height: 52px; }
	.eh-menu {
		display: none;
		position: absolute;
		top: 100%; inset-inline: 0;
		flex-direction: column;
		align-items: stretch;
		background: var(--eh-oscuro);
		padding: 8px 0 12px;
		max-height: 74vh;
		overflow-y: auto;
		box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6);
	}
	.eh-menu.esta-abierto { display: flex; }
	.eh-menu > li { display: block; }
	.eh-menu > li > a { padding: 12px 18px; font-size: 14.5px; }
	.eh-menu > li > a::after { display: none; }
	.eh-menu > li > a:hover,
	.eh-menu > li.current-menu-item > a,
	.eh-menu > li.current-menu-ancestor > a { box-shadow: inset 3px 0 0 var(--eh-verde); color: #fff; }
	.eh-menu > li.menu-item-has-children > a::before { margin-inline-start: auto; opacity: .7; }
	.eh-menu > li.menu-item-has-children::after { display: none; }

	.eh-menu .sub-menu,
	.eh-menu > li.menu-item-has-children > .sub-menu:has(> li:nth-child(5)) {
		position: static;
		display: block;
		opacity: 1; visibility: visible; transform: none;
		min-width: 0;
		padding: 2px 0 6px;
		background: rgba(255, 255, 255, .05);
		border-radius: 0;
		box-shadow: none;
	}
	.eh-menu .sub-menu::before { display: none; }
	.eh-menu .sub-menu a { color: rgba(255, 255, 255, .78); padding: 9px 18px 9px 34px; border-radius: 0; }
	.eh-menu .sub-menu a::before { inset-inline-start: 20px; }
	.eh-menu .sub-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
	.eh-nav__boton--menu { display: flex; margin-inline-start: auto; }

}

@media (max-width: 767px) {
	.eh-logo img { width: 190px; }
	.eh-buscador { display: none; }
	.eh-cabecera__fila { grid-template-columns: minmax(0, 1fr); justify-items: center; }
	.eh-cabecera__anuncio { grid-column: auto; }
	.eh-tira__lista { grid-template-columns: minmax(0, 1fr); }
	.eh-categorias__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.eh-pareja { grid-template-columns: minmax(0, 1fr); }
	.eh-rejilla-fichas, .eh-relacionadas__lista { grid-template-columns: minmax(0, 1fr); }
	.eh-recientes__item { grid-template-columns: minmax(0, 1fr); }
	.eh-pie__rejilla { grid-template-columns: minmax(0, 1fr); }
	.eh-nota__titulo { font-size: 27px; }
	.eh-destacada__texto h2 { font-size: 21px; }
	.eh-hero__principal .eh-destacada, .eh-destacada { min-height: 300px; }
	.eh-cuerpo { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.eh-figura img { transition: none; }
}

/* --------------------------------------------------------------------------
   16. Hueco cuando la nota no tiene portada
   --------------------------------------------------------------------------
   Hay miles de notas de 2018-2020 sin imagen destacada. Un bloque gris con
   el gesto de la marca queda mejor que un icono de imagen rota, y sobre
   todo mantiene la rejilla cuadrada.
   -------------------------------------------------------------------------- */

.eh-sin-foto {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 64px;
	background:
		linear-gradient(135deg, rgba(var(--eh-verde-rgb), .10), rgba(var(--eh-verde-rgb), .02)),
		var(--eh-fondo-suave);
	position: relative;
}
.eh-sin-foto::after {
	content: "";
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	width: 34px; height: 34px;
	background-color: rgba(var(--eh-verde-rgb), .42);
	-webkit-mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='4.8 4.2 15.4 15.4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5.4 18.6 17.6 7.2'/><path d='M9.4 14.6C9.3 7.8 12.6 4.7 19.4 5.2c.1 6.8-3.2 10.1-10 9.4z'/><path d='M11.5 12.9 9.7 11M14.2 10.4 12.4 8.5'/><path d='M11.5 12.9 13.3 14.8M14.2 10.4 16 12.3'/></svg>") center / contain no-repeat;
	        mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='4.8 4.2 15.4 15.4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5.4 18.6 17.6 7.2'/><path d='M9.4 14.6C9.3 7.8 12.6 4.7 19.4 5.2c.1 6.8-3.2 10.1-10 9.4z'/><path d='M11.5 12.9 9.7 11M14.2 10.4 12.4 8.5'/><path d='M11.5 12.9 13.3 14.8M14.2 10.4 16 12.3'/></svg>") center / contain no-repeat;
}
.eh-lista__item .eh-sin-foto { width: 86px; height: 64px; border-radius: var(--eh-radio-chico); flex-shrink: 0; }
.eh-tira__item .eh-sin-foto  { width: 64px; height: 48px; border-radius: var(--eh-radio-chico); flex-shrink: 0; }
.eh-destacada .eh-sin-foto   { position: absolute; inset: 0; }

/* --------------------------------------------------------------------------
   17. Widgets heredados
   --------------------------------------------------------------------------
   El sitio ya tiene widgets configurados; que no se vean rotos al cambiar
   de tema.
   -------------------------------------------------------------------------- */

.eh-lateral__caja ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.eh-lateral__caja ul ul { margin-top: 10px; padding-inline-start: 14px; }
.eh-lateral__caja img { border-radius: var(--eh-radio-chico); }
.eh-lateral__caja select, .eh-lateral__caja input[type="text"], .eh-lateral__caja input[type="email"] {
	width: 100%; font: inherit; padding: 9px 12px;
	border: 1px solid var(--eh-linea-fuerte); border-radius: var(--eh-radio-chico);
}
.eh-lateral__caja .custom-html-widget video { border-radius: var(--eh-radio-chico); }

/* Tablas dentro del cuerpo de la nota */
.eh-cuerpo table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 14.5px; }
.eh-cuerpo th, .eh-cuerpo td { border: 1px solid var(--eh-linea); padding: 9px 12px; text-align: start; }
.eh-cuerpo th { background: var(--eh-fondo-suave); font-weight: 700; color: var(--eh-tinta); }
.eh-cuerpo .wp-caption { max-width: 100%; }
.eh-cuerpo iframe { max-width: 100%; border-radius: var(--eh-radio); }
.eh-cuerpo .alignleft  { float: left;  margin: .4em 1.4em 1em 0; }
.eh-cuerpo .alignright { float: right; margin: .4em 0 1em 1.4em; }
.eh-cuerpo .aligncenter { margin-inline: auto; }
.eh-cuerpo::after { content: ""; display: table; clear: both; }

@media (max-width: 575px) {
	.eh-cuerpo .alignleft, .eh-cuerpo .alignright { float: none; margin: 1.2em auto; }
}

/* --------------------------------------------------------------------------
   18. El "Más" del menú
   --------------------------------------------------------------------------
   Lo crea assets/js/tema.js cuando los epígrafes no caben en la barra. En un
   navegador sin JS no aparece nunca y no se pierde nada: lo que no quepa se
   alcanza igual desde el pie y desde las secciones.
   -------------------------------------------------------------------------- */

.eh-menu__mas > a { cursor: pointer; }
.eh-menu__mas > .sub-menu { min-width: 210px; }
.eh-menu__mas[hidden] { display: none; }

/* Dentro del "Más" los que traen seccion propia se marcan con la hoja */
.eh-menu__mas > .sub-menu > li.menu-item-has-children > a { font-weight: 600; }

/* Si en el "Más" cae un epígrafe que tiene subsecciones, se despliegan ahí
   mismo en vez de quedar escondidas en un tercer nivel que nadie alcanza. */
.eh-menu__mas > .sub-menu .sub-menu {
	position: static;
	display: block;
	opacity: 1;
	visibility: visible;
	transform: none;
	min-width: 0;
	margin: 0 0 4px;
	padding: 0 0 0 12px;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	border-inline-start: 1px solid var(--eh-linea);
}
.eh-menu__mas > .sub-menu .sub-menu::before { display: none; }
.eh-menu__mas > .sub-menu .sub-menu a { font-size: 12.5px; font-weight: 400; padding: 6px 10px 6px 12px; color: #5c6066; }
.eh-menu__mas > .sub-menu > li + li { margin-top: 2px; }

/* --------------------------------------------------------------------------
   19. La "e" volteada
   --------------------------------------------------------------------------
   Gesto del logotipo llevado a los titulares grandes. El inline-block es
   imprescindible: sin el, transform no hace nada sobre un elemento en linea.

   Solo en tamanos de display. En una lista de titulares pequenos o en un
   parrafo esto se lee mal, y un periodico se lee.
   -------------------------------------------------------------------------- */

.eh-e {
	display: inline-block;
	transform: scaleX(-1);
	/* La "e" de Jost no es simetrica: al reflejarla, el hueco optico cambia
	   de lado. Esta correccion la devuelve a su sitio dentro de la palabra. */
	margin-inline: -.004em .012em;
}

/* Si alguien navega con "reducir movimiento" no cambia nada: no es una
   animacion, es la forma de la letra. Se deja tal cual a proposito. */

@media (max-width: 575px) {
	/* En movil los titulares bajan a ~21 px: el gesto se mantiene porque
	   siguen siendo el elemento mas grande de la pantalla. */
	.eh-e { margin-inline: 0; }
}

/* --------------------------------------------------------------------------
   20. Clases que WordPress emite y el tema tiene que definir
   --------------------------------------------------------------------------
   `screen-reader-text` la ponen el nucleo y muchos plugins para texto que
   solo deben oir los lectores de pantalla. Si el tema no la define, ese
   texto SE VE: por eso salia "Paginación de entradas" encima de los
   numeros. Es la receta oficial de WordPress, no se improvisa.
   -------------------------------------------------------------------------- */

.screen-reader-text,
.says,
.sr-only {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* ...salvo cuando recibe el foco: ahi tiene que verse, o quien navega con
   teclado no sabe donde esta. */
.screen-reader-text:focus {
	background-color: #fff;
	clip-path: none;
	color: var(--eh-tinta);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 14px 20px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
	box-shadow: var(--eh-sombra);
	border-radius: var(--eh-radio-chico);
}
