/* =========================================================
   Locations page (/locations/) — on top of css/pages/design-system.css.
   Every rule is scoped to .page-locations.
   ========================================================= */

.page-locations .loc-hero .ds-lead {
  max-width: 640px;
  margin-inline: auto;
}

/* phone + email cards under the hero title */
.page-locations .loc-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--ds-gap);
  max-width: 900px;
  margin: clamp(32px, 4vw, 48px) auto 0;
}

.page-locations .loc-contact span.ds-icon {
  margin-bottom: 0 !important;
}

.page-locations .loc-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ds-navy);
  text-decoration: none;
}

.page-locations .loc-contact-card strong {
  display: block;
  font-family: var(--ds-font-head);
  font-size: clamp(17px, 1.4vw, 20px);
  overflow-wrap: anywhere;
}

.page-locations .loc-contact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ds-muted);
}

.page-locations .loc-contact-card .ds-icon svg {
  width: 24px;
  height: 24px;
}

/* all-offices map */
.page-locations .loc-map {
  aspect-ratio: 16 / 7;
  background: #e5e3df;
}

.page-locations .loc-map {
  overflow: hidden;
}

/* hide the Google My Maps title bar (map owner name) */
.page-locations .loc-map iframe {
  display: block;
  width: 100%;
  height: calc(100% + 70px);
  margin-top: -70px;
  border: 0;
}

/* office cards: two links at the bottom */
.page-locations .loc-office-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}

.page-locations .loc-office-links a {
  margin-top: 0;
}

/* contact form section */
.page-locations .loc-contact-section {
  padding-top: 30px;
}

.page-locations .loc-contact-heading {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-locations .loc-contact-heading .ds-display {
  text-transform: uppercase;
}

.page-locations .loc-form-wrap {
  background: #f2f2f2;
  padding: 25px 30px;
}

.page-locations .loc-form-wrap iframe {
  display: block;
  width: 100%;
}

.page-locations .loc-form-note {
  text-align: center;
  font-size: 14px;
  color: var(--ds-muted);
  margin-top: clamp(16px, 2vw, 24px);
}

@media (max-width: 767px) {
  .page-locations .loc-contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-locations .loc-map {
    aspect-ratio: 4 / 5;
  }
}