/* ── Tijdzone info page ─────────────────────────────────────── */
.tz-page {
  max-width: 720px;
  margin: 0 auto;
}

.tz-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.tz-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.tz-article h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  margin: 2.25rem 0 0.85rem;
  line-height: 1.3;
}

.tz-article p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tz-article strong {
  color: var(--text);
  font-weight: 500;
}

.tz-article a {
  color: var(--gold);
  text-decoration: none;
}

.tz-article a:hover {
  text-decoration: underline;
}

.tz-article ul {
  color: var(--text-muted);
  margin: 0.5rem 0 1.25rem 1.35rem;
  line-height: 1.7;
}

.tz-article li {
  margin-bottom: 0.4rem;
}

.tz-article li strong {
  color: var(--text);
}

/* ── Sun CTA grid ──────────────────────────────────────────── */
.sun-cta {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-color: var(--border-glow);
}

.sun-cta h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.5rem;
}

.sun-cta > p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.sun-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.6rem;
}

.sun-cta-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: border-color var(--transition), background var(--transition);
}

.sun-cta-grid a:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
  color: var(--gold-light);
}

/* ── Interactive map ───────────────────────────────────────── */
.tz-map-section {
  max-width: 1000px;
  margin: 0 auto 3rem;
  padding: 0 0 1rem;
}

.tz-map-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.5rem;
}

.tz-map-wrap {
  position: relative;
  background: linear-gradient(180deg, rgba(30, 45, 75, 0.55) 0%, rgba(18, 28, 48, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius) + 4px);
  padding: 1rem;
  margin-top: 1.25rem;
  overflow: visible;
  box-shadow: var(--shadow);
}

