/* ── Map + Text Block ────────────────────────────────────── */
/* Reuses .image-text layout classes — this file only styles the
   iframe wrapper that replaces the image column. */

.map-text__map {
    position: relative;
    width: 100%;
    height: var(--mt-map-height, 450px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.65) 0px 25px 20px -20px;
}
.map-text__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Empty-state placeholder shown until an embed code is pasted */
.map-text__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    width: 100%;
    height: var(--mt-map-height, 450px);
    padding: 1.5rem;
    text-align: center;
    border: 2px dashed rgb(var(--nifty-secondary-rgb) / .35);
    border-radius: 10px;
    background: rgb(var(--nifty-secondary-rgb) / .04);
    color: rgb(var(--nifty-secondary-rgb) / .7);
}
.map-text__placeholder p {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.5;
}

/* Shrink the map on tablet/mobile widths so it never overpowers the content */
@media (max-width: 1024px) {
    .map-text__map,
    .map-text__placeholder {
        height: 320px;
    }
}
