/* Glow wrapper — video2 (media-block-video) ile aynı görsel dil */
:root {
  --site-map-glow-shadow: 0 0 12px rgba(0, 0, 0, 0.65);
  --site-map-glass-bg: rgba(90, 90, 90, 0.25);
  --site-map-radius: 9px;
}

.quarto-dark {
  --site-map-glow-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  --site-map-glass-bg: rgba(255, 255, 255, 0.25);
}

.media-block.media-block-map {
  margin-bottom: 0.5rem;
}

.media-block-map .plyr-wrapper {
  position: relative;
  margin: 1rem auto 0.75em auto;
  padding: 0;
  border-radius: var(--site-map-radius);
  background: var(--site-map-glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--site-map-glow-shadow);
}

#site-map {
  height: 65vh;
  min-height: 450px;
  width: 100%;
  border-radius: var(--site-map-radius);
  margin: 0;
  z-index: 0;
  box-shadow: var(--site-map-glow-shadow);
}

#site-map .leaflet-popup-content b {
  display: block;
  margin-bottom: 4px;
}

#site-map .leaflet-popup-content .coords {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e5e5e5;
  font-size: 0.82em;
  color: #666;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

#site-map .site-map-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-shadow:
    -1px -1px 2px rgba(0, 0, 0, 0.85),
     1px -1px 2px rgba(0, 0, 0, 0.85),
    -1px  1px 2px rgba(0, 0, 0, 0.85),
     1px  1px 2px rgba(0, 0, 0, 0.85);
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  background: none;
  border: none;
}

#site-map .site-map-label.site-map-label--large {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

#site-map .site-map-imagery-date {
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #444;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  cursor: help;
}

#site-map .site-map-imagery-date .value {
  font-weight: 600;
}

.leaflet-control-layers .cat-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 6px 0 2px;
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.leaflet-control-layers .cat-swatch--camera   { background: #ca2121; }
.leaflet-control-layers .cat-swatch--building { background: #3082d1; }
.leaflet-control-layers .cat-swatch--site     { background: #f89e35; }
