/* Aurevia 1.1.2 — compact themed language control and responsive header */
.site-header{
  height:84px!important;
  min-height:84px!important;
  padding:0!important;
}
.site-header .header-inner{
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  grid-template-columns:none!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  gap:clamp(14px,1.8vw,30px)!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
.site-header .brand{
  flex:0 1 280px;
  max-width:280px;
  min-width:150px;
  overflow:hidden;
}
.site-header .brand span{
  min-width:0;
  overflow:hidden;
}
.site-header .brand strong,
.site-header .brand small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.site-header .main-nav{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  justify-content:center;
  flex-wrap:nowrap;
  gap:clamp(13px,1.55vw,28px);
}
.site-header .main-nav>a,
.site-header .nav-dropdown>button{
  white-space:nowrap;
}
.site-header .header-actions{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:10px;
  margin-left:auto;
}
.site-header .compact-language-switcher{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  margin:0;
}
.site-header .compact-language-control{
  position:relative;
  display:block;
  width:62px;
  height:39px;
}
.site-header .compact-language-control:after{
  content:"⌄";
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-55%);
  color:var(--premium-gold);
  font-size:12px;
  line-height:1;
  pointer-events:none;
}
.site-header .compact-language-switcher select{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0 25px 0 12px!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:999px!important;
  background:#141414!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)!important;
  font:700 10px/1 var(--body-font)!important;
  letter-spacing:.7px!important;
  cursor:pointer!important;
}
.site-header .compact-language-switcher select:hover{
  border-color:var(--premium-gold)!important;
  background:#1a1a1a!important;
}
.site-header .compact-language-switcher select:focus{
  outline:2px solid var(--premium-gold)!important;
  outline-offset:2px!important;
}
.site-header .compact-language-switcher option{
  background:#141414;
  color:#fff;
}
.site-header .icon-link{
  flex:0 0 auto;
}

@media(max-width:1320px){
  .site-header .header-inner{gap:14px!important}
  .site-header .brand{flex-basis:225px;max-width:225px}
  .site-header .brand strong{font-size:16px;letter-spacing:1.8px}
  .site-header .main-nav{gap:14px}
  .site-header .main-nav>a,.site-header .nav-dropdown>button{font-size:10px;letter-spacing:.3px}
}

@media(max-width:1100px){
  .site-header .main-nav{display:none!important}
  .site-header .mobile-menu-toggle{display:block!important;order:4;flex:0 0 auto}
  .site-header .brand{order:1;flex:1 1 auto;max-width:none;margin-right:auto}
  .site-header .header-actions{order:3;margin-left:0}
}

@media(max-width:760px){
  .site-header .compact-language-switcher{display:none!important}
  .site-header .header-actions{gap:7px}
}

@media(max-width:576px){
  .site-header{height:70px!important;min-height:70px!important}
  .site-header .header-inner{gap:7px!important}
  .site-header .brand{min-width:0}
  .site-header .brand img{flex:0 0 40px}
  .site-header .icon-link{width:36px;height:36px}
  .site-header .mobile-menu-toggle{padding:5px}
}

@media(max-width:430px){
  .site-header .brand span{display:none}
  .site-header .brand{flex:1 1 auto}
  .site-header .header-actions .icon-link:first-of-type{display:none}
}

/* Aurevia 1.1.3 — header displays only the uploaded logo */
.site-header .brand.header-logo-only{
  flex:0 0 auto!important;
  width:auto!important;
  max-width:190px!important;
  min-width:0!important;
  height:100%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  overflow:visible!important;
}
.site-header .brand.header-logo-only img{
  display:block!important;
  width:auto!important;
  height:58px!important;
  max-width:190px!important;
  object-fit:contain!important;
  object-position:left center!important;
  flex:0 0 auto!important;
}

@media(max-width:1320px){
  .site-header .brand.header-logo-only{
    flex:0 0 auto!important;
    max-width:170px!important;
  }
  .site-header .brand.header-logo-only img{
    height:54px!important;
    max-width:170px!important;
  }
}

@media(max-width:1100px){
  .site-header .brand.header-logo-only{
    order:1!important;
    flex:1 1 auto!important;
    max-width:none!important;
    margin-right:auto!important;
  }
  .site-header .brand.header-logo-only img{
    max-width:175px!important;
  }
}

@media(max-width:576px){
  .site-header .brand.header-logo-only{
    min-width:0!important;
    max-width:145px!important;
  }
  .site-header .brand.header-logo-only img{
    width:auto!important;
    height:44px!important;
    max-width:145px!important;
  }
}

@media(max-width:430px){
  .site-header .brand.header-logo-only{
    flex:1 1 auto!important;
    max-width:125px!important;
  }
  .site-header .brand.header-logo-only img{
    height:40px!important;
    max-width:125px!important;
  }
}
