/* Mobile homepage header: identical geometry before and after scrolling. */
@media (max-width: 768px) {
  html.page-home body.nav-open::before,
  html.page-home body.nav-open > .site-unified-header::before {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: transparent !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  html.page-home body > .skip-link {
    position: fixed !important;
    top: calc(env(safe-area-inset-top, 0px) + 10px) !important;
    left: 12px !important;
    z-index: 2200 !important;
    margin: 0 !important;
  }

  html.page-home body > .site-unified-header,
  html.page-home body.nav-open > .site-unified-header {
    position: fixed !important;
    top: env(safe-area-inset-top, 0px) !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 1600 !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  html.page-home body > .site-unified-header .navbar,
  html.page-home body > .site-unified-header .navbar.scrolled,
  html.page-home body.nav-open > .site-unified-header .navbar {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }

  html.page-home body > .site-unified-header .nav-container {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 auto !important;
    padding: 0 12px 0 20px !important;
    transform: none !important;
  }

  html.page-home body > main#main-content {
    padding-top: calc(64px + env(safe-area-inset-top, 0px)) !important;
  }
}
