/**
 * Hiru Hamabi — plantillas de noticias (home.php, page-noticias-todas.php, single.php).
 * EXCEPCIÓN aprobada por Sergio (02/11/2026): las plantillas que listan un CPT/entradas llevan su CSS en el tema hijo.
 * GENERADO por Analisis/_engine/wp/gennoticias.py desde maqueta/comun.css: no editar a mano.
 */
body .hh-noticias{--color-base:var(--e-global-color-primary);--color-base-suave:var(--e-global-color-morsuave);--color-oscuro:var(--e-global-color-primary);
  --amarillo:var(--e-global-color-secondary);--marino:var(--e-global-color-hiruoscu);--tinta:var(--e-global-color-accent);--texto:var(--e-global-color-text);--cab-tx2:var(--e-global-color-hirutext);
  font-family:'Atkinson Hyperlegible',system-ui,sans-serif;font-size:18px;line-height:1.6;color:var(--tinta)}
body .hh-noticias :where(h1,h2,h3,p,ul,ol,li,figure,form,nav,article){margin:0;padding:0}
body .hh-noticias :where(h1,h2,h3){font-family:'Poppins',system-ui,sans-serif;font-weight:700;color:var(--tinta)}
body .hh-noticias img{max-width:100%;height:auto}
body .hh-noticias .envoltura{max-width:1240px;margin-inline:auto;padding-inline:24px}
body .hh-noticias .titulo-seccion{font-family:'Poppins',system-ui,sans-serif;font-weight:700;color:var(--tinta);
  font-size:clamp(26px,3vw,40px);line-height:1.18;margin:10px 0 18px;text-wrap:balance}
