.contacts_block {
    padding: 178px 0 120px;
}

.contact_details {
    margin: 48px 0 120px;
    display: flex;
}

.contact_details_block {
    padding: 42px;
    border: 1px solid #cacaca;
    border-radius: 4px;
    width: 100%;
}

.block_title {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    color: #333;
}

.contact_title {
    margin-bottom: 32px;
}

.contact_details_inform {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact_details_inform .non_bold_text {
    margin-bottom: 4px;
}

.contacts_company_staff {
    margin-top: 51px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.company_staff_item {
    padding: 25px;
    border: 1px solid #cacaca;
    display: flex;
}

.company_staff_item_inform {
    padding: 35px 0 35px 37px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.company_staff_item_inform .block_title {
    margin-bottom: 10px;
}

.company_staff_item_inform .non_bold_text {
    width: 67%;
}

.contact_details_inform_adress,
.contact_details_inform_phone {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: justify;
    color: #333;
}

.contact_details_inform_mail {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}

/*АДАПТИВ*/

@media screen and (max-width: 1500px) {
    .company_staff_item {
        flex-direction: column;
    }

    .company_staff_item_inform {
        padding: 20px 0 0 0;
    }

    .contact_details_inform {
        margin-top: 16px;
    }

    .company_staff_item_inform .non_bold_text {
        width: 100%;
    }

    .company_staff_item_photo {
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 1250px) {
    .contact_details_block {
        padding: 25px;
    }
}

@media screen and (max-width: 950px) {
    .company_staff_item_photo img {
        width: 100%;
    }
}

@media screen and (max-width: 650px) {
    .contact_details {
        flex-direction: column;
    }

    .contact_details_block {
        padding: 16px;
    }

    .block_title {
        margin-bottom: 20px;
    }

    .contacts_company_staff {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
