/* =========================================================================
   css/header.css - Estilos de la cabecera 2026 (partials/header.php).
   Lo que antes iba en linea o con clases ec-N en partesuperior.php, con
   nombres propios. Se mantiene la misma precedencia que tenian (las reglas
   de movil.css con !important siguen ganando donde ganaban).
   ========================================================================= */

/* Franja bajo la barra superior (antes un div con estilos en linea) */
.cab-sombra {
	clear: left !important;
	height: 25px !important;
	top: 75px !important;
	z-index: -999 !important;
}

/* ---------- Banner de portada ----------
   Alto fijo en escritorio (en movil, movil.css lo pone automatico con
   !important). Si la sede tiene foto propia, header.php la pasa en la
   variable --cabecera-sede (unico dato de la BD que llega al CSS). */
#cabecerainterior.cabecera-home {
	height: 560px;
}

#cabecerainterior.cabecera-home[style*="--cabecera-sede"] {
	background: var(--cabecera-sede) no-repeat top center;
	background-size: cover;
}

/* ---------- Banner interior ---------- */
.cabecera-interior {
	height: 320px !important;
}

/* ---------- Menu, barra fija en movil y lupa ----------
   En css/secciones/barra2026.css (los comparte partesuperior.php cuando la
   vista pone $barra_2026 = true). */

/* ---------- Fondos con texto segun el idioma ----------
   Antes partesuperior.php los imprimia en un <style> con img_idioma(). Aqui
   quedan fijos por idioma (<html lang="...">). Si se anade una imagen
   texto-gris-*_xx.png nueva, hay que anadir aqui su regla. */
html[lang="es"] .contacto-section::before { background-image: url('../img/texto-gris-contacto_es.png') !important; }
html[lang="es"] .certificacion-personas-section::before { background-image: url('../img/texto-gris-competencia-profesional_es.png') !important; }
html[lang="es"] .formacion-section::before { background-image: url('../img/texto-gris-formacion_es.png') !important; }
html[lang="es"] .empleo-section::before { background-image: url('../img/texto-gris-oferta-empleo_es.png') !important; }
html[lang="es"] .noticias-section::before { background-image: url('../img/texto-gris-actualidad_es.png') !important; }
html[lang="es"] .certificacion-sistemas-section::before { background-image: url('../img/texto-gris-sistemas_es.png') !important; }
html[lang="en"] .contacto-section::before { background-image: url('../img/texto-gris-contacto_en.png') !important; }
html[lang="en"] .certificacion-personas-section::before { background-image: url('../img/texto-gris-competencia-profesional_en.png') !important; }
html[lang="en"] .formacion-section::before { background-image: url('../img/texto-gris-formacion_en.png') !important; }
html[lang="en"] .empleo-section::before { background-image: url('../img/texto-gris-oferta-empleo_en.png') !important; }
html[lang="en"] .noticias-section::before { background-image: url('../img/texto-gris-actualidad_en.png') !important; }
html[lang="en"] .certificacion-sistemas-section::before { background-image: url('../img/texto-gris-sistemas_en.png') !important; }
html[lang="pt"] .contacto-section::before { background-image: url('../img/texto-gris-contacto_pt.png') !important; }
html[lang="pt"] .certificacion-personas-section::before { background-image: url('../img/texto-gris-competencia-profesional_pt.png') !important; }
html[lang="pt"] .formacion-section::before { background-image: url('../img/texto-gris-formacion_pt.png') !important; }
html[lang="pt"] .empleo-section::before { background-image: url('../img/texto-gris-oferta-empleo_pt.png') !important; }
html[lang="pt"] .noticias-section::before { background-image: url('../img/texto-gris-actualidad_pt.png') !important; }
html[lang="pt"] .certificacion-sistemas-section::before { background-image: url('../img/texto-gris-sistemas_pt.png') !important; }
html[lang="tr"] .contacto-section::before { background-image: url('../img/texto-gris-contacto_tc.png') !important; }
html[lang="tr"] .certificacion-personas-section::before { background-image: url('../img/texto-gris-competencia-profesional_tc.png') !important; }
html[lang="tr"] .formacion-section::before { background-image: url('../img/texto-gris-formacion_tc.png') !important; }
html[lang="tr"] .empleo-section::before { background-image: url('../img/texto-gris-oferta-empleo_tc.png') !important; }
html[lang="tr"] .noticias-section::before { background-image: url('../img/texto-gris-actualidad_tc.png') !important; }
html[lang="tr"] .certificacion-sistemas-section::before { background-image: url('../img/texto-gris-sistemas_tc.png') !important; }