body .hh-noticias .centrado{text-align:center}
body .hh-noticias .centrado .intro{margin-inline:auto}
body .hh-noticias .btn{display:inline-block;border:0;cursor:pointer;font:700 16px 'Poppins',system-ui,sans-serif;border-radius:999px;
  padding:14px 26px;background:var(--marino);color:#fff;text-decoration:none;transition:transform .18s ease,background .18s ease}
body .hh-noticias .btn:hover{transform:translateY(-2px);background:#082f4a}
body .hh-noticias .btn.borde{background:transparent;color:var(--marino);box-shadow:inset 0 0 0 2px var(--marino)}
body .hh-noticias .btn.borde:hover{background:var(--marino);color:#fff}
body .hh-noticias .enlace-flecha{font-family:'Poppins',system-ui,sans-serif;font-weight:700;font-size:16px;color:var(--color-base);text-decoration:none}
body .hh-noticias .enlace-flecha::after{content:" →"}
body .hh-noticias .enlace-flecha:hover{text-decoration:underline}
body .hh-noticias .seccion{padding:96px 0}
body .hh-noticias .seccion.suave{background:var(--color-base-suave);transition:background-color .45s ease}
body .hh-noticias .seccion.gris{background:#f9f9f9}
@media (max-width:980px){
body .hh-noticias .seccion{padding:64px 0}
body .hh-noticias .envoltura{padding-inline:20px}
}
body .hh-noticias .rejilla-3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:44px}
body .hh-noticias .rejilla-2{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;margin-top:44px}
body .hh-noticias .tarjeta{background:#fff;border-radius:24px;padding:34px 30px;display:flex;flex-direction:column;gap:12px;
  box-shadow:0 1px 0 rgba(16,50,63,.06), 0 12px 30px rgba(16,50,63,.06)}
body .hh-noticias .seccion:not(.suave) .tarjeta{background:var(--color-base-suave)}
body .hh-noticias .tarjeta h3{font-family:'Poppins',system-ui,sans-serif;font-weight:700;font-size:22px;line-height:1.25;color:var(--tinta)}
body .hh-noticias .tarjeta p{color:var(--texto);font-size:17px}
body .hh-noticias .tarjeta .enlace-flecha{margin-top:auto;padding-top:8px}
@media (max-width:980px){
body .hh-noticias .rejilla-3,body .hh-noticias .rejilla-2{grid-template-columns:1fr;gap:20px;margin-top:32px}
}
body .hh-noticias .prosa{max-width:72ch}
body .hh-noticias .prosa p{color:var(--texto);margin-bottom:18px}
body .hh-noticias .prosa h2{font-family:'Poppins',system-ui,sans-serif;font-weight:700;font-size:clamp(24px,2.4vw,30px);line-height:1.2;margin:44px 0 16px;color:var(--tinta)}
body .hh-noticias .prosa h3{font-family:'Poppins',system-ui,sans-serif;font-weight:700;font-size:21px;margin:32px 0 12px;color:var(--tinta)}
body .hh-noticias .prosa ul{margin:0 0 18px 0;list-style:none;display:grid;gap:10px}
body .hh-noticias .prosa li{display:flex;gap:14px;color:var(--texto)}
body .hh-noticias .prosa li::before{content:"";flex:none;width:12px;height:12px;margin-top:9px;border-radius:50%;background:var(--amarillo);box-shadow:0 0 0 4px rgba(255,199,44,.25)}
body .hh-noticias .prosa strong{color:var(--tinta)}
body .hh-noticias .indice .btn{padding:10px 18px;font-size:15px}
body .hh-noticias .video{max-width:880px;margin:36px auto 0;aspect-ratio:16/9;border-radius:24px;overflow:hidden;background:#000}
body .hh-noticias .video iframe{width:100%;height:100%;border:0;display:block}
body .hh-noticias .tarjeta > .enlace-flecha + .enlace-flecha{margin-top:0;padding-top:0}
body .hh-noticias .noticia{padding:0;overflow:hidden}
body .hh-noticias .noticia .foto{aspect-ratio:16/10;background:var(--color-base-suave);overflow:hidden}
body .hh-noticias .noticia .foto img{width:100%;height:100%;object-fit:cover;display:block}
body .hh-noticias .noticia .foto.sin-foto{display:grid;place-items:center;font:700 54px 'Fredoka',sans-serif;color:var(--color-base)}
body .hh-noticias .noticia .cuerpo{padding:24px 26px 28px;display:flex;flex-direction:column;gap:10px;flex:1}
body .hh-noticias .noticia time{font-size:14px;color:#5b7380}
body .hh-noticias .noticia h3{font-size:20px}
body .hh-noticias .visualmente-oculto{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body .hh-noticias .etiqueta{display:inline-block;font:700 12px 'Poppins',system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;
  background:var(--color-base);color:#fff;border-radius:999px;padding:4px 10px;margin-right:8px;transition:background-color .45s ease}
body .hh-noticias .enlace-flecha.claro{color:#8DC63F}
body .hh-noticias .destacada .foto{display:block;border-radius:28px;overflow:hidden;aspect-ratio:16/10}
body .hh-noticias .destacada .foto img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
body .hh-noticias .destacada .foto:hover img{transform:scale(1.03)}
body .hh-noticias .meta{font-size:14px;color:#5b7380}
body .hh-noticias .barra-filtros{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}
body .hh-noticias .filtros{display:flex;flex-wrap:wrap;gap:10px}
body .hh-noticias .filtro{font:700 15px 'Poppins',system-ui,sans-serif;border:2px solid var(--marino);background:transparent;color:var(--marino);
  border-radius:999px;padding:9px 18px;cursor:pointer}
body .hh-noticias .filtro[aria-pressed="true"]{background:var(--marino);color:#fff}
body .hh-noticias .anio{font-weight:700;font-size:16px}
body .hh-noticias .anio select{font:inherit;font-weight:400;padding:8px 12px;border-radius:12px;border:2px solid #c9dbe5;margin-left:6px;background:#fff}
body .hh-noticias .lista-noticias .noticia[hidden]{display:none}
body .hh-noticias .noticia h3 a{color:var(--tinta);text-decoration:none}
body .hh-noticias .noticia h3 a:hover{text-decoration:underline}
body .hh-noticias .noticia .cuerpo>p:last-child{font-size:16px;color:var(--texto)}
body .hh-noticias .noticia .foto.sin-foto{font-size:44px}
body .hh-noticias .sin-resultados{text-align:center;margin-top:32px;color:#5b7380}
body .hh-noticias .mas-noticias{margin-top:40px}
body .hh-noticias .mas-noticias[hidden]{display:none}
body .hh-noticias .meta-cab{color:var(--cab-tx2);font-size:15px;margin-top:14px}
body .hh-noticias .meta-cab .etiqueta{background:var(--marino)}
body .hh-noticias .envoltura.estrecha{max-width:900px}
body .hh-noticias .entrada{padding-top:40px}
body .hh-noticias .foto-entrada{margin:0 0 40px}
body .hh-noticias .foto-entrada img{width:100%;border-radius:28px;display:block;max-height:560px;object-fit:cover}
body .hh-noticias .contenido-entrada{max-width:none}
body .hh-noticias .contenido-entrada img{border-radius:18px;margin:12px 0;display:block}
body .hh-noticias .contenido-entrada figure{margin:28px 0}
body .hh-noticias .contenido-entrada figcaption{font-size:15px;color:#5b7380;margin-top:6px}
body .hh-noticias .contenido-entrada a{word-break:break-word}
body .hh-noticias .contenido-entrada .video{margin:28px 0}
body .hh-noticias .compartir{margin-top:44px;padding-top:24px;border-top:1px solid #dde8ee;font-weight:700;display:flex;gap:16px;flex-wrap:wrap}
body .hh-noticias .entre-entradas{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:32px}
body .hh-noticias .entre-entradas a{display:block;padding:20px 22px;border-radius:18px;background:var(--color-base-suave);text-decoration:none;color:var(--tinta);font-weight:700;font-size:16px}
body .hh-noticias .entre-entradas .siguiente-e{text-align:right}
body .hh-noticias .entre-entradas span{display:block;font-size:13px;color:var(--color-base);text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
@media (max-width:980px){
body .hh-noticias .entre-entradas{grid-template-columns:1fr}
body .hh-noticias .entre-entradas .siguiente-e{text-align:left}
}
body .hh-noticias .titular a.btn{background:var(--color-oscuro);transition:transform .18s ease,background-color .45s ease,filter .18s ease}
body .hh-noticias .titular a.btn:hover{background:var(--color-oscuro);filter:brightness(.88)}
body .hh-noticias .btn:not(.amarillo):not(.borde){background:var(--color-oscuro);transition:transform .18s ease,background-color .45s ease,filter .18s ease}
body .hh-noticias .btn:not(.amarillo):not(.borde):hover{background:var(--color-oscuro);filter:brightness(.88)}
body .hh-noticias .btn.mini{padding:9px 16px;font-size:14px}
body .hh-noticias .noticias-destacadas{padding-top:56px}
body .hh-noticias .nota-grande .foto{display:block;border-radius:32px;overflow:hidden;aspect-ratio:16/10;background:var(--color-base-suave)}
body .hh-noticias .nota-grande .foto img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
body .hh-noticias .nota-grande .foto:hover img{transform:scale(1.04)}
body .hh-noticias .nota-grande .foto.sin-foto{display:grid;place-items:center;font:700 64px 'Fredoka',sans-serif;color:var(--color-base);text-decoration:none}
body .hh-noticias .fecha{display:block;font:700 13px 'Poppins',system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#6b8290;margin-top:22px}
body .hh-noticias .nota-grande h2{font:600 clamp(24px,2.3vw,32px)/1.2 'Fredoka',sans-serif;margin:12px 0 12px}
body .hh-noticias .nota-grande h2 a{color:var(--tinta);text-decoration:none}
body .hh-noticias .nota-grande h2 a:hover{color:var(--color-base)}
body .hh-noticias .nota-grande .resumen{color:var(--texto);font-size:17px}
body .hh-noticias .pie-nota{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}
body .hh-noticias .comparte{display:flex;align-items:center;gap:8px;font:700 12px 'Poppins',system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#9aabb5}
body .hh-noticias .comparte a{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--color-base-suave);color:var(--color-base);
  text-decoration:none;font-size:14px;text-transform:none;letter-spacing:0}
body .hh-noticias .comparte a:hover{background:var(--color-base);color:#fff}
body .hh-noticias .cabeza-carrusel{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}
body .hh-noticias .cabeza-carrusel .titulo-seccion{margin:0}
body .hh-noticias .flechas{display:flex;gap:10px}
body .hh-noticias .flecha{width:52px;height:52px;border-radius:50%;border:2px solid var(--color-oscuro);background:#fff;color:var(--color-oscuro);
  font-size:20px;cursor:pointer;transition:background-color .2s,color .2s}
body .hh-noticias .flecha:hover{background:var(--color-oscuro);color:#fff}
body .hh-noticias .carrusel-notas{list-style:none;display:flex;gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  padding:4px max(24px,calc((100% - 1240px) / 2 + 24px)) 12px;scroll-padding-inline:max(24px,calc((100% - 1240px) / 2 + 24px))}
body .hh-noticias .carrusel-notas::-webkit-scrollbar{display:none}
body .hh-noticias .nota-mini{flex:none;width:clamp(240px,21vw,290px);scroll-snap-align:start}
body .hh-noticias .nota-mini a{display:block;text-decoration:none;color:var(--tinta)}
body .hh-noticias .nota-mini .foto{display:block;aspect-ratio:4/5;border-radius:28px;overflow:hidden;background:#fff}
body .hh-noticias .nota-mini img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
body .hh-noticias .nota-mini a:hover img{transform:scale(1.05)}
body .hh-noticias .nota-mini .sin-foto{height:100%;display:grid;place-items:center;font:700 54px 'Fredoka',sans-serif;color:var(--color-base)}
body .hh-noticias .nota-mini .titulo{display:block;font:600 21px/1.25 'Fredoka',sans-serif;margin-top:8px}
body .hh-noticias .nota-mini a:hover .titulo{color:var(--color-base)}
@media (max-width:980px){
body .hh-noticias .nota-mini{width:72vw}
body .hh-noticias .flechas{display:none}
}
body .hh-noticias .busca-y-anio{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
body .hh-noticias .buscador{display:flex;align-items:center;position:relative}
body .hh-noticias .buscador input{font:inherit;font-size:16px;width:min(280px,70vw);padding:11px 18px;border-radius:999px;border:2px solid #c9dbe5;background:#fff;color:var(--tinta)}
body .hh-noticias .buscador input:focus{outline:none;border-color:var(--color-base)}
body .hh-noticias .buscador button{position:absolute;right:6px;width:36px;height:36px;border:0;border-radius:50%;background:var(--color-oscuro);cursor:pointer;font-size:15px}
body .hh-noticias .buscador:has(button) input{padding-right:48px}
body .hh-noticias .cabeza-carrusel{flex-wrap:wrap}
body .hh-noticias .cabeza-carrusel .buscador{margin-left:auto}
body .hh-noticias .prosa a:not(.btn),body .hh-noticias .enlace-flecha{color:#9A6F00}
body .hh-noticias .seccion.suave{background:#F4F2EE}
body .hh-noticias .tarjeta{box-shadow:0 1px 0 rgba(50,50,50,.06),0 12px 30px rgba(50,50,50,.06)}
body .hh-noticias .fecha,body .hh-noticias .meta{color:#7A746B}
body .hh-noticias .prosa a:not(.btn),body .hh-noticias .enlace-flecha{color:#45307F}
body .hh-noticias .seccion.suave{background:#F5F2F8}
body .hh-noticias .fecha,body .hh-noticias .meta{color:#6E6680}
body .hh-noticias .tarjeta{box-shadow:0 1px 0 rgba(69,48,127,.06),0 12px 30px rgba(69,48,127,.07)}
body .hh-noticias .buscador input:focus-visible{outline:3px solid #2A1D4D !important;outline-offset:2px}
/* la noticia individual va a todo el ancho: Hello Elementor limita <main> a 1140 px en las entradas */
html body.single-post main.site-main{max-width:none;width:100%;padding-inline:0}
body .hh-noticias .hh-cab-entrada{position:relative;overflow:hidden;padding:104px 0 100px;
  background:linear-gradient(120deg,var(--e-global-color-hirusuav) 0%,var(--e-global-color-lila) 100%)}
body .hh-noticias .hh-escenario-entrada{position:relative;z-index:2;max-width:900px;margin-inline:auto;padding:40px 24px 10px}
body .hh-noticias .hh-escenario-entrada h1{font:700 clamp(30px,3.6vw,48px)/1.12 'Fredoka',sans-serif;color:var(--e-global-color-tithero);margin-top:14px}
body .hh-noticias .hh-ola{position:absolute;left:0;bottom:-1px;width:100%;height:90px;max-width:none;z-index:4;display:block}
@media (max-width:980px){ body .hh-noticias .hh-cab-entrada{padding-top:64px} body .hh-noticias .hh-escenario-entrada{padding-inline:20px} }
/* accesibilidad (auditoría 02/11/2026): fechas y «Comparte» con contraste ≥ 4,5:1 (gris de Site Settings) */
body .hh-noticias .noticia time,body .hh-noticias .comparte{color:var(--e-global-color-grisfech)}
/* el kit de Elementor da relleno a todos los <button> */
body .hh-noticias .buscador button{padding:0;line-height:1;color:#fff}
/* el kit estiliza input/select/label: se devuelven los valores de la maqueta */
body .hh-noticias .buscador input[type=search]{background:#fff;border:2px solid #c9dbe5;border-radius:999px;padding:11px 18px;font-size:16px;color:var(--tinta)}
body .hh-noticias .buscador:has(button) input[type=search]{padding-right:48px}
body .hh-noticias label.anio{display:inline-block;margin:0;font-weight:700;font-size:16px;color:var(--tinta)}
body .hh-noticias .anio select{width:auto;display:inline-block}