.tz-map-section--daynight .tz-map-wrap {
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.tz-map-section--daynight .tz-map {
  vertical-align: top;
}

.tz-map-section--daynight .geo-opt-in--map {
  line-height: normal;
}

.tz-map {
  display: block;
  width: 100%;
  height: auto;
  touch-action: none;
}

.tz-map .country {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 0.45;
  cursor: pointer;
  transition: fill 0.15s ease, stroke 0.15s ease, filter 0.15s ease;
}

.tz-map-section--daynight .tz-map .country:hover,
.tz-map-section--daynight .tz-map .country.is-active {
  fill: rgba(232, 195, 130, 0.55);
  stroke: rgba(255, 235, 190, 0.85);
  stroke-width: 0.7;
}

.tz-map .country:hover,
.tz-map .country.is-active {
  fill: rgba(232, 195, 130, 0.72);
  stroke: rgba(255, 235, 190, 0.85);
  stroke-width: 0.7;
}

.tz-map-tooltip {
  position: fixed;
  z-index: 10000;
  pointer-events: auto;
  min-width: 210px;
  max-width: 300px;
  padding: 0.9rem 1rem;
  background: rgba(12, 14, 20, 0.96);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.tz-map-tooltip[hidden] {
  display: none;
  pointer-events: none;
}

.tz-map-tooltip__header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.4rem;
}

.tz-map-tooltip__flag {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.tz-map-tooltip__flag .flag-icon {
  width: 28px;
  height: 21px;
}

.tz-map-tooltip__name {
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
}

.tz-map-tooltip__tz {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.tz-map-tooltip__time {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.tz-map-tooltip__diff {
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 0.35rem;
}

.tz-map-tooltip__note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.4rem;
  font-style: italic;
}

.tz-map-tooltip__link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold-light);
  text-decoration: none;
  pointer-events: auto;
}

.tz-map-tooltip__link:hover {
  text-decoration: underline;
}

.tz-map-hint {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.tz-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 720px;
  margin: 2.5rem auto 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.tz-nav--compact {
  gap: 0.5rem;
}

.tz-nav--compact .btn-primary,
.tz-nav--compact .btn-secondary {
  flex: 1 1 9.5rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.6rem 0.7rem;
  font-size: 0.82rem;
  line-height: 1.25;
  min-height: 40px;
  text-align: center;
  white-space: normal;
}

.tz-nav a.btn-secondary {
  color: var(--text);
}

.tz-nav a.btn-secondary:hover {
  text-decoration: none;
}

.tz-article .tz-nav a.btn-primary {
  color: #0a0b0f;
  background: linear-gradient(135deg, var(--gold) 0%, #b8945f 100%);
}

.tz-article .tz-nav a.btn-primary:hover {
  color: #0a0b0f;
  text-decoration: none;
}

.tz-article .tz-nav a.btn-secondary {
  color: var(--text);
}

.tz-article .tz-nav a.btn-secondary:hover {
  text-decoration: none;
}

/* ── Live dag/nacht-kaart ──────────────────────────────────── */
.sun-earth-section {
  max-width: 1000px;
  margin: 0 auto 2.5rem;
  padding: 0 0 1rem;
}

.sun-earth-section h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0.5rem;
}

.sun-earth-wrap {
  background: linear-gradient(180deg, rgba(30, 45, 75, 0.55) 0%, rgba(18, 28, 48, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: calc(var(--radius) + 4px);
  padding: 0;
  margin-top: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  line-height: 0;
}

.sun-earth-map {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.sun-earth-ocean {
  fill: rgba(45, 85, 140, 0.85);
}

.sun-earth-country {
  fill: rgba(130, 170, 120, 0.72);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.4;
}

.sun-earth-twilight,
.sun-earth-night,
.sun-earth-terminator {
  display: none;
}

.sun-earth-night-band {
  pointer-events: none;
}

.sun-earth-sun-glow,
.sun-earth-sun-core {
  display: none;
}

.sun-earth-sun-icon {
  pointer-events: none;
}

.sun-earth-sun-halo {
  pointer-events: none;
}

.sun-earth-sun-img {
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 210, 90, 0.45));
}

.sun-earth-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 0;
  padding: 0.85rem 1rem 1rem;
  line-height: normal;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.sun-earth-hint {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.55;
}

@media (max-width: 599px) {
  .tz-map-wrap {
    padding: 0.5rem;
  }

  .tz-map-tooltip {
    max-width: calc(100vw - 1.5rem);
  }
}

/* ── Tool forms (tijdverschil, bellen, aankomst) ───────────── */
.tv-form {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.tv-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tv-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tv-form input,
.tv-form textarea,
.tv-form select {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
}

.tv-result {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.tv-result h2,
.tv-result h3 {
  font-family: var(--font-display);
  font-weight: 400;
}

.tv-result h2 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.tv-result h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.tv-result p,
.tv-result li {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.tv-result ul { margin: 0.5rem 0 0 1.2rem; }

.tool-hint {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.tool-hint a { color: var(--gold); text-decoration: none; }
.tool-hint a:hover { text-decoration: underline; }

.office-status {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.office-status--open {
  background: rgba(126, 184, 218, 0.1);
  border-color: rgba(126, 184, 218, 0.3);
}

.office-status--closed {
  background: rgba(160, 158, 168, 0.08);
}

.jetlag-badge {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.jetlag-badge--low { background: rgba(126, 184, 218, 0.1); }
.jetlag-badge--medium { background: rgba(212, 175, 120, 0.12); }
.jetlag-badge--high { background: rgba(220, 120, 80, 0.1); }

.at-arrival-time {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  color: var(--gold-light);
  margin: 0.25rem 0;
}

.at-arrival-date {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.at-summary {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

/* ── Wereldkaart (kaartlagen) ──────────────────────────────── */
.wm-page {
  max-width: 960px;
  margin: 0 auto 2rem;
}

.wm-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.wm-control {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.wm-control:hover {
  border-color: var(--border-glow);
  color: var(--text);
}

.wm-control.is-active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold-light);
}

.wm-legend {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  min-height: 3.5rem;
}

.wm-keys {
  display: block;
  margin-bottom: 0.5rem;
}

.wm-swatch-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.wm-swatch-row i {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 3px;
  margin-right: 0.25rem;
  vertical-align: middle;
  font-style: normal;
}

.wm-gradient-bar {
  display: block;
  width: min(100%, 520px);
  height: 0.65rem;
  margin: 0.5rem auto 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.wm-swatch-row--utc {
  margin-top: 0.5rem;
}

.wm-map-wrap {
  touch-action: pan-y pinch-zoom;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.wm-map {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.wm-meta {
  margin-top: 0.75rem;
  padding: 0 1rem 1rem;
  line-height: normal;
}
.wm-map .country {
  fill: unset;
  transition: fill 0.6s ease;
}

.wm-map .country:hover,
.wm-map .country.is-active {
  stroke: rgba(255, 235, 190, 0.85);
  stroke-width: 0.7;
  filter: brightness(1.15);
}

@media (max-width: 480px) {
  .wm-control {
    flex: 1 1 calc(50% - 0.5rem);
    font-size: 0.82rem;
    padding: 0.5rem 0.65rem;
  }
}
