.container-reviews, .container-questions {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 140px;
}

#questions-page .container-questions {
    margin-top: 80px;
}


.feedback-review-box {
    /* здесь для видимости стиль */
    min-width: 468px;
    box-sizing: border-box;
}

.feedback-box, .questions-box {
    color: #ffffff;
}

.feedback-review, .questions-review {
    background-color: #BBBAE2;
    border-radius: 10px;
    padding: 20px;
    background-image: url('/wp-content/uploads/2026/06/bg-container-review-3.png');
    background-size: cover;
    background-position: center;
    width: 468px;
    box-sizing: border-box;
}

.reviews-post, .questions-post {
    margin-top: 30px;
    padding: 20px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0px 4px 4px rgba(116, 116, 116, 0.05);
}

.reviews-post .review-tag .filtered-post-tags, .questions-post .review-tag .filtered-post-tags {
    min-height: unset;
    height: unset;
    max-height: 42px;
}

.review-meta {
    margin-top: 25px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: #747474;
    font-size: 18px;
    line-height: 22px;
}

.review-excerpt {
    margin-top: 15px;
    font-size: 20px;
    line-height: 30px;
}

h2.review-title, h2.question-title {
    margin-top: 15px;
    margin-bottom: 0px;
}

h2.review-title a, h2.question-title a {
    text-decoration: none;
    font-size: 28px;
    font-weight: 400;
    line-height: 40px;
    color: #333333;
}

/* .review-excerpt, .single-review-excerpt {
    font-size: 20px;
    line-height: 28px;
    color: #333333;
    margin-top: 15px;
} */

.review-read-more {
    margin-top: 20px;
}

a.read-more-btn {
    color: #8382A8;
    text-decoration: underline;
    font-size: 24px;
    line-height: 32px;
}

.promo-review {
    display: flex;
    flex-direction: column;
    margin-top: 140px;
    box-sizing: border-box;
    height: 456px;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(65deg, #BBBAE2 9%, #FEDADA 88%);
    box-shadow: 0px 4px 4px rgba(116, 116, 116, 0.05);
    font-family: "Futura PT", sans-serif;
    font-size: 48px;
    line-height: 62px;
    font-weight: 500;
    color: #ffffff;
}

.search-container {
    display: flex;
    flex-direction: row;
    padding: 20px;
    background-color: #E9E8F6;
    justify-content: space-around;
    border-radius: 10px;
    gap: 20px;
}

.search-reviews-fio, .search-reviews-tag {
    display: flex;
    flex: 1;
    width: 50%;
}

.feedback-title, .questions-title {
    font-size: 24px;
    line-height: 29px;
    font-weight: 700;
}

.feedback-subtitle, .questions-subtitle {
    margin-top: 10px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
}

select#review-name-doctor, select#review-search-tag {
    padding: 20px;
    width: 100%;
    border-radius: 5px;
    border: none;
    color: #8382A8;
    font-family: 'Golos Text', sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    cursor: pointer;
    padding-right: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238382A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 30px;
}

select#review-name-doctor:focus, select#review-search-tag {
    outline: none;
}

#review-name-doctor option, select#review-search-tag option {
    color: #333333;
    font-weight: 500;
}

.feedback-input, .questions-input {
    width: 100%;
}

.feedback-input input, .feedback-input textarea, .questions-input input, .questions-input textarea {
    padding: 15px 20px;
    font-family: 'Golos Text', sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    width: stretch;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
}

.feedback-input input::placeholder, .feedback-input textarea::placeholder, .questions-input input::placeholder, .questions-input textarea::placeholder {
    color: rgba(116, 116, 116, 0.50);
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;    
}

#feedback-form, #questions-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.feedback-checkbox input[type="checkbox"], .questions-checkbox input[type="checkbox"] {
    accent-color: #ffffff;
    width: 28px;
    height: 28px;
}

.feedback-checkbox a, .questions-checkbox a {
    color: #ffffff;
    font-size: 14px;
    line-height: 18px;
}

.feedback-checkbox label, .questions-checkbox label {
        font-size: 14px;
        line-height: 18px;
        cursor: pointer;
        flex: 1;
    }

