/* Shop mega-menu: white full-width panel, Montserrat category links. */
@media(min-width:1200px){
 body.ms-project #page #masthead #ast-desktop-header .ast-primary-header-bar{container-type:inline-size}
 body.ms-project #page #masthead #ast-desktop-header .main-header-menu>.ms-service-menu{position:static}
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.menu-link{position:relative}
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.sub-menu{
  display:block;position:absolute;left:50%;right:auto;top:100%;transform:translateX(-50%);width:100vw;width:100cqw;max-width:none;
  box-sizing:border-box;margin:0;padding:18px max(40px,calc((100cqw - 1200px)/2));
  column-count:3;column-gap:28px;column-fill:balance;white-space:normal;
  background:#fff;border:1px solid #d8dde3;border-left:0;border-right:0;border-radius:0 0 3px 3px;box-shadow:none;
  max-height:calc(100dvh - var(--ms-menu-height) - 16px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;
 }
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu:is(:hover,.focus,.ast-submenu-expanded)>.sub-menu,
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu:has(>.menu-link[aria-expanded="true"])>.sub-menu{opacity:1;visibility:visible;pointer-events:auto}
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.sub-menu>.menu-item{display:block;break-inside:avoid;width:auto;margin:0 0 6px;padding:0;border:0}
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.sub-menu>.menu-item>.menu-link{display:block;min-height:32px;margin:0;padding:6px 8px;font:600 14px/1.4 Montserrat,sans-serif;letter-spacing:normal;text-transform:none;color:#212d45!important;background:transparent;border:0;border-radius:3px;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.sub-menu>.menu-item>.menu-link:is(:hover,:focus){background:rgba(0,121,168,.06);color:#0079a8!important}
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.sub-menu a:focus-visible{outline:2px solid #0079a8;outline-offset:-2px}
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.sub-menu :is(.sub-menu,.ast-menu-toggle,.dropdown-menu-toggle,.menu-link>.ast-icon){display:none!important}
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.menu-link::after{content:"";position:absolute;bottom:-1px;left:calc(50% - 7px);width:14px;height:14px;transform:translateY(50%) rotate(45deg);background:#fff;border-top:1px solid #d8dde3;border-left:1px solid #d8dde3;z-index:10;opacity:0;visibility:hidden;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;pointer-events:none}
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu:is(:hover,.focus,.ast-submenu-expanded)>.menu-link::after,
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.menu-link[aria-expanded="true"]::after{opacity:1;visibility:visible}
}
@media(min-width:1280px){
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.sub-menu{column-count:4;column-gap:32px}
}
@media(min-width:0px){
 body.ms-project #page #masthead #ast-mobile-header :is(.ast-mobile-header-content,.main-header-menu){background:#fff!important}
 body.ms-project #page #masthead #ast-mobile-header .main-header-menu>.menu-item:not(:last-child)>.menu-link{color:#212d45!important;background:#fff;font:400 15px/1.5 "Open Sans",sans-serif;padding:14px 20px;border-bottom:1px solid #eef0f3}
 body.ms-project #page #masthead #ast-mobile-header .main-header-menu>.menu-item>.ast-menu-toggle{color:#212d45!important;background:transparent}
 body.ms-project #page #masthead #ast-mobile-header .main-header-menu>.menu-item:last-child>.menu-link{box-sizing:border-box;width:calc(100% - 40px);margin:12px 20px;min-height:44px}
 body.ms-project #page #masthead #ast-mobile-header .main-header-menu>.menu-item:not(:last-child)>.menu-link:is(:hover,:focus){color:#0079a8!important;background:rgba(0,121,168,.06)}
 body.ms-project #page #masthead #ast-mobile-header .ms-service-menu>.sub-menu>.menu-item>.menu-link>.ast-icon{display:none}

 body.ms-project #page #masthead #ast-mobile-header .ms-service-menu>.sub-menu,
 body.ms-project #page #masthead #ast-mobile-header .ms-service-menu>.sub-menu .sub-menu{background:#fff!important;border-color:#d8dde3}
 body.ms-project #page #masthead #ast-mobile-header .ms-service-menu>.sub-menu .menu-link,
 body.ms-project #page #masthead #ast-mobile-header .ms-service-menu>.sub-menu .ast-menu-toggle{color:#212d45!important;background:transparent}
 body.ms-project #page #masthead #ast-mobile-header .ms-service-menu>.sub-menu>.menu-item>.menu-link{font:600 14px/1.4 Montserrat,sans-serif;padding-top:13px;padding-bottom:13px}
 body.ms-project #page #masthead #ast-mobile-header .ms-service-menu>.sub-menu .sub-menu .menu-link{font:400 13px/1.4 "Open Sans",sans-serif;padding-top:13px;padding-bottom:13px}
 body.ms-project #page #masthead #ast-mobile-header .ms-service-menu>.sub-menu .menu-link:is(:hover,:focus){background:rgba(0,121,168,.06);color:#0079a8!important}
}
@media(prefers-reduced-motion:reduce){
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.sub-menu,
 body.ms-project #page #masthead #ast-desktop-header .ms-service-menu>.menu-link::after{transition:none}
}

/* Follow Astra's measured breakpoint, including scrollbar width. */
body.ms-project.ast-header-break-point #page #masthead #ast-desktop-header{display:none!important}
body.ms-project.ast-header-break-point #page #masthead #ast-mobile-header{display:block!important}
body.ms-project:not(.ast-header-break-point) #page #masthead #ast-mobile-header{display:none!important}
/* Center the navigation; keep the request button at the right edge. */
@media(min-width:1200px){
 body.ms-project #page #masthead #ast-desktop-header .main-header-menu{justify-content:center}
 body.ms-project #page #masthead #ast-desktop-header .main-header-menu>.menu-item:last-child{position:absolute;top:50%;right:0;transform:translateY(-50%);margin-left:0}
}
/* Keep the existing link sizes and responsive spacing. */
@media(min-width:1200px){
 body.ms-project #page #masthead #ast-desktop-header .main-header-menu>.menu-item:not(:last-child)>.menu-link{font-size:14px;padding-left:13px;padding-right:13px}
 body.ms-project #page #masthead #ast-desktop-header .main-header-menu>.menu-item:last-child>.menu-link{font-size:13px;padding:10px 20px}
}
@media(min-width:1200px) and (max-width:1279px){
 body.ms-project #page #masthead #ast-desktop-header .custom-logo{width:180px;max-width:180px}
 body.ms-project #page #masthead #ast-desktop-header .main-header-menu>.menu-item:not(:last-child)>.menu-link{padding-left:9px;padding-right:9px}
 body.ms-project #page #masthead #ast-desktop-header .main-header-menu>.menu-item:last-child>.menu-link{padding-left:14px;padding-right:14px}
}
