.post-map {
  position: relative;
  margin: 2rem 0;
  background: transparent;
}

.post-map-canvas {
  position: relative;
  width: 100%;
  height: 420px;
}

.post-map-canvas::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  box-shadow: inset 0 0 70px 45px rgb(6, 6, 6);
}

.post-map .mapboxgl-ctrl-top-right {
  z-index: 6;
}

.blog-content .post-map-full,
.post-map-full {
  width: calc(100vw - 4rem);
  max-width: 1600px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.post-map-full .post-map-canvas {
  height: 520px;
}

@media (max-width: 768px) {
  .blog-content .post-map-full,
  .post-map-full {
    width: 100vw;
  }
}

.post-map-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #d0d0d5;
}

.post-map-stat {
  color: #ff6b35;
  font-weight: 500;
}

.post-map-sep {
  color: rgba(255, 255, 255, 0.3);
}

.post-map-download {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #d0d0d5;
  text-decoration: none;
  transition: color 0.15s ease;
}

.post-map-download:hover {
  color: #ff6b35;
}

.post-map-noscript {
  padding: 1rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

.post-map .mapboxgl-ctrl-logo {
  opacity: 0.5;
}

.post-map-photo-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #ff6b35;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.post-map-photo-popup img {
  display: block;
  width: 100%;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.post-map-popup-title {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 0.15rem;
}

.post-map-popup-meta {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  color: #555;
  margin-bottom: 0.2rem;
}

.post-map-popup-link {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: #d1481f;
  text-decoration: none;
}
.post-map-popup-link:hover {
  text-decoration: underline;
}

.post-map-popup-download {
  display: inline-block;
  margin-left: 0.6rem;
  font-size: 0.75rem;
  color: #d1481f;
}
.post-map-popup-download:hover {
  color: #d1481f;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .post-map-canvas {
    height: 320px;
  }
}
