/* Corporate header: use the existing navigation dialog before desktop links overflow. */
@media (min-width:966px) and (max-width:1279px){
 html[data-mk-compact-nav] body > header.fixed > div:first-child > nav{display:none!important}
 html[data-mk-compact-nav] body > header.fixed > div:first-child > .menu-toggle{
  order:3;display:inline-flex!important;flex:0 0 44px;width:44px;height:44px;
  align-self:center;align-items:center;justify-content:center;margin:0;padding:0;line-height:1;
  border:1px solid rgba(248,247,244,.16);border-radius:4px;background:#16161a;color:#f8f7f4
 }
 html[data-mk-compact-nav] body > header.fixed > div:first-child > a:first-child{margin-right:auto}
 html[data-mk-compact-nav] body > header.fixed > div:first-child{gap:10px}
 html[data-mk-compact-nav] body > header.fixed > div:first-child > div:last-child{order:2;margin-left:auto;min-width:0}
 html[data-mk-compact-nav] body > header.fixed > div:first-child > .menu-toggle .material-symbols-outlined{display:block;font-size:25px;line-height:1}
 html[data-mk-compact-nav] #mobile-menu[open] .menu-head{display:flex!important;align-items:center;justify-content:space-between}
 html[data-mk-compact-nav] #mobile-menu[open] .menu-close{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px}
}
/* Legacy legal templates hide the entire row containing the only close button. */
@media(max-width:965px){html[data-mk-compact-nav] body.legal-page #mobile-menu[open] .menu-head{display:flex!important;align-items:center;justify-content:space-between}}
