.castle-map {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.castle-map .leaflet-container {
  height: 100%;
  width: 100%;
  font-family: inherit;
  z-index: 0;
}

.castle-map .leaflet-popup-content-wrapper {
  border-radius: 0.75rem;
}

.castle-map .leaflet-popup-content {
  margin: 0.75rem 1rem;
  line-height: 1.5;
}

.castle-map .leaflet-popup-content strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.castle-map .leaflet-control-attribution {
  font-size: 10px;
}

.castle-map .castle-map-pin-label {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  color: hsl(var(--foreground, 24 10% 10%));
  font-family: "Cormorant Garamond", serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 11rem;
  padding: 0.3rem 0.65rem;
  text-align: center;
  white-space: normal;
}

.castle-map .castle-map-pin-label::before {
  border-top-color: rgba(255, 255, 255, 0.96);
}

.castle-map .leaflet-tooltip-right.castle-map-pin-label::before {
  border-right-color: rgba(255, 255, 255, 0.96);
}

.castle-map .leaflet-tooltip-left.castle-map-pin-label::before {
  border-left-color: rgba(255, 255, 255, 0.96);
}
