.r23-contact-map {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    height: clamp(264px, 30vw, 350px);
    background: #e9e9d8;
    color: #233e30;
}
.r23-contact-map .r23-map-preview, .r23-map-frame, .r23-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
}
.r23-map-preview { object-fit: cover; }
.r23-map-place {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 2px;
    transform: translate(-50%, -100%);
    pointer-events: none;
}
.r23-map-name {
    padding: 5px 12px;
    border: 1px solid #d5cfba;
    border-radius: 7px;
    background: #fffaf0;
    color: #1d3628;
    box-shadow: 0 2px 6px #18352724;
    font: 650 .87rem/1.35 var(--sans, system-ui, sans-serif);
    white-space: nowrap;
}
.r23-map-place svg { display: block; filter: drop-shadow(0 1px 2px #1c3c2b45); }
.r23-map-frame { position: absolute; inset: 0; }
.r23-map-frame[hidden] { display: none; }
.r23-map-loading { visibility: hidden; }
.r23-contact-map .r23-map-toggle, .r23-contact-map .r23-map-credit {
    position: absolute;
    z-index: 1;
    font-family: var(--sans, system-ui, sans-serif);
    text-decoration: none;
}
.r23-contact-map .r23-map-toggle {
    inset-inline-end: 12px;
    inset-block-start: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 13px;
    border: 1px solid #b6baab;
    border-radius: 8px;
    background: #fffaf0;
    color: #253e31;
    box-shadow: 0 2px 8px #1835271f;
    font-size: .82rem;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
}
.r23-contact-map .r23-map-toggle:hover { background: white; }
.r23-contact-map .r23-map-toggle[aria-expanded="true"] { inset-inline: 12px auto; }
.r23-contact-map .r23-map-credit {
    right: 0;
    bottom: 0;
    padding: .2rem .4rem;
    color: #324a3b;
    background: #fffaf0f0;
    font-size: .7rem;
    line-height: 1.2;
    text-decoration: underline;
}
.r23-contact-map .r23-map-credit:hover { color: #101e17; }
.r23-map-frame:not([hidden]):has(iframe:not(.r23-map-loading)) + .r23-map-credit {
    /* OpenStreetMap provides its own attribution inside the interactive map. */
    display: none;
}
.r23-contact-map :is(.r23-map-toggle, .r23-map-credit):focus-visible {
    outline: 3px solid #1c4529;
    outline-offset: -3px;
}
