/* Restore the shared theme's hamburger drawer on the unified homepage at mobile widths. */
@media (max-width: 766px) {
  .site-header .header-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px 48px 48px;
    gap: 8px;
  }

  .site-header .header-logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .site-header .openMenu {
    display: inline-flex !important;
    box-sizing: border-box;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid #a8b3a8;
    border-radius: 8px;
    background: transparent;
    color: #252d28;
  }

  .site-header .langSwitch:not(.menuButton.mobile) {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
  }

  .site-header .goFind {
    grid-column: 4;
    grid-row: 1;
    margin: 0;
  }

  .site-header .header-menu {
    position: fixed !important;
    top: 0;
    right: auto;
    bottom: 0;
    left: -100%;
    display: block !important;
    grid-column: auto;
    grid-row: auto;
    box-sizing: border-box;
    width: min(300px, calc(100vw - 48px));
    max-height: 100vh;
    overflow-y: auto;
    padding: 72px 16px 24px;
    background: #fcfbfa;
    z-index: 100;
    transition: left 0.25s ease;
    font-size: 1rem;
  }

  .site-header .header-menu.open-header-menu {
    left: 0 !important;
  }

  .site-header .header-menu .gore {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-header .header-menu .gore > li {
    display: block;
    flex: 0 0 auto;
    min-height: 52px;
    margin: 0;
    overflow: visible;
    border-bottom: 1px solid #d4d8d0;
  }

  .site-header .header-menu .gore > li > a {
    justify-content: flex-start;
    width: auto;
    min-height: 52px;
    padding: 10px 8px;
    border-radius: 0;
    font-size: 1.125rem;
    line-height: 1.45;
    text-align: left;
  }

  .site-header .closeMenu {
    display: inline-flex !important;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    top: 12px;
    right: 16px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid #a8b3a8;
    border-radius: 8px;
    background: transparent;
    color: #252d28;
  }
}

@media (max-width: 360px) {
  .site-header .header-container {
    width: calc(100% - 24px);
  }
}
