/* =============================================================================
   PositiveGym – Location Section  v2026-11
   ============================================================================= */

.locations-section {
  background: var(--pg483, #0a0c0e);
  padding: clamp(72px, 8vw, 110px) clamp(20px, 6vw, 80px);
  color: #f0f1f3;
  text-align: center;
}

.locations-content h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.locations-content h2 span {
  color: var(--pgt-accent, #f4d20d);
}

.locations-content > p {
  max-width: 56ch;
  margin: 0 auto 36px;
  color: rgba(200,208,218,.72);
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  line-height: 1.7;
}

/* ── Map wrapper ───────────────────────────────────────────────────────────── */
.map-container {
  width: min(900px, 100%);
  margin: 0 auto;
  border: 1.5px solid rgba(244,210,13,.40);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}

.map-static {
  position: relative;
  display: block;
  line-height: 0;
}

.map-static iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 420px);
  border: 0;
  filter: invert(1) hue-rotate(180deg) brightness(.84) contrast(.92);
  pointer-events: none;
}

/* Transparent click-shield (prevents accidental map interactions) */
.map-lock-shield {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
}

/* ── Address ───────────────────────────────────────────────────────────────── */
.gym-location-address {
  display: grid;
  gap: 6px;
  width: min(900px, 100%);
  margin: 20px auto 0;
  color: rgba(200,208,218,.65);
  font-size: .94rem;
  font-style: normal;
  line-height: 1.6;
}

.gym-location-address strong {
  color: #f0f1f3;
  font-size: .98rem;
}

@media (max-width: 600px) {
  .gym-location-address {
    gap: 5px;
    margin-top: 16px;
    font-size: .86rem;
    overflow-wrap: anywhere;
  }
  .gym-location-address strong { font-size: .92rem; }
}

/* ── Light mode ────────────────────────────────────────────────────────────── */
html[data-theme="light"] .locations-section { background: #f0f2f5; color: #0f1217; }
html[data-theme="light"] .locations-content h2 { color: #0f1217; }
html[data-theme="light"] .locations-content h2 span { color: #c9a000; }
html[data-theme="light"] .locations-content > p { color: #3c4250; }
html[data-theme="light"] .map-container { border-color: rgba(201,160,0,.38); }
html[data-theme="light"] .map-static iframe { filter: none; }
html[data-theme="light"] .gym-location-address { color: #3c4250; }
html[data-theme="light"] .gym-location-address strong { color: #0f1217; }
