/* sections/_split-hero.css */
/* ── Shared split page hero (All Locations, What Is LOCKUP, etc.) ── */

.split-hero {
  position: relative;
  width: 100%;
  min-height: min(70vh, 720px);
  display: flex;
  align-items: center;
  background-color: var(--clr-black);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(248,205,4,.04) 39px, rgba(248,205,4,.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(248,205,4,.04) 39px, rgba(248,205,4,.04) 40px);
  overflow: hidden;
}

.split-hero > .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px var(--gutter) var(--space-4);
  position: relative;
  z-index: 1;
  width: 100%;
}

.split-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.split-hero__content {
  min-width: 0;
  text-align: left;
  padding-right: var(--space-4);
}

.split-hero__media {
  min-width: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 320px;
  overflow: visible;
  background: transparent;
}

.split-hero__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  border-left: 3px solid var(--clr-accent);
  border-bottom: 3px solid var(--clr-accent);
  border-radius: 0;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.split-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(248,205,4,.07) 0%, transparent 55%);
  pointer-events: none;
}

.split-hero__tag {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-yellow);
  margin: 0 0 var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.split-hero__tag-dot {
  font-size: 10px;
  color: var(--clr-yellow);
}

.split-hero__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  line-height: 0.75;
  text-transform: uppercase;
  margin: 0 0 var(--space-6);
}

.split-hero__heading-line1 {
  display: block;
  color: var(--clr-white);
}

.split-hero__heading-line2 {
  display: block;
  color: var(--clr-yellow);
}

.split-hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin: 0;
  line-height: var(--lh-normal);
  max-width: 100%;
}

.split-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.split-hero__cta {
  min-width: 11rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .split-hero {
    min-height: 0;
  }

  .split-hero > .container {
    padding: calc(72px + var(--space-8)) var(--gutter) var(--space-4);
  }

  .split-hero__layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .split-hero__content {
    padding-right: 0;
  }

  .split-hero__heading {
    font-size: clamp(3.25rem, 14vw, 4.5rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .split-hero__subtitle {
    font-size: 1rem;
  }

  .split-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .split-hero__cta {
    width: 100%;
    min-width: 0;
  }

  .split-hero__media {
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .split-hero__image {
    aspect-ratio: 16 / 9;
  }

  .split-hero::before {
    background: radial-gradient(ellipse at 50% 0%, rgba(248,205,4,.07) 0%, transparent 55%);
  }
}

@media (max-width: 480px) {
  .split-hero > .container {
    padding: calc(56px + var(--space-6)) var(--gutter) var(--space-3);
  }

  .split-hero__heading {
    font-size: clamp(2.85rem, 13vw, 3.75rem);
  }

  .split-hero__tag {
    margin-bottom: var(--space-4);
  }
}

/* sections/_all-locations.css */
/* ============================================================
   LOCKUP Theme — All Locations Page
   ============================================================ */

/* ── Page wrapper ─────────────────────────────────────────── */
.all-locations {
  background: var(--clr-black);
  color: var(--clr-text);
}

/* ── Search (inline in grid header) ───────────────────────── */
.all-locations__search {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.all-locations__search-form {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
  flex-wrap: nowrap;
  width: 100%;
}

.all-locations__search-label {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-yellow);
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
}

.all-locations__search-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 520px;
  width: clamp(240px, 34vw, 520px);
}

.all-locations__search-input {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--clr-white);
  background: var(--clr-dark-grey);
  border: 1px solid var(--clr-border);
  border-right: none;
  outline: none;
  transition: border-color var(--transition-fast);
}

.all-locations__search-input:focus {
  border-color: var(--clr-yellow);
}

.all-locations__search-btn {
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-black);
  background: var(--clr-yellow);
  border: 1px solid var(--clr-yellow);
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.all-locations__search-btn:hover {
  opacity: 0.85;
}

.all-locations__search-error {
  width: 100%;
  font-size: var(--fs-sm);
  color: #ff6b6b;
  margin-top: var(--space-1);
  text-align: right;
}

.all-locations__geo-btn {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 var(--space-2);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.all-locations__geo-btn span{
  font-size: 0.5rem;
   color: var(--clr-yellow);
}

.all-locations__geo-btn:hover {
  color: var(--clr-yellow);
}

/* ── Location Cards Grid ──────────────────────────────────── */
.all-locations__grid {
  max-width: var(--max-width);
  margin: 0 auto;
}

.all-locations__grid-tag {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-yellow);
  margin: 0 0 var(--space-2);
}

.all-locations__grid-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  text-transform: uppercase;
  color: var(--clr-white);
  margin: 0;
}

.all-locations__grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.all-locations__grid-header-left {
  min-width: 0;
  flex: 0 0 auto;
}

.all-locations__grid-header-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.all-locations__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.all-locations__no-locations {
  grid-column: 1 / -1;
  font-size: var(--fs-body);
  color: var(--clr-text-muted);
  text-align: center;
  padding: var(--space-12) 0;
}

