/* The map stays confined to the directory and retains readable fallbacks. */
.centre-map-section { padding-bottom: 42px; }
.centre-map-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.centre-map-heading h2 { font-size: clamp(27px, 2.5vw, 36px); line-height: 1.18; margin-top: 10px; }
.centre-map-heading .text-link { white-space: nowrap; }
.centre-map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.centre-map-canvas { position: relative; z-index: 0; min-width: 0; height: 440px; background: #e7efed; font-family: var(--body); }
/* Soften only the basemap; markers and labels keep their original contrast. */
.centre-map-canvas .leaflet-tile-pane { filter: saturate(.15) contrast(.85) brightness(1.08); }
.centre-map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; padding: 35px; color: var(--muted); text-align: center; font-size: 14px; }
.centre-map-placeholder[hidden] { display: none; }
.centre-map-locations { display: flex; flex-direction: column; padding: 6px 23px 14px; border-left: 1px solid var(--line); }
.map-location { padding: 18px 0 12px; }
.map-location + .map-location { border-top: 1px solid var(--line); }
.map-location-select { display: flex; width: 100%; gap: 12px; align-items: center; text-align: left; padding: 4px 0; border: 0; background: transparent; color: var(--ink); }
.map-location-select:disabled { cursor: default; }
.map-location-select:not(:disabled):hover strong, .map-location-select[aria-pressed="true"] strong { color: var(--blue); }
.map-location-select[aria-pressed="true"] .map-location-target { color: var(--blue); transform: translate(2px, -2px); }
.map-location-select > span:nth-child(2) { flex: 1; }
.map-location-number { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink-deep); color: white; font-size: 11px; font-weight: 700; }
.map-location-number-katalyste { background: #a95320; }
.map-location-brand { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 600; color: var(--muted); }
.map-location-select strong { display: block; font-size: 23px; line-height: 1.2; letter-spacing: -.035em; font-weight: 600; }
.map-location-target { color: var(--turquoise); font-size: 18px; }
.map-location-address { margin: 11px 0 4px 46px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.map-location-links { display: flex; gap: 19px; margin-left: 46px; }
.map-location-links a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--ink); font-size: 13px; font-weight: 700; }
.map-location-links a:hover { text-decoration: underline; }
.map-location-links a span { color: var(--turquoise); }
.map-reset { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; min-height: 44px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; background: #edf5f3; color: var(--ink); font-size: 13px; font-weight: 700; }
.map-reset:disabled { display: none; }
.map-reset:hover { border-color: var(--turquoise); }
.centre-map-help, .centre-map-status { margin-top: 11px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.centre-map-status:empty { display: none; }
.centre-map-status { color: #934415; }
.centre-map-pin { background: transparent; border: 0; }
.centre-map-pin > span { display: grid; place-items: center; width: 42px; height: 42px; border: 3px solid #fff; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: #073b4c; box-shadow: 0 3px 12px #12394b35; }
.centre-map-pin-katalyste > span { background: #a95320; }
.centre-map-pin b { display: block; transform: rotate(45deg); font: 700 12px/1 var(--body); color: white; }
.centre-map-canvas .leaflet-tooltip { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 5px 9px; color: var(--ink); box-shadow: 0 2px 6px #12394b14; font: 600 12px/1.3 var(--body); }
.centre-map-canvas .leaflet-tooltip-top::before { border-top-color: var(--line); }
.centre-map-canvas .leaflet-control-zoom { border: 1px solid var(--line); box-shadow: 0 2px 8px #12394b18; }
.centre-map-canvas .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; color: var(--ink); }
.centre-map-canvas .leaflet-control-attribution { font: 10px/1.6 var(--body); background: #ffffffed; color: #3d5660; }
.centre-map-canvas .leaflet-control-attribution a { color: #08657b; }
.centre-map-canvas .leaflet-popup-content { margin: 22px 24px; min-width: 170px; font-family: var(--body); }
.map-popup-title { display: block; color: var(--ink); font-size: 17px; line-height: 1.35; }
.centre-map-canvas .map-popup-address { margin: 9px 0 6px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.map-popup-links { display: flex; gap: 18px; }
.map-popup-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: 13px; font-weight: 700; }
.centre-map-canvas .leaflet-popup-close-button { width: 32px; height: 32px; line-height: 32px; }
.centre-map-canvas :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (max-width: 900px) {
  .centre-map-layout { grid-template-columns: 1fr; }
  .centre-map-canvas { height: 370px; }
  .centre-map-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; padding: 3px 23px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .map-location + .map-location { border-top: 0; }
  .map-reset { grid-column: 1 / -1; justify-self: start; gap: 25px; }
  .centre-map-heading { align-items: start; flex-direction: column; gap: 13px; }
}
@media (max-width: 600px) {
  .centre-map-section { padding-bottom: 31px; }
  .centre-map-heading h2 { font-size: 27px; }
  .centre-map-heading .text-link { min-height: 36px; display: inline-flex; align-items: center; }
  .centre-map-canvas { height: 320px; }
  .centre-map-locations { grid-template-columns: 1fr; padding-inline: 19px; }
  .map-location { padding-block: 14px 8px; }
  .map-location + .map-location { border-top: 1px solid var(--line); }
  .map-location-select strong { font-size: 22px; }
  .map-reset { width: 100%; margin-top: 7px; }
  .centre-map-help { font-size: 12px; }
}
