.nd_services_top_wrapper {
    border-top: 1px solid rgba(42, 15, 40, 0.5);
    border-bottom: 1px solid rgba(42, 15, 40, 0.5);
}
.nd_services_top_wrapper img {
    max-width: 700px;
    max-height: 300px
}
.nd_services_top_wrapper {
    display: flex;
}
.nd_services_headline_wrap {
    padding-left: 20px;
    width: 40%;
}
.nd_services_headline_list {
    list-style: none;
}
.nd_services_headline_list li {
    display: flex;
    align-items: center;
    line-height: 35px;
}
.nd_services_headline_list p {
    padding-left: 10px;
    margin: 0;
}
.nd_services_headline {
    font-size: 24px;
    color: rgb(31, 135, 200);
    font-weight: bold;
    line-height: 50px;
}
.nd_services_headline_btn_wrap {
    display: flex;
    justify-content: space-between;
}
.make_an_appointment_btn, .ask_question_btn {
    padding: 0 18px 0 18px;
    line-height: 40px;
    background-color: #2cab50;
    text-align: center;
    font-size: 12px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 20px;
    cursor: pointer;
}
.make_an_appointment_btn:hover, .ask_question_btn:hover {
    text-decoration: none;
    color: #000000;
    background-color: #5e9e70;
}
.doctors-wrapper, .reviews-wrapper {
    max-width: 100%;
}
.single-doctor .row {
    max-width: 400px;
    margin: 0 auto;
}
h2 {
    padding: 35px 0 35px 0;
    line-height: 32px;
    font-size: 23px;
    font-weight: 500;
    text-transform: uppercase;
    color: rgb(31, 135, 200);
    position: relative;
}
#right-sidebar {
    display: none;
}
#primary {
    max-width: 100%;
    flex: 0 0 100%;
}
.nd_heading_with_line:after {
    content: '';
    display: block;
    background-color: rgb(204, 204, 204);
    width: 79%;
    height: 1px;
    position: absolute;
    top: 50%;
    right: 0;
}
.nd_service_des_acf {
    padding-top: 30px;
    font-size: 16px;
    color: rgb(33, 37, 41);
    
}


.nd_causes_of_diseases {
    padding-top: 30px;
    font-size: 16px;
    color: rgb(33, 37, 41);
}
.nd_causes_of_diseases_after {
        /* {
   background: url("/wp-content/uploads/2020/11/dkpbgbb.png") no-repeat center;/
   background: linear-gradient(to right, #f9fbfd 0%, #edf4fd 100%);
   box-shadow: 
    0 1px 2px rgba(0, 15, 40, 0.06),
    0 5px 8px rgba(0, 15, 40, 0.05);
    text-align: center;
    background-size: 100% 100%;
    width: 100%;
    padding-bottom: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
    border: 1px solid rgb(255, 255, 255);
} */
    
    /* Фон: градиент от светлого к голубому + белая рамка */
    background: linear-gradient(to right, #f9fbfd 0%, #edf4fd 100%);
    border: 1px solid rgba(255, 255, 255, 0.8); /* Белая рамка стала чуть прозрачнее, чтобы не "резать" глаз на фоне */

    /* Тень: мягкая и воздушная */
    box-shadow: 
        0 1px 2px rgba(0, 15, 40, 0.06),
        0 5px 8px rgba(0, 15, 40, 0.05);

    /* Размеры и отступы */
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
   

    /* Улучшения (вместо background-size) */
    border-radius: 5px; /* Скругление углов — главный визуальный апгрейд */
}


.nd_causes_of_diseases_after p {
    text-align: center !important;
    color: rgb(31, 135, 200) ;
    font-size: 16px;
    font-weight: 500;
    padding-top: 20px;
}
.nd_causes_of_diseases_after a {
    text-align: center !important;
    color: rgb(31, 135, 200);
    font-size: 20px;
    font-weight: 500;
}
.Rectangle_663_copy {
    border-width: 1px;
    border-color: rgb(255, 255, 255);
    border-style: solid;
    opacity: 0.502;
    position: absolute;
    left: 277px;
    top: 2004px;
    width: 1108px;
    height: 128px;
    z-index: 38;
}
.nd_cf_green {
    background-color: rgb(44, 171, 80);
    width: 190px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    color: rgb(255, 255, 255);
    margin-left: 40px;
    border-radius: 20px;
}
.div-collapse-title_ {
    background: #1f87c8 !important;
}
div.div-collapse_ > div.div-collapse-in > div:nth-child(2) > div:last-child {
    border-bottom: none;
}
.div-collapse-in {
    border-bottom: 1px solid #2cab50;
    border-left: 1px solid #2cab50;
    border-right: 1px solid #2cab50;
    border-radius: 5px;
}
.nd_advantages_box_txt {
    font-size: 14px;
    color: rgb(33, 37, 41);
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
}
.nd_advantages_wrap_wrap {
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 50px;

}
.nd_advantages_wrap {
    border: 1px solid #2cab50;
}
.nd_advantages_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100px;
    max-height: 100px;
    height: 100px;
    justify-content: space-between;
    max-width: 230px;
}
.nd_online {
    display: flex;
    justify-content: space-between;
}
.nd_online_right_row {
    display: flex;
}
.nd_online_right_row p {
    font-size: 16px;
    color: rgb(33, 37, 41);
    font-weight: 500;
    padding-left: 15px;
}
.nd_online_right { 
    background: #f1f1f2;
    max-height: 550px;
    padding: 40px 16px;
    display: flex;
    flex-direction: column;
    justify-content: inherit;
}

.nd_service_des_acf p {
    font-size: 16px !important;
}
.nd_service_des_acf p span {
    font-weight: bold;
}
.reviews-wrapper .single-review .review-content, .reviews-wrapper-mp .single-review .review-content {
    height: 280px;
}
.row .nd_online {
    margin: 0 !important;
}

.row {
    margin: 0 !important;
}
.inmcfd_wwww {
    padding: 0 !important; width: 65%;
}

.div-collapse-title_.massazh {
    background: #2cab50 !important;
}

.nd_cf_green.massazh {
    width: auto;
    line-height: normal;
}

.sub-s_under, .div-collapse_  {
    width: 100%;
}


@media (max-width: 1199px) {
    .inmcfd_wwww {
        width: 100%;
    }
    .row .nd_online {
        flex-direction: column-reverse;
        
    }
}
@media (max-width: 991px) {
    .single-doctor .col-5 {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    .single-doctor .col-7 {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    .single-doctor .row {
        max-width: 400px;
        margin: 0 auto !important;
        display: flex;
        flex-direction: column;
    }
    .nd_heading_with_line:after {
        display: none;
    }
    .nd_online_right_row {
        display: flex;
        width: 360px;
    }
    .nd_online_right {
        width: 100%;
        align-items: center;
        
    }

}
@media (max-width: 425px) {
    .nd_advantages_wrap_wrap {
        flex-direction: column;
        align-items: center;
    }
    .otzivy-hp .single-review {
        padding: 0 10px 10px !important;
    }
}