/**
 * Carte du pied de page (Leaflet).
 *
 * Reprend les règles qui ciblaient auparavant `.acf-map` dans
 * assets/scss/layout/_footer.scss. Fichier mis en file d'attente
 * directement depuis configure/js-css.php (non compilé par webpack).
 */
#site-footer__infos-maps .footer-map {
	width: 100%;
	height: 100%;
	min-height: 250px;
	border: #ccc solid 1px;
	background-color: #e8e5e0;
	z-index: 0; /* garde la carte sous les éléments flottants du thème */
}

/* Neutralise la contrainte globale du thème sur les images. */
#site-footer__infos-maps .footer-map img {
	max-width: inherit !important;
}

/* Le pied de page est sombre : on force des couleurs lisibles dans la carte,
   qui a son propre fond clair. */
#site-footer__infos-maps .footer-map .leaflet-popup-content {
	color: #222;
	margin: 12px 16px;
	line-height: 1.4;
}

#site-footer__infos-maps .footer-map .leaflet-popup-content a,
#site-footer__infos-maps .footer-map .leaflet-control-attribution,
#site-footer__infos-maps .footer-map .leaflet-control-attribution a,
#site-footer__infos-maps .footer-map .leaflet-control-zoom a {
	color: #0a58ca;
}

#site-footer__infos-maps .footer-map .leaflet-control-attribution {
	font-size: 10px;
}

/* Repli sans JavaScript. */
#site-footer__infos-maps .footer-map__fallback {
	display: block;
	padding: 1rem;
	color: #fff;
	font-size: 14px;
}
