/* Lux Project Map — front end styles. Neutral on purpose: inherits the theme's
   font, and uses only two brand-ish colours so it can be retinted in one place. */

.lpm-wrap {
	--lpm-pin: #b4884d;
	--lpm-pin-dark: #8a6636;
	margin: 0 0 1.5rem;
}

.lpm-map {
	width: 100%;
	min-height: 320px;
	border-radius: 8px;
	overflow: hidden;
	background: #eaeaea;
	position: relative;
	z-index: 0; /* keep Leaflet panes below sticky theme headers */
}

.lpm-status {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 1rem;
	text-align: center;
	color: #555;
	font-size: 0.95rem;
	z-index: 500;
	pointer-events: none;
}

.lpm-caption {
	margin: 0.65rem 0 0;
	font-size: 0.82rem;
	line-height: 1.5;
	color: #666;
}

/* Cluster bubbles */
.lpm-cluster {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--lpm-pin);
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
	line-height: 1;
	border: 2px solid #fff;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.lpm-cluster--lg {
	font-size: 0.95rem;
	background: var(--lpm-pin-dark);
}

.lpm-cluster span {
	pointer-events: none;
}

/* Leaflet's default attribution is small; keep it legible and unobtrusive. */
.lpm-map .leaflet-container {
	font: inherit;
}

.lpm-map .leaflet-control-attribution {
	font-size: 10px;
	background: rgba(255, 255, 255, 0.85);
}

/* The site has no dark theme, so the plugin's dark-mode overrides are left out. */

/* Inside the "Map & Text" block: fill the map column like the service-area map does. */
.feature-map__map--projects .lpm-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
}

.feature-map__map--projects .lpm-map {
	flex: 1 1 auto;
	min-height: 500px;
	border-radius: 0;
}
