/* Cabecera compartida por todas las páginas, con prioridad sobre estilos heredados. */
body.lightmode #elite-header { background: #fff !important; box-shadow: 0 5px 18px #14234014 !important; }
body.darkmode #elite-header { background: #101827 !important; }
body.lightmode #elite-header .menu-section > li > a { color: #14233e !important; }
body.darkmode #elite-header .menu-section > li > a { color: #f8fbff !important; }
body.lightmode #elite-header .brandlogo .light { display: none !important; }
body.lightmode #elite-header .brandlogo .dark { display: block !important; }
body.darkmode #elite-header .brandlogo .dark { display: none !important; }
body.darkmode #elite-header .brandlogo .light { display: block !important; }
#elite-header .brandlogo img { width: 190px; height: 60px; object-fit: contain; }
#elite-header .darkmodeswitch { margin: 0 !important; }
#elite-header .switch input { display: block; position: absolute; width: 34px; height: 34px; margin: 0; opacity: 0; z-index: 2; cursor: pointer; }
#elite-header .switch:focus-within { outline: 2px solid #536dfe; outline-offset: 3px; border-radius: 50%; }
@media (min-width:1200px) {
 #elite-header .header-item-center { left: 48%; }
 #elite-header .headeraction { position: relative; }
 #elite-header .headeraction > ul > .darkmodeswitch { position: absolute !important; display: flex !important; top: 50%; bottom: auto; right: -44px; transform: translateY(-50%); }
}
/* Inicio sobre la fotografía; las páginas interiores mantienen su fondo sólido. */
body #elite-header[data-home-header]:not(.sticky) {
 background: rgba(10,12,16,.28) !important;
 box-shadow: none !important;
}
body #elite-header[data-home-header]:not(.sticky) .brandlogo .light { display: block !important; }
body #elite-header[data-home-header]:not(.sticky) .brandlogo .dark { display: none !important; }
@media (min-width:1200px) {
 body #elite-header[data-home-header]:not(.sticky) .menu-section > li > a { color: #fff !important; }
}
@media (max-width:1199px) {
 body #elite-header[data-home-header]:not(.sticky) .menu-mobile-toggle span { background: #fff !important; }
}
@media (max-width:1199px) {
 #elite-header .header-item-center { position: static; transform: none; }
 #elite-header .menu-section { display: block !important; }
 #elite-header .menu > ul > li > a { line-height: 50px !important; white-space: normal; font-size: 18px; }
 body.lightmode #elite-header .menu { background: #fff !important; }
 body.darkmode #elite-header .menu { background: #151c2a !important; }
 body.lightmode #elite-header .menu-mobile-toggle span { background: #14233e !important; }
 body.darkmode #elite-header .menu-mobile-toggle span { background: #fff !important; }
 #elite-header .menu .darkmodeswitch { position: absolute !important; right: 15px; bottom: 20px; top: auto; transform: none; }
}
