.family-city-map {
  width: 100%;
}

.family-city-map__canvas {
  width: 100%;
  height: 480px;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid #dde5de;
  border-radius: 18px;
  background: #f7f8f3;
}

.family-city-map .leaflet-container {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1c2620;
}

.family-city-map .leaflet-popup-content-wrapper {
  border-radius: 14px;
}

.family-city-map .leaflet-popup-content {
  margin: 14px 16px;
}

.family-map-popup__title {
  display: block;
  margin-bottom: 6px;
  color: #1c2620;
  font-size: 15px;
  line-height: 1.3;
}

.family-map-popup__meta {
  margin-bottom: 9px;
  color: #5f6d63;
  font-size: 13px;
  line-height: 1.4;
}

.family-map-popup__link {
  color: #22502e;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.family-map-popup__directions {
  display: block;
  margin-top: 7px;
}

.family-map-popup__link:hover,
.family-map-popup__link:focus {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .family-city-map__canvas {
    height: 420px;
    min-height: 320px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .family-city-map__canvas {
    height: 360px;
    min-height: 300px;
  }
}
