.ortco-map {
    position: relative;
    display: block;
    box-sizing: border-box;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #eaf0eb;
    border-radius: 15px;
}
.ortco-map .ortco-map__picture,
.ortco-map .ortco-map__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: fill;
}
.ortco-map .ortco-map__credits {
    position: absolute;
    right: 7px;
    bottom: 5px;
    z-index: 1;
    max-width: calc(100% - 14px);
    margin: 0;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .92);
    color: #3c515d;
    font: 400 11px/1.35 Arial, sans-serif;
    text-align: right;
    white-space: nowrap;
}
.ortco-map .ortco-map__credits a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 1px;
    border: 0;
}
.ortco-map .ortco-map__credits a:focus-visible { outline: 2px solid #107caa; }

/* The original theme places its address cards over a full-width iframe. */
.full-container-map:has(.ortco-map) > .contacts-map--tab-header,
.full-container-map:has(.ortco-map) > .mobile-map-frame,
.full-container-map:has(.ortco-map) > .contacts-map > .show-mob {
    display: none !important;
}
.full-container-map:has(.ortco-map) > .contacts-map:has(.ortco-map) {
    display: grid;
    grid-template-columns: minmax(305px, .74fr) minmax(0, 1.26fr);
    align-items: stretch;
    gap: clamp(18px, 3vw, 42px);
    width: min(1120px, calc(100% - 48px));
    height: auto;
    margin: 34px auto;
    padding: 0;
}
.full-container-map:has(.ortco-map) > .contacts-map::before { display: none; }
.full-container-map:has(.ortco-map) .contacts-map > .hide-mob {
    display: block !important;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    position: relative;
}
.full-container-map:has(.ortco-map) .contacts-map > .hide-mob > .ortco-map {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: auto;
}
.full-container-map:has(.ortco-map) .contacts-map > .contacts-map--content {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.full-container-map:has(.ortco-map) .contacts-map .contacts-map__departments {
    position: static;
    transform: none;
    width: 100%;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #d9e4e9;
    border-radius: 15px;
    box-shadow: none;
}
.full-container-map:has(.ortco-map) .contacts-map__departments > .content { margin: 0; padding: 0; }
.contacts-map__map:has(.ortco-map) .map__fallback-img,
.contacts-map__map:has(.ortco-map) .map-over-scroll { display: none; }
@media (max-width: 760px) {
    .full-container-map:has(.ortco-map) > .contacts-map:has(.ortco-map) {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        width: calc(100% - 32px);
        margin: 24px auto;
    }
    .full-container-map:has(.ortco-map) .contacts-map > .hide-mob { grid-column: 1; grid-row: 2; }
    .full-container-map:has(.ortco-map) .contacts-map > .hide-mob > .ortco-map {
        position: relative;
        inset: auto;
        height: auto;
        min-height: 240px;
        aspect-ratio: 4 / 3;
    }
}
