/* Global header adjustment: relocate ONE language selector to top utility bar.
   The layout, colors, other actions and full-width second navigation are retained.
   10% reduction: desktop 54px to 48.6px, mobile 37px to 33.3px.
 */
.av-site .av-ref-header .av-header-utility {
  height:48.6px!important;
  min-height:48.6px!important;
}
.av-site .av-ref-header .av-header-utility-inner {
  min-height:48.6px!important;
  height:48.6px!important;
}
.av-site .av-ref-header .av-utility-links {
  display:flex!important;
  align-items:center!important;
  gap:0!important;
}
.av-site .av-ref-header .av-utility-links>a:last-of-type {
  padding-right:13px!important;
}
.av-site .av-ref-header .av-utility-language {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  padding:0 2px 0 12px!important;
  margin-left:0!important;
  border-left:1px solid rgba(255,255,255,.28)!important;
  min-height:27px;
}
.av-site .av-ref-header .av-utility-language select[data-language-select] {
  display:block!important;
  box-sizing:border-box!important;
  width:58px!important;
  min-width:58px!important;
  max-width:58px!important;
  height:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0 8px 0 6px!important;
  border:1px solid rgba(255,255,255,.48)!important;
  border-radius:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.2!important;
  cursor:pointer;
  -webkit-appearance:auto;
  appearance:auto;
}
.av-site .av-ref-header .av-utility-language select[data-language-select] option {
  background:#fff!important;
  color:#071d5a!important;
}
.av-site .av-ref-header .av-utility-language select[data-language-select]:focus-visible {
  outline:2px solid #fff!important;
  outline-offset:2px!important;
}
@media(min-width:901px) {
  /* Logo still visually spans both rows; change only its top offset and
     container height by exactly the difference removed from utility row. */
  .av-site .av-ref-header .av-main-brand {
    top:-48.6px!important;
    height:134.6px!important;
  }
}
@media(min-width:901px) and (max-width:1399px) {
  .av-site .av-ref-header .av-main-brand {
    height:126.6px!important;
  }
}
@media(max-width:900px) {
  .av-site .av-ref-header .av-header-utility {
    height:33.3px!important;
    min-height:33.3px!important;
  }
  .av-site .av-ref-header .av-header-utility-inner {
    height:33.3px!important;
    min-height:33.3px!important;
  }
  .av-site .av-ref-header .av-utility-language {
    padding:0 0 0 8px!important;
    min-height:22px!important;
  }
  .av-site .av-ref-header .av-utility-language select[data-language-select] {
    width:52px!important;
    min-width:52px!important;
    max-width:52px!important;
    height:29px!important;
    min-height:29px!important;
    font-size:11px!important;
    padding:0 3px!important;
  }
  .av-site .av-ref-header .av-utility-links>a:last-of-type {
    padding-right:9px!important;
  }
}
