/* Base map styling */
.custom-map-container {
  position: relative;
  width: 100%;
  max-width: 600px;      
  height: 0;
  padding-bottom: 66.66%; /* 600x400 aspect ratio (4:3) */
  margin: 0 auto 20px;    /* center horizontally, add bottom space */
  overflow: hidden;
  border-radius: 10px;   
}

/* Map content (iframe, canvas, etc.) */
.custom-map-container iframe,
.custom-map-container canvas,
.custom-map-container .leaflet-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Slideberg compatibility */
.slideberg-slide .custom-map-container {
  max-width: 600px;
  margin: 0 auto 20px;
}

.slideberg-slide .custom-map-container iframe,
.slideberg-slide .custom-map-container canvas,
.slideberg-slide .custom-map-container .leaflet-container {
  border-radius: 10px;
}