/* Projekt-Karten (OpenStreetMap / Leaflet) – lädt nach leaflet.css */

.map-frame.leaflet-container {
	position: relative;
	z-index: 0;
	background: #a3b6de;
	font-family: 'DIN Regular', Arial, sans-serif;
	font-size: 14px;
}

/* Grau mit blauem Wasser wie der frühere Google-Stil (Filter steht in osm-maps.js).
   Auf der ganzen Kachelebene: die Kacheln werden erst nahtlos zusammengesetzt, dann getönt. */
.diebibel-osm-tiles {
	filter: url(#diebibel-osm-ton);
}

/* leaflet.css setzt plus-lighter gegen Kachelnähte; unter dem Filter erzeugt genau das helle Linien */
.diebibel-osm-tiles img.leaflet-tile {
	mix-blend-mode: normal;
}

.map-frame .leaflet-bar a {
	color: #002856;
}

.map-frame .leaflet-control-attribution {
	font-size: 10px;
	line-height: 1.4;
}

.map-frame .leaflet-control-attribution a {
	color: #005fab;
}

/* Infofenster (Karte mit mehreren Projekten, .marker-info aus dem Theme) */
.map-frame .leaflet-popup-content-wrapper {
	border-radius: 2px;
	color: #333;
}

.map-frame .leaflet-popup-content {
	margin: 14px 18px 14px 16px;
	font-size: 14px;
	line-height: 1.45;
}

.map-frame .leaflet-container a.leaflet-popup-close-button,
.map-frame a.leaflet-popup-close-button {
	color: #002856;
}

.map-frame .leaflet-popup-content .marker-info a {
	color: #fff;
}

/* Cluster mit dem bisherigen Symbol (images/mc.png 42×43, Zahl blau) */
.diebibel-cluster {
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(../images/mc.png) no-repeat center / contain;
}

.diebibel-cluster span {
	font-family: 'DIN Bold', Arial, sans-serif;
	font-size: 13px;
	line-height: 1;
	color: #005fab;
}

/* Hinweis «Strg + Scrollen» / «zwei Finger» in Hausschrift, passend zur schmalen Karte */
.map-frame.leaflet-container:after {
	font-family: 'DIN Regular', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.3;
	text-align: center;
	padding: 0 20px;
}

/* Karte im Beitrag über [osm_karte] (ersetzt die früheren Google-iframes 600 × 450) */
.osm-karte {
	max-width: 600px;
	margin: 0 0 20px 0;
}

.osm-karte .map-frame {
	height: auto;
	aspect-ratio: 4 / 3;
}

.osm-karte .leaflet-popup-content strong {
	font-family: 'DIN Bold', Arial, sans-serif;
	font-weight: normal;
	color: #005fab;
}

/* Kontaktseite: Karte füllt den bisherigen iframe-Rahmen .responsive-map (Höhe über padding-bottom im Theme) */
.responsive-map .osm-karte {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	max-width: none;
	margin: 0;
}

.responsive-map .osm-karte .map-frame {
	height: 100%;
	aspect-ratio: auto;
}
