/**
 * Carte des projets — styles compacts (contenu page Divi / shortcode).
 */

.fl-projets-map {
	margin: 0;
}

.fl-projets-map__filters {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	border: 1px solid rgba(31, 107, 111, 0.2);
	border-radius: 4px;
	background: #fff;
}

.fl-projets-map__legend {
	font-family: "Josefin Sans", sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0;
	margin: 0 0 0.75rem;
}

.fl-projets-map__filter-inputs {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
}

.fl-projets-map__filter-section {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.fl-projets-map__filter-section label {
	cursor: pointer;
	font-size: 0.9375rem;
}

.fl-projets-map__wrap {
	position: relative;
	width: 100%;
}

.fl-projets-map__canvas {
	width: 100%;
	min-height: 280px;
	border-radius: 4px;
	overflow: hidden;
	background: #dfe3e7;
}

/* Fenêtres Google Maps — reprend les classes legacy */
.map-label-content {
	max-width: 240px;
	font-size: 14px;
	line-height: 1.35;
}

.map-label-location {
	font-weight: 600;
	color: #1f6b6f;
	margin-bottom: 4px;
}

.map-label-name {
	font-weight: 500;
	margin-bottom: 8px;
}

.map-label-clickable {
	display: block;
	color: #01567a;
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 8px;
}

.map-label-clickable:hover {
	text-decoration: underline;
}

.map-label-image {
	margin-bottom: 8px;
	line-height: 0;
}

.map-label-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 2px;
}

.map-label-period {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #555;
}

.map-label-period.courant {
	color: #1f6b6f;
}

.map-label-period.passe {
	color: #8b6914;
}

.map-label-period.accompagnement {
	color: #6b3d8c;
}

.fl-projets-map__missing-key {
	display: block;
	padding: 1rem;
	background: #fff3cd;
	color: #664d03;
	border-radius: 4px;
}

.fl-projets-map__noscript {
	padding: 1rem;
	background: #f8f9fa;
}