.feedback-checkbox, .questions-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.feedback-btn-cont, .questions-btn-cont {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
}

.feedback-btn-cont button, .questions-btn-cont button {
    width: stretch;
    border: none;
    background-color: #BBBAE2;
    color: #ffffff;
    font-family: 'Golos Text', sans-serif;
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    padding: 10px;
    cursor: pointer;
    border-radius: 3px;
}

.feedback-btn-cont button:hover, .questions-btn-cont button:hover {
    background-color: #8382A8;
}

.feedback-captcha, .questions-captcha {
    margin-bottom: 20px;
}

.nav-links {
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    padding-top: 60px;
}

span.page-numbers.current {
    background-color: #BBBAE2;
    padding: 0px 7px;
    border-radius: 100px;
    margin-right: 6px;
    font-weight: 500;
}

a.page-numbers {
    background-color: #ffffff;
    padding: 0px 7px;
    border-radius: 100px;
    margin-right: 6px;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
}

span.page-numbers.dots {
    color: #000000;
}

a.next.page-numbers {
    padding: 10px 20px;
    background-color: #BBBAE2;
    color: #ffffff;
    border-radius: 5px;
}

#single-review {
    padding-top: 60px;
    padding-bottom: 60px;
}

h1.review-title, h1.questions-title {
    font-family: "Futura PT", sans-serif;
    font-size: 48px;
    line-height: 62px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.page-header .questions-title {
    margin-top: 80px;
}

#single-review .header-review {
    margin-top: 80px;
}

#single-review .reviews-post {
    margin-top: unset;
}

#single-review .container-reviews, #questions-page .container-questions {
    margin-top: 80px;
}

#single-review .reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-answer-conteiner {
    padding: 20px 40px 20px 70px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgba(116, 116, 116, 0.05);
}

.answer-header {
    color: #8382A8;
    font-size: 28px;
    line-height: 34px;
    font-weight: 500;
}

.answer-content {
    color: #333333;
    font-size: 20px;
    line-height: 30px;
    padding-top: 15px;
}

.card-answer-company {
    display: flex;
    flex-direction: row;
    padding-top: 40px;
    gap: 10px;
}

.card-answer-company img {
    width: 100px;
    height: auto;
}

.name-answer-company {
    display: flex;
    max-width: 315px;
    color: #8382A8;
    font-size: 18px;
    font-weight: 500;
    line-height: 26px;
    align-items: center;
}

.btn-review-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 10px;
}

.btn-review-left {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.btn-review-back, .btn-review-onward {
    width: 60px;
    height: auto;
    cursor: pointer;
}

.btn-review-text {
    font-size: 20px;
    line-height: 28px;
}

.btn-review-right {
    display: flex;
    width: calc(50% - 40px);
}

.btn-review-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    cursor: pointer;
    background-color: #00998E;
    color: #ffffff;
    font-size: 24px;
    line-height: 30px;
    border-radius: 5px;
}

.btn-review-button:hover {
    background-color: #026961;
}

.card-name-answer {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #E9E8F6;
    border-radius: 10px;
    padding: 20px;
    max-width: 1148px;
    box-sizing: border-box;
}

.answer-single-questions .review-meta {
    margin-top: unset;
}


