.site-header{background:#0b294b!important;border-bottom:2px solid #d3ad56!important}
.site-header .brand::before,.site-header .brand::after{display:none!important}
.site-header .header-inner{max-width:1250px!important;min-height:74px!important;padding-block:8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.site-header .brand{width:auto!important;min-height:0!important;padding:0!important;gap:10px!important;background:none!important}
.site-header .brand img{width:48px!important;height:48px!important;object-fit:contain}
.site-header .brand span{font-weight:750!important;font-size:17px!important}
@media(max-width:820px){
  /* El menú desplegado se extiende por debajo de la cabecera. */
  .site-header { overflow: visible; }

.site-header .header-inner{position:relative;min-height:57px!important;padding-block:4px!important;flex-wrap:nowrap!important;flex-direction:row!important}
.site-header .brand img{width:37px!important;height:37px!important}.site-header .brand span{font-size:14px!important;white-space:nowrap}
.site-header .nav-toggle{min-height:41px;margin:0!important;width:auto!important}.site-header .nav.is-open{position:absolute;top:100%;left:0;right:0;padding:12px;background:#0b294b;z-index:9}
}
@media(max-width:360px){.site-header .brand span{font-size:12px!important}}
@media (orientation: landscape) and (max-height: 520px) and (max-width: 1024px) and (pointer: coarse) {
  .site-header.nav-ready .nav.is-open {
    /* El porcentaje descuenta la altura real de la cabecera al girar el teléfono. */
    max-height: calc(100vh - 100% - 4px);
    max-height: calc(100dvh - 100% - 4px);
  }
}
