/* Site overrides belong in css/screen.css. Filter only the canvas, never the pin or credits. */
.cc-map { position: relative; width: 100%; min-height: 240px; height: 100%; overflow: hidden; box-sizing: border-box; border: 1px solid var(--cc-map-border, #e5e7eb); border-radius: var(--cc-map-radius, var(--img-radius, 0)); background: #f3f4f6; color: #111827; }
.cc-map .cc-map__surface { position: absolute; inset: 0; visibility: hidden; }
.cc-map.is-ready .cc-map__surface { visibility: visible; }
.cc-map .maplibregl-canvas { filter: var(--cc-map-filter, none); }
.cc-map .cc-map__pin { color: var(--cc-map-marker-color, var(--color-main, var(--color-sec, #000))); }
.cc-map .cc-map__pin svg { display: block; max-width: none; }
.cc-map .cc-map__fallback { position: relative; padding: 24px; font: 16px/1.5 system-ui, sans-serif; }
.cc-map .cc-map__fallback p { color: inherit; font: inherit; margin: 0 0 12px; white-space: pre-line; }
.cc-map .cc-map__fallback a { color: #111827; text-decoration: underline; }
.cc-map.is-ready .cc-map__fallback { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; }
.cc-map.is-ready .cc-map__fallback:focus-within { width: auto; height: auto; margin: 0; padding: 12px; clip-path: none; bottom: 36px; left: 12px; background: #fff; z-index: 2; }
.cc-map :focus-visible { outline: 2px solid #1264ff; outline-offset: 2px; }
.ct2-loc-map > .cc-map, .cc-fvisit-map > .cc-map, .ct6-pl-map > .cc-map, .cc-visit-map__map > .cc-map { position: absolute; inset: 0; height: 100%; min-height: 0; }

/* Legacy site CSS filtered iframe frames as a whole. Keep the HTML pin outside that filter. */
.ct2-loc-map:has(> .cc-map), .cc-fvisit-map:has(> .cc-map), .ct6-pl-map:has(> .cc-map), .cc-visit-map__map:has(> .cc-map) { filter: none !important; }
/* Theme icon rules must not recolor the map's fixed teardrop artwork. */
.cc-map .cc-map__pin svg { width: 27.2px; height: 34px; color: inherit; }
.cc-map .cc-map__pin svg path { fill: currentColor !important; stroke: #fff; stroke-width: 1.5; }
.cc-map .cc-map__pin svg circle { fill: #fff !important; stroke: none; }
