div#page div#works-block.works-block {
    position: relative;
    margin-bottom: 0;
}

div#page div#works-block.works-block::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    background-color: #3a80ff;
    opacity: 5%;
}

.region.region-works {
    position: relative;
    display: flex;
    padding-top: 40px;
    padding-bottom: 100px;
}

div#block-vesta-theme-bloknastranicekontakty-2 {
    position: static;
}

div#block-vesta-theme-bloknastranicekontakty-2 .block-title {
    margin-bottom: 20px;
    font-family: 'Golos Text';
    font-size: 40px;
    line-height: 48px;
    color: #000;
    font-weight: 700;
}

.field.field--name-field-slogan-regiona-kontakty.field--type-entity-reference-revisions.field--label-hidden.field__item {
    top: 45px;
    left: 235px;
}

.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts__social {
    display: flex;
    gap: 10px;
}

.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: #3a80ff;
    transition: all 0.3s ease-in-out;
}

.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts__social a:hover {
    box-shadow: 0px 5px 10px 0px rgba(5, 66, 179, 0.5);
}

.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts {
    margin-bottom: 20px;
}

.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts .contacts__block {
    font-family: 'Golos Text';
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    color: #000;
}

.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts .contacts__block:not(:last-child) {
    margin-bottom: 10px;
}

.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts .contacts__block a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    cursor: pointer;
}

.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts .contacts__block a:hover {
    text-decoration: underline;
}

.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts .contacts__block a,
.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts .contacts__block .contacts__descr {
    font-size: 18px;
    font-weight: 500;
}

div#block-vesta-theme-yandekskarta-3 {
    top: 68px;
}

.mapContainer iframe,
.mapContainer:after {
    border-radius: 20px;
}

/*media*/
@media (max-width: 1024px) {
    div#block-vesta-theme-bloknastranicekontakty-2 .block-title {
        font-size: 32px;
    }

    div#block-vesta-theme-bloknastranicekontakty-2 {
        padding-left: 50px;
    }

    .field.field--name-field-slogan-regiona-kontakty.field--type-entity-reference-revisions.field--label-hidden.field__item {
        top: 47px;
    }

    .region.region-works {
        flex-direction: column;
        gap: 25px;
    }

    .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts {
        display: flex;
        flex-wrap: wrap;
        row-gap: 15px;
        column-gap: 25px;
    }

    .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts__label {
        white-space: nowrap;
    }

    .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts .contacts__block {
        width: 40%;
    }

    div#block-vesta-theme-yandekskarta-3 {
        top: 0;
        align-self: center;
    }
}

@media (max-width: 960px) {
    div#block-vesta-theme-bloknastranicekontakty-2 {
        padding-left: 0;
    }

    .mapContainer {
        max-width: 750px;
    }
}

@media (max-width: 768px) {
    .region.region-works {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    div#block-vesta-theme-bloknastranicekontakty-2 .block-title .slogan-slash,
    .field.field--name-field-slogan-regiona-kontakty.field--type-entity-reference-revisions.field--label-hidden.field__item {
        display: none;
    }

    .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts .contacts__block:not(:last-child) {
        margin-bottom: 0;
    }

    .mapContainer {
        max-width: 550px;
        max-height: 350px;
    }
    
}

@media (max-width: 575px) {
    div#block-vesta-theme-bloknastranicekontakty-2 .block-title {
        margin-bottom: 10px;
        font-size: 28px;
    }

    .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts {
        flex-direction: column;
    }

    .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item .contacts .contacts__block {
        width: 100%;
    }

    .mapContainer {
        max-width: 400px;
        max-height: 250px;
    }

    .mapContainer iframe, .mapContainer:after {
        border-radius: 10px;
    }
}

@media (max-width: 400px) {
    .mapContainer {
        max-width: 300px;
    }
}
