.locations-hero {
  padding: clamp(62px, 8vw, 120px) 0 clamp(58px, 8vw, 108px);
  border-bottom: 1px solid var(--line);
}

.locations-hero h1 {
  max-width: 1120px;
  margin-top: 18px;
}

.locations-hero h1 span {
  color: var(--additional);
}

.locations-hero > p:not(.section-label, .locations-preview) {
  max-width: 780px;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.locations-preview {
  width: fit-content;
  margin-top: 28px;
  padding: 10px 15px;
  border: 1px solid #76649d;
  border-radius: 999px;
  color: #d9cef1;
  font-size: 13px;
}

.locations-directory {
  padding-block: clamp(70px, 9vw, 132px);
}

.locations-heading {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(0, 1.6fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.location-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 370px;
  padding: clamp(30px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.location-card:nth-child(4n + 1),
.location-card:nth-child(4n + 4) {
  background: var(--cream);
  color: var(--base);
}

.location-card:nth-child(4n + 2) {
  background: var(--accent);
}

.location-card__city {
  color: var(--additional);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.location-card:nth-child(4n + 1) .location-card__city,
.location-card:nth-child(4n + 4) .location-card__city {
  color: var(--accent);
}

.location-card h3 {
  margin-top: 24px;
  font-size: clamp(30px, 3vw, 47px);
}

.location-card h3 a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.location-card h3 span {
  color: var(--additional);
  font: 34px/1 Arial, sans-serif;
}

.location-card > p:not(.location-card__city) {
  max-width: 650px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
}

.location-card:nth-child(4n + 1) > p:not(.location-card__city),
.location-card:nth-child(4n + 4) > p:not(.location-card__city) {
  color: #68636a;
}

.location-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: auto;
  padding-top: 32px;
}

.location-card__links a {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
}

.location-card__status {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .locations-heading,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    min-height: 330px;
  }
}

@media (max-width: 560px) {
  .locations-hero h1 {
    font-size: clamp(43px, 13vw, 70px);
  }

  .locations-hero h1 br {
    display: none;
  }

  .location-card {
    min-height: 310px;
  }
}
