/* The theme has no global box-sizing reset, and these styles are written
   assuming border-box — without this, width:100% + padding overflows. */
.location-nav,
.location-nav *,
.location-nav *::before,
.location-nav *::after {
  box-sizing: border-box;
}

.location-nav {
  --location-nav-ink: #232e26;

  width: 100%;
  margin: 0;
  padding: 0 clamp(20px, 6vw, 120px);
  background: var(--location-nav-ink);
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.location-nav__inner {
  width: 100%;
  max-width: var(--Container-container-large, 1280px);
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.location-nav__inner::-webkit-scrollbar {
  height: 4px;
}

.location-nav__inner::-webkit-scrollbar-thumb {
  background: rgba(243, 244, 246, 0.25);
}

.location-nav__label {
  display: flex;
  align-items: center;
  padding-right: 22px;
  color: var(--Secondary-Light-Green, #4fa550);
  font-family: 'Teachers', Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.location-nav__list {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-nav__item {
  display: flex;
}

.location-nav__link {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 2px solid transparent;
  color: rgba(243, 244, 246, 0.62);
  font-family: 'Teachers', Inter, system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

a.location-nav__link:hover,
a.location-nav__link:focus-visible {
  color: #fff;
  background: rgba(79, 165, 80, 0.1);
}

.location-nav__item.is-current .location-nav__link {
  color: #fff;
  background: rgba(79, 165, 80, 0.14);
  border-bottom-color: var(--Secondary-Light-Green, #4fa550);
}

@media (max-width: 960px) {
  .location-nav {
    padding: 0 clamp(16px, 5vw, 32px);
  }

  .location-nav__label {
    padding-right: 16px;
    font-size: 10px;
  }

  .location-nav__link {
    padding: 12px 14px;
    font-size: 13px;
  }
}
