/* A-6.587: Shared public layout fixes scoped to stable headers only. Footer styling intentionally untouched. */
html{
  scrollbar-gutter:stable;
}
html body #masthead.site-header,
html body #masthead .main-header-bar-wrap{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}
html body #masthead .main-header-bar{
  width:100%!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
html body #masthead .site-primary-header-wrap{
  width:100%!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:20px!important;
  padding-right:20px!important;
  box-sizing:border-box!important;
}
html body #masthead .site-primary-header-wrap > div{
  width:100%!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  flex-wrap:nowrap!important;
  box-sizing:border-box!important;
}
html body #masthead .site-header-section,
html body #masthead .site-header-primary-section-left,
html body #masthead .site-header-primary-section-right{
  min-width:0!important;
  box-sizing:border-box!important;
}
html body #masthead .site-header-primary-section-left{
  flex:0 0 auto!important;
}
html body #masthead .site-header-primary-section-right{
  flex:1 1 auto!important;
}
html body #masthead .site-branding,
html body #masthead .site-logo-img,
html body #masthead .custom-logo-link{
  display:inline-flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
html body #masthead .custom-logo{
  width:auto!important;
  max-width:250px!important;
  height:auto!important;
  max-height:73px!important;
  display:block!important;
}
html body #masthead .main-header-menu,
html body #masthead .main-header-menu .menu-item,
html body #masthead .main-header-menu .menu-link,
html body #masthead .menu-link,
html body .mds-classic-button,
html body a.mds-classic-button,
html body button.mds-classic-button{
  white-space:nowrap!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
html body #masthead .main-header-menu{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  gap:0!important;
}
html[dir="rtl"] body #masthead .main-header-menu{
  justify-content:flex-start!important;
}
html body #masthead .main-header-menu .menu-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
@media (max-width:921px){
  html body #masthead .site-primary-header-wrap{
    max-width:100%!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }
  html body #masthead .site-primary-header-wrap > div{
    gap:12px!important;
  }
  html body #masthead .custom-logo{
    max-width:220px!important;
  }
}
@media (max-width:544px){
  html body #masthead .site-primary-header-wrap{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  html body #masthead .custom-logo{
    max-width:190px!important;
  }
}
