/* Mobile Navigation */
/* hide on all viewports by default */
#mobile-nav {
  display: none;
}

.mobile-nav-icon {
  display: none;
}

/* show on mobile only */
@media (max-width: 28.125rem) {
  #mobile-nav {
    display: flex;
    flex-direction: row;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 96%;
    z-index: 1000;
    margin-left: 0.5rem;
    margin-bottom: 0.75rem;
  }

  /* wrapped desktop header, hide it on mobile */
  .sticky-nav-bar,
  .custom-nav {
    display: none;
  }

  .mobile-nav-icon {
    display: block;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Desktop: Show desktop nav, hide mobile nav */
@media (min-width: 28.1875rem) {
  #mobile-nav {
    display: none;
  }
  .sticky-nav-bar,
  .custom-nav {
    display: block;
  }
}

/* Accessibility: Focus styles for nav icons/links/buttons */
.mobile-nav-icon:focus,
.mobile-nav-icon button:focus,
.mobile-nav-icon a:focus {
  outline: 2px solid #36416a;
  outline-offset: 2px;
}
