/* The sticky header anchors the dropdown; opening it must not change the document scroll container. */
@media screen and (max-width: 1100px) {
  html.js { overflow-x: clip; }
  .js body.nav-open { overflow: visible; }
  .js .site-header .nav-links {
    top: 100% !important;
    left: auto !important;
    right: 0 !important;
    width: min(23rem, 100%);
    max-height: calc(100vh - 100%);
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding: .6rem 1.15rem;
    border-radius: 0 0 0 1rem;
  }
  .js .site-header .nav-links li,
  .js .site-header .nav-links a { width: 100%; }
}
