.fullpage-slide .map-interactive, .template-sidebar-map .map-interactive {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fullpage-slide .map-panzoom-layer, .template-sidebar-map .map-panzoom-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fullpage-slide .slide-svg--map-compact, .template-sidebar-map .slide-svg--map-compact {
  display: none;
}

.fullpage-slide .map-tooltip-legend, .template-sidebar-map .map-tooltip-legend {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0.25rem 0.5rem 0.4rem;
  pointer-events: none;
}

.fullpage-slide .map-tooltip-legend img, .template-sidebar-map .map-tooltip-legend img {
  display: block;
  width: 30rem;
  max-width: min(100%, 20rem);
  height: auto;
}

.fullpage-slide .flow-chart-area .flow-pan-viewport {
  flex: 1 1 0;
  min-height: 0;
  max-height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
}

.fullpage-slide .flow-chart-area.flow-chart-area--pending .flow-pan-viewport {
  overflow: hidden;
  pointer-events: none;
}

.fullpage-slide .flow-chart-area .flow-scroll-slot {
  display: flex;
  min-width: 100%;
  min-height: 100%;
  justify-content: flex-start;
  align-items: center;
}

.fullpage-slide .flow-chart-area .flow-interactive {
  position: relative;
  flex-shrink: 0;
  margin: 0 auto;
  width: calc(var(--flow-chart-w) * var(--flow-zoom, 1));
  aspect-ratio: 1190.55 / 605;
  height: auto;
  overflow: hidden;
}

.fullpage-slide .flow-chart-area .flow-interactive .flow-layer {
  display: block;
  border: 0;
  object-fit: fill;
}

.fullpage-slide .flow-chart-area .statistik-figure-interactive {
  position: relative;
  flex-shrink: 0;
  margin: 0 auto;
  width: calc(var(--flow-chart-w) * var(--flow-zoom, 1));
  max-width: none;
  box-sizing: border-box;
}

.fullpage-slide[data-figure-layout="fit"] .flow-chart-area .flow-scroll-slot {
  flex-direction: column;
  min-height: 100%;
  align-items: center;
}

.fullpage-slide[data-figure-layout="fit"] .flow-chart-area .statistik-figure-interactive {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.fullpage-slide .map-hotspots, .template-sidebar-map .map-hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
}

.fullpage-slide .map-hotspot-wrap, .template-sidebar-map .map-hotspot-wrap {
  position: absolute;
  box-sizing: border-box;
  pointer-events: auto;
}

.fullpage-slide .map-hotspot-wrap:hover .map-hotspot-hit, .template-sidebar-map .map-hotspot-wrap:hover .map-hotspot-hit, 
.fullpage-slide .map-hotspot-wrap:focus-within .map-hotspot-hit, .template-sidebar-map .map-hotspot-wrap:focus-within .map-hotspot-hit {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
  border-radius: 2px;
}

.fullpage-slide .map-hotspot-hit, .template-sidebar-map .map-hotspot-hit {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: max(100%, 1.75rem);
  height: max(100%, 1.75rem);
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.fullpage-slide .map-hotspot-wrap.map-hotspot--pulse .map-hotspot-hit, .template-sidebar-map .map-hotspot-wrap.map-hotspot--pulse .map-hotspot-hit {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  animation: map-hotspot-pulse 1.5s ease-in-out;
}

@keyframes map-hotspot-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(3.12); }
}

.fullpage-slide .map-hotspot-sr, .template-sidebar-map .map-hotspot-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fullpage-slide .map-popup, .template-sidebar-map .map-popup {
  position: absolute;
  left: 50%;
  bottom: 100%;
  z-index: 4;
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.75rem 0.7rem;
  min-width: 11.5rem;
  max-width: 17rem;
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
  border-radius: 2px;
  background: rgba(18, 28, 58, 0.88);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.8125rem;
  line-height: 1.25;
  text-align: left;
}

.fullpage-slide .map-popup--below, .template-sidebar-map .map-popup--below {
  bottom: auto;
  top: 100%;
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.fullpage-slide .map-popup__head, .template-sidebar-map .map-popup__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-right: 0.1rem;
}

.fullpage-slide .map-popup__title, .template-sidebar-map .map-popup__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.fullpage-slide .map-popup__close, .template-sidebar-map .map-popup__close {
  flex-shrink: 0;
  margin: -0.15rem -0.1rem 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.fullpage-slide .map-popup__stats, .template-sidebar-map .map-popup__stats {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fullpage-slide .map-popup__stats li, .template-sidebar-map .map-popup__stats li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.fullpage-slide .map-popup__stats li:first-child, .template-sidebar-map .map-popup__stats li:first-child {
  margin-top: 0;
}

.fullpage-slide .map-popup__icon, .template-sidebar-map .map-popup__icon {
  flex-shrink: 0;
  width: 1.35rem;
  height: auto;
  display: block;
  object-fit: contain;
}

.fullpage-slide .map-popup__val, .template-sidebar-map .map-popup__val {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.fullpage-slide .map-hotspot-wrap:not(.map-popup--dismissed):hover .map-popup,
.template-sidebar-map .map-hotspot-wrap:not(.map-popup--dismissed):hover .map-popup,
.fullpage-slide .map-hotspot-wrap:not(.map-popup--dismissed):focus-within .map-popup,
.template-sidebar-map .map-hotspot-wrap:not(.map-popup--dismissed):focus-within .map-popup {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 1079px) {
  .fullpage-slide .slide-svg--map-full, .template-sidebar-map .slide-svg--map-full {
    display: none;
  }

  .fullpage-slide .slide-svg--map-compact, .template-sidebar-map .slide-svg--map-compact {
    display: block;
  }

  .fullpage-slide .map-hotspots, .template-sidebar-map .map-hotspots,
  .fullpage-slide .map-tooltip-legend, .template-sidebar-map .map-tooltip-legend {
    display: none;
  }
}
