.mb-map-slot {
    min-width: 0;
    position: relative;
}

.mb-map {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0;
    border-radius: 6px;
    background: #f1efe9;
    box-shadow: inset 0 0 0 1px #d8d0c7;
}

.mb-map picture,
.mb-map img {
    display: block;
    width: 100%;
}

.mb-map img {
    height: auto;
    object-fit: cover;
}

.mb-map .mb-map-route,
.mb-map .mb-map-credit {
    position: absolute;
    display: inline-flex;
    align-items: center;
    border: 1px solid #d8d0c7;
    background: #fff;
    color: #252323;
    line-height: 1.2;
}

.mb-map .mb-map-route {
    left: 14px;
    bottom: 35px;
    min-height: 44px;
    padding: 0 12px;
    gap: 9px;
    border-radius: 6px;
    font-family: PTBold, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 6px #25232312;
}

.mb-map .mb-map-route span {
    color: #cc2931;
    font: bold 18px/1 Arial, sans-serif;
}

.mb-map .mb-map-credit {
    right: 7px;
    bottom: 6px;
    padding: 3px 5px;
    border: 0;
    border-radius: 3px;
    font: 12px/1.2 PT, Arial, sans-serif;
    text-decoration: underline;
}

.mb-map a:focus-visible {
    outline: 2px solid #a7131e;
    outline-offset: 2px;
}

.mb-map-row.mapBlock,
.mb-map-row.flex {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.mb-map-row > .mb-map-slot,
.mb-map-row > .ceilingInfo,
.mb-map-row > .mobile_office {
    box-sizing: border-box;
    float: none;
    min-width: 0;
    width: 100% !important;
    margin: 0;
}

.mb-map-row > .mobile_office {
    padding: 22px;
}

.map_mobile_office .mb-map {
    margin: 10px 0 16px;
}

@media (max-width: 998px) {
    .mb-map-row.mapBlock,
    .mb-map-row.flex {
        max-width: 480px;
        margin-inline: auto;
    }

    .mb-map-row .phone-form,
    .mb-map-row .phone-form .phone-input {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }
}

@media (min-width: 999px) {
    .mb-map-row.mapBlock,
    .mb-map-row.flex {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 16px;
    }

    .mb-map-slot > .mb-map {
        position: absolute;
        inset: 0;
    }

    .mb-map-slot picture,
    .mb-map-slot img {
        height: 100%;
    }

    .mb-map-row > .mobile_office {
        padding: 40px;
    }
}
