.mobile-menu-toggle,
.mobile-nav-panel {
  display: none;
}

.mobile-menu-toggle {
  min-width: 70px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #496b7a;
  border-radius: 3px;
  background: #102f3e;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-nav-panel[hidden] {
  display: none !important;
}

@media (max-width: 700px) {
  .site-header .bar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-block: 13px;
  }

  .site-header .brand {
    min-width: 0;
    margin-right: auto;
  }

  .site-header .brand img {
    display: block;
    width: min(228px, calc(100vw - 118px));
    height: auto;
  }

  .site-header .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .mobile-nav-panel:not([hidden]) {
    display: block;
    flex: 0 0 100%;
    width: 100%;
  }

  .site-header .mobile-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    font-size: 13px;
  }

  .site-header .mobile-nav a {
    min-width: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 9px 11px;
    border: 1px solid #496b7a;
    background: #102f3e;
    color: #e7f1ee;
    text-decoration: none;
    white-space: normal;
  }

  .site-header .mobile-nav .search-link {
    grid-column: 1 / -1;
    margin-left: 0;
    border-color: var(--lime);
    color: var(--lime) !important;
  }
}
