.real-map {
  width: 100%;
  height: min(65vh, 610px);
  min-height: 420px;
}

.leaflet-container {
  font: inherit;
  background: #e8eee9;
}

/* Leaflet's compatibility blend mode renders remote tiles as solid bands in
   some Chromium GPU paths; normal compositing keeps the OSM map readable. */
.leaflet-container img.leaflet-tile {
  mix-blend-mode: normal;
}

/* The legacy map rule targets every SVG inside .map-wrap; keep Leaflet's
   attribution flag at its intended icon size instead of stretching it over
   the whole map. */
.map-wrap .leaflet-control-attribution svg.leaflet-attribution-flag {
  width: 12px;
  height: 8px;
  min-height: 0;
  max-height: none;
}

.leaflet-popup-content {
  font-size: 12px;
  line-height: 1.6;
}

.leaflet-popup-content span {
  font-size: 10px;
  color: #748086;
}

.map-caption {
  background: #ffffffdb;
  border-radius: 5px;
  padding: 5px 8px;
  z-index: 500;
}

.map-tools {
  z-index: 1000;
}

@media(max-width:850px) {
  .real-map { min-height: 310px; }
}
