/* Seume-Spaziergang: interaktive Etappenkarte */
.seume-karte {
  position: relative;
  max-width: 100%;
  margin: 0 0 2em;
  line-height: 1.4;
}
/* Manche Templates (z. B. Bricks) jagen die Ausgabe nochmals durch wpautop und
   packen die Symbole in <p>-Tags; diese dürfen die Kartenhöhe nicht verändern. */
.seume-karte p {
  display: contents;
}
.seume-karte > br {
  display: none;
}
.seume-karte__bild {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #6BB5B8;
}

/* Symbole */
.seume-karte__punkt {
  position: absolute;
  z-index: 1;
  width: 2.6%;
  min-width: 18px;
  aspect-ratio: 1;
  margin: 0;
  padding: 2px;
  border: 1px solid #000;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.85);
  line-height: 0;
  cursor: zoom-in;
}
.seume-karte__punkt img {
  display: block;
  width: 100%;
  height: 100%;
}
.seume-karte__punkt:hover,
.seume-karte__punkt:focus-visible,
.seume-karte__punkt[aria-expanded="true"] {
  z-index: 3;
  background: #fff;
  outline: 2px solid #6BB5B8;
}

/* Popups */
.seume-karte__popup {
  display: none;
  position: absolute;
  z-index: 4;
  box-sizing: border-box;
  width: 250px;
  max-width: 60%;
  padding: 8px;
  border: 2px solid #000;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
}
.seume-karte__popup.is-open {
  display: block;
}
.seume-karte__popup a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.seume-karte__popup a:hover b {
  text-decoration: underline;
}
.seume-karte__popup img {
  display: block;
  width: 100%;
  height: 140px;
  margin-bottom: 6px;
  object-fit: cover;
}
.seume-karte__schliessen {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid #000;
  background: #fff;
  font-weight: bold;
  line-height: 20px;
  cursor: pointer;
}

/* Handy: Popup unter der Karte */
@media (max-width: 640px) {
  .seume-karte__popup {
    top: calc(100% + 8px) !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    width: 280px;
    max-width: 90%;
    transform: translateX(-50%);
  }
}

.seume-liste {
  margin-top: 0;
}
