/* Keep the mobile navigation drawer above page content on every route. */
@media (max-width: 1023px) {
  .fi-header.is-menu-open {
    z-index: 10020;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .fi-header.is-menu-open .fi-drawer:not([hidden]) {
    position: fixed !important;
    inset: var(--header-total, 72px) 0 0 !important;
    z-index: 10021 !important;
    display: block !important;
    width: 100vw;
    height: calc(100vh - var(--header-total, 72px));
    height: calc(100dvh - var(--header-total, 72px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(5, 7, 10, 0.99);
  }

  .fi-header.is-menu-open .fi-drawer__nav {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
}
