/* Version 1.1.5 — Mobile Exhibit Menu Scroll Fix
   Keep the document behind the open menu locked, while allowing the fixed
   navigation panel itself to receive vertical touch scrolling on iOS. */
body.nav-open{
  overflow:hidden!important;
  touch-action:auto!important;
}

.site-navigation[data-open="true"]{
  overflow-x:hidden!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  touch-action:pan-y!important;
}

@media (max-width:899.98px){
  .site-navigation[data-open="true"]{
    top:calc(max(4.35rem, env(safe-area-inset-top) + 3.7rem))!important;
    bottom:max(.75rem, env(safe-area-inset-bottom))!important;
    max-height:none!important;
    height:auto!important;
    padding-bottom:calc(.9rem + env(safe-area-inset-bottom))!important;
  }
}