/* ── Location Card ────────────────────────────────────────── */
.all-locations__card {
  display: flex;
  flex-direction: column;
  background-color: var(--clr-dark-grey);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.all-locations__card-summary {
  display: flex;
  flex-direction: row;
  min-width: 0;
}

.all-locations__card:hover {
  border-color: rgba(248, 205, 4, 0.3);
}

.all-locations__card--active,
.all-locations__card--expanded {
  border: 2px solid var(--clr-yellow);
  /* border-color: var(--clr-yellow); */
  box-shadow: 0 0 0 2px rgba(248, 205, 4, 0.35);
}

.all-locations__card-flagship {
  display: inline-block;
  margin-left: var(--space-2);
  background: var(--clr-yellow);
  color: var(--clr-black);
  font-size: 0.55rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  padding: 2px 6px;
  vertical-align: middle;
}

.all-locations__card-closest {
  display: inline-block;
  margin-left: auto;
  flex-shrink: 0;
  background: transparent;
  color: var(--clr-yellow);
  border: 1px solid var(--clr-yellow);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2em 0.55em;
  line-height: 1.2;
  white-space: nowrap;
}

.all-locations__card-image {
  position: relative;
  width: 180px;
  min-width: 180px;
  min-height: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.all-locations__card-image img {
  width: 100%;
  height: 100%;
  min-height: unset;
  object-fit: cover;
}

.all-locations__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--clr-yellow);
  background: rgba(0, 0, 0, 0.85);
  padding: var(--space-1) var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.all-locations__badge-dot {
  color: var(--clr-yellow);
  font-size: 8px;
}

.all-locations__card-content {
  padding: var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  background: var(--clr-black);
  flex: 1;
  justify-content: center;
  font-size: 0.8rem;
}

.all-locations__card-name {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--clr-white);
  margin: 0;
  line-height: var(--lh-snug);
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.all-locations__card-address {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.all-locations__card-address svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.all-locations__card-stats {
  display: flex;
  align-items: stretch;
  gap: 3rem;
  margin: var(--space-2) 0;
  min-width: 0;
  width: 100%;
}

.all-locations__card-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  flex: 1 1 0;
  min-width: 0;
  padding: var(--space-3) 40px var(--space-3) 24px;
  border-left: 1px solid var(--clr-border);
}

.all-locations__card-stat:first-child {
  border-left: none;
  padding-left: 0;
}

.all-locations__card-stat-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--clr-white);
  line-height: 1;
}

.all-locations__card-stat:nth-child(2) .all-locations__card-stat-value {
  color: var(--clr-yellow);
}

.all-locations__card-stat-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-text-muted);
  overflow-wrap: anywhere;
}

.all-locations__card-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.all-locations__btn-primary {
  flex: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--clr-black);
  background: var(--clr-yellow);
  border: none;
  min-height: 36px;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.all-locations__btn-primary:hover {
  opacity: 0.85;
  color: var(--clr-black);
}

.all-locations__btn-secondary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--clr-text-muted);
  background: var(--clr-dark-grey);
  border: 1px solid var(--clr-border);
  min-height: 36px;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.all-locations__btn-secondary:hover {
  border-color: var(--clr-yellow);
}

/* ── Card expanded details ────────────────────────────────── */
.all-locations__card-details {
  border-top: 1px solid var(--clr-border);
  background: var(--clr-black);
}

.all-locations__card-details-inner {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.all-locations__card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.all-locations__card-meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

.all-locations__card-meta-item--hours,
.all-locations__card-meta-item--transport {
  grid-column: 1 / -1;
}

.all-locations__card-meta-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-yellow);
}

.all-locations__card-meta-item a {
  color: var(--clr-white);
  text-decoration: none;
  font-size: var(--fs-sm);
  word-break: break-word;
}

.all-locations__card-meta-item a:hover {
  color: var(--clr-yellow);
}

.all-locations__card-hours-list,
.all-locations__card-transport-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.all-locations__card-hours-list li,
.all-locations__card-transport-list li {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.4;
}

.all-locations__card-photos-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin: 0 0 var(--space-2);
}

.all-locations__card-photos-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-yellow);
  margin: 0;
}

.all-locations__card-photos-viewall {
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-white);
  cursor: pointer;
}

.all-locations__card-photos-viewall:hover,
.all-locations__card-photos-viewall:focus-visible {
  color: var(--clr-yellow);
}

.all-locations__card-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

/* Desktop: 4×2 preview */
.all-locations__card-photos-grid .all-locations__card-photo:nth-child(n + 9) {
  display: none;
}

.all-locations__card-photo {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--clr-dark-grey);
}

