.bmg-map-location-row {
    align-items: stretch !important;
    overflow: hidden;
}

/*image*/
.bmg-map-location-row .bmg-map-location-image figure,
.bmg-map-location-row .bmg-map-location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* The image group is a SIBLING of .bmg-map-location-row, not a child, so the
   row-scoped width:100% above never reaches it and the img fell back to its
   intrinsic width — leaving dead space beside it in the 1230px slot. Only
   showed up when the wide 1920px map was swapped for a ~900px square photo,
   which no longer happened to overflow the slot on its own. */
.bmg-map-location-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
}

/*embed*/
.bmg-map-location-embed {
    height: 450px;
    overflow: hidden;
}
.bmg-map-location-embed iframe {
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

/*location items*/
.bmg-map-location-item:not(:last-child) {
    border-bottom: 1px solid color-mix(in srgb, transparent 65%, var(--gray) 35%);
}

.bmg-map-location-item h3 {
    letter-spacing: var(--letter-spacing-sm);
}

/* Address/phone block — 16px was too small next to the 48px location headings,
   and it's the text people stop to read or copy out. Direct child only, so the
   .bmg-map-location-item copy in the embed variant keeps its own sizing. */
.bmg-map-location-stack > p {
    font-size: 20px;
}

@media (max-width: 992px) {
}

@media (max-width: 768px) {
    .bmg-map-location .bmg-section-title {
        font-size: 45px !important;
    }

    /* column, not column-reverse: the map/image group is a SIBLING of this row,
       not a child, so the reverse never affected it — the only thing it did was
       stack the location cards in the wrong order (Location 2 above Location 1). */
    .bmg-map-location-row {
        flex-direction: column;
        border-radius: 12px 12px 24px 24px !important;
        gap: 15px;
    }

    .bmg-map-location-stack {
        padding: 30px !important;
    }

    /*image*/
    .bmg-map-location-row .bmg-map-location-image img {
        min-height: 220px;
        border-radius: 0 !important;
    }
    .bmg-map-location-image img {
        min-height: 240px;
    }

    /*embed*/
    .bmg-map-location-embed {
        height: 220px;
    }
    .bmg-map-location-embed iframe {
        min-height: 220px;
    }

    /*items*/
    .bmg-map-location-item {
        padding: 25px 20px !important;
    }
    .bmg-map-location-stack h3 {
        font-size: 25px !important;
        letter-spacing: var(--letter-spacing-sm);
    }
}
