.fe3il-map__legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.fe3il-map-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; width: 100%; }
.fe3il-map-wrap:has(.fe3il-map-panel:not([hidden])) { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); }
.fe3il-map { width: 100%; height: 560px; background: var(--surface); }
.fe3il-map .leaflet-container { width: 100%; height: 100%; }
.fe3il-marker { background: transparent; border: 0; }
.fe3il-marker__sq { position: relative; display: block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px var(--white); }
.fe3il-marker__sq::after { content: ""; position: absolute; inset: -6px; border: 2px solid currentColor; border-radius: 50%; opacity: 0.45; animation: fe3il-pulse 2.4s ease-out infinite; }
@keyframes fe3il-pulse { 70% { transform: scale(1.8); opacity: 0; } }
.fe3il-marker:nth-child(3n) .fe3il-marker__sq::after { animation-delay: .4s; }
.fe3il-marker:nth-child(3n + 1) .fe3il-marker__sq::after { animation-delay: .8s; }
@media (prefers-reduced-motion: reduce) {
	.fe3il-marker__sq, .fe3il-marker__sq::after { animation: none; }
}
.fe3il-map--simple .fe3il-marker__sq { width: 16px; height: 16px; }
.fe3il-map-panel .fa-more { color: var(--ink); text-decoration: none; font-weight: 700; }
[dir="rtl"] .fe3il-map-wrap:has(.fe3il-map-panel:not([hidden])) { grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); }
[dir="rtl"] .fe3il-map { order: 2; direction: ltr; }
[dir="rtl"] .fe3il-map-panel { order: 1; }
@media (max-width: 782px) {
	.fe3il-map-wrap, .fe3il-map-wrap:has(.fe3il-map-panel:not([hidden])), [dir="rtl"] .fe3il-map-wrap:has(.fe3il-map-panel:not([hidden])) { grid-template-columns: 1fr; }
	[dir="rtl"] .fe3il-map, [dir="rtl"] .fe3il-map-panel { order: 0; }
}
.fe3il-map__key { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--white); color: var(--ink); font: 600 14px/20px inherit; padding: 6px 10px; cursor: pointer; }
.fe3il-map__key[aria-pressed="false"] { opacity: 0.45; }
.fe3il-map__swatch { width: 12px; height: 12px; display: inline-block; }
.fe3il-layer-composante-locale { background: var(--part-01); }
.fe3il-layer-micro-projets { background: var(--part-03); }
.fe3il-layer-projets-sportifs, .fe3il-layer-smar { background: var(--part-032); }
.fe3il-layer-initiatives-associatives, .fe3il-layer-dons-materiel-sportif { background: var(--part-04); }
.fe3il-map--simple { height: 420px; }
.fe3il-marker { background: transparent; border: 0; }
.fe3il-marker__sq { position: relative; display: block; width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 2px var(--white); }
.fe3il-marker__sq::after { content: ""; position: absolute; inset: -6px; border: 2px solid currentColor; border-radius: 50%; opacity: 0.45; animation: fe3il-pulse 2.4s ease-out infinite; }
@keyframes fe3il-pulse { 70% { transform: scale(1.8); opacity: 0; } }
.fe3il-marker:nth-child(3n) .fe3il-marker__sq::after { animation-delay: .4s; }
.fe3il-marker:nth-child(3n + 1) .fe3il-marker__sq::after { animation-delay: .8s; }
.fe3il-marker:hover .fe3il-marker__sq { transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) {
	.fe3il-marker__sq, .fe3il-marker__sq::after { animation: none; }
}
.fe3il-map--simple .fe3il-marker__sq { width: 22px; height: 22px; }
.leaflet-container { font-family: inherit; }
.fe3il-map .leaflet-popup-content { margin: 12px 16px; }
.fe3il-map .leaflet-popup-content h3 { margin: 0 0 4px; font-size: 16px; }
.fe3il-map .leaflet-popup-content p { margin: 0; font-size: 14px; }
.fe3il-map-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; width: 100%; }
.fe3il-map-wrap .fe3il-map__legend { grid-column: 1 / -1; }
.fe3il-map-panel { background: var(--white); color: var(--ink); border: 1px solid var(--border); padding: 16px; max-height: 560px; overflow: auto; }
.fe3il-map-panel__close { border: 1px solid var(--border); background: var(--white); color: var(--ink); font: 600 14px/20px inherit; padding: 6px 10px; cursor: pointer; }
.fe3il-map-panel__group { margin-block-start: 16px; }
.fe3il-map-panel__group h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 16px; }
.fe3il-map-panel__title { margin: 12px 0 0; font-size: 18px; line-height: 24px; }
.fe3il-map-panel__title:focus { outline: 3px solid var(--yellow); outline-offset: 2px; }
.fe3il-map-panel.is-highlight { box-shadow: 0 0 0 3px var(--yellow); }
.fe3il-map-panel__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fe3il-map-panel__group p { margin: 0; }
.fe3il-map-panel__item { display: flex; gap: 12px; align-items: flex-start; }
.fe3il-map-panel__logo { display: block; height: 40px; width: 40px; object-fit: contain; flex: none; background: var(--white); }
.fe3il-map-panel__mark { display: grid; place-items: center; width: 40px; height: 40px; flex: none; color: var(--white); font-weight: 700; font-size: 13px; line-height: 1; }
@media (max-width: 782px) {
	.fe3il-map-panel:not([hidden]) { position: static; width: 100%; max-height: none; }
}
@media (max-width: 782px) {
	.fe3il-map-wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.fe3il-map-panel.is-open, .fe3il-map-panel.is-closing { animation: none; }
}