.all-locations__card-photo-btn {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.all-locations__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.all-locations__card-photo--siteplan .all-locations__card-photo-btn {
  aspect-ratio: 1 / 1;
  background: var(--clr-black);
}

.all-locations__card-photo--siteplan img {
  object-fit: contain;
  padding: var(--space-1);
}

.all-locations__card-photo-caption {
  display: block;
  padding: var(--space-1) var(--space-2);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  background: var(--clr-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.all-locations__card-details-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.all-locations__card-details-actions .all-locations__btn-secondary {
  flex: 0 0 auto;
  min-width: 160px;
}

/* ── Map Section ──────────────────────────────────────────── */
.all-locations__map-section {
  width: 100%;
  background-color: #1f1e1e;
}

.all-locations__map-wrap {
  position: relative;
  flex: 1;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.all-locations__map-popup {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(21, 21, 21, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--clr-yellow);
  backdrop-filter: blur(8px);
}

.all-locations__map-popup[hidden] {
  display: none;
}

.all-locations__map-popup-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--clr-white);
  margin: 0 0 var(--space-1);
  line-height: 1.2;
}

.all-locations__map-popup-address {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin: 0;
}

.all-locations__map-popup-actions {
  flex-shrink: 0;
}

.all-locations__map-section > .container {
  max-width: var(--max-width);
  margin: 0 auto;
  border: 1px solid var(--clr-border);
  padding: var(--space-6);
}

.all-locations__map-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  text-transform: uppercase;
  color: var(--clr-white);
  margin: 0 0 var(--space-6);
}

.all-locations__map-container {
  width: 100%;
  min-height: 400px;
  background: var(--clr-dark-grey);
  border: 1px solid var(--clr-border);
  position: relative;
}

.all-locations__map {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.all-locations__map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  font-size: var(--fs-body);
  color: var(--clr-text-muted);
  text-align: center;
  padding: var(--space-4);
}

/* Map info overlay */
.all-locations__map-info {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  background: rgba(21, 21, 21, 0.96);
  border-top: 1px solid var(--clr-border);
  backdrop-filter: blur(8px);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  z-index: 10;
}

/* InfoWindow popup override — inside Google Maps */
.gm-style-iw .all-locations__map-info {
  position: static;
  background: transparent;
  border: none;
  backdrop-filter: none;
  padding: 0.25rem;
  display: block;
  min-width: 140px;
  color: var(--clr-black, #000);
}

/* Map pin markers */
.all-locations__map-marker {
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.all-locations__map-marker:hover {
  z-index: 30 !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
  transform: scale(1.08);
}

.all-locations__map-marker img {
  transform-origin: center bottom;
}

.gm-style-iw .all-locations__map-info strong {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 1rem;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.15rem;
}

.gm-style-iw .all-locations__map-info span {
  font-size: 0.85rem;
  color: #555;
  display: block;
  margin-bottom: 0.35rem;
}

.gm-style-iw .all-locations__map-info a {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: #000;
  background: var(--clr-yellow, #F8CD04);
  padding: 0.3rem 0.6rem;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.gm-style .gm-style-iw-c {
  padding: 8px !important;
}

.gm-style .gm-style-iw-d {
  overflow: hidden !important;
  padding: 0 !important;
}

.all-locations__map-info-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  color: var(--clr-white);
}

.all-locations__map-info-meta {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

/* ── Unit Sizes Section ───────────────────────────────────── */
.all-locations__unit-sizes {
  padding: var(--section-pad) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.all-locations__unit-sizes > .container {
  border: 1px solid var(--clr-border);
  padding: var(--space-6);
  padding-bottom: 0;
}

.all-locations__unit-sizes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.all-locations__unit-sizes-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  color: var(--clr-white);
  margin: 0;
}

.all-locations__unit-sizes-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-yellow);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.all-locations__unit-sizes-link:hover {
  opacity: 0.7;
}

.all-locations__unit-sizes-list {
  display: flex;
  gap: 0;
  padding: 0;
  list-style: none;
  margin: 0;
}

.all-locations__unit-size-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4);
  border: 1px solid var(--clr-border);
  border-right: none;
  cursor: pointer;
  transition: border-color var(--transition-fast),
              background var(--transition-fast);
  min-height: 100px;
}

.all-locations__unit-size-item:last-child {
  border-right: none;
}

.all-locations__unit-size-item:first-child {
  border-left: none;
}

.all-locations__unit-size-item:hover {
  border-color: rgba(248, 205, 4, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.all-locations__unit-size--active {
  border-top-color: var(--clr-yellow);
  border-top-width: 3px;
  background: rgba(248, 205, 4, 0.05);
}

.all-locations__unit-size-sqft {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: var(--clr-white);
  line-height: 1;
}

.all-locations__unit-size-sqft sup {
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  vertical-align: super;
}

.all-locations__unit-size-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.all-locations__unit-size-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--clr-black);
  background: var(--clr-yellow);
  padding: 2px 8px;
  white-space: nowrap;
}

.all-locations__pricing-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-yellow);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.all-locations__pricing-link:hover {
  opacity: 0.7;
}

/* ── Focus Indicators ─────────────────────────────────────── */
.all-locations a:focus-visible,
.all-locations button:focus-visible,
.all-locations input:focus-visible,
.all-locations [tabindex]:focus-visible {
  outline: 2px solid var(--clr-yellow);
  outline-offset: 2px;
}

.all-locations__unit-size:focus-visible {
  outline: 2px solid var(--clr-yellow);
  outline-offset: 2px;
}

/* ── Screen Reader Only ───────────────────────────────────── */
.all-locations .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Responsive: ≤1024px ──────────────────────────────────── */
@media (max-width: 1024px) {
  .all-locations__cards {
    grid-template-columns: 1fr;
  }

  .all-locations__card {
    min-height: 300px;
  }

  .all-locations__map-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .all-locations__grid-header {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
  }

  .all-locations__grid-header-right {
    justify-content: stretch;
  }

  .all-locations__search {
    align-items: stretch;
  }

  .all-locations__search-form {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: var(--space-2);
  }

  .all-locations__search-row {
    width: 100%;
    max-width: none;
  }

  .all-locations__card-stats {
    gap: var(--space-6);
  }

  .all-locations__card-stat {
    padding: var(--space-3) var(--space-5) var(--space-3) var(--space-4);
  }

  .all-locations__card-photos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Tablet: 3×2 preview */
  .all-locations__card-photos-grid .all-locations__card-photo:nth-child(n + 7) {
    display: none;
  }
}

/* ── Responsive: ≤768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .all-locations__cards {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .all-locations__grid {
    padding: 0;
  }

  .all-locations__card {
    min-height: unset;
  }

  .all-locations__card-summary {
    flex-direction: column;
  }

  .all-locations__card-content {
    padding: var(--space-4) var(--space-3);
  }

  .all-locations__card-name {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .all-locations__card-meta {
    grid-template-columns: 1fr;
  }

  .all-locations__card-photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Mobile: 2×2 preview */
  .all-locations__card-photos-grid .all-locations__card-photo:nth-child(n + 5) {
    display: none;
  }

  .all-locations__card-image {
    width: 100%;
    min-width: unset;
    min-height: 160px;
  }

  .all-locations__card-image img {
    min-height: 160px;
  }

  .all-locations__card-stats {
    gap: var(--space-3);
  }

  .all-locations__card-stat {
    padding: var(--space-2) var(--space-3);
  }

  .all-locations__map-container,
  .all-locations__map,
  .all-locations__map-fallback {
    min-height: 300px;
  }

  .all-locations__search-label {
    width: 100%;
  }

  .all-locations__search-input {
    min-width: 0;
    width: 100%;
    border-right: none;
  }

  .all-locations__search-error {
    text-align: left;
    align-self: stretch;
  }

  .all-locations__geo-btn {
    min-height: auto;
    padding: 0;
  }

  .all-locations__unit-sizes-list {
    gap: var(--space-3);
  }

  .all-locations__unit-size {
    padding: var(--space-3) var(--space-4);
    flex: 1 1 calc(50% - var(--space-3));
  }

  .all-locations__card-actions {
    flex-direction: column;
  }

  .all-locations__card-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Responsive: ≤480px ───────────────────────────────────── */
@media (max-width: 480px) {
  .all-locations__grid-map {
    padding: var(--space-4) 0;
  }

  .all-locations__card-stats {
    gap: var(--space-2);
  }

  .all-locations__card-stat {
    padding: var(--space-2) var(--space-2) var(--space-2) 0;
  }

  .all-locations__card-stat:not(:first-child) {
    padding-left: var(--space-3);
  }

  .all-locations__card-stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
  }

  .all-locations__card-stat-value {
    font-size: 1.1rem;
  }

  .all-locations__search-btn {
    padding: var(--space-3) var(--space-4);
  }

  .all-locations__card-closest {
    margin-left: 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   Grid + Map — Side-by-side layout
   ══════════════════════════════════════════════════════════════ */

.all-locations__grid-map {
  padding: var(--space-6, 1.5rem) var(--space-3, 0.75rem);
  width: 100%;
  border-top: 1px solid var(--clr-border);
}

.all-locations__grid-map > .container {
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
}

.all-locations__grid-map-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4, 1rem);
  align-items: stretch;
}

