/* ==========================================================================
   namibia-map — the interactive 3D map and its location markers
   ========================================================================== */

.namibia-map-wrap {
  margin-top: 28px;
  /* max-width alone left the map pinned to the left edge of its column. Auto
     side margins centre it without touching its size or aspect ratio. */
  margin-left: auto;
  margin-right: auto;
  max-width: 520px;
}
.namibia-map {
  width: 100%;
  height: auto;
  overflow: visible;
}
.region-lines line {
  stroke: var(--stone);
  stroke-width: 1;
  stroke-dasharray: 4 3;
  opacity: 0.55;
}
.map-marker circle {
  fill: var(--rust);
  stroke: var(--charcoal);
  stroke-width: 1.5;
  transition: r 0.2s ease, fill 0.2s ease;
  cursor: pointer;
}
.map-marker text {
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  fill: var(--sand);
  text-anchor: middle;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.map-marker:hover circle,
.map-marker:focus-visible circle {
  r: 9;
  fill: var(--sand);
}
.map-marker:hover text,
.map-marker:focus-visible text {
  opacity: 1;
}
.map-marker:focus-visible circle {
  outline: 2px solid var(--sand);
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .map-marker text { font-size: 13px; }
}
