#masthead .ast-site-title-wrap { display:flex; align-items:center; gap:20px; }
#masthead .site-title { flex-shrink:0; }
#masthead .wms-languages { display:flex; align-items:center; gap:2px; position:relative; flex-shrink:0; margin:0; padding:0; }
#masthead .wms-language { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; flex:0 0 32px; width:32px; min-width:0; height:44px; margin:0; padding:0; border:0; border-radius:3px; background:transparent; box-shadow:none; line-height:1; cursor:pointer; text-decoration:none; }
#masthead .wms-language img { display:block; width:24px; height:16px; max-width:none; object-fit:contain; filter:grayscale(1) brightness(.62); opacity:.85; transition:filter .18s ease,opacity .18s ease; }
#masthead .wms-language.is-current { flex-basis:42px; width:42px; }
#masthead .wms-language.is-current img { width:36px; height:24px; }
#masthead .wms-language.is-current img,
#masthead .wms-language:hover img,
#masthead .wms-language:focus img,
#masthead .wms-language:active img,
#masthead .wms-language.is-preview img { filter:none; opacity:1; }
#masthead .wms-language:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
#masthead .wms-language-status { position:absolute; z-index:20; top:calc(100% + 3px); left:0; width:max-content; max-width:280px; padding:8px 12px; border-radius:3px; color:#fff; background:#202730; box-shadow:0 3px 12px #0003; font-size:13px; line-height:1.4; font-weight:400; text-transform:none; }
#masthead .wms-language-status[hidden] { display:none; }
#ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding-left:10px; padding-right:10px; }
@media (min-width:922px) and (max-width:1240px) {
  #ast-desktop-header .site-primary-header-wrap > .ast-builder-grid-row { grid-template-columns:1fr; }
  #ast-desktop-header .site-header-primary-section-left { padding-top:8px; }
  #ast-desktop-header .site-header-primary-section-right { justify-content:flex-start; }
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link { line-height:44px; }
}
@media (max-width:921px) {
  #ast-mobile-header .ast-primary-header-bar { padding-top:10px; padding-bottom:5px; }
  #ast-mobile-header .ast-primary-header-bar > .ast-builder-grid-row { grid-template-columns:minmax(0,1fr) 40px; column-gap:0; row-gap:2px; }
  #ast-mobile-header .site-header-primary-section-left,
  #ast-mobile-header [data-section="title_tagline"],
  #ast-mobile-header .site-branding,
  #ast-mobile-header .ast-site-title-wrap { display:contents; }
  #ast-mobile-header .site-title { grid-column:1 / -1; grid-row:1; }
  #ast-mobile-header .wms-languages { grid-column:1; grid-row:2; justify-self:start; }
  #ast-mobile-header .site-header-primary-section-right { grid-column:2; grid-row:2; align-self:center; }
  #ast-mobile-header .menu-toggle { padding:8px; }
}
@media (max-width:350px) {
  #ast-mobile-header .ast-primary-header-bar { padding-left:14px; padding-right:14px; }
  #masthead .wms-languages { gap:1px; }
  #masthead .wms-language { flex-basis:28px; width:28px; }
  #masthead .wms-language img { width:22px; height:15px; }
  #masthead .wms-language.is-current { flex-basis:36px; width:36px; }
  #masthead .wms-language.is-current img { width:32px; height:22px; }
}
@media (prefers-reduced-motion:reduce) { #masthead .wms-language img { transition:none; } }

@media (min-width:1241px) and (max-width:1400px) {
  #ast-desktop-header .main-header-menu > .menu-item > .menu-link { font-size:15px; padding-left:8px; padding-right:8px; }
}
