/**
 * Standortkarte — Flux-CE pxteny_locationmap. Does not alter the page hero.
 * Place in main content column (colPos 0), never in the banner column.
 */
ten-location-map,
.ten-locmap {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 12px auto 28px;
  padding: 0 4%;
  color: #1a1a1a;
  --ten-geo-ink: #1a1a1a;
  --ten-geo-muted: #5a5a5a;
  font-family: "Nunito Sans", sans-serif;
  position: relative;
  z-index: 1;
}

.frame-type-pxteny_locationmap,
.frame-type-pxteny_locationmap > .inner {
  overflow: visible !important;
}

.allcont:not(.allcont--myten) .cont > .frame.frame-type-pxteny_locationmap:last-child,
.allcont:not(.allcont--myten) .cont > .frame.frame-type-pxteny_infotext:last-child {
  padding-bottom: var(--footer-wave-clearance, 160px);
  margin-bottom: 0;
  box-sizing: border-box;
}

.ten-locmap__layout {
  display: grid;
  grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr);
  gap: 18px 28px;
  align-items: stretch;
}

.ten-locmap__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.ten-locmap__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.ten-locmap__coords {
  margin: 0;
  font-family: "SF Mono", "Cascadia Mono", Consolas, "Nunito Sans", sans-serif;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1.4;
  white-space: nowrap;
}

.ten-locmap__lat,
.ten-locmap__lon {
  display: block;
}

.ten-locmap__status {
  margin: 2px 0 0;
  font-size: 11px;
}

.ten-locmap__dot {
  -webkit-box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

.ten-locmap__error {
  color: #cc0607;
  font-size: 13px;
}

.ten-locmap__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 6px;
}

.ten-locmap__btn {
  min-height: 44px;
  padding: 0 2px;
  color: #1a1a1a;
  opacity: 1;
  letter-spacing: 0.06em;
}

.ten-locmap__btn[aria-pressed="true"] {
  color: #2f9e5d;
}

.ten-locmap__copied {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2f9e5d;
}

.ten-locmap__canvas {
  position: relative;
  min-width: 0;
  min-height: 280px;
  height: 56vh;
  height: min(56vh, 520px);
  border: 0;
  background: #ececec;
  overflow: hidden;
  touch-action: none;
  -ms-touch-action: none;
  overscroll-behavior: contain;
}

.ten-locmap__canvas.leaflet-container {
  width: 100%;
  height: 100%;
  font-family: inherit;
  background: #ececec;
}

.ten-locmap__canvas .leaflet-container img,
.ten-locmap__canvas img.leaflet-tile {
  max-width: none !important;
  max-height: none !important;
}

.ten-locmap__canvas .leaflet-control-zoom a {
  width: 32px;
  height: 32px;
  line-height: 32px;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.ten-locmap__canvas .leaflet-bar {
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.ten-locmap__canvas .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: #666;
  line-height: 1.35;
}

.ten-locmap__canvas .leaflet-control-attribution a {
  color: #555;
}

.ten-locmap__icon {
  width: 18px;
  height: 18px;
  background: none !important;
  border: 0 !important;
  cursor: default;
  pointer-events: auto;
}

.ten-locmap__pin {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.ten-locmap__pin-ring,
.ten-locmap__pin-core {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.ten-locmap__pin-ring {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(26, 26, 26, 0.28);
  background: rgba(255, 255, 255, 0.55);
}

.ten-locmap__pin-core {
  width: 8px;
  height: 8px;
  background: #1a1a1a;
}

.ten-locmap__pin--user .ten-locmap__pin-core {
  background: #cc0607;
}

.ten-locmap__pin--user .ten-locmap__pin-ring {
  border-color: rgba(204, 6, 7, 0.45);
}

.ten-locmap.is-live .ten-locmap__pin--user .ten-locmap__pin-ring {
  -webkit-animation: ten-locmap-pulse 2s ease-out infinite;
  animation: ten-locmap-pulse 2s ease-out infinite;
}

@-webkit-keyframes ten-locmap-pulse {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  70% {
    -webkit-transform: translate(-50%, -50%) scale(1.85);
    transform: translate(-50%, -50%) scale(1.85);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale(1.85);
    transform: translate(-50%, -50%) scale(1.85);
    opacity: 0;
  }
}

@keyframes ten-locmap-pulse {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  70% {
    -webkit-transform: translate(-50%, -50%) scale(1.85);
    transform: translate(-50%, -50%) scale(1.85);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale(1.85);
    transform: translate(-50%, -50%) scale(1.85);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ten-locmap.is-live .ten-locmap__pin--user .ten-locmap__pin-ring {
    -webkit-animation: none;
    animation: none;
  }
}

.ten-locmap[data-band="precise"] .ten-locmap__pin--user .ten-locmap__pin-core {
  background: #2f9e5d;
}

.ten-locmap[data-band="precise"] .ten-locmap__pin--user .ten-locmap__pin-ring {
  border-color: rgba(47, 158, 93, 0.5);
}

.ten-locmap[data-band="good"] .ten-locmap__pin--user .ten-locmap__pin-core {
  background: #d4a017;
}

.ten-locmap[data-band="good"] .ten-locmap__pin--user .ten-locmap__pin-ring {
  border-color: rgba(212, 160, 23, 0.5);
}

.ten-locmap[data-band="limited"] .ten-locmap__pin--user .ten-locmap__pin-core {
  background: #c45a12;
}

.ten-locmap[data-band="limited"] .ten-locmap__pin--user .ten-locmap__pin-ring {
  border-color: rgba(196, 90, 18, 0.5);
}

.ten-locmap[data-band="poor"] .ten-locmap__pin--user .ten-locmap__pin-core {
  background: #cc0607;
}

@media screen and (max-width: 900px) {
  .ten-locmap__layout {
    grid-template-columns: 1fr;
  }

  .ten-locmap__canvas {
    height: min(62vw, 420px);
    min-height: 240px;
  }

  .ten-locmap__coords {
    white-space: normal;
  }
}

@media screen and (max-width: 420px) {
  .ten-locmap {
    padding: 0 3%;
  }

  .ten-locmap__coords {
    font-size: 14px;
  }
}
