.locations-page {
  padding-top: 44px;
  padding-bottom: clamp(72px, 8vw, 110px);
}

.locations-heading {
  position: relative;
  max-width: none;
  margin: 0 0 34px;
  padding: clamp(34px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid #dfe7f1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(37, 99, 235, 0.12), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.locations-heading::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: linear-gradient(180deg, #1769e0, #de2738);
  content: "";
}

.locations-heading .eyebrow {
  margin-bottom: 14px;
  color: #1769e0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.locations-heading h1 {
  max-width: 900px;
  margin: 0 0 14px;
  color: #152033;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.65rem, 4.6vw, 4.1rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.locations-heading > p:last-child {
  max-width: 700px;
  margin: 0;
  color: #667085;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  font-weight: 400;
  line-height: 1.7;
}

.locations-list {
  display: grid;
  gap: 28px;
}

.location-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid #dfe7f1;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.location-card:hover {
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.location-image-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  border-right: 1px solid #e3eaf3;
  background: #f1f4f8;
}

.location-image {
  display: block;
  width: 100%;
  height: 530px;
  background: #f1f4f8;
  object-fit: contain;
  object-position: center;
}

.location-caption {
  margin: 0;
  padding: 11px 17px;
  border-top: 1px solid #e3eaf3;
  background: #fafbfc;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.45;
}

.location-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(32px, 4.5vw, 56px);
}

.location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1;
  text-transform: uppercase;
}

.location-badge-featured {
  border-color: #ead18a;
  background: #fff8e6;
  color: #76520a;
}

.location-badge-available {
  border-color: #b9dfc7;
  background: #eef9f2;
  color: #22643d;
}

.location-details h2 {
  margin: 0 0 14px;
  color: #152033;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.location-address {
  margin: 0 0 22px;
  color: #5e6b7d;
  font-size: 1.02rem;
  line-height: 1.65;
}

.location-description {
  margin: 0 0 28px;
  color: #475467;
  font-size: 0.98rem;
  line-height: 1.75;
}

.location-map-button {
  align-self: flex-start;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.16);
}

.site-nav a[aria-current="page"] {
  color: #1769e0;
  font-weight: 700;
}

@media (max-width: 850px) {
  .locations-page {
    padding-top: 24px;
    padding-bottom: 72px;
  }

  .locations-heading {
    margin-bottom: 24px;
    padding: 34px 28px;
    border-radius: 20px;
  }

  .locations-heading h1 {
    font-size: clamp(2.45rem, 11vw, 3.5rem);
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .location-image-wrap {
    border-right: 0;
    border-bottom: 1px solid #e3eaf3;
  }

  .location-image {
    height: auto;
    max-height: none;
  }

  .location-details {
    padding: 28px 24px 34px;
  }
}

@media (max-width: 520px) {
  .locations-heading {
    padding: 30px 22px;
  }

  .locations-heading h1 {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }

  .location-map-button {
    width: 100%;
  }
}
/* Compact understated Locations heading - 2026-07-23 */
.locations-page {
  padding-top: 30px;
}

.locations-heading {
  margin-bottom: 24px;
  padding: 28px 38px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 94% 10%, rgba(37, 99, 235, 0.07), transparent 30%),
    #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}

.locations-heading::after {
  width: 3px;
}

.locations-heading .eyebrow {
  margin-bottom: 10px;
  font-size: 0.69rem;
  font-weight: 600;
}

.locations-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 3.5vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.locations-heading > p:last-child {
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .locations-page {
    padding-top: 18px;
  }

  .locations-heading {
    padding: 26px 24px;
    border-radius: 16px;
  }

  .locations-heading h1 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }
}
/* ERPNext availability status colors */
.location-badge-limited-availability {
  border-color: #ead18a;
  background: #fff8e6;
  color: #76520a;
}

.location-badge-reserved {
  border-color: #b9ccef;
  background: #eef4ff;
  color: #315b9f;
}

.location-badge-unavailable {
  border-color: #e7bdc2;
  background: #fff0f1;
  color: #9b3440;
}

.location-image-placeholder {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 24px;
  color: #667085;
  font-weight: 600;
  text-align: center;
}
/* Advertising location filtering */
.location-filters {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) minmax(160px, 0.9fr) minmax(170px, 0.9fr) minmax(240px, 1.2fr);
  gap: 16px;
  margin: 0 0 28px;
  padding: 22px;
  border: 1px solid #dfe7f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.location-filter-field {
  min-width: 0;
}

.location-filter-field label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 700;
}

.location-filter-field input,
.location-filter-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #ccd6e3;
  border-radius: 11px;
  background: #fff;
  color: #152033;
  font: inherit;
}

.location-filter-field input:focus,
.location-filter-field select:focus {
  border-color: #1769e0;
  outline: 3px solid rgba(23, 105, 224, 0.13);
}

.location-filter-summary {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
}

.location-filter-summary p {
  margin: 0;
  color: #667085;
  font-size: 0.86rem;
}

#location-clear-filters {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #1769e0;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
}

#location-clear-filters:hover {
  text-decoration: underline;
}

.location-card[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .location-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .location-search-field {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .location-filters {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
  }

  .location-search-field,
  .location-filter-summary {
    grid-column: auto;
  }

  .location-filter-summary {
    align-items: flex-start;
    gap: 12px;
  }
}