h1.question-title {
    font-family: "Futura PT", sans-serif;
    font-size: 48px;
    line-height: 62px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.container-single-questions {
    display: flex;
    flex-direction: column;
    margin-top: 80px;
}

.single-questions .questions-post {
    margin-top: unset;
}

.single-questions {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 80px;
}

.questions-grid {
    width: stretch;
}

.post_doctor_single_review .post_doctor_position, .questions-post .post_doctor_position, .reviews-post .post_doctor_position {
    font-size: 16px;
    line-height: 19px;
}

/* НОУТБУК */
@media (min-width: 1140px) and (max-width: 1700px) {
    .container-reviews, .container-reviews {
        margin-top: 100px;
    }

    .search-container {
        padding: 10px;
        gap: 10px;
    }

    select#review-name-doctor, select#review-search-tag {
        padding: 10px 20px;
        font-size: 18px;
        line-height: 24px;
        background-size: 25px;
    }

    .reviews-post, .questions-post {
        margin-top: 20px;
        border-radius: 10px;
    }

    .review-meta {
        margin-top: 20px;
        font-size: 16px;
        line-height: 19px;
    }

    .page-header .questions-title {
        margin-top: 50px;
    }

    h2.review-title, h2.question-title {
        margin-top: 15px;
        margin-bottom: 0px;
    }

    h2.review-title a, h2.question-title a {
        font-size: 24px;
        line-height: 32px;
    }

    .review-excerpt {
        font-size: 18px;
        line-height: 24px;
        margin-top: 10px;
    }

    a.read-more-btn {
        font-size: 20px;
        line-height: 24px;
    }

    .feedback-review, .questions-review {
        width: 450px;
    }

    .feedback-checkbox input[type="checkbox"], .questions-checkbox input[type="checkbox"] {
        width: 25px;
        height: 25px;
    }

    a.page-numbers {
        font-size: 16px;
        line-height: 19px;
    }

    span.page-numbers.current {
        font-size: 16px;
        line-height: 19px;
    }

    a.next.page-numbers {
        font-size: 18px;
        line-height: 24px;
    }

    .promo-review {
        margin-top: 100px;
        border-radius: 10px;
        font-size: 40px;
        line-height: 51px;
    }

    #single-review {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #single-review .header-review {
        margin-top: 50px;
    }

    h1.review-title, h1.question-title {
        font-size: 40px;
        line-height: 51px;
    }

    #single-review .container-reviews, #questions-page .container-questions {
        margin-top: 50px;
    }

    .review-excerpt, .single-review-excerpt {
        font-size: 18px;
        line-height: 26px;
    }

    .feedback-btn-cont button, .questions-btn-cont button {
        font-size: 18px;
    }

    #single-review .reviews-grid {
        gap: 20px;
    }

    .review-answer-conteiner {
        padding-left: 50px;
    }

    .answer-header {
        font-size: 24px;
        line-height: 32px;
    }

    .answer-content {
        padding-top: 20px;
        font-size: 18px;
        line-height: 26px;
    }

    .card-answer-company {
        padding-top: 30px;
    }

    .card-answer-company img {
        width: 80px;
    }

    .name-answer-company {
        line-height: 22px;
    }

    .btn-review-text {
        display: none;
    }

    .btn-review-right {
        width: 50%;
    }

    .btn-review-button {
        font-size: 20px;
        line-height: 24px;
    }

    .post_doctor_single_review .post_doctor_name, .questions-post .post_doctor_name .reviews-post .post_doctor_name {
        font-size: 18px;
        line-height: 22px;
    }

    .container-single-questions {
        margin-top: 50px;
    }

    .single-questions {
        margin-top: 50px;
    }
}

