/* Map fallback (shared chrome lane, 15 Oct). Adrian's Google map is a keyless embed (iframe maps.google.com/maps?q=...&output=embed): no API key to be missing. It is lazy-loaded and only paints tiles once it has been on screen for a few seconds,
   so before that (and in full-page screenshots, and if Google cannot be reached) the box was a blank grey rectangle. assets/js/map.js gives every such iframe's box (div.idu-map, div.lde-map, any parent) a skeleton at the map's own size:
   the address and a "Get directions" link in the v3 look. States on the box: .ld-map--wait (map loading, skeleton showing), .ld-map--ok (map loaded and settled: skeleton fades out, the map is left alone), .ld-map--off (map never loaded: skeleton stays).
   Without JavaScript none of this applies and the iframe is untouched. Page lanes only size the iframe. Undo: delete includes/pages/map.php (this file and map.js then never load). */

.ld-map-box { position: relative; }
.ld-map-box .ld-map-fb {
	position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box; margin: 0; padding: 14px 16px;
	background: #eef1f7; color: #0d1224; text-align: center; overflow: hidden; font: 400 15px/1.4 var(--ld-text, -apple-system, "SF Pro Text", system-ui, sans-serif);
	opacity: 1; transition: opacity 260ms ease-out; -webkit-font-smoothing: antialiased;
}
.ld-map-box.ld-map--wait > iframe, .ld-map-box.ld-map--off > iframe { opacity: 0; pointer-events: none; }
.ld-map-box.ld-map--off > iframe { visibility: hidden; }
.ld-map-box > iframe { transition: opacity 260ms ease-out; }
.ld-map-box.ld-map--ok > .ld-map-fb { opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 260ms ease-out, visibility 0s linear 260ms; }
.ld-map-fb__pin { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #0a0e24; color: #fff; }
.ld-map-fb__pin svg { display: block; width: 18px; height: 18px; }
.ld-map-fb__txt { max-width: 100%; margin: 0; padding: 0; font: 700 16px/1.3 var(--ld-text, -apple-system, "SF Pro Text", system-ui, sans-serif); letter-spacing: -.005em; color: #0d1224; overflow-wrap: anywhere; }
.ld-map-fb__go {
	display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box; min-height: 40px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px;
	background: #3d63ff; color: #fff; font: 700 14.5px/1 var(--ld-text, -apple-system, "SF Pro Text", system-ui, sans-serif); text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color 140ms, transform 140ms; -webkit-tap-highlight-color: transparent;
}
.ld-map-fb__go:hover { background: #2f52e0; color: #fff; }
.ld-map-fb__go:active { transform: scale(.97); }
.ld-map-fb__go:focus-visible { outline: 2px solid #0a0e24; outline-offset: 2px; }
.ld-map-fb__go svg { display: block; width: 15px; height: 15px; }
/* a short box (a 200px map on a phone): pin and address on one row, the button under them */
@media (max-width: 519px) { .ld-map-box .ld-map-fb { gap: 8px; padding: 12px; } .ld-map-fb__pin { width: 32px; height: 32px; } .ld-map-fb__txt { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .ld-map-box .ld-map-fb, .ld-map-box > iframe, .ld-map-fb__go { transition: none; } }
/* Round two (20 Oct): Get directions and Show map side by side; the map shows only when asked (assets/js/map.js) */
.ld-map-fb__acts { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ld-map-fb__show { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; margin: 0; padding: 0 16px !important; border: 0 !important; border-radius: 999px !important; background: #fff !important; color: #0d1224 !important;
	font: 700 14.5px/1 var(--ld-text, -apple-system, "SF Pro Text", system-ui, sans-serif) !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: 0 0 0 1px #dfe4ee !important; cursor: pointer; transition: transform 140ms, background-color 140ms; -webkit-tap-highlight-color: transparent; }
.ld-map-fb__show:hover { background: #f5f7fb !important; }
.ld-map-fb__show:active { transform: scale(.97); }
.ld-map-fb__show:focus-visible { outline: 2px solid #3d63ff; outline-offset: 2px; }
.ld-map-fb__show svg { display: block; width: 15px; height: 15px; }
