/* Contract 38: the menu moves; the top bar, primary logo and page keep their flow. */
.mm-header-slot{position:relative}
.mm-header-slot.mm-is-fixed{position:fixed;top:var(--mm-sticky-top,0px);left:var(--mm-sticky-left);width:var(--mm-sticky-width);z-index:50;background:inherit;transform:translateY(var(--mm-sticky-y,0px))}
.mm-header-reserve{height:var(--mm-sticky-reserve);pointer-events:none}
.mm-header-slot.mm-sticky-mobile-open{transform:none}
.mm-submenu-toggle{display:none}
@media(min-width:768px){
 .mm-panel-configured.mm-header-logo-top .mm-navigation{min-width:0}
 .mm-panel-configured.mm-header-logo-top .mm-header-inner .mm-menu{row-gap:0}
 .mm-panel-configured .mm-header-slot.mm-is-fixed{background:rgba(255,255,255,.95);box-shadow:0 2px 6px #0002}
 .mm-panel-configured .mm-header-slot.mm-is-fixed .mm-header-inner{min-height:48px}
 .mm-panel-configured .mm-header-slot.mm-is-fixed .mm-header-inner .mm-menu>li>a{line-height:48px}
 .mm-panel-configured .mm-header-slot.mm-is-fixed .mm-header-inner>.mm-search-disclosure>summary{height:48px;line-height:48px}
 .mm-panel-configured.mm-header-logo-top .mm-header-slot.mm-is-fixed .mm-header-inner{padding-left:0}
 .mm-panel-configured .mm-header-slot.mm-is-fixed .mm-brand img{max-height:48px}
}
@media(max-width:767px){
 .mm-submenu-toggle{display:block}
 .mm-panel-configured.mm-header-logo-top .mm-header-logo-band,.mm-panel-configured.mm-header-logo-top .mm-desktop-navigation{display:none}
 .mm-panel-configured.mm-header-logo-top .mm-header-inner{min-height:var(--mm-panel-mobile-header);padding:0;gap:0;justify-content:center;position:relative}
 .mm-panel-configured.mm-header-logo-top.mm-device-desktop .mm-header-inner{min-height:54px}
 .mm-panel-configured.mm-header-logo-top .mm-header-inner>.mm-brand img{max-height:48px;max-width:140px}
 .mm-panel-configured .mm-header-slot.mm-is-fixed{background:inherit}
 .mm-panel-configured.mm-header-logo-top .mm-header-inner .mm-menu>li>a{line-height:inherit}
}
/* Only the seven-pixel header boundary differs from the existing mobile layout. */
@media(min-width:761px) and (max-width:767px){
 .mm-panel-configured .mm-desktop-navigation{display:none}
 .mm-panel-configured .mm-navigation{display:contents}
 .mm-panel-configured .mm-navigation>summary{display:block;position:absolute;left:0;top:0;margin:0;padding:10px 4px;font-size:28px;line-height:40px}
 .mm-panel-configured .mm-header-inner>.mm-search-disclosure{position:absolute;right:0;top:0}
 body.mm-mobile-menu-open{overflow:hidden}
 .mm-panel-configured .mm-navigation-panel{position:fixed;inset:0;width:100%;height:100dvh;overflow:auto;overscroll-behavior:contain;padding:0 20px 20px;z-index:9999;color:var(--mm-menu-text);background:linear-gradient(var(--mm-menu-start),var(--mm-menu-end))}
 .mm-panel-configured .mm-mobile-menu-tools{display:block;position:relative;height:60px}
 .mm-panel-configured .mm-mobile-close{position:absolute;right:0;top:4px;width:70px;height:70px;background:transparent;border:0;color:inherit}
 .mm-panel-configured .mm-mobile-menu-social{display:flex;gap:5px;padding:20px 65px 0 0}
 .mm-panel-configured .mm-mobile-menu-social svg{width:14px;height:14px}
 .mm-panel-configured .mm-navigation-panel .mm-menu{display:block}
 .mm-panel-configured .mm-navigation-panel .mm-menu a{display:block;padding:12px;color:inherit;text-transform:none}
 .mm-panel-configured .mm-navigation-panel .sub-menu{position:static;background:transparent;box-shadow:none}
 .mm-panel-configured .mm-navigation-panel .sub-menu[hidden]{display:none}
 .mm-panel-configured .mm-navigation.mm-menu-closing[open]>.mm-navigation-panel{animation:mm-menu-exit var(--mm-menu-duration) cubic-bezier(.79,.14,.15,.86) forwards}
}
@media(prefers-reduced-motion:reduce){.mm-panel-configured .mm-navigation.mm-menu-closing[open]>.mm-navigation-panel{animation:none}}