/* ПЛАНШЕТ */
@media (min-width: 768px) and (max-width: 1140px) {
    #single-review .header-review {
        margin-top: 40px;
    }

    h1.review-title, h1.question-title {
        font-size: 28px;
        line-height: 36px;
    }

    #single-review .container-reviews, #questions-page .container-questions {
        margin-top: 40px;
    }

    .container-reviews, .container-questions {
        margin-top: 80px;
    }

    #single-review .reviews-grid {
        width: 374px;
        box-sizing: border-box;
    }

    #single-review .reviews-post {
        padding: 10px;
        border-radius: 10px;
    }

    .review-answer-conteiner {
        padding: 10px 10px 10px 30px;
    }

    .answer-header {
        font-size: 18px;
        line-height: 24px;
    }

    .answer-content {
        padding-top: 10px;
        font-size: 16px;
        line-height: 22px;
    }

    .card-answer-company {
        padding-top: 20px;
    }

    .card-answer-company img {
        width: 70px;
        height: 70px;
    }

    .name-answer-company {
        font-size: 14px;
        line-height: 17px;
    }

    .feedback-title, .questions-title {
        font-size: 18px;
        line-height: 22px;
    }

    .feedback-subtitle, .questions-subtitle {
        font-size: 16px;
        line-height: 19px;
    }

    .feedback-review, .questions-review {
        width: 374px;
        padding: 10px;
    }

    #feedback-form, #questions-form {
        margin-top: 25px;
    }

    .feedback-input input, .feedback-input textarea, .questions-input input, .questions-input textarea {
        padding: 15px 10px;
        font-size: 14px;
        line-height: 18px;
        border-radius: 3px;
    }

    .feedback-checkbox input[type="checkbox"], .questions-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    .feedback-checkbox br, .questions-checkbox br {
        display: none;
    }

    .custom-breadcrumbs {
        padding-top: 60px;
    }

    .page-header .questions-title {
        margin-top: 40px;
    }

    .btn-review-container {
        padding-top: unset;
        flex-direction: column;
        gap: 20px;
    }

    .btn-review-text {
        display: none;
    }

    .btn-review-left {
        gap: 24px;
        justify-content: center;
    }

    .btn-review-back, .btn-review-onward {
        width: 40px;
    }

    .btn-review-back img, .btn-review-onward img {
        width: 40px;
        height: 40px;
    }

    .btn-review-right {
        width: 100%;
    }

    .btn-review-button {
        font-size: 18px;
        line-height: 22px;
        padding: 15px;
    }

    .feedback-btn-cont button, .questions-btn-cont button {
        font-size: 16px;
        line-height: 19px;
    }

    .search-container {
        padding: 10px;
        gap: 10px;
        flex-direction: column;
    }

    .search-reviews-fio, .search-reviews-tag {
        width: 100%;
    }

    select#review-name-doctor, select#review-search-tag {
        padding: 14px 10px;
        font-size: 16px;
        line-height: 20px;
        background-position: right 10px center;
        background-size: 20px;
    }

    .reviews-post .review-tag .filtered-post-tags, .questions-post .review-tag .filtered-post-tags {
        max-height: 59px;
    }

    .review-meta {
        font-size: 14px;
        line-height: 17px;
        margin-top: 20px;
    }

    h2.review-title a, h2.question-title a {
        font-size: 18px;
        line-height: 22px;
    }

    .review-excerpt {
        font-size: 16px;
        line-height: 22px;
        margin-top: 10px;
    }

    a.read-more-btn {
        font-size: 16px;
        line-height: 19px;
    }

    .reviews-post .post_doctor_name, .questions-post .post_doctor_name {
        font-size: 14px;
        line-height: 17px;
    }

    .reviews-post .post_doctor_position, .questions-post .post_doctor_position {
        font-size: 12px;
        line-height: 14px;
    }

    h2.review-title, h2.question-title {
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .nav-links {
        padding-top: 30px;
    }

    .nav-links {
        font-size: 16px;
        line-height: 18px;
    }

    .promo-review {
        margin-top: 80px;
        padding: 10px;
        border-radius: 10px;
        font-size: 28px;
        line-height: 36px;
        height: 214px;
    }

    .container-single-questions {
        margin-top: 50px;
    }

    .single-questions {
        margin-top: 40px;
    }

    .reviews-post, .questions-post {
        border-radius: 10px;
    }

    .card-name-answer {
        gap: 20px;
    }
}

/* МОБИЛЬНЫЕ УСТРОЙСТВА */

