.page-top-wrapper {
    background-color: #f8f8f8 !important;
    background-image: url("/upload/patients/head_bg-min.png") !important;
    background-repeat: no-repeat !important;
    background-position: 100% 100% !important;
}.page-top-wrapper--top-breadcrumb section.page-top {
    min-height: 313px;
}

.patients_block{
    display: grid;
    grid-template-columns: 457px 993px;
    gap: 50px;
    border-top: 1px solid #e5e5e5;
    padding: 32px 0;
}
.topic__heading p{
    max-width: 605px;
}

.patients_block_name{
    font-weight: 400;
    font-size: 46px;
    line-height: 120%;
    color: #484848;
    text-wrap: balance;
}
.patients_block_ico{
    max-width: 64px;
    margin-bottom: 16px;
}

.patients_block_maps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.patients_block_maps .item{
    padding: 32px 24px;
    background-repeat: no-repeat;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background-size: cover;
    overflow: hidden;
}
.patients_block_maps .addr{
    border: 1px solid rgba(229, 229, 229, 0.35);
    border-radius: 30px;
    padding: 10px 26px;
    background: #fff;
    font-weight: 400;
    font-size: 15px;
    line-height: 143%;
    color: #333;
    max-width: fit-content;
    margin-bottom: 24px;
}
.patients_block_maps .schedule{
    border-spacing: 24px 16px;
    border-collapse: separate;
    margin-left: -24px;
    margin-right: -24px;
    margin-top: -16px;
    margin-bottom: 18px;
}
.patients_block_maps td:nth-of-type(1){
    font-weight: 600;
    font-size: 24px;
    line-height: 92%;
    color: rgba(72, 72, 72, 0.7);
}
.patients_block_maps td:nth-of-type(2){
    font-weight: 600;
    font-size: 24px;
    line-height: 92%;
    color: #484848;
}
.patients_block_maps .cont_list{
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    gap: 12px;
}
.patients_block_maps .cont_list a{
    padding-left: 40px;
    background-repeat: no-repeat;
    background-position: 0 50%;
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    color: #333;
}
.patients_block_maps .cont_list .phone{
    background-image: url("/upload/patients/phone.svg");
}
.patients_block_maps .cont_list .mail{
    background-image: url("/upload/patients/mail.svg");
}
.patients_block_maps .reception{
    border: 1px solid rgba(229, 229, 229, 0.35);
    border-radius: 4px;
    padding: 12px 24px;
    background: #fff;
    width: fit-content;
    font-weight: 600;
    font-size: 15px;
    line-height: 127%;
    text-align: center;
    color: #484848;
}

.patient_reception_items{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.patient_reception_items .item{
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 32px 24px;
    background: #f8f8f8;
}
.patient_reception_items .item .name{
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: #ed1c24;
    margin-bottom: 16px;
}
.list_dot li{
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #333;
}
.list_dot li:before{
    background: #333;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    top: 8px;
    margin-bottom: 3px;
}

.patients_block .grey_block{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    padding: 24px;
    min-height: 245px;
}
.patients_block .grey_block .bottom{
    border-radius: 4px;
    padding: 13px 24px;
    background: #fff;
    max-width: max-content;
    font-weight: 600;
    font-size: 15px;
    line-height: 127%;
    text-align: center;
    color: #484848;
}
.patients_block .grey_block .name{
    font-weight: 600;
    font-size: 24px;
    line-height: 133%;
    color: #333;
    margin-bottom: 10px;
    max-width: 400px;
}
.patients_block .grey_block .subname{
    font-weight: 400;
    font-size: 15px;
    line-height: 147%;
    color: #333;
}
.agreement_documents .items{
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #f8f8f8;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.agreement_documents .item:nth-of-type(1){
    border-right: 1px solid #e5e5e5;
}
.agreement_documents .name{
    padding: 24px;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: #ed1c24;
    border-bottom: 1px solid #e5e5e5;
}
.agreement_documents .cont{
    padding: 24px 24px 0 24px;
}

.standards_with_law .dms_block{
    display: flex;
    gap: 16px;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: #ed1c24;
    margin-bottom: 12px;
}
.patients_block blockquote {
    margin: 0;
    font-size: 15px;
    padding: 0 0 0 10px;
}

.tax_deduction_items{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.tax_deduction_items .item{
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 32px 24px;
    background: #f8f8f8;
}
.tax_deduction_items .item .name{
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: #ed1c24;
    margin-bottom: 16px;
    max-width: 220px;
}
@media (max-width: 1600px) {
    .patients_block {
        grid-template-columns: 1fr  minmax(300px, 2fr);
        gap: 20px;
    }
}
@media (max-width: 1350px) {
    .patients_block_name {
        font-size: 30px;
    }
    .patients_block_ico {
        margin-bottom: 8px;
    }
    .patients_block_ico img{
        max-width: 40px;
    }
}

@media (max-width: 1100px) {
    .patients_block {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
@media (max-width: 991px) {
    .patients_block_maps .item {
        padding: 20px 15px;
    }
    .patients_block_maps .addr {
        font-size: 12px;
    }
    .patients_block_maps td:nth-of-type(1) {
        font-size: 18px;
    }
    .patients_block_maps td:nth-of-type(2) {
        font-size: 18px;
    }
    .patients_block_maps .schedule {
        border-spacing: 24px 12px;
    }
    .patients_block_name br{
        display: none;
    }
    .make_appointment .right p:nth-of-type(3){
        display: none;
    }
    .patient_reception h2{
        font-size: 18px;
    }
    .patient_reception_items {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .patient_reception_items .item {
        border-radius: 10px;
        padding: 20px 15px;
    }
    .patient_reception_items .item .name br{
        display: none;
    }
    .patient_reception_items ul{
        margin-bottom: 0;
    }
    .patients_block .grey_block {
        padding: 20px 15px;
        background-position: 100%;
        background-size: cover;
    }
    .patients_block .grey_block .name {
        font-size: 18px;
    }
    .agreement_documents .items {
        grid-template-columns: 1fr;
    }

    .agreement_documents .name {
        padding: 20px 15px;
        border-bottom: unset;
    }
    .agreement_documents .cont {
        padding: 0 15px 0 15px;
    }
    .agreement_documents .item:nth-of-type(1) {
        border-right: unset;
        border-bottom: 1px solid #e5e5e5;
    }

    .tax_deduction_items {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .tax_deduction_items .item {
        border-radius: 10px;
        padding: 20px 15px;
    }
    .tax_deduction_items .item .name br{
        display: none;
    }
    .tax_deduction_items ul{
        margin-bottom: 0;
    }

    .patients_block .btn{
        white-space: unset;
    }
}
@media (max-width: 500px) {
    .page-top-wrapper {
        background-size: 400px !important;
    }
}