/* Location element (litorals_content_location): address next to an OpenFreeMap map that loads on click. */
.litorals-location{--litorals-location-pin:#e5383b;--litorals-location-radius:1rem}
.litorals-location__address{font-size:1.25rem;line-height:1.8;font-style:normal}
.litorals-location__address a{text-decoration:none}
.litorals-location__address a:hover,.litorals-location__address a:focus-visible{text-decoration:underline}
/* The whole address is the link for directions but reads as text (the theme colors all content links). */
.litorals-location .litorals-location__place,#page-content .litorals-location a.litorals-location__place:not(.btn){display:block;width:fit-content;color:inherit!important}
.litorals-location__map{position:relative;isolation:isolate;aspect-ratio:4/3;min-height:16rem;overflow:hidden;border:1px solid var(--bs-border-color,#dee2e6);border-radius:var(--litorals-location-radius);background:#e9edf1;color:#212529}
@media (min-width:768px){.litorals-location__map{aspect-ratio:2/1}}
.litorals-location__consent{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1.5rem;text-align:center;background-color:#eef1f4;background-image:repeating-linear-gradient(32deg,transparent 0 58px,rgba(255,255,255,.85) 58px 64px),repeating-linear-gradient(-58deg,transparent 0 86px,rgba(255,255,255,.85) 86px 92px)}
.litorals-location__consent[hidden]{display:none}
.litorals-location__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
.litorals-location__actions .btn-outline-primary{background:#fff}
.litorals-location__bubble{margin:0;font-family:var(--bs-body-font-family,inherit);font-size:1rem;padding:.75rem 2rem;border-radius:var(--litorals-location-radius);background:#fff;color:#212529;font-weight:700;line-height:1.3;white-space:nowrap;box-shadow:0 2px 12px rgba(0,0,0,.15)}
.litorals-location__note{max-width:26rem;margin:0;padding:.25rem .75rem;border-radius:.5rem;background:rgba(255,255,255,.85);font-size:.8125rem}
.litorals-location__map.is-loading .btn{pointer-events:none;opacity:.65}
.litorals-location__pin,.litorals-location__marker svg{display:block;color:var(--litorals-location-pin);filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
/* More specific than .maplibregl-map (position:relative), which is loaded later. */
.litorals-location__map .litorals-location__canvas{position:absolute;inset:0;font-family:var(--bs-body-font-family,inherit)}
/* MapLibre places the marker with its bottom (pin tip) on the position; the bubble sits above the pin. */
.litorals-location__marker{display:flex;flex-direction:column;align-items:center;gap:.75rem;cursor:pointer}
.litorals-location__route-dialog{max-width:min(22rem,calc(100vw - 2rem));padding:0;border:0;border-radius:var(--litorals-location-radius);box-shadow:0 8px 32px rgba(0,0,0,.25)}
.litorals-location__route-dialog::backdrop{background:rgba(0,0,0,.4)}
.litorals-location__route-choices{display:flex;flex-direction:column;gap:.5rem;padding:1.5rem;text-align:center}