@media (max-width: 768px) {
    #single-review {
        padding-top: 20px;
    }

    #single-review .header-review {
        margin-top: 20px;
        padding: 0px 20px;
    }

    h1.review-title, h1.question-title {
        font-size: 24px;
        line-height: 31px;
    }

    #single-review .container-reviews {
        margin-top: 30px;
    }

    .post_doctor_single_review {
        flex-direction: column;
        gap: 20px;
    }

    .post_doctor_btn {
        padding-top: unset;
        width: 100%;
    }

    .doctor-button {
        padding: 15px;
        font-size: 18px;
        line-height: 22px;
    }

    .review-answer-conteiner {
        padding: 10px 10px 10px 30px;
        border-radius: 5px;
    }

    .container-reviews, #questions-page .container-questions {
        margin-top: 20px;
        flex-direction: column;
        gap: 50px;
    }

    #single-review .reviews-grid {
        gap: 20px;
    }

    .reviews-grid, .questions-grid, .page-header {
        padding: 0px 20px;
    }
    
    .search-container {
        flex-direction: column;
        gap: 10px;
        border-radius: 5px;
        padding: 10px;
    }

    .search-reviews-fio, .search-reviews-tag {
        width: 100%;
    }

    select#review-name-doctor, select#review-search-tag {
        padding: 12px 10px;
        border-radius: 3px;
        font-size: 16px;
        line-height: 20px;
        background-size: 20px;
    }

    #single-review .reviews-post {
        border-radius: 5px;
    }

    .reviews-post, .questions-post {
        margin-top: 20px;
        padding: 10px;
        border-radius: 5px;
    }

    .reviews-post .review-tag .filtered-post-tags, .questions-post .review-tag .filtered-post-tags {
        max-height: 53px;
    }

    .review-meta {
        margin-top: 15px;
        font-size: 12px;
        line-height: 14px;
    }

    h2.review-title, h2.question-title {
        margin-top: 10px;
        margin-bottom: 0px;
    }

    h2.review-title a, h2.question-title a {
        font-size: 18px;
        line-height: 22px;
    }

    .review-excerpt {
        font-size: 16px;
        line-height: 22px;
        margin-top: 10px;
    }

    .review-read-more {
        margin-top: 15px;
    }

    a.read-more-btn {
        font-size: 16px;
        line-height: 19px;
    }

    .nav-links {
        font-size: 14px;
        line-height: 18px;
    }

    a.page-numbers {
        margin-right: unset;
    }

    .feedback-review, .questions-review {
        border-radius: unset;
        width: unset;
    }

    .feedback-title, .questions-title {
        font-size: 20px;
        line-height: 24px;
    }

    .feedback-subtitle, .questions-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    #feedback-form, #questions-form {
        margin-top: 20px;
    }

    .feedback-input input, .feedback-input textarea, .questions-input input, .questions-input textarea {
        font-size: 14px;
        line-height: 18px;
        padding: 13px 10px;
        border-radius: 3px;
    }

    .feedback-checkbox input[type="checkbox"], .questions-checkbox input[type="checkbox"] {
        width: 25px;
        height: 25px;
    }

    .feedback-btn-cont button, .questions-btn-cont button {
        font-size: 16px;
        line-height: 19px;
    }

    .promo-review {
        margin-top: 70px;
        border-radius: unset;
        font-size: 24px;
        line-height: 29px;
    }

    .answer-header {
        font-size: 18px;
        line-height: 24px;
    }

    .answer-content {
        padding-top: 10px;
        font-size: 16px;
        line-height: 22px;
    }

    .card-answer-company {
        padding-top: 20px;
    }

    .card-answer-company img {
        width: 70px;
    }

    .name-answer-company {
        font-size: 14px;
        line-height: 17px;
    }

    .btn-review-container {
        flex-direction: column;
        padding-top: unset;
        gap: 30px;
    }

    .btn-review-text {
        display: none;
    }

    .btn-review-left {
        justify-content: center;
        gap: 25px;
    }

    .btn-review-back, .btn-review-onward {
        width: 40px;
    }

    .btn-review-back img, .btn-review-onward img {
        width: 40px;
    }

    .btn-review-right {
        width: 100%;
    }

    .btn-review-button {
        padding: 15px;
        font-size: 18px;
        line-height: 22px;
    }

    .custom-breadcrumbs {
        padding-top: 40px;
    }

    .page-header .questions-title {
        margin-top: 20px;
    }

    .container-single-questions {
        margin-top: 20px;
    }

    .card-name-answer {
        gap: 10px;
        margin: 0px 20px;
    }

    .single-questions {
        flex-direction: column;
        gap: 50px;
        margin-top: 30px;
    }

    .single-questions article {
        margin: 0px 20px;
    }

    .post_doctor_single_review .post_doctor_position, .questions-post .post_doctor_position, .reviews-post .post_doctor_position {
        font-size: 12px;
        line-height: 14px;
    }
}

