/* Landing header mid-size desktop fit fix.
   Keeps the full desktop navigation while preventing 1280-1440px overflow. */
@media (min-width:1024px) and (max-width:1450px){
  html body.max-landing-mode .site-header{
    padding-left:24px!important;
    padding-right:24px!important;
  }
  html body.max-landing-mode .site-header .brand-row{
    min-width:0!important;
    gap:8px!important;
  }
  html body.max-landing-mode .site-header .header-quick-links ul{
    gap:4px!important;
  }
  html body.max-landing-mode .site-header .header-quick-link{
    padding-left:8px!important;
    padding-right:8px!important;
  }
  html body.max-landing-mode .site-header .language-menu-toggle{
    padding-left:10px!important;
    padding-right:10px!important;
  }
  html body.max-landing-mode .site-header .account-actions{
    gap:7px!important;
    min-width:0!important;
  }
}

/* Mobile Safari can collapse these header controls below the 44px touch target.
   Keep the fix limited to the landing header so desktop sizing is unchanged. */
@media (max-width:1023px){
  html body.max-landing-mode .site-header .language-menu-toggle{
    min-width:44px!important;
    min-height:44px!important;
  }
  html body.max-landing-mode .site-header button#signInBtn.account-btn,
  html body.max-landing-mode .site-header button#createAccountBtn.account-btn{
    min-height:44px!important;
  }
}
