/* Keep desktop mega menus inside the viewport without changing the menu strip. */
@media (min-width: 768px) {
  html,
  body {
    overflow-x: clip;
  }

  #navigation .menu-level-1 > li.ext > .menu-level-2 {
    position: fixed !important;
    top: var(--gpc-mega-menu-top, 243px) !important;
    right: max(18px, calc((100vw - 1440px) / 2)) !important;
    left: max(18px, calc((100vw - 1440px) / 2)) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    box-sizing: border-box;
  }

  #navigation .menu-level-1 > li.ext::after {
    height: 22px;
  }
}
