/*
 * MCMS2 map widget [map] (also inside the contact form). Themes adjust it with these variables on .mcms-map:
 *   --mcms-map-accent   button, pin             (default: slate blue)
 *   --mcms-map-bg       "show the map" area     (default: a light tint)
 *   --mcms-map-radius   corner rounding
 */
.mcms-map { --mcms-map-accent: #3d4a5c; --mcms-map-bg: rgba(127, 127, 127, .1); --mcms-map-radius: 6px; margin: 1.6em 0; }
.mcms-map-frame { position: relative; height: 380px; border-radius: var(--mcms-map-radius); overflow: hidden; background: var(--mcms-map-bg); }
.mcms-map-small .mcms-map-frame { height: 260px; }
.mcms-map-large .mcms-map-frame { height: 520px; }
.mcms-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mcms-map-gate {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55em;
    padding: 1em; text-align: center;
    background:                                      /* a faint street-grid pattern, drawn with gradients */
        linear-gradient(rgba(127, 127, 127, .09) 1px, transparent 1px) 0 0 / 46px 46px,
        linear-gradient(90deg, rgba(127, 127, 127, .09) 1px, transparent 1px) 0 0 / 46px 46px,
        var(--mcms-map-bg);
}
.mcms-map-pin { color: var(--mcms-map-accent); opacity: .85; }
.mcms-map-place { font-weight: 600; max-width: 32em; }
.mcms-map-show {
    font: inherit; font-size: .95em; padding: .55em 1.1em; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--mcms-map-accent); background: transparent; color: var(--mcms-map-accent);
}
.mcms-map-show:hover, .mcms-map-show:focus-visible { background: var(--mcms-map-accent); color: #fff; outline: none; }
.mcms-map-note { font-size: .78em; opacity: .65; }
.mcms-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3em 1em; margin-top: .45em; font-size: .85em; }
.mcms-map-caption { opacity: .85; }
.mcms-map-big { margin-left: auto; display: inline-flex; align-items: center; gap: .3em; }