.all-locations__grid-map-left {
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--clr-yellow, #F8CD04) rgba(255, 255, 255, 0.05);
}

.all-locations__grid-map-left::-webkit-scrollbar {
  width: 6px;
}

.all-locations__grid-map-left::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.all-locations__grid-map-left::-webkit-scrollbar-thumb {
  background: var(--clr-yellow, #F8CD04);
  border-radius: 3px;
}

.all-locations__grid-map-left::-webkit-scrollbar-thumb:hover {
  background: var(--clr-white, #fff);
}

/* Inside the side-by-side layout, cards stack in single column */
.all-locations__grid-map-left .all-locations__cards {
  grid-template-columns: 1fr;
}

.all-locations__grid-map-right {
  position: sticky;
  top: 2rem;
  height: 80vh;
  display: flex;
  flex-direction: column;
}

.all-locations__grid-map-right .all-locations__map-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.all-locations__grid-map-right .all-locations__map-container {
  min-height: 400px;
  flex: 1;
  height: 100%;
  border-radius: 4px;
}

.all-locations__grid-map-right .all-locations__map-wrap {
  flex: 1;
  height: 100%;
  min-height: 400px;
}

/* Hide the map heading inside the side-by-side layout (already contextually clear) */
.all-locations__grid-map-right .all-locations__map-heading {
  display: none;
}

/* ── Responsive: ≤1024px — stack vertically ─────────────────── */
@media (max-width: 1024px) {
  .all-locations__grid-map-layout {
    grid-template-columns: 1fr;
  }

  .all-locations__grid-map-left {
    max-height: none;
    overflow-y: visible;
  }

  .all-locations__grid-map-right {
    position: static;
    height: auto;
    top: auto;
  }

  .all-locations__grid-map-right .all-locations__map-heading {
    display: block;
  }

  .all-locations__grid-map-right .all-locations__map-container,
  .all-locations__grid-map-right .all-locations__map-wrap {
    min-height: 360px;
    height: auto;
  }
}

/* sections/_locations-map.css */
/* ── Locations Map Section ── */
.locations-map{
  --locations-map-height:450px;
  --locations-map-popup-offset:7.5rem;
  background:var(--clr-dark-grey);
  padding-bottom:60px;
  border-top:1px solid rgba(255,255,255,.06);
}
.locations-map__top{ display:flex; align-items:center; justify-content:space-between; padding:2.5rem var(--gutter); max-width:var(--max-width); margin:0 auto; width:100%; }
.locations-map__top-left{ display:flex; flex-direction:column; gap:.25rem; }
.locations-map__top .section-tag{ margin-bottom:0; }
.locations-map__headline{ font-family:var(--font-heading); font-size:var(--fs-h1); line-height:0.8; text-transform:uppercase; color:#fff; }
.locations-map__headline span{ color:var(--clr-accent); }
.locations-map__all{ font-size:.75rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#F8CD04; white-space:nowrap; transition:opacity .15s; align-self:center; }
.locations-map__all:hover{ opacity:.7; color:#F8CD04; }
.locations-map__body{ display:grid; grid-template-columns:minmax(320px,360px) 1fr; grid-template-rows:var(--locations-map-height); height:var(--locations-map-height); min-height:0; max-width:var(--max-width); margin:0 auto; padding-inline:var(--gutter); width:100%; }
.locations-map__cards{ display:flex; flex-direction:column; height:100%; max-height:var(--locations-map-height); min-height:0; border-right:1px solid rgba(255,255,255,.08); overflow-y:auto; scrollbar-width:thin; scrollbar-color:#F8CD04 rgba(255,255,255,.05); }
.locations-map__cards::-webkit-scrollbar{ width:6px; }
.locations-map__cards::-webkit-scrollbar-track{ background:rgba(255,255,255,.05); border-radius:3px; }
.locations-map__cards::-webkit-scrollbar-thumb{ background:#F8CD04; border-radius:3px; }
.locations-map__cards::-webkit-scrollbar-thumb:hover{ background:#fff; }
.locations-map__card{ display:flex; align-items:center; gap:1rem; padding:1.125rem 1.25rem; border-left:3px solid transparent; border-bottom:1px solid rgba(255,255,255,.06); cursor:pointer; transition:background .2s,border-color .2s; flex-shrink:0; }
.locations-map__card:hover{ background:rgba(255,255,255,.03); border-left-color:rgba(248,205,4,.4); }
.locations-map__card--active{ background:rgba(255,255,255,.05) !important; border-left-color:#F8CD04 !important; }
.locations-map__card-body{ flex:1; min-width:0; display:flex; flex-direction:column; gap:.35rem; }
.locations-map__card-header{ display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-bottom:0; }
.locations-map__card-title{ font-family:var(--font-heading); font-size:1.15rem; letter-spacing:.05em; text-transform:uppercase; color:#fff; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.locations-map__flagship{ background:#F8CD04; color:#151515; font-size:.55rem; font-weight:700; letter-spacing:.08em; padding:2px 6px; border-radius:2px; white-space:nowrap; flex-shrink:0; }
.locations-map__avail{ font-size:.7rem; white-space:nowrap; display:inline-flex; align-items:center; gap:.25rem; }
.locations-map__avail--green{ color:#F8CD04; }
.locations-map__address{ font-size:.78rem; color:var(--clr-text-muted); margin:0; line-height:1.4; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.locations-map__units{ font-size:.72rem; color:var(--clr-text-muted); display:flex; gap:.5rem; align-items:center; flex-wrap:wrap; margin:0; }
.locations-map__card-actions{ flex-shrink:0; align-self:center; }
.locations-map__card-btn{ padding:.75rem 1.125rem; font-size:.85rem; letter-spacing:.1em; min-height:2.75rem; min-width:6.75rem; justify-content:center; border:1px solid transparent; box-shadow:0 2px 8px rgba(0,0,0,.18); }
.locations-map__card-btn:hover{ transform:none; box-shadow:0 4px 12px rgba(248,205,4,.22); }
.locations-map__card--active .locations-map__card-btn{ box-shadow:0 4px 14px rgba(248,205,4,.28); }
.locations-map__map-wrap{ position:relative; overflow:hidden; height:var(--locations-map-height); min-height:0; }
.locations-map__map{ position:absolute; top:0; left:0; right:0; bottom:0; }
.locations-map__photos{
  position:absolute;
  top:1rem;
  right:1rem;
  z-index:12;
  width:min(280px, calc(100% - 2rem));
  max-height:calc(100% - 1rem - var(--locations-map-popup-offset));
  display:flex;
  flex-direction:column;
  background:rgba(21,21,21,.96);
  border:1px solid rgba(255,255,255,.12);
  border-left:3px solid #F8CD04;
  box-shadow:0 12px 32px rgba(0,0,0,.45);
  backdrop-filter:blur(8px);
  overflow:hidden;
}
.locations-map__photos[hidden]{ display:none; }
.locations-map__photos-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:.75rem;
  padding:.875rem 1rem .75rem;
  border-bottom:1px solid rgba(255,255,255,.08);
  flex-shrink:0;
}
.locations-map__photos-heading{
  display:flex;
  flex-direction:column;
  gap:.2rem;
  min-width:0;
}
.locations-map__photos-title{
  font-family:var(--font-heading);
  font-size:.85rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#fff;
  margin:0;
  line-height:1.3;
}
.locations-map__photos-label{
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#F8CD04;
  margin:0;
}
.locations-map__photos-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.75rem;
  height:1.75rem;
  flex-shrink:0;
  border:1px solid rgba(255,255,255,.15);
  background:transparent;
  color:#fff;
  cursor:pointer;
  transition:background .15s,border-color .15s,color .15s;
}
.locations-map__photos-close:hover{
  background:#F8CD04;
  border-color:#F8CD04;
  color:#151515;
}
.locations-map__photos-loader{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:120px;
  padding:1.5rem 1rem;
  flex-shrink:0;
}
.locations-map__photos-loader[hidden]{
  display:none;
}
.locations-map__photos-spinner{
  width:1.75rem;
  height:1.75rem;
  border:2px solid rgba(248,205,4,.25);
  border-top-color:#F8CD04;
  border-radius:50%;
  animation:locations-map-photos-spin .7s linear infinite;
}
@keyframes locations-map-photos-spin{
  to{ transform:rotate(360deg); }
}
.locations-map__photos-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:.5rem;
  padding:.75rem;
  overflow-y:auto;
  max-height:240px;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:#F8CD04 rgba(255,255,255,.05);
}
.locations-map__photos-grid--loading{
  visibility:hidden;
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}
.locations-map__photos-grid::-webkit-scrollbar{ width:5px; }
.locations-map__photos-grid::-webkit-scrollbar-track{ background:rgba(255,255,255,.05); border-radius:3px; }
.locations-map__photos-grid::-webkit-scrollbar-thumb{ background:#F8CD04; border-radius:3px; }
.locations-map__photos-grid::-webkit-scrollbar-thumb:hover{ background:#fff; }
.locations-map__photo{
  display:block;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:#2F2F2D;
}
.locations-map__photo a,
.locations-map__photo-btn{
  display:block;
  aspect-ratio:4/3;
  overflow:hidden;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}
.locations-map__photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.locations-map__photo--siteplan a,
.locations-map__photo--siteplan .locations-map__photo-btn{
  aspect-ratio:1/1;
  background:#151515;
}
.locations-map__photo--siteplan img{
  object-fit:contain;
  padding:.25rem;
}
.locations-map__photo-caption{
  display:block;
  padding:.35rem .4rem .45rem;
  font-size:.6rem;
  line-height:1.3;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#82827C;
  background:#151515;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.locations-map__popup{ margin:1rem; position:absolute; bottom:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding:1.25rem 1.5rem; background:rgba(21,21,21,.96); border-top:1px solid rgba(255,255,255,.1); backdrop-filter:blur(8px); z-index:10; }
.locations-map__popup-title{ font-family:var(--font-heading); font-size:1.5rem; letter-spacing:.05em; text-transform:uppercase; color:#fff; margin-bottom:.25rem; }
.locations-map__popup-meta{ display:flex; align-items:center; gap:.75rem; font-size:.8rem; color:#82827C; flex-wrap:wrap; }
.locations-map__popup-meta > span{ display:inline-flex; align-items:center; gap:.25rem; }
.locations-map__pin-icon{ vertical-align:middle; flex-shrink:0; }
.locations-map__popup-actions{ display:flex; gap:.75rem; flex-shrink:0; }
.locations-map__popup-actions .btn{ border:1px solid #282828; }

/* Full-screen photo viewer (no new tab) */
.locations-lightbox{
  position:fixed;
  inset:0;
  z-index:var(--z-modal);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.5rem;
}
.locations-lightbox[hidden]{ display:none; }
.locations-lightbox__backdrop{
  position:absolute;
  inset:0;
  border:0;
  background:rgba(0,0,0,.88);
  cursor:pointer;
}
.locations-lightbox__dialog{
  position:relative;
  z-index:1;
  width:min(920px, 100%);
  max-height:calc(100vh - 3rem);
  display:flex;
  flex-direction:column;
  gap:.75rem;
  background:#151515;
  border:1px solid rgba(255,255,255,.12);
  border-top:3px solid #F8CD04;
  box-shadow:0 24px 64px rgba(0,0,0,.55);
}
.locations-lightbox__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
  padding:1rem 1rem 0;
}
.locations-lightbox__title{
  font-family:var(--font-heading);
  font-size:1rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#fff;
  margin:0;
  line-height:1.3;
}
.locations-lightbox__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2rem;
  height:2rem;
  flex-shrink:0;
  border:1px solid rgba(255,255,255,.15);
  background:transparent;
  color:#fff;
  cursor:pointer;
  transition:background .15s,border-color .15s,color .15s;
}
.locations-lightbox__close:hover{
  background:#F8CD04;
  border-color:#F8CD04;
  color:#151515;
}
.locations-lightbox__viewer{
  position:relative;
  margin:0 1rem;
  min-height:min(60vh, 520px);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0d0d0d;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.locations-lightbox__loader{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(13,13,13,.72);
  pointer-events:none;
}
.locations-lightbox__loader[hidden]{
  display:none;
}
.locations-lightbox__img{
  max-width:100%;
  max-height:min(60vh, 520px);
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  user-select:none;
  -webkit-user-drag:none;
  opacity:1;
  transition:opacity .2s ease;
}
.locations-lightbox.is-loading .locations-lightbox__img{
  opacity:0;
}
.locations-lightbox__img--siteplan{
  padding:1rem;
}
.locations-lightbox__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:2.5rem;
  height:2.5rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(21,21,21,.85);
  color:#fff;
  font-size:1.5rem;
  line-height:1;
  cursor:pointer;
  transition:background .15s,border-color .15s,color .15s;
}
.locations-lightbox__nav:hover{
  background:#F8CD04;
  border-color:#F8CD04;
  color:#151515;
}
.locations-lightbox__nav--prev{ left:.75rem; }
.locations-lightbox__nav--next{ right:.75rem; }
.locations-lightbox__nav:disabled{
  opacity:.35;
  cursor:not-allowed;
  pointer-events:none;
}
.locations-lightbox__counter{
  position:absolute;
  bottom:.75rem;
  left:.75rem;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.08em;
  color:#fff;
  background:rgba(0,0,0,.65);
  padding:.25rem .5rem;
  border-radius:2px;
}
.locations-lightbox__caption{
  margin:0;
  padding:0 1rem 1rem;
  font-size:.72rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#82827C;
  text-align:center;
}
@media(max-width:1024px){
  .locations-map{
    --locations-map-height:clamp(380px, 42vh, 460px);
    --locations-map-popup-offset:9.5rem;
  }
  .locations-map__body{
    grid-template-columns:1fr;
    grid-template-rows:auto auto; /* don't stretch cards to map height */
    height:auto;
  }
  .locations-map__cards{
    flex-direction:column;
    flex-wrap:nowrap;
    height:auto;
    max-height:none;
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .locations-map__card{
    flex:0 0 auto;
    min-width:0;
    align-items:center;
  }
  .locations-map__card-actions{ align-self:center; }
  .locations-map__map-wrap{
    position:relative;
    overflow:hidden;
    height:var(--locations-map-height);
  }
  .locations-map__photos{
    top:auto;
    right:.75rem;
    left:.75rem;
    bottom:var(--locations-map-popup-offset);
    width:auto;
    max-height:calc(100% - 1rem - var(--locations-map-popup-offset));
    height:auto;
  }
  .locations-map__photos-grid{
    max-height:180px;
  }
  .locations-map__top{ padding:1.5rem var(--gutter); }
  .locations-lightbox{ padding:1rem; }
  .locations-lightbox__viewer{ min-height:min(50vh, 420px); }
  .locations-lightbox__img{ max-height:min(50vh, 420px); }
}

@media(max-width:640px){
  .locations-map{
    /* Compact enough for phone viewports while keeping popup + photos usable */
    --locations-map-height:clamp(420px, 58vh, 520px);
    --locations-map-popup-offset:13.5rem;
  }
  .locations-map__top{ flex-direction:column; align-items:flex-start; gap:1rem; padding:1.25rem var(--gutter); }
  .locations-map__headline{ overflow-wrap:anywhere; }
  .locations-map__card{ flex-wrap:wrap; gap:.75rem; }
  .locations-map__card-actions{ width:100%; align-self:stretch; }
  .locations-map__card-btn{ width:100%; min-width:0; }
  .locations-map__photos{
    top:auto;
    left:.75rem;
    right:.75rem;
    bottom:var(--locations-map-popup-offset);
    width:auto;
    max-height:calc(100% - 1rem - var(--locations-map-popup-offset));
    height:auto;
    justify-content:flex-start;
    border-bottom:0;
  }
  .locations-map__photos-header{
    padding:.55rem .75rem .4rem;
  }
  .locations-map__photos-title{ display:none; } /* popup already shows site name */
  .locations-map__photos-label{ font-size:.6rem; }
  .locations-map__photos-grid{
    max-height:168px;
    gap:.35rem;
    padding:.45rem .5rem .55rem;
  }
  .locations-map__photo-caption{ display:none; }
  .locations-map__popup{
    margin:.75rem;
    padding:.875rem 1rem;
    gap:.625rem;
    flex-direction:column;
    align-items:stretch;
  }
  .locations-map__popup-title{
    font-size:1.15rem;
    margin-bottom:.15rem;
  }
  .locations-map__popup-meta{
    font-size:.72rem;
    gap:.5rem;
  }
  .locations-map__popup-meta > span:first-child{
    min-width:0;
    max-width:100%;
  }
  #popup-address{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:12rem;
  }
  .locations-map__popup-actions{ width:100%; flex-direction:column; gap:.5rem; }
  .locations-map__popup-actions .btn{
    width:100%;
    justify-content:center;
    min-height:2.5rem;
    padding:.65rem 1rem;
  }
}















/* sections/_seo-block.css */
/* ══════════════════════════════════════════════════════════════════
   SEO Content Section
   ══════════════════════════════════════════════════════════════════ */

.loc-detail__seo {
  width: 100%;
  background: var(--clr-black);
  padding: var(--space-16) 0;
  border-top: 1px solid var(--clr-border);
}

.loc-detail__seo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: center;
}

.loc-detail__seo-grid--full {
  grid-template-columns: 1fr;
}

.loc-detail__seo-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.loc-detail__seo-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  line-height: 0.8;
  text-transform: uppercase;
}

.loc-detail__seo-heading-white {
  display: block;
  color: var(--clr-white);
}

.loc-detail__seo-heading-accent {
  display: block;
  color: var(--clr-yellow);
}

.loc-detail__seo-body {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  max-width: 100%;
  margin-top: var(--space-2);
}

.loc-detail__seo-grid--full .loc-detail__seo-body {
  max-width: none;
}

.loc-detail__seo-body p {
  margin: 0 0 1rem;
}

.loc-detail__seo-body p:last-child {
  margin-bottom: 0;
}

.loc-detail__seo-body ul,
.loc-detail__seo-body ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.loc-detail__seo-body ul {
  list-style: disc;
}

.loc-detail__seo-body ol {
  list-style: decimal;
}

.loc-detail__seo-body li {
  margin-bottom: 0.35rem;
}

.loc-detail__seo-body li::marker {
  color: var(--clr-yellow);
}

.loc-detail__seo-body a {
  color: var(--clr-yellow);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color var(--transition-fast);
}

.loc-detail__seo-body a:hover {
  color: var(--clr-white);
}

.loc-detail__seo-body strong {
  color: var(--clr-white);
  font-weight: 700;
}

.loc-detail__seo-body em {
  font-style: italic;
}

.loc-detail__seo-body h2,
.loc-detail__seo-body h3,
.loc-detail__seo-body h4,
.loc-detail__seo-body h5,
.loc-detail__seo-body h6 {
  font-family: var(--font-heading);
  color: var(--clr-white);
  line-height: 1.15;
  margin: 1.5rem 0 0.75rem;
  text-transform: uppercase;
}

.loc-detail__seo-body h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.loc-detail__seo-body h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.loc-detail__seo-body h4,
.loc-detail__seo-body h5,
.loc-detail__seo-body h6 {
  font-size: 1rem;
}

.loc-detail__seo-body h2:first-child,
.loc-detail__seo-body h3:first-child,
.loc-detail__seo-body h4:first-child,
.loc-detail__seo-body h5:first-child,
.loc-detail__seo-body h6:first-child {
  margin-top: 0;
}

.loc-detail__seo-body blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--clr-yellow);
  color: var(--clr-white);
  font-style: italic;
}

.loc-detail__seo-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border: 1px solid var(--clr-border);
}

.loc-detail__seo-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loc-detail__seo-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--clr-border);
}

@media (max-width: 1024px) {
  .loc-detail__seo-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .loc-detail__seo-media {
    order: 2;
  }
}

@media (max-width: 768px) {
  .loc-detail__seo {
    padding: var(--space-12) 0;
  }

  .loc-detail__seo-image {
    max-height: 360px;
  }
}

@media (max-width: 480px) {
  .loc-detail__seo-heading {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .loc-detail__seo-body {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }
}

