.location-map { max-width: 56rem; margin-block: 1rem; }
.location-map-toolbar { display: flex; gap: .35rem; justify-content: flex-end; margin-bottom: .35rem; }
.location-map-toolbar[hidden] { display: none; }
.location-map-toolbar button {
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: .4rem;
  color: var(--ink); background: var(--cream); font-weight: 750; font-size: 1.2rem;
}
.location-map-toolbar button:disabled { opacity: .5; cursor: default; }
.map-viewport { overflow: auto; max-height: 41rem; border: 1px solid var(--line); border-radius: .75rem; background: #e6ece6; }
.map-board { position: relative; width: 100%; aspect-ratio: 11 / 8; }
.map-board svg {
  display: block; width: 100%; height: 100%;
  background-image: linear-gradient(#c5d2c78a 1px, transparent 1px), linear-gradient(90deg, #c5d2c78a 1px, transparent 1px);
  background-size: 9% 11%;
}
.map-border { fill: #f7ecd9; fill-rule: evenodd; stroke: #9c8c74; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.map-border-aut { fill: #efe0c7; }
.map-country-label { fill: #625745; text-anchor: middle; font: 700 15px system-ui, sans-serif; letter-spacing: .16em; }
.map-marker {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  color: #fff; text-decoration: none;
}
.map-marker::before {
  content: ""; width: .75rem; height: .75rem; background: #8a3e1d; border: 2px solid white;
  border-radius: 50%; box-shadow: 0 1px 4px #29191180;
}
.map-marker span {
  display: none; position: absolute; top: calc(100% + .15rem); left: 50%; transform: translateX(-50%);
  white-space: nowrap; padding: .25rem .5rem; border-radius: .3rem; background: #3d2217; font-size: .85rem;
}
.map-marker:hover, .map-marker:focus-visible { z-index: 1; }
.map-marker:hover span, .map-marker:focus-visible span { display: block; }
.location-map-note { color: var(--muted); font-size: .875rem; margin: .55rem 0 0; }
@media (min-width: 45rem) { .map-marker::before { width: .9rem; height: .9rem; } }
#kursliste { scroll-margin-top: 1rem; }
#kursliste [hidden] { display: none; }
.map-marker[aria-current="true"]::before { background: #291911; outline: 2px solid #291911; }
