/* Original contact-card placement is inherited from the site's styles. */
.section-gmap--static .gmap {
    background: #ebe8e0;
    overflow: hidden;
}
.section-gmap--static .office-map,
.section-gmap--static .office-map picture {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}
.section-gmap--static .office-map__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 0;
}
@media (min-width: 992px) {
    /* Frame the original map so the marker sits below the overlapping card. */
    .section-gmap--static .office-map__image {
        height: 130.303031%;
    }
}
@media (max-width: 991.98px) {
    .section-gmap--static .flex {
        display: flex;
        flex-direction: column;
    }
    .section-gmap--static .flex .img {
        width: 100%;
        height: 15rem;
        order: 0;
    }
    .section-gmap--static .info {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 0;
        width: 100%;
        padding: 2.5rem max(1.25rem, calc((100% - 30rem) / 2));
        order: 1;
        border: 0;
    }
    .section-gmap--static .info:before {
        display: none;
    }
    .section-gmap--static .info h2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .section-gmap--static .info .content {
        margin-top: 2rem;
        padding-left: 1.25rem;
    }
    .section-gmap--static .info .content .phone {
        font-size: clamp(1.45rem, 6.5vw, 2rem);
        line-height: 1.4;
        white-space: nowrap;
    }
    .section-gmap--static .flex .gmap {
        width: 100%;
        height: auto;
        aspect-ratio: 520 / 660;
        max-height: 42rem;
        min-height: 24rem;
        order: 2;
    }
    .section-gmap--static .office-map__image {
        object-position: 50% 40%;
    }
}
