/* Couleurs et typographie du thème ; styles isolés des cartes de contenus. */
.lc-map { --map-blue: var(--design-ink, #004676); --map-coral: #f45038; border: 1px solid var(--design-line, #d8e1e8); border-radius: var(--design-radius, 1rem); overflow: hidden; }
.lc-map [hidden] { display: none !important; }
.lc-map__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; background: var(--design-soft, #f1f6f8); }
.lc-map__legend { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; color: var(--map-blue); font-size: 13px; }
.lc-map__legend li { display: inline-flex; align-items: center; gap: 8px; }
.lc-map__key { display: inline-block; width: 12px; height: 12px; flex: 0 0 auto; }
.lc-map__key--base { background: var(--map-blue); border-radius: 2px; }
.lc-map__key--landmark { background: var(--map-coral); border-radius: 50%; }
.lc-map__reset { min-height: 44px; border: 0; padding: 8px 0; background: none; color: var(--map-blue); font: inherit; font-size: 13px; font-weight: 600; }
.lc-map__canvas { width: 100%; height: clamp(340px, 42vw, 500px); z-index: 0; background: #eaf0f3; font-family: inherit; }
.lc-map__pin { box-sizing: border-box; border: 3px solid white; box-shadow: 0 1px 5px #17384d70; }
.lc-map__pin--base { background: var(--map-blue); border-radius: 4px; }
.lc-map__pin--landmark { background: var(--map-coral); border-radius: 50%; }
.lc-map__tooltip { box-sizing: border-box; border: 0; background: var(--map-blue); color: white; box-shadow: none; font-family: inherit; font-size: 13px; line-height: 1.3; padding: 5px 8px; width: max-content; max-width: min(42vw, 190px); white-space: normal; cursor: pointer; }
.lc-map__tooltip--occluded { visibility: hidden; }
.lc-map__tooltip.leaflet-tooltip-top::before { border-top-color: var(--map-blue); }
.lc-map__tooltip.leaflet-tooltip-bottom::before { border-bottom-color: var(--map-blue); }
.lc-map__tooltip.leaflet-tooltip-left::before { border-left-color: var(--map-blue); }
.lc-map__tooltip.leaflet-tooltip-right::before { border-right-color: var(--map-blue); }
.lc-map .leaflet-popup-content { font-family: inherit; font-size: 14px; line-height: 1.6; }
.lc-map .leaflet-popup-content p { margin: 8px 0; font-size: 13px; line-height: 1.5; }
.lc-map__note, .page-voie-harmonisee main p.lc-map__note { margin: 0; padding: 12px 18px; color: var(--design-muted, #596876); font-size: 12px; line-height: 1.6; text-align: left; }
.lc-map__fallback { padding: 18px; }
.lc-map__status:empty { display: none; }
.lc-map__status { margin: 0; padding: 0 18px 12px; font-size: 13px; }
.lc-map :focus-visible { outline: 3px solid var(--map-coral); outline-offset: 3px; }
.lc-map .leaflet-control-attribution { max-width: calc(100% - 16px); font-size: 10px; }
.lc-map .leaflet-control-layers-toggle { width: auto; min-width: 64px; height: 38px; padding: 9px 12px; background-image: none; text-decoration: none; }
.lc-map .leaflet-control-layers-toggle::after { content: 'Fonds'; color: var(--map-blue); font: 13px/20px sans-serif; }
@media (max-width: 575px) { .lc-map__toolbar { padding: 10px 14px; } .lc-map__canvas { height: 370px; } }
