/* Mobile only: preserve the theme's header appearance and desktop layout. */
@media (max-width: 768px) {
  #headerNavigationContainer {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* The Default theme's mobile header row is 2.857rem tall. */
  #headerNavigationContainer .pkp_site_nav_menu {
    max-height: calc(100vh - 2.857rem - 1px);
    max-height: calc(100dvh - 2.857rem - 1px);
    overflow-y: auto;
  }
}
