/* Laterna Light · H1 unificado para cuando se active este tema.
   Permite que los modulos reutilicen sus otros estilos, pero no su fuente H1. */
body:not(.wp-admin) main[id][class][tabindex] h1 {
/* Laterna H1 unificado · Referencia visual: sede A Coruña V3.13
   Solo H1 del contenido. No modifica H2/H3, cabeceras, menú ni panel WordPress.
   Identidad de tipo: sans-serif del sistema, peso 850, azul Laterna heredado.
   Uso de !important: resuelve reglas heredadas del Sistema Visual antiguo.
*/
font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
font-weight: 850 !important;
font-size: clamp(34px,4vw,55px) !important;
line-height: 1.08 !important;
letter-spacing: -0.035em !important;
font-style: normal !important;
text-transform: none !important;
text-wrap: balance;
overflow-wrap: anywhere;
}
@media(max-width:650px) {
  body:not(.wp-admin) main[id][class][tabindex] h1 {
    font-size: clamp(32px,8.7vw,38px) !important;
    line-height: 1.10 !important;
    letter-spacing: -0.032em !important;
  }
}


/* V0.4.5 / V0.3.4: la portada usa los mismos titulares sans modernos que las areas. */
body.lnh34-view .lnh34-main h2,
body.lnh34-view .lnh34-main h3,
body.lnh34-view .lnh34-main .lnh34-service-title {
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-weight:850!important;
  letter-spacing:-.032em!important;
  line-height:1.18!important;
  font-style:normal!important;
  text-transform:none!important;
  overflow-wrap:break-word;
}
body.lnh34-view .lnh34-main .lnh34-news-body h3 {line-height:1.32!important;}
/* Las tres etiquetas de la portada se deben ver tambien en movil. */
@media(max-width:760px){
  body.lnh34-view .lnh34-main .lnh34-hero-facts {display:flex!important;flex-wrap:wrap!important;gap:7px!important;}
  body.lnh34-view .lnh34-main .lnh34-hero-facts span,
  body.lnh34-view .lnh34-main .lnh34-hero-facts span:nth-child(n+2){
    display:inline-flex!important;align-items:center;min-width:0;max-width:100%;
    font-size:11.5px!important;line-height:1.3!important;padding:7px 10px!important;
    white-space:normal!important;
  }
}
