/* locatie.css — H2G-blok "locatie"
   Inverse accent-sectie (crème op accent-vlak) met dot-matrix NL-kaart en
   geanimeerde ring-marker. 1-op-1 naar Contact.dc.html (LOCATIE-sectie).
   Alleen custom properties — geen hardcoded hex/fontnamen. */

/* ── Sectie: inverse kleurstelling ─────────────────────────────── */
.h2g-locatie,
.h2g-locatie.is-style-h2g-inverse {
  background: var(--color-black);   /* accentvlak (#006EFF) */
  color: var(--color-white);        /* crème inkt */
  padding: clamp(56px, 8vw, 80px) var(--gutter);
}

.h2g-locatie__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  align-items: center;
}

/* ── Info-kolom ────────────────────────────────────────────────── */
.h2g-locatie__info {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.h2g-locatie__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.h2g-locatie__blink {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-white);
  animation: ld-blink 1.6s ease-in-out infinite;
}

.h2g-locatie__plaats {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(48px, 5vw, 84px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-white);
}

.h2g-locatie__coord {
  font-family: var(--font-mono);
  font-size: 15px;
}

.h2g-locatie__tekst {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.45;
  max-width: 40ch;
}

/* ── Kaart-kolom ───────────────────────────────────────────────── */
.h2g-locatie__kaart {
  grid-column: 7 / span 6;
  display: flex;
  justify-content: center;
}

.h2g-locatie__kaart-wrap {
  position: relative;
  width: 380px;
  max-width: 100%;
}

.h2g-locatie__svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Marker-anker: exact op Tilburg in nl-dots.svg (44.3% / 72%). */
.h2g-locatie__marker {
  position: absolute;
  left: 44.3%;
  top: 72%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
}

.h2g-locatie__ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-white);
  border-radius: 50%;
  animation: ld-ring 2.4s ease-out infinite;
}

.h2g-locatie__ring--delay {
  animation-delay: 1.2s;
}

.h2g-locatie__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--color-black);
  border: 4px solid var(--color-white);
  box-sizing: border-box;
}

.h2g-locatie__pill {
  position: absolute;
  left: 44.3%;
  top: 72%;
  margin: -14px 0 0 26px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-white);
  color: var(--color-black);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.h2g-locatie__regio {
  position: absolute;
  bottom: -8px;
  left: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  opacity: 0.8;
}

/* ── Editor-benadering van de kaart (SVG rendert op de front-end) ─ */
.h2g-locatie__kaart-wrap--placeholder {
  min-height: 300px;
  border: 2px dashed var(--color-white);
  border-radius: var(--radius);
  opacity: 0.9;
}

.h2g-locatie__kaart-hint {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  opacity: 0.7;
}

/* ── Animaties ─────────────────────────────────────────────────── */
@keyframes ld-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.15; }
}

@keyframes ld-ring {
  0%       { transform: scale(0.25); opacity: 0.9; }
  80%      { transform: scale(2.4);  opacity: 0; }
  100%     { transform: scale(2.4);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .h2g-locatie__blink,
  .h2g-locatie__ring { animation: none; }
}

/* ── Tablet (761–1024px): even split zodat de info-kolom niet krap wordt ── */
@media (max-width: 1024px) {
  .h2g-locatie__info  { grid-column: 1 / span 6; }
  .h2g-locatie__kaart { grid-column: 7 / span 6; }
}

/* ── Responsive (stack < 760px — rand via var(--gutter)) ───────────────── */
@media (max-width: 760px) {
  .h2g-locatie__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }
  .h2g-locatie__kaart { justify-content: flex-start; }
}
