/* Mobile navigation: every map is visible and only the current destination is selected. */
@media (max-width: 850px) {
  #main .map-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    scroll-snap-type: none;
    width: 100%;
    max-width: 100%;
    padding: 6px;
  }
  #main .map-switch a {
    box-sizing: border-box;
    display: flex;
    flex: initial;
    min-width: 0;
    width: 100%;
    min-height: 48px;
    padding: 9px 8px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    overflow-wrap: anywhere;
    scroll-snap-align: none;
  }
  #orientation-mobile-nav > :is(a, button) {
    -webkit-tap-highlight-color: transparent;
  }
  #orientation-mobile-nav > :is(a, button):not([aria-current="page"]):not(.active) {
    background: transparent !important;
    box-shadow: none !important;
    color: #9fbcc7 !important;
  }
  #orientation-mobile-nav > a[aria-current="page"],
  #orientation-mobile-nav > button.active {
    background: #143e50;
    color: #72deeb;
  }
  #orientation-mobile-nav > :is(a, button):focus:not(:focus-visible) {
    outline: none;
  }
  #orientation-mobile-nav > :is(a, button):focus-visible {
    outline: 2px solid #72deeb;
    outline-offset: -2px;
  }
}
