.location-map {
    width: 100%;
    border: 1px solid var(--border-color, #ddd);
    background: #f7f7f7;
    overflow: hidden;
}

.location_iframe.location-map {
    height: auto;
    padding-top: 0;
}

.location-map__canvas {
    width: 100%;
    height: 420px;
}

.location-map__canvas[hidden],
.location-map__fallback[hidden] {
    display: none;
}

.location-map__fallback {
    display: flex;
    min-height: 220px;
    padding: 32px 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.location-map__address {
    margin: 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.location-map__link {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #7161ad;
    border-radius: 4px;
    color: #51428b;
    background: #fff;
    text-decoration: none;
}

.location-map__link:focus-visible {
    outline: 3px solid #51428b;
    outline-offset: 3px;
}

.location-map.is-ready .location-map__fallback {
    min-height: 0;
    padding: 16px;
}

@media (max-width: 767px) {
    .location-map__canvas {
        height: 280px;
    }

    .location-map__fallback {
        min-height: 180px;
        padding: 24px 16px;
    }
}
