/* Reglas globales (sin clase) de astra-child-streaminformativo: tipografía, enlaces, foco. */
*, *::before, *::after { box-sizing:border-box }
html { scroll-behavior:smooth }
body { margin:0;background:var(--fo-fondo);color:var(--fo-tinta);font:16px/1.6 var(--fo-sans) }
img { display:block;max-width:100%;height:auto }
figure { margin:0 }
a { color:inherit;text-decoration:none }
:focus-visible { outline:2px solid var(--fo-acento-txt);outline-offset:3px }
h1, h2, h3 { font-family:var(--fo-serif);font-weight:500;line-height:1.1;margin:0;letter-spacing:-.01em }
p { margin:0 }
ol, ul { margin:0;padding:0;list-style:none }
h1 a, h2 a, h3 a { background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .35s }
h1 a:hover, h2 a:hover, h3 a:hover { background-size:100% 1px }
@media (prefers-reduced-motion:reduce) {
	* { transition:none!important;animation:none!important;scroll-behavior:auto!important }
}
/* ---------- Mezcla: reglas comunes (herramientas/armar.py) ---------- */
/* Con html delante: plugins de opciones de temas anteriores imprimen en línea body{font;color}, h1{…} y a{color};
   y Astra da color a los títulos (sobre bandas oscuras deben heredar). */
html body, html body.custom-background { background: var(--t-fondo); color: var(--t-tinta); font-family: var(--t-texto); }  /* sin la imagen de fondo del tema anterior */
html body:is(.ast-plain-container, .ast-separate-container, .ast-page-builder-template) { background: var(--t-fondo); }  /* Astra pinta el body con esas clases */
html :is(h1, h2, h3, h4, h5, h6) { font-family: var(--t-titular); color: inherit; line-height: 1.15; }  /* temas viejos dejan h2{line-height:1} en línea: renglones encimados */
html a { color: inherit; }
html body #page { max-width: none; width: auto; margin: 0; padding: 0; box-shadow: none; }  /* Astra en "caja" (ajuste viejo del sitio) dejaba la página a 980 px */
/* Astra da padding a todos los botones: los de ícono salían ovalados en móvil. */
button[class*="-icono"], summary[class*="-icono"], a[class*="-icono"], button[data-menu] { padding: 0; flex: none; }
.entry-content, [data-tam-cuerpo] { overflow-wrap: anywhere; }
[class*="-logo-h"], [class*="-logo-p"] { display: inline-flex; align-items: center; gap: 10px; line-height: 1; text-decoration: none; font: 700 22px/1 var(--t-titular); }  /* el color lo pone la pieza (cabeceras oscuras: nombre en blanco) */
[class*="-logo-h"], [class*="-logo-p"] { flex: none; }
[class*="-logo-h"] img { width: auto; height: 46px; max-width: 300px; object-fit: contain; }
[class*="-logo-p"] img { width: auto; height: 52px; max-width: 300px; object-fit: contain; }
/* Mosaico: el chip blanco de la tarjeta de color heredaba el texto blanco de la tarjeta. */
html .mo-t--color .mo-chip--blanco { color: var(--t-acento) !important; }
/* Footer Titular: sin el nombre gigante recortado (Hiram: demasiado reconocible entre sitios). */
[class*="-pie-gigante"] { display: none; }
/* Bloque pegajoso dentro de un lateral con más bloques debajo: al bajar se encimaba sobre ellos. */
aside [class*="--lat"] { position: static; }
@media (max-width: 720px) { [class*="-logo-h"] img { height: 36px; max-width: 200px; } }
/* Estilo de menú: pildora (builder) */
body nav[aria-label="Principal"] a:not([rel="home"]) { border-radius: 999px; padding-inline: .75em; text-decoration: none; transition: background .15s, color .15s; }
body nav[aria-label="Principal"] a:not([rel="home"]):hover, body nav[aria-label="Principal"] a:not([rel="home"])[aria-current] { background: var(--t-acento); color: #fff !important; }
