/*
  Theme Name: ynthemes
  Author: default
  Author URI: https://site.com
  Text Domain: batist
  Theme URI: https://site.com
  Description: Twenty Twenty-Three is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
  Requires at least: 6.1
  Tested up to: 6.2
  Requires PHP: 5.6
  Version: 1.0
  License: GNU General Public License v2 or later
  License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*/
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('assets/fonts/manrope-cyrillic-variable.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('assets/fonts/manrope-latin-variable.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url('assets/fonts/noto-serif-cyrillic-variable.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url('assets/fonts/noto-serif-latin-variable.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Noto Serif';
    font-style: italic;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url('assets/fonts/noto-serif-cyrillic-italic-variable.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Noto Serif';
    font-style: italic;
    font-weight: 100 900;
    font-stretch: 100%;
    font-display: swap;
    src: url('assets/fonts/noto-serif-latin-italic-variable.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: "Manrope", sans-serif;
    overflow-x: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

/* GAD-7 test page */
.test-hero {
    background: #EAF4FC;
    padding: 88px 0 72px;
}

.test-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 40px;
    align-items: center;
}

.test-eyebrow {
    color: #3A7DB4;
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    margin-bottom: 16px;
}

.test-hero__title,
.test-intro__title,
.screening-test__title,
.test-result__content h2 {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-weight: 400;
    line-height: 110%;
}

.test-hero__title {
    max-width: 720px;
    font-size: 64px;
    margin-bottom: 24px;
}

.test-hero__text {
    max-width: 720px;
    color: #0C2E47;
    font-size: 20px;
    line-height: 150%;
}

.test-hero__summary {
    min-height: 0;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    color: #0C2E47;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 18px;
    box-shadow: 0 16px 40px rgba(12, 46, 71, 0.08);
}

.test-hero__summary-value {
    color: #3A7DB4;
    font-family: 'Noto Serif', serif;
    font-size: 64px;
    line-height: 100%;
}

.test-hero__summary-label {
    font-size: 24px;
    font-weight: 700;
    line-height: 120%;
}

.test-hero__summary-note {
    grid-column: 1 / -1;
    border-top: 1px solid #CFE4F6;
    color: #4C6476;
    font-size: 16px;
    line-height: 140%;
    margin-top: 18px;
    padding-top: 16px;
}

.test-page {
    background: #fff;
    padding: 48px 0 88px;
}

.test-layout {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    min-height: 0;
}

.test-intro {
    position: sticky;
    top: 112px;
    background: #EAF4FC;
    border-radius: 16px;
    padding: 32px;
    color: #0C2E47;
}

.test-intro__title {
    font-size: 32px;
    margin-bottom: 18px;
}

.test-intro p,
.test-intro__notice {
    font-size: 16px;
    line-height: 150%;
}

.test-intro__notice {
    border-top: 1px solid #CFE4F6;
    margin-top: 24px;
    padding-top: 20px;
    font-weight: 700;
}

.screening-test {
    color: #0C2E47;
}

.screening-test__head {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.screening-test__title {
    font-size: 32px;
    line-height: 115%;
    margin-bottom: 8px;
}

.screening-test__subtitle {
    color: #4C6476;
    font-size: 16px;
    line-height: 140%;
}

.screening-test__progress {
    min-width: 78px;
    border: 1px solid #ACCFEF;
    border-radius: 999px;
    color: #3A7DB4;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    padding: 12px 16px;
    text-align: center;
}

.screening-test__questions {
    display: grid;
    gap: 12px;
    min-height: 0;
}

.screening-test__questions[hidden],
.screening-test__head[hidden],
.screening-test__step-nav[hidden],
.screening-test__actions[hidden],
.test-question[hidden] {
    display: none;
}

.test-question {
    border: 1px solid #D7EAF8;
    border-radius: 16px;
    min-height: 0;
    padding: 20px;
}

.test-question__title {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
    color: #0C2E47;
    font-size: 19px;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 14px;
}

.test-question__title span {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #EAF4FC;
    color: #3A7DB4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.test-question__answers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
}

.screening-test[data-test="sss8"] .test-question__answers,
.screening-test[data-test="fourdsq"] .test-question__answers {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.screening-test[data-test="psychosomatic"] .test-question__answers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.test-answer {
    cursor: pointer;
}

.test-answer input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.test-answer span {
    min-height: 62px;
    border: 1px solid #D7EAF8;
    border-radius: 12px;
    background: #F7FBFE;
    color: #0C2E47;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    font-size: 15px;
    line-height: 130%;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.test-answer input:checked + span {
    background: #3A7DB4;
    border-color: #3A7DB4;
    color: #fff;
}

.test-answer input:focus-visible + span {
    outline: 2px solid #72ADE0;
    outline-offset: 2px;
}

.screening-test__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.screening-test__step-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 14px;
}

.screening-test[data-test="fourdsq"] .screening-test__title {
    font-size: 28px;
    line-height: 115%;
}

.screening-test[data-test="fourdsq"] .test-answer span {
    min-height: 56px;
    padding: 8px;
    font-size: 14px;
}

.screening-test__submit,
.screening-test__pdf,
.screening-test__step-next,
.test-result__link {
    border: 1px solid #3A7DB4;
    border-radius: 999px;
    background: #3A7DB4;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 26px;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 120%;
    transition: background 0.2s ease, color 0.2s ease;
}

.screening-test__submit:hover,
.screening-test__pdf:hover,
.screening-test__step-next:hover,
.test-result__link:hover {
    background: #0C2E47;
    color: #fff;
}

.screening-test__reset,
.screening-test__step-back {
    border: 1px solid #ACCFEF;
    border-radius: 999px;
    background: #fff;
    color: #0C2E47;
    cursor: pointer;
    min-height: 52px;
    padding: 14px 26px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.screening-test__step-back:disabled {
    cursor: default;
    opacity: 0.45;
}

.screening-test__reset[hidden],
.screening-test__pdf[hidden] {
    display: none;
}

.screening-test__submit[hidden],
.screening-test__step-next[hidden] {
    display: none;
}

.screening-test__message {
    color: #A03A3A;
    font-size: 16px;
    font-weight: 700;
    line-height: 140%;
    min-height: 23px;
    margin-top: 12px;
}

.screening-test__message:empty {
    display: none;
}

.test-result {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    background: #EAF4FC;
    border-radius: 16px;
    margin-top: 0;
    padding: 30px;
    min-height: 0;
    align-items: start;
}

.test-result[hidden] {
    display: none;
}

.test-result__score {
    border-radius: 16px;
    background: #3A7DB4;
    color: #fff;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    justify-content: center;
    min-height: 132px;
    padding: 20px 22px;
    align-self: start;
}

.test-result__score > span {
    font-family: 'Noto Serif', serif;
    font-size: 82px;
    line-height: 100%;
}

.test-result__score small {
    display: grid;
    gap: 3px;
    font-size: 14px;
    font-weight: 700;
    line-height: 125%;
    text-align: left;
}

.test-result__score small span {
    display: block;
    font-family: 'Manrope', sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 100% !important;
}

.test-result__content h2 {
    font-size: 30px;
    line-height: 120%;
    margin-bottom: 10px;
}

.test-result__content p {
    color: #0C2E47;
    font-size: 17px;
    line-height: 150%;
    margin-bottom: 10px;
}

.test-result__disclaimer {
    font-weight: 700;
}

.test-result__link {
    margin-top: 10px;
}

.test-result__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
}

.test-result__actions .test-result__link,
.test-result__actions .screening-test__pdf {
    margin-top: 0;
}

.test-basis {
    background: #EAF4FC;
    border-radius: 16px;
    color: #0C2E47;
    margin-top: 72px;
    padding: 36px 40px;
}

.test-basis__title {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 110%;
    margin-bottom: 20px;
}

.test-basis p {
    max-width: 940px;
    color: #0C2E47;
    font-size: 18px;
    line-height: 155%;
    margin-bottom: 16px;
}

.test-basis p:last-child {
    margin-bottom: 0;
    font-weight: 700;
}

.test-faq {
    margin-top: 72px;
}

.test-faq__head {
    max-width: 760px;
    margin-bottom: 24px;
}

.test-faq__title {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 110%;
}

.test-faq__items {
    display: grid;
    gap: 12px;
}

.test-faq__item {
    border: 1px solid #D7EAF8;
    border-radius: 14px;
    background: #F7FBFE;
    overflow: hidden;
}

.test-faq__item summary {
    position: relative;
    cursor: pointer;
    color: #0C2E47;
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    list-style: none;
    padding: 22px 64px 22px 24px;
}

.test-faq__item summary::-webkit-details-marker {
    display: none;
}

.test-faq__item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 24px;
    width: 30px;
    height: 30px;
    border: 1px solid #ACCFEF;
    border-radius: 50%;
    color: #3A7DB4;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
}

.test-faq__item[open] summary::after {
    content: '-';
}

.test-faq__item p {
    border-top: 1px solid #D7EAF8;
    color: #0C2E47;
    font-size: 17px;
    line-height: 150%;
    margin: 0;
    padding: 20px 24px 24px;
}

/* Article related cards and CTA final polish. */
.single_article_content .consultation-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.single_article_content .article-contact-button,
.single_article_content .article-contact-button:visited,
.single_article_content .article-contact-button:hover,
.single_article_content .article-contact-button:focus {
    align-self: flex-start !important;
    margin-top: 18px !important;
    padding: 14px 30px !important;
    min-width: 0 !important;
    width: auto !important;
    border-radius: 999px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.single_article_content .article-contact-button::after {
    content: none !important;
    display: none !important;
}

.yk-related-section--single::before,
.yk-related-section--single::after,
.yk-related-section--single .yk-related-shell::before,
.yk-related-section--single .yk-related-shell::after,
.yk-related-section--single .yk-related-track::before,
.yk-related-section--single .yk-related-track::after {
    content: none !important;
    display: none !important;
}

.yk-related-section--single .yk-related-track {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-image: none !important;
    scrollbar-width: none !important;
    scrollbar-color: transparent transparent !important;
}

.yk-related-section--single .yk-related-track::-webkit-scrollbar,
.yk-related-section--single .yk-related-track::-webkit-scrollbar-track,
.yk-related-section--single .yk-related-track::-webkit-scrollbar-thumb {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

.yk-related-section--single .yk-related-title-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 22px !important;
    gap: 10px !important;
    align-items: start !important;
}

.yk-related-section--single .yk-related-content h3 {
    min-width: 0 !important;
    padding-right: 0 !important;
}

.yk-related-section--single .yk-related-link-icon {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin-top: 5px !important;
    flex: 0 0 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
    overflow: visible !important;
    text-shadow: none !important;
}

.yk-related-section--single .yk-related-link-icon::before {
    content: "\2197" !important;
    display: block !important;
    font-family: Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #3A7DB4 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.yk-related-section--single .yk-related-arrow {
    border: 1px solid #D6EAF8 !important;
    background: #FFFFFF !important;
    box-shadow: 0 10px 26px rgba(12, 46, 71, 0.08) !important;
}

@media only screen and (max-width: 768px) {
    .single_article_content .article-contact-button,
    .single_article_content .article-contact-button:visited,
    .single_article_content .article-contact-button:hover,
    .single_article_content .article-contact-button:focus {
        width: 100% !important;
        align-self: stretch !important;
        font-size: 16px !important;
    }

    .yk-related-section--single .yk-related-title-row {
        grid-template-columns: minmax(0, 1fr) 20px !important;
    }

    .yk-related-section--single .yk-related-link-icon {
        width: 20px !important;
        height: 20px !important;
        flex-basis: 20px !important;
        font-size: 0 !important;
    }

    .yk-related-section--single .yk-related-link-icon::before {
        font-size: 16px !important;
    }
}

.error-page {
    background: linear-gradient(180deg, #EAF4FC 0%, #FFFFFF 480px);
    padding: 48px 0 88px;
}

.error-page__hero {
    align-items: stretch;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1fr) 320px;
    margin-bottom: 32px;
}

.error-page__content {
    max-width: 720px;
}

.error-page__title {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 110%;
    margin: 16px 0 20px;
}

.error-page__text {
    color: #0C2E47;
    font-size: 18px;
    line-height: 155%;
    margin-bottom: 28px;
    max-width: 620px;
}

.error-page__home-link {
    align-items: center;
    background: #1A4F78;
    border: 1px solid #1A4F78;
    border-radius: 999px;
    color: #EEF6FC;
    display: inline-flex;
    font-size: 16px;
    font-weight: 500;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.error-page__home-link:hover {
    background: #72ADE0;
    border-color: #72ADE0;
    color: #FFFFFF;
}

.error-page__visual {
    align-self: center;
}

.error-page__visual-card {
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(12, 46, 71, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    min-height: 320px;
    padding: 28px;
}

.error-page__illustration {
    display: block;
    height: auto;
    max-width: 100%;
}

.error-page__code {
    color: #ACCFEF;
    font-family: 'Noto Serif', serif;
    font-size: 72px;
    font-weight: 300;
    line-height: 1;
}

.error-page__cards {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 32px;
}

.error-page__card {
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(12, 46, 71, 0.06);
    color: #0C2E47;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 24px;
    position: relative;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.error-page__card:hover {
    border-color: #ACCFEF;
    box-shadow: 0 22px 48px rgba(12, 46, 71, 0.1);
    transform: translateY(-2px);
}

.error-page__card-label {
    background: #EAF4FC;
    border-radius: 999px;
    color: #3A7DB4;
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 18px;
    padding: 9px 12px;
    width: fit-content;
}

.error-page__card-title {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 118%;
    margin-bottom: 10px;
}

.error-page__card-text {
    color: #4C6476;
    font-size: 15px;
    line-height: 150%;
    margin-bottom: 16px;
}

.error-page__card-arrow {
    color: #3A7DB4;
    font-size: 22px;
    line-height: 1;
    margin-top: auto;
}

.error-page__cta {
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(12, 46, 71, 0.07);
    color: #0C2E47;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 34px 38px;
}

.error-page__cta-text h2 {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 8px;
}

.error-page__cta-text p {
    color: #4C6476;
    font-size: 17px;
    line-height: 150%;
    max-width: 760px;
}

.error-page__cta-button {
    align-items: center;
    background: #3A7DB4;
    border: 1px solid #3A7DB4;
    border-radius: 999px;
    color: #FFFFFF;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 700;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.error-page__cta-button:hover {
    background: #0C2E47;
    border-color: #0C2E47;
    color: #FFFFFF;
}

@media only screen and (max-width: 991px) {
    .error-page__hero {
        grid-template-columns: 1fr;
    }

    .error-page__visual-card {
        min-height: 260px;
    }

    .error-page__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .error-page__cta {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 600px) {
    .error-page {
        padding: 32px 0 64px;
    }

    .error-page__title {
        font-size: 36px;
    }

    .error-page__text {
        font-size: 16px;
    }

    .error-page__home-link {
        width: 100%;
    }

    .error-page__code {
        font-size: 56px;
    }

    .error-page__cards {
        grid-template-columns: 1fr;
    }

    .error-page__card {
        min-height: 0;
    }

    .error-page__cta {
        padding: 24px;
    }

    .error-page__cta-text h2 {
        font-size: 28px;
    }

    .error-page__cta-button {
        width: 100%;
    }
}

.related-tests {
    background: #F7FBFE;
    border: 1px solid #D7EAF8;
    border-radius: 16px;
    margin-top: 72px;
    padding: 34px 36px 36px;
}

.related-tests__intro {
    margin-bottom: 24px;
    max-width: 980px;
}

.related-tests__intro h2 {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 112%;
    margin-bottom: 14px;
}

.related-tests__intro p {
    color: #4C6476;
    font-size: 17px;
    line-height: 155%;
}

.related-tests__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.related-tests__card {
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 8px;
    color: #0C2E47;
    display: block;
    min-height: 118px;
    padding: 22px 24px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.related-tests__card:hover {
    border-color: #ACCFEF;
    box-shadow: 0 14px 34px rgba(12, 46, 71, 0.07);
    transform: translateY(-2px);
}

.related-tests__title {
    color: #0C2E47;
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 130%;
    margin-bottom: 8px;
}

.related-tests__desc {
    color: #4C6476;
    display: block;
    font-size: 16px;
    line-height: 145%;
}

.tests-hub {
    background: linear-gradient(180deg, #EAF4FC 0%, #FFFFFF 420px);
    padding: 48px 0 88px;
}

.tests-hub__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: stretch;
    margin-bottom: 32px;
}

.tests-hub__content {
    max-width: none;
}

.tests-hub__title {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-size: 58px;
    font-weight: 400;
    line-height: 110%;
    margin: 16px 0 20px;
}

.tests-hub__text {
    color: #0C2E47;
    font-size: 20px;
    line-height: 150%;
    max-width: 980px;
}

.tests-hub__note {
    align-self: end;
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 8px;
    color: #0C2E47;
    display: grid;
    gap: 12px;
    padding: 28px;
}

.tests-hub__note strong {
    font-family: 'Noto Serif', serif;
    font-size: 28px;
    font-weight: 400;
}

.tests-hub__note span {
    color: #4C6476;
    font-size: 17px;
    line-height: 150%;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.test-card {
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(12, 46, 71, 0.06);
    color: #0C2E47;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    opacity: 1;
    padding: 24px;
}

.test-card__top {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.test-card__accent {
    background: #EAF4FC;
    border-radius: 999px;
    color: #3A7DB4;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    padding: 10px 14px;
}

.test-card__meta {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.test-card__meta span {
    border: 1px solid #ACCFEF;
    border-radius: 999px;
    color: #0C2E47;
    font-size: 14px;
    line-height: 1;
    padding: 8px 12px;
    white-space: nowrap;
}

.test-card__title {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 118%;
    margin-bottom: 14px;
}

.test-card__description {
    color: #4C6476;
    font-size: 17px;
    line-height: 150%;
    margin-bottom: 24px;
}

.test-card__link {
    align-items: center;
    align-self: flex-start;
    background: #3A7DB4;
    border: 1px solid #3A7DB4;
    border-radius: 999px;
    color: #FFFFFF;
    display: inline-flex;
    font-size: 17px;
    font-weight: 700;
    justify-content: center;
    margin-top: auto;
    min-height: 52px;
    padding: 0 28px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.test-card__link:hover {
    background: #0C2E47;
    color: #FFFFFF;
}

.tests-hub__intro {
    background: #EAF4FC;
    border: 1px solid #D7EAF8;
    border-radius: 8px;
    margin-top: 40px;
    padding: 32px 36px;
}

.tests-hub__intro h2,
.tests-hub__info h2,
.tests-hub__faq h2 {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-weight: 400;
    line-height: 118%;
}

.tests-hub__intro h2 {
    font-size: 38px;
    margin-bottom: 14px;
}

.tests-hub__intro p {
    color: #0C2E47;
    font-size: 18px;
    line-height: 155%;
    max-width: 1120px;
}

.tests-hub__info {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.tests-hub__info > div {
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(12, 46, 71, 0.05);
    padding: 28px;
}

.tests-hub__info h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.tests-hub__info p {
    color: #4C6476;
    font-size: 17px;
    line-height: 155%;
}

.tests-hub__faq {
    margin-top: 42px;
}

.tests-hub__faq > h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.tests-faq__grid {
    display: grid;
    align-items: start;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tests-faq__grid details {
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(12, 46, 71, 0.045);
    overflow: hidden;
}

.tests-faq__grid summary {
    color: #0C2E47;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 140%;
    list-style: none;
    padding: 20px 56px 20px 22px;
    position: relative;
}

.tests-faq__grid summary::-webkit-details-marker {
    display: none;
}

.tests-faq__grid summary::after {
    align-items: center;
    border: 1px solid #ACCFEF;
    border-radius: 50%;
    color: #3A7DB4;
    content: '+';
    display: flex;
    font-size: 22px;
    font-weight: 400;
    height: 30px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
}

.tests-faq__grid details[open] summary::after {
    content: '-';
}

.tests-faq__grid p {
    border-top: 1px solid #D7EAF8;
    color: #4C6476;
    font-size: 16px;
    line-height: 155%;
    padding: 18px 22px 22px;
}

.tests-hub__footer {
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(12, 46, 71, 0.07);
    color: #0C2E47;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 42px;
    padding: 34px 38px;
}

.tests-hub__footer h2 {
    color: #0C2E47;
    font-family: 'Noto Serif', serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 8px;
}

.tests-hub__footer p {
    color: #4C6476;
    font-size: 17px;
    line-height: 150%;
    max-width: 760px;
}

.tests-hub__footer a {
    align-items: center;
    background: #3A7DB4;
    border: 1px solid #3A7DB4;
    border-radius: 999px;
    color: #FFFFFF;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 700;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tests-hub__footer a:hover {
    background: #0C2E47;
    border-color: #0C2E47;
    color: #FFFFFF;
}

@media only screen and (max-width: 991px) {
    .test-hero {
        padding: 56px 0 48px;
    }

    .test-hero__inner,
    .test-layout,
    .test-result {
        grid-template-columns: 1fr;
    }

    .test-layout,
    .test-result {
        min-height: 0;
    }

    .test-hero__title {
        font-size: 44px;
    }

    .test-hero__text {
        font-size: 18px;
    }

    .test-hero__summary {
        min-height: auto;
    }

    .test-page {
        padding: 48px 0 64px;
    }

    .test-intro {
        position: static;
    }

    .test-question__answers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .screening-test[data-test="sss8"] .test-question__answers,
    .screening-test[data-test="fourdsq"] .test-question__answers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tests-hub {
        padding: 56px 0 72px;
    }

    .tests-hub__hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tests-hub__title {
        font-size: 48px;
    }

    .tests-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-tests__grid,
    .tests-hub__info,
    .tests-faq__grid,
    .tests-hub__footer {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 600px) {
    .test-hero__title {
        font-size: 36px;
    }

    .screening-test__head {
        display: block;
    }

    .screening-test__title {
        font-size: 28px;
    }

    .screening-test__progress {
        display: inline-block;
        margin-top: 16px;
    }

    .test-question {
        padding: 18px;
    }

    .test-question__title {
        font-size: 18px;
    }

    .test-question__answers {
        grid-template-columns: 1fr;
    }

    .test-answer span {
        min-height: 52px;
        justify-content: flex-start;
        text-align: left;
    }

    .screening-test__submit,
    .screening-test__pdf,
    .screening-test__reset,
    .screening-test__step-back,
    .screening-test__step-next,
    .test-result__link {
        width: 100%;
    }

    .test-result__actions {
        display: grid;
        gap: 12px;
        justify-items: center;
    }

    .test-result {
        padding: 20px;
    }

    .test-result__score {
        column-gap: 18px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        justify-content: center;
        min-height: 150px;
        padding: 22px 28px;
    }

    .test-result__score > span {
        font-size: 86px;
        justify-self: end;
    }

    .test-result__score small {
        font-size: 19px;
        gap: 6px;
        justify-self: start;
        line-height: 115%;
        text-align: left;
    }

    .test-result__score small span {
        font-size: 34px !important;
    }

    .test-result__actions .test-result__link,
    .test-result__actions .screening-test__pdf {
        justify-self: center;
        max-width: 480px;
        text-align: center;
    }

    .test-basis {
        margin-top: 48px;
        padding: 24px 20px;
    }

    .test-basis__title {
        font-size: 32px;
    }

    .test-basis p {
        font-size: 16px;
    }

    .test-faq {
        margin-top: 48px;
    }

    .test-faq__title {
        font-size: 32px;
    }

    .test-faq__item summary {
        font-size: 18px;
        padding: 18px 56px 18px 18px;
    }

    .test-faq__item p {
        font-size: 16px;
        padding: 16px 18px 20px;
    }

    .related-tests {
        margin-top: 48px;
        padding: 24px 20px;
    }

    .related-tests__intro h2 {
        font-size: 32px;
    }

    .related-tests__intro p {
        font-size: 16px;
    }

    .related-tests__grid {
        grid-template-columns: 1fr;
    }

    .related-tests__card {
        min-height: 0;
        padding: 20px;
    }

    .related-tests__title {
        font-size: 18px;
    }

    .related-tests__desc {
        font-size: 15px;
    }

    .tests-hub {
        padding: 48px 0 64px;
    }

    .tests-hub__hero {
        margin-bottom: 28px;
    }

    .tests-hub__title {
        font-size: 40px;
    }

    .tests-hub__text {
        font-size: 18px;
    }

    .tests-hub__note,
    .test-card,
    .tests-hub__intro,
    .tests-hub__info > div,
    .tests-hub__footer {
        padding: 22px;
    }

    .tests-grid {
        grid-template-columns: 1fr;
    }

    .test-card {
        min-height: 0;
    }

    .test-card__top {
        display: grid;
    }

    .test-card__meta {
        display: flex;
        flex-wrap: wrap;
        justify-items: start;
    }

    .test-card__title {
        font-size: 27px;
    }

    .tests-hub__intro {
        margin-top: 30px;
    }

    .tests-hub__intro h2,
    .tests-hub__faq > h2 {
        font-size: 32px;
    }

    .tests-hub__intro p,
    .tests-hub__info p,
    .tests-faq__grid p {
        font-size: 16px;
    }

    .tests-hub__info {
        grid-template-columns: 1fr;
    }

    .tests-hub__info h2 {
        font-size: 26px;
    }

    .tests-hub__faq {
        margin-top: 34px;
    }

    .tests-faq__grid {
        grid-template-columns: 1fr;
    }

    .tests-faq__grid summary {
        font-size: 16px;
        padding: 18px 54px 18px 18px;
    }

    .tests-faq__grid p {
        padding: 16px 18px 18px;
    }

    .test-card__link,
    .tests-hub__footer a {
        width: 100%;
    }

    .tests-hub__footer {
        margin-top: 34px;
    }

    .tests-hub__footer h2 {
        font-size: 30px;
    }
}

body.modal-open {
    overflow: hidden;
}

body.modal-open .site-header,
body.modal-open header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body.logged-in header {
    margin-top: 28px;
}
@media only screen and (max-width: 600px) {

    body.single,
    body.page-template-page-diy-new {
        background-size: cover;
    }
}
#password-protected-logo {
    display: none !important;
}
/*body.logged-in .header {*/
/*    margin-top: 30px;*/
/*}*/
article {
    opacity: 0;
    transition: all 0.25s ease-in-out;
}
a {
    text-decoration: none;
    color: #000;
}
.logged-in .user-registration-page .header {
    padding-top: 24px;
}
a img {
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}
a:hover img {
    opacity: 0.8; /* Example effect: changes opacity */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Smooth transition */
}

/*.date_hidden {*/
/*    display: none !important;*/
/*}*/
::placeholder {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #0C2E47;
}
::-webkit-scrollbar {
    width: 3px;
    padding: 5px;
    background-color: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: #5D5D5D;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #787878;
}
input[type="search"]::-webkit-search-decoration:hover,
input[type="search"]::-webkit-search-cancel-button:hover {
    cursor:pointer;
}
.no-item-found {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}
.select2-search.select2-search--dropdown {
    display: none !important;
}
@media only screen and (max-width: 600px) {
    .no-item-found {
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 23px;
    }
}


/*.main {*/
/*    padding-top: 75px;*/
/*}*/
@media only screen and (max-width: 600px) {
    .main {
        padding-top: 0px;
    }
    body._lock {
        overflow: hidden;
    }
}

.container {
    max-width: 1230px;
    padding-right: 16px;
    padding-left: 16px;
    margin: 0 auto;
}
@media only screen and (max-width: 1680px) {
    .container {
        max-width: 1320px;
    }
}
@media only screen and (max-width: 1440px) {
    .container {
        max-width: 1280px;
    }
}
@media only screen and (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

@media only screen and (max-width: 1280px) {
    .container {
        max-width: 1140px;
    }
}

@media only screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
}

/*modal*/
.modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    height: calc(var(--app-vh, 1vh) * 100);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none;
    place-items: center;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    pointer-events: none;
    overflow-y: auto;
    padding: 24px 16px;
    box-sizing: border-box;
    isolation: isolate;
}
.modal.open {
    position: fixed;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    height: calc(var(--app-vh, 1vh) * 100) !important;
    min-height: 100dvh;
    min-height: calc(var(--app-vh, 1vh) * 100);
    background: rgb(32 34 34 / 72%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    visibility: visible;
    opacity: 1;
    display: grid;
    transition-delay: 0s;
    z-index: 10000;
    pointer-events: auto;
    align-items: center;
    justify-items: center;
}
.modal.open.hero,
.modal.open.price {
    overflow: hidden;
}
.modal-bg {
    position: absolute;
    background: transparent;
    width: 100%;
    height: 100%;
    inset: 0;
    z-index: 0;
}

.modal-container {
    position: relative;
    max-width: 550px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    padding: 32px 50px;
    background: #ffffff;
    z-index: 1;
    max-height: calc(100dvh - 48px);
    max-height: calc(var(--app-vh, 1vh) * 100 - 48px);
    overflow-y: auto;
    box-sizing: border-box;
}
.modal.open.hero .modal-container,
.modal.open.price .modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    max-height: calc(100dvh - 48px);
    max-height: calc(var(--app-vh, 1vh) * 100 - 48px);
    overflow: hidden;
    transform: translate(-50%, -50%);
}
.modal-container:has(.cbg_left):has(.cbg_right)::before {
    position: absolute;
    content: '';
    top: 32px;
    bottom: 32px;
    left: 50%;
    border-left: 1px solid rgba(214, 234, 248, 1);
    transform: translateX(-50%);
}
.modal-close {
    position: absolute;
    right: 15px;
    top: 15px;
    outline: none;
    appearance: none;
    color: red;
    background: none;
    border: 0px;
    font-weight: bold;
    cursor: pointer;
}
.modal-container .cf_right span textarea {
    height: 80px;
}
.modal-container .footer__block-social {
    margin-bottom: 30px;
}
.modal_exit_btn {
    width: 20px;
    position: absolute;
    top: 15px;
    right: 25px;
}
.modal_title {
    font-family: 'Istok Web';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 58px;
    text-align: center;
    color: #38ADA5;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.wpcf7-spinner {
    display: inline-block;
    margin: 12px auto 0;
}
.wpcf7-form.submitting input.wpcf7-submit {
    opacity: 0.75;
    cursor: wait;
}
.modal-container > .modal-exit {
    position: absolute;
    top: 0;
    right: 0;
}
.modal-container > .modal-exit svg {
    width: 40px;
    height: 40px;
}
form.wpcf7-form label {
    font-family: 'Istok Web';
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 40px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}
@media only screen and (max-width: 991px) {
    .modal-container:has(.cbg_left):has(.cbg_right)::before {
        display: none;
    }
}
/*modal end*/


/*hero*/
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    max-height: 900px;
}

.hero_block,
.hero_content,
.hero_slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero_slider .swiper-wrapper,
.hero_slider .swiper-slide {
    height: 100%;
}

.hero_slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero_slide_bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero_slide_bg picture,
.hero_slide_bg img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero_slide_bg img {
    object-fit: cover;
    object-position: center center;
}

.hero_slide_overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.35);
}

.hero_static_content {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.hero_static_content:has(.modal.open) {
    z-index: 10001;
}

.hero_static_content_inner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 140px 20px 60px;
    box-sizing: border-box;
}

.hero_content_item {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

.hero_content_item.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero_content_item .hero_slide_buttons,
.hero_content_item .hero_slide_button,
.hero_content_item a,
.hero_content_item button {
    pointer-events: auto;
}

.hero_slide_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero_content_item .hero_slide_button,
.about_info_button a,
.advantages_left_btn a,
.consuplation_button,
.hero .modal-container .wpcf7-form input[type="submit"],
.hero .modal-container input.wpcf7-form-control.wpcf7-submit,
.price .modal-container .wpcf7-form input[type="submit"],
.price .modal-container input.wpcf7-form-control.wpcf7-submit,
.cbg .wpcf7-form input[type="submit"],
.cbg input.wpcf7-form-control.wpcf7-submit {
    transition: all 0.3s ease;
}

.hero_content_item .hero_slide_button:hover,
.about_info_button a:hover,
.advantages_left_btn a:hover,
.consuplation_button:hover {
    background: #72ADE0;
    transition: all 0.3s ease;
    border: 1px solid #72ADE0;
    color: #FFFFFF;
    cursor: pointer;
}

.hero .modal-container .wpcf7-form input[type="submit"]:hover,
.hero .modal-container input.wpcf7-form-control.wpcf7-submit:hover,
.price .modal-container .wpcf7-form input[type="submit"]:hover,
.price .modal-container input.wpcf7-form-control.wpcf7-submit:hover,
.cbg .wpcf7-form input[type="submit"]:hover,
.cbg input.wpcf7-form-control.wpcf7-submit:hover {
    background: #72ADE0;
    transition: all 0.3s ease;
    color: #FFFFFF;
    cursor: pointer;
}
.hero_slider_pagination {
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    bottom: 30px !important;
    z-index: 6;
}

.hero_slider_pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
}

.hero_slider_pagination .swiper-pagination-bullet-active {
    background: #fff;
}
.hero_slide_heading {
    margin: 0;
    padding: 0;
}
.hero_slide_heading .hero_slide_label {
    font-size: 28px;
    line-height: 115%;
    margin-bottom: 8px;
}
.hero_slide_heading .hero_slide_title {
    font-size: 56px;
    line-height: 115%;
}
.hero_slide_label {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 115%;
    display: flex;
    align-items: center;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 10px;
}
.hero_content_item {
    max-width: 500px;
}
.hero_slide_title {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 56px;
    line-height: 115%;
    display: block;
    letter-spacing: -0.16px;
    color: #0C2E47;
}
.hero_slide_title_text {
    display: block;
}
.hero_slide_text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    display: flex;
    align-items: center;
    color: #0C2E47;
    margin-bottom: 44px;
    margin-top: 22px;
}

.hero_slide_button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 25px;
    height: 54px;
    min-height: 40px;
    background: #EEF6FC;
    border-radius: 96px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #1A4F78;
    border: 1px solid var(--semantic-color-brand-secondary-text, rgba(26, 79, 120, 1));
    cursor: pointer;
}
.hero_slide_button:first-child {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 25px;
    height: 54px;
    min-height: 40px;
    background: #1A4F78;
    border-radius: 96px;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #EEF6FC;
    cursor: pointer;
}



.hero .modal-container {
    max-width: 1200px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    position: relative;
    justify-content: space-between;
    padding: 80px 48px 48px 48px;
}

.hero .modal-exit svg {
    width: 14px;
    height: 14px;
}
.hero .modal-exit {
    position: absolute;
    top: 24px;
    right: 50px;
}
.hero .modal-container {
    border-radius: 16px;
}
.price .modal-container {
    max-width: 1200px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    position: relative;
    justify-content: space-between;
    padding: 80px 48px 48px 48px;
    border-radius: 16px;
}
.price .modal-container .cblogo {
    margin-bottom: 12px;
}
.price .modal-container .cbtitle {
    margin-bottom: 12px;
}
.price .modal-container .cbtext {
    margin-bottom: 24px;
}
.price .modal-container .cb_or_line {
    margin-bottom: 24px;
}
.price .modal-container .wpcf7-form input {
    height: 48px;
    padding: 12px 23px;
    margin-bottom: 12px;
}
.price .modal-container .wpcf7-form textarea {
    height: 92px;
    padding: 12px 23px;
    margin-bottom: 12px;
}
.price .modal-container .wpcf7-form .select2-container {
    margin-bottom: 12px;
}
.price .modal-container .wpcf7-form .select2-container .select2-selection--single,
.price .modal-container .wpcf7-form .select2-container--default.select2-container--focus .select2-selection--single {
    height: 48px !important;
}
.price .modal-container .wpcf7-form .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
}
.price .modal-container .wpcf7-form input[type="submit"],
.price .modal-container input.wpcf7-form-control.wpcf7-submit {
    height: 54px;
    margin-bottom: 0;
}
.price .modal-exit svg {
    width: 14px;
    height: 14px;
}
.price .modal-exit {
    position: absolute;
    top: 24px;
    right: 50px;
}
@media (max-width: 991px) {
    .hero {
        height: auto;
        min-height: 0;
        max-height: none;
        background: #EEF6FC;
        overflow: hidden;
    }

    .hero_block,
    .hero_content {
        height: auto;
    }

    .hero_slider {
        height: clamp(430px, 88vw, 620px);
        overflow: hidden;
    }

    .hero_slider .swiper-wrapper,
    .hero_slider .swiper-slide,
    .hero_slide {
        height: 100%;
    }

    .hero_slide_bg {
        background: rgba(238, 246, 252, 1) !important;
        background-position: center top;
    }

    .hero_slide_bg {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 3;
        display: block;
        height: 100%;
        overflow: hidden;
        pointer-events: none;
    }

    .hero_slide_bg:after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2;
        height: 46%;
        content: '';
        background: linear-gradient(180deg, rgba(238, 246, 252, 0) 0%, rgba(238, 246, 252, 0.72) 58%, #EEF6FC 100%);
        pointer-events: none;
    }

    .hero_slide_bg picture,
    .hero_slide_bg img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .hero_slide_bg img {
        object-fit: cover;
        object-position: center top;
    }

    .hero_static_content {
        position: relative;
        inset: auto;
        z-index: 5;
        margin-top: -150px;
        background: linear-gradient(180deg, rgba(238, 246, 252, 0) 0%, #EEF6FC 76px);
    }

    .hero_static_content_inner {
        height: auto;
        max-width: 560px;
        padding: 96px 24px 56px;
    }

    .hero_content_item {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        display: none;
        max-width: none;
    }

    .hero_slide_label {
        font-size: 16px;
        line-height: 130%;
        margin-bottom: 4px;
    }

    .hero_slide_heading .hero_slide_label {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 8px;
    }

    .hero_slide_title {
        font-size: 32px;
        line-height: 115%;
        margin: 0;
    }

    .hero_slide_heading .hero_slide_title {
        font-size: clamp(38px, 11.2vw, 44px);
        line-height: 112%;
        overflow-wrap: anywhere;
    }

    .hero_slide_doctor_name_primary {
        white-space: nowrap;
    }

    .hero_slide_heading .hero_slide_title--doctor-name {
        font-size: clamp(32px, 9vw, 38px);
        overflow-wrap: normal;
    }

    .hero_slide_doctor_name_patronymic {
        display: block;
    }

    .hero_slide_text {
        margin-top: 12px;
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 150%;
    }

    .hero_slide_buttons {
        gap: 8px;
    }

    .hero_content_item.active {
        display: block;
    }

    .hero_slide_button,
    .hero_slide_button:first-child {
        height: 40px;
        padding: 10px 18px;
        font-size: 13px;
        line-height: 150%;
    }

    .hero .modal {
        padding: 16px;
        align-items: center;
        overflow-y: auto;
    }

    .modal.hero,
    .modal.price {
        padding: 16px;
        align-items: center;
        justify-items: center;
        overflow: auto;
        overflow-y: auto;
    }

    .hero .modal-container {
        flex-direction: column;
        max-width: 334px;
        margin: auto;
        padding: 42px 16px 24px;
        border-radius: 8px;
    }

    .hero .modal-exit {
        top: 16px;
        right: 16px;
    }

    .hero .modal-container .cbg_left,
    .hero .modal-container .cbg_right {
        width: 100%;
        flex: initial;
    }

    .hero .modal-container .cbg_left {
        display: contents;
    }

    .hero .modal-container .cbg_right_shortcode {
        width: 100%;
    }

    .hero .modal-container .cblogo {
        order: 1;
        margin-bottom: 12px;
    }

    .hero .modal-container .cblogo img {
        max-width: 48px;
        height: auto;
    }

    .hero .modal-container .cbtitle {
        order: 2;
        max-width: 220px;
        margin: 0 auto 12px;
        font-size: 24px;
        line-height: 120%;
    }

    .hero .modal-container .cbtext {
        order: 3;
        max-width: 236px;
        margin: 0 auto 24px;
        font-size: 13px;
        line-height: 150%;
    }

    .hero .modal-container .cbg_right {
        order: 4;
    }

    .hero .modal-container .wpcf7-form input,
    .hero .modal-container .wpcf7-form textarea,
    .hero .modal-container .wpcf7-form select,
    .hero .modal-container .select2-container {
        max-width: none;
    }

    .hero .modal-container .wpcf7-form input {
        height: 42px;
        padding: 12px 16px;
        margin-bottom: 12px;
        /* keep at/above 16px: iOS Safari auto-zooms the page on focus of any text
           field smaller than that, and often fails to zoom back out once the
           modal is closed, leaving the whole site stuck zoomed in */
        font-size: 16px;
    }

    .hero .modal-container .wpcf7-form textarea {
        height: 92px;
        padding: 12px 16px;
        margin-bottom: 16px;
        font-size: 16px;
    }

    .hero .modal-container .wpcf7-form input[type="submit"],
    .hero .modal-container input.wpcf7-form-control.wpcf7-submit {
        width: 100%;
        height: 40px;
        padding: 10px 20px;
        font-size: 13px;
        line-height: 150%;
    }

    .hero .modal-container .cb_or_line {
        order: 5;
        width: 100%;
        max-width: 236px;
        margin: 16px auto 12px;
    }

    .hero .modal-container .cb_or_line:before {
        top: 50%;
    }

    .hero .modal-container .cb_or_line span {
        padding: 4px 16px;
        font-size: 12px;
        line-height: 140%;
    }

    .hero .modal-container .cbg_social_phone {
        order: 6;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero .modal-container .cbg_social_items {
        gap: 8px;
    }

    .hero .modal-container .cbg_social_item a img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

    .hero .modal-container .cbg_phone a {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
        line-height: 140%;
    }

    .hero .modal-container .cbg_phone_link img {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }
    .hero .cblogo {
        display: none;
    }

    .price .modal {
        padding: 16px;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .modal.open.price {
        display: flex;
        align-items: center !important;
        justify-content: center !important;
        height: 100svh !important;
        height: calc(var(--app-vh, 1vh) * 100) !important;
        min-height: 100svh;
        min-height: calc(var(--app-vh, 1vh) * 100);
        overflow: hidden;
    }

    .modal.open.price .modal-container,
    .modal.price .modal-container {
        position: relative;
        top: auto;
        left: auto;
        margin: auto;
        max-height: calc(100svh - 32px);
        max-height: calc(var(--app-vh, 1vh) * 100 - 32px);
        overflow-y: auto;
        transform: none;
    }

    .modal.open.hero .modal-container,
    .modal.hero .modal-container {
        position: relative;
        top: auto;
        left: auto;
        margin: auto;
        max-height: none;
        overflow: visible;
        transform: none;
    }

    .price .modal-container {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: column;
        width: 100%;
        max-width: 334px;
        margin: auto;
        padding: 36px 16px 18px;
        border-radius: 8px;
        max-height: calc(100svh - 32px);
        overflow-y: auto;
        transform: none;
    }

    .price .modal-exit {
        top: 16px;
        right: 16px;
    }

    .price .modal-container .cbg_left,
    .price .modal-container .cbg_right {
        width: 100%;
        flex: initial;
    }

    .price .modal-container .cbg_left {
        display: contents;
    }

    .price .modal-container .cbg_right_shortcode {
        width: 100%;
    }

    .price .modal-container .cblogo {
        order: 1;
        margin-bottom: 12px;
    }

    .price .modal-container .cblogo img {
        max-width: 48px;
        height: auto;
    }

    .price .modal-container .cbtitle {
        order: 2;
        max-width: 220px;
        margin: 0 auto 10px;
        font-size: 23px;
        line-height: 120%;
    }

    .price .modal-container .cbtext {
        order: 3;
        max-width: 236px;
        margin: 0 auto 18px;
        font-size: 13px;
        line-height: 150%;
    }

    .price .modal-container .cbg_right {
        order: 4;
    }

    .price .modal-container .wpcf7-form input,
    .price .modal-container .wpcf7-form textarea,
    .price .modal-container .wpcf7-form select,
    .price .modal-container .select2-container {
        max-width: none;
    }

    .price .modal-container .wpcf7-form input {
        height: 40px;
        padding: 12px 16px;
        margin-bottom: 10px;
        /* keep at/above 16px: iOS Safari auto-zooms the page on focus of any text
           field smaller than that, and often fails to zoom back out once the
           modal is closed, leaving the whole site stuck zoomed in */
        font-size: 16px;
    }

    .price .modal-container .wpcf7-form textarea {
        height: 74px;
        padding: 12px 16px;
        margin-bottom: 10px;
        font-size: 16px;
    }

    .price .modal-container .wpcf7-form .select2-container {
        margin-bottom: 10px;
    }

    .price .modal-container .wpcf7-form .select2-container .select2-selection--single,
    .price .modal-container .wpcf7-form .select2-container--default.select2-container--focus .select2-selection--single {
        height: 40px !important;
    }

    .price .modal-container .wpcf7-form .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 40px;
        font-size: 13px;
    }

    .price .modal-container .wpcf7-form input[type="submit"],
    .price .modal-container input.wpcf7-form-control.wpcf7-submit {
        width: 100%;
        height: 38px;
        padding: 10px 20px;
        font-size: 13px;
        line-height: 150%;
    }

    .price .modal-container .cb_or_line {
        order: 5;
        width: 100%;
        max-width: 236px;
        margin: 14px auto 10px;
    }

    .price .modal-container .cb_or_line:before {
        top: 50%;
    }

    .price .modal-container .cb_or_line span {
        padding: 4px 16px;
        font-size: 12px;
        line-height: 140%;
    }

    .price .modal-container .cbg_social_phone {
        order: 6;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .price .modal-container .cbg_social_items {
        gap: 8px;
    }

    .price .modal-container .cbg_social_item a img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

    .price .modal-container .cbg_phone a {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
        line-height: 140%;
    }

    .price .modal-container .cbg_phone_link img {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }

    .price .cblogo {
        display: none;
    }

    .modal.open.hero .modal-container,
    .modal.hero .modal-container {
        position: relative;
        top: auto;
        left: auto;
        margin: auto;
        max-height: none;
        overflow: visible;
        transform: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hero {
        min-height: 680px;
        max-height: 820px;
    }

    .hero_static_content_inner {
        max-width: 960px;
        padding: 120px 32px 56px;
    }

    .hero_content_item {
        left: 32px;
        right: 32px;
        max-width: 440px;
    }

    .hero_slide_label {
        font-size: 26px;
        line-height: 120%;
    }

    .hero_slide_title {
        font-size: 48px;
        line-height: 115%;
    }

    .hero_slide_text {
        max-width: 420px;
        margin-top: 18px;
        margin-bottom: 32px;
        font-size: 15px;
        line-height: 150%;
    }

    .hero_slide_button,
    .hero_slide_button:first-child {
        height: 48px;
        padding: 10px 22px;
        font-size: 15px;
        line-height: 150%;
    }

    .hero_slider_pagination {
        bottom: 24px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero_slider {
        height: clamp(520px, 64vw, 680px);
    }

    .hero_static_content_inner {
        max-width: 760px;
        padding: 100px 32px 64px;
    }

    .hero_content_item {
        max-width: 560px;
    }

    .hero_slide_label {
        font-size: 22px;
        line-height: 120%;
        margin-bottom: 6px;
    }

    .hero_slide_title {
        font-size: 44px;
        line-height: 115%;
    }

    .hero_slide_text {
        max-width: 520px;
        margin-top: 16px;
        margin-bottom: 32px;
        font-size: 15px;
        line-height: 150%;
    }

    .hero_slide_buttons {
        gap: 10px;
    }

    .hero_slide_button,
    .hero_slide_button:first-child {
        height: 46px;
        padding: 10px 22px;
        font-size: 14px;
        line-height: 150%;
    }

    .hero_slider_pagination {
        bottom: 32px !important;
    }

    .hero .modal-container {
        max-width: 640px;
        padding: 48px 32px 32px;
    }

    .hero .modal-container .cbtitle {
        max-width: 360px;
        font-size: 28px;
    }

    .hero .modal-container .cbtext,
    .hero .modal-container .cb_or_line {
        max-width: 420px;
    }
}




/*cbg_content*/
.cbg {
    padding: 128px 16px;
    background: rgba(238, 246, 252, 1);
}
.cbg_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #FFFFFF;
    box-shadow: 0px 0px 2px rgba(12, 46, 71, 0.05);
    border-radius: 16px;
    padding: 40px 48px 0;
    position: relative;
}
.cbg_content:before {
    position: absolute;
    content: '';
    top: 40px;
    right: 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 1px;
    height: calc(100% - 80px);
    left: 50%;
    transform: translate(-50%, 0%);
    background-color: rgba(214, 234, 248, 1);
}
.cbg_left {
    flex:  0 0 calc(50% - 48px);
    display: block;
}
.cbg_right {
    flex:  0 0 calc(50% - 48px);
    display: block;
}
.cbg_right_shortcode {
    width: 100%;
}
.cblogo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}
.cbtitle {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    text-align: center;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 16px;
}
.cbtext {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: #0C2E47;
    margin-bottom: 48px;
}
.cbg_social_phone {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}
.cbg_social_items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.cbg_social_item a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.cbg_messenger_link {
    width: 38px;
    height: 38px;
    border: 1px solid #ACCFEF;
    border-radius: 50%;
    background: #FFFFFF;
    color: #3A7DB4;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.cbg_messenger_link svg {
    width: 20px;
    height: 20px;
    fill: none;
}
.cbg_messenger_link:hover {
    border-color: #72ADE0;
    background: #EEF6FC;
    color: #1A4F78;
    transform: translateY(-1px);
}
.cbg_messenger_link:focus-visible {
    outline: 2px solid #3A7DB4;
    outline-offset: 3px;
}
.cbg_phone {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cbg_phone a {
    border: 1px solid rgba(172, 207, 239, 1);
    padding: 0px 12px;
    height: 38px;
    border: 1px solid #ACCFEF;
    border-radius: 37.5px;
    display: flex;
    align-items: center;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}
.cbg_phone_link img {
    margin-right: 8px;
}
.cb_or_line {
    position: relative;
    text-align: center;
    margin-bottom: 48px;
}
.cb_or_line:before {
    position: absolute;
    content: '';
    top: 12px;
    right: 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 1px;
    background-color: rgba(214, 234, 248, 1);
}
.cb_or_line span {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #72ADE0;
    position: relative;
    z-index: 1;
    background-color: #ffffff;
    padding: 5px 20px;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
}
.wpcf7-form input,
.wpcf7-form textarea {
    width: 100%;

}
.wpcf7-form select,
.js-select2 {
    width: 100%;
    max-width: 500px;
}
.wpcf7-form input {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 23px;
    gap: 10px;
    height: 54px;
    background: #EEF6FC;
    border-radius: 8px;
    border: none;
    margin-bottom: 16px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #0C2E47;
}
.wpcf7-form textarea {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 23px;
    gap: 10px;
    height: 154px;
    background: #EEF6FC;
    border-radius: 8px;
    border: none;
    margin-bottom: 16px;
    min-width: 100%;
    max-width: 100%;
    resize: none;
}
input.wpcf7-form-control.wpcf7-submit {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    justify-content: center;
    text-align: center;
    text-indent: 0;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #FFFFFF;
    border-radius: 32px;
    background: rgba(58, 125, 180, 1);
}
.cbg .wpcf7-form > *:last-child,
.hero .modal-container .wpcf7-form > *:last-child,
.price .modal-container .wpcf7-form > *:last-child {
    margin-bottom: 0;
}
.cbg .wpcf7-form p:last-of-type,
.hero .modal-container .wpcf7-form p:last-of-type,
.price .modal-container .wpcf7-form p:last-of-type {
    margin-bottom: 0;
}
.cbg .wpcf7-form input[type="submit"],
.cbg input.wpcf7-form-control.wpcf7-submit,
.hero .modal-container .wpcf7-form input[type="submit"],
.hero .modal-container input.wpcf7-form-control.wpcf7-submit,
.price .modal-container .wpcf7-form input[type="submit"],
.price .modal-container input.wpcf7-form-control.wpcf7-submit {
    margin-bottom: 0;
}
.wpcf7-form .select2-container--default.select2-container--focus .select2-selection--single {
    height: 54px !important;
    background: #eff6fd !important;
    box-shadow: none !important;
}
.wpcf7-form .select2-container .select2-selection--single {
    height: 54px !important;
}
.wpcf7-form .select2-container {
    margin-bottom: 16px;
}

/* CF7 validation: highlight the invalid field itself, and move the field's own
   bottom spacing onto its error tip (instead of the input) so the message reads
   as belonging to the field right above it, not the field below it. */
.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid,
.wpcf7-form .select2-container.wpcf7-not-valid .select2-selection--single {
    border: 1.5px solid #E4572E !important;
    background: #FEF3F1 !important;
    margin-bottom: 6px !important;
}

.wpcf7-not-valid-tip {
    display: block !important;
    margin: 0 0 16px !important;
    padding-left: 2px;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 140%;
    color: #E4572E !important;
}

.wpcf7-form .select2-container.wpcf7-not-valid {
    margin-bottom: 6px !important;
}

.wpcf7-response-output {
    margin: 12px 0 0 !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 13px;
    line-height: 150%;
}

form.sent .wpcf7-response-output,
form.wpcf7-mail-sent-ok .wpcf7-response-output {
    border: 1px solid rgba(58, 125, 180, 0.32) !important;
    background: #EEF6FC;
    color: #0C2E47;
}

form.invalid .wpcf7-response-output,
form.failed .wpcf7-response-output,
form.aborted .wpcf7-response-output,
form.spam .wpcf7-response-output,
form.wpcf7-validation-errors .wpcf7-response-output,
form.wpcf7-mail-sent-ng .wpcf7-response-output {
    border: 1px solid rgba(228, 87, 46, 0.35) !important;
    background: #FEF3F1;
    color: #B3401F;
}

.wpcf7-form .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 26px;
    line-height: 54px;
    font-family: 'Manrope';
    font-size: 16px;
}
@media only screen and (max-width: 991px) {
    .cbg_content {
        flex-direction: column;
        gap: 32px;
        align-items: stretch;
    }

    .cbg_content:before {
        display: none;
    }

    .cbg_left,
    .cbg_right {
        flex: initial;
        width: 100%;
    }

    .cbg_left,
    .cbg_right {
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    .cbg {
        padding: 56px 16px;
    }

    .cbg_block {
        padding-right: 0;
        padding-left: 0;
    }

    .cbg_content {
        padding: 22px 16px 10px;
        gap: 22px;
        border-radius: 8px;
        box-shadow: none;
    }

    .cblogo {
        margin-bottom: 12px;
    }

    .cblogo img {
        max-width: 56px;
        height: auto;
    }

    .cbtitle {
        max-width: 210px;
        margin-right: auto;
        margin-bottom: 12px;
        margin-left: auto;
        font-size: 24px;
        line-height: 120%;
    }

    .cbtext {
        max-width: 240px;
        margin-right: auto;
        margin-bottom: 24px;
        margin-left: auto;
        font-size: 13px;
        line-height: 150%;
    }

    .cb_or_line {
        max-width: 240px;
        margin-right: auto;
        margin-bottom: 16px;
        margin-left: auto;
    }

    .cb_or_line:before {
        top: 50%;
    }

    .cb_or_line span {
        padding: 4px 16px;
        font-size: 12px;
        line-height: 140%;
    }

    .cbg_social_phone {
        flex-direction: column;
        gap: 12px;
    }

    .cbg_social_items {
        gap: 8px;
    }

    .cbg_social_item a img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

    .cbg_phone a {
        height: 32px;
        padding: 0 12px;
        font-size: 12px;
        line-height: 140%;
    }

    .cbg_phone_link img {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }

    .cbg .wpcf7-form input,
    .cbg .wpcf7-form textarea,
    .cbg .wpcf7-form select,
    .cbg .select2-container {
        max-width: none;
    }

    .cbg .wpcf7-form input {
        height: 42px;
        padding: 12px 16px;
        margin-bottom: 12px;
        /* keep at/above 16px: iOS Safari auto-zooms the page on focus of any text
           field smaller than that, and often fails to zoom back out once the
           modal is closed, leaving the whole site stuck zoomed in */
        font-size: 16px;
    }

    .cbg .wpcf7-form textarea {
        height: 92px;
        padding: 12px 16px;
        margin-bottom: 16px;
        font-size: 16px;
    }

    .cbg .wpcf7-form input[type="submit"],
    .cbg input.wpcf7-form-control.wpcf7-submit {
        width: 100%;
        height: 40px;
        padding: 10px 20px;
        font-size: 13px;
        line-height: 150%;
    }
}

/* select2 */
:root {
    --select2-bg: #EEF6FC;
    --select2-text: #0C2E47;
    --select2-placeholder: #6B86A0;
    --select2-accent: #3A7DB4;
    --select2-hover: #E3F0FA;
}

select {
    width: 100%;
    min-height: 38px;
    padding: 10px 38px 10px 16px;
    border: 0;
    border-radius: 8px;
    background-color: var(--select2-bg);
    background-image: linear-gradient(45deg, transparent 50%, var(--select2-accent) 50%), linear-gradient(135deg, var(--select2-accent) 50%, transparent 50%);
    background-position: calc(100% - 19px) calc(50% - 1px), calc(100% - 14px) calc(50% - 1px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--select2-text);
    box-shadow: none;
    outline: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

select:hover,
select:focus {
    background-color: var(--select2-hover);
    box-shadow: 0 0 0 1px rgba(58, 125, 180, 0.18);
}

select::-ms-expand {
    display: none;
}

.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: var(--select2-bg);
    box-shadow: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 16px;
    padding-right: 38px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 38px;
    color: var(--select2-text);
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--select2-placeholder);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 12px;
    height: 12px;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    width: 6px;
    height: 6px;
    margin: 0;
    border: 0;
    border-right: 1.5px solid var(--select2-accent);
    border-bottom: 1.5px solid var(--select2-accent);
    position: absolute;
    top: 1px;
    left: 2px;
    transform: rotate(45deg);
    transform-origin: center;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    transform: rotate(-135deg);
    top: 4px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container .select2-selection--single:hover {
    background: var(--select2-hover);
    box-shadow: 0 0 0 1px rgba(58, 125, 180, 0.18);
}

.select2-dropdown {
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(12, 46, 71, 0.12);
}

.select2-container--default .select2-search--dropdown {
    padding: 8px;
    background: #FFFFFF;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(58, 125, 180, 0.2);
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--select2-text);
}

.select2-container--default .select2-results__option {
    padding: 10px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: var(--select2-text);
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background: var(--select2-bg);
    color: var(--select2-text);
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option[data-selected="true"] {
    background: #F7FBFF;
}

@media only screen and (max-width: 600px) {
    select {
        min-height: 42px;
    }

    .select2-container .select2-selection--single {
        height: 42px;
    }

    .select2-container .select2-selection--single .select2-selection__rendered {
        line-height: 42px;
    }
}
/*cbg_content end*/



/*about*/
.about {
    padding: 128px 16px;
}
.about_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}
.about_image,
.about_info {
    flex: 1 1 0;
}
.about_info_block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 32px;
    background: #EEF6FC;
    border-radius: 8px;
}
.about_image_doctor img {
    display: block;
    width: 100%;
    max-width: 495px;
    border-radius: 8px;
}
.about_info_name {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.25em;
    align-items: center;
    letter-spacing: -0.16px;
    color: #0C2E47;
}
.about_info_name_surname {
    display: block;
    flex-basis: 100%;
}
.about_info_description {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    display: flex;
    align-items: center;
    color: #0C2E47;
}
.about_info_button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    width: 140px;
    height: 46px;
    background: #1A4F78;
    border-radius: 96px;
    color: #FFFFFF;
}
.about_info_items {
    padding-inline-start: 45px;
    padding: 32px;
}
.about_info_item {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0C2E47;
    margin-bottom: 32px;
    position: relative;
}
.about_info_item:before {
    position: absolute;
    content: '';
    bottom: -16px;
    right: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(214, 234, 248, 1);
    width: 100%;
    height: 1px;
}
.about_info_item:last-child:before {
    display: none;
}
@media only screen and (max-width: 991px) {
    .about {
        padding: 80px 16px;
    }

    .about_content {
        flex-direction: column;
        gap: 24px;
        max-width: 560px;
        margin: 0 auto;
    }

    .about_image,
    .about_info {
        width: 100%;
    }

    .about_image_doctor img {
        max-width: none;
    }
}
@media only screen and (max-width: 600px) {
    .about {
        padding: 64px 16px;
    }

    .about_content {
        gap: 16px;
    }

    .about_info_block {
        padding: 24px;
        gap: 16px;
    }

    .about_info_name {
        font-size: 24px;
        line-height: 120%;
    }

    .about_info_name_surname {
        display: inline;
        flex-basis: auto;
    }

    .about_info_name_patronymic {
        display: block;
        flex-basis: 100%;
    }

    .about_info_description {
        font-size: 14px;
        line-height: 150%;
    }

    .about_info_button,
    .about_info_button a {
        width: 100%;
    }

    .about_info_button a {
        height: 40px;
        padding: 10px 20px;
        font-size: 14px;
    }

    .about_info_items {
        padding: 24px 16px 0 24px;
    }

    .about_info_item {
        font-size: 14px;
        line-height: 150%;
        margin-bottom: 24px;
    }

    .about_info_item:before {
        bottom: -12px;
    }
}
/*about_end*/


/*advantages*/
.advantages {
    padding: 96px 16px;
    background: rgba(238, 246, 252, 1);
}
.advantages_content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 32px;
}
.advantages_left {
    padding: 48px;
    background-color: #FFFFFF;
    border-radius: 16px;
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.advantages_right {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;

}
.advantages_left_title h2 {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    display: flex;
    align-items: center;
    letter-spacing: -0.16px;
    color: rgba(12, 46, 71, 1);
    margin-bottom: 24px ;
}
.advantages_left_description {
    font-family: 'Manrope';
    font-style: normal;
    font-size: 16px;
    line-height: 150%;
    color: rgba(12, 46, 71, 1);
    margin-bottom: 32px;
}
.advantages_left_description p {
    margin-bottom: 12px;
}
.advantages_left_btn a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 25px;
    width: fit-content;
    height: 54px;
    min-height: 40px;
    border: 1px solid #1A4F78;
    border-radius: 96px;
    background: #FFFFFF;
    color: #1A4F78;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-decoration: none;
}
.advantages_right_list {

}
.advantages_right_top {
    padding: 36px;
    background: #FFFFFF;
    border-radius: 16px;
    margin-bottom: 16px;
}
.advantages_right_item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
    position: relative;
}
.advantages_right_item:after {
    position: absolute;
    content: '';
    bottom: -24px;
    right: 0;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    border: 1px dashed rgba(214, 234, 248, 1);
}
.advantages_right_item:last-child:after {
    display: none;
}
.advantages_right_item:last-child {
    margin-bottom: 0px;
}
.advantages_right_squares {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.advantages_right_square {
    flex: 0 0 calc(50% - 16px);
    background: linear-gradient(180deg, #1A4F78 0%, #3A7DB4 100%);
    border-radius: 16px;
    padding: 38px;
}
.advantages_right_number {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 48px;
    line-height: 100%;
    display: flex;
    align-items: center;
    color: #F9F9F7;
    margin-bottom: 15px;
}
.advantages_right_title {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    display: flex;
    align-items: center;
    color: #F9F9F7;
    margin-bottom: 8px;
}
.advantages_right_text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    display: flex;
    align-items: center;
    color: #F9F9F7;
}
@media only screen and (max-width: 991px) {
    .advantages_content {
        flex-direction: column;
        gap: 16px;
    }

    .advantages_left,
    .advantages_right {
        flex: initial;
        width: 100%;
    }

    .advantages_right_squares {
        flex-direction: column;
    }

    .advantages_right_square {
        flex: initial;
    }
}
@media only screen and (max-width: 600px) {
    .advantages {
        padding: 64px 16px;
    }

    .advantages_block {
        padding-right: 0;
        padding-left: 0;
    }

    .advantages_content {
        gap: 16px;
    }

    .advantages_left {
        padding: 24px 16px;
        border-radius: 8px;
    }

    .advantages_left_title {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 16px;
    }

    .advantages_left_description {
        font-size: 14px;
        line-height: 150%;
        margin-bottom: 24px;
    }

    .advantages_left_description p {
        margin-bottom: 12px;
    }

    .advantages_left_btn a {
        width: 100%;
        height: 40px;
        padding: 10px 20px;
        font-size: 13px;
    }

    .advantages_right_top {
        padding: 16px;
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .advantages_right_item {
        gap: 12px;
        margin-bottom: 24px;
    }

    .advantages_right_item:after {
        bottom: -12px;
    }

    .advantages_right_item img {
        width: 24px;
        height: 24px;
        object-fit: contain;
        flex: 0 0 24px;
    }

    .advantages_right_item span {
        font-size: 13px;
        line-height: 150%;
        color: #0C2E47;
    }

    .advantages_right_squares {
        gap: 16px;
    }

    .advantages_right_square {
        padding: 24px 16px;
        border-radius: 8px;
    }

    .advantages_right_number {
        font-size: 36px;
        line-height: 100%;
        margin-bottom: 12px;
    }

    .advantages_right_title {
        font-size: 14px;
        line-height: 150%;
        margin-bottom: 8px;
    }

    .advantages_right_text {
        font-size: 12px;
        line-height: 150%;
    }
}
/*advantages end*/


/*services*/
.services {
    padding: 96px 16px;
}
.services_top {
    display: flex;

    gap: 24px;
}

.services_top_title h2 {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    display: flex;
    align-items: center;
    letter-spacing: -0.16px;
    color: #0C2E47;
    flex: 0 0 340px;
}
.services_top_text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    display: flex;
    align-items: center;
    color: #0C2E47;
    max-width: 600px;
    width: 100%;
}


.services_list_items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 72px;
}

.services_list_col {
    display: flex;
    flex-direction: column;
}

.services_list_item {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 12px;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.services_list_item svg {
    flex: 0 0 24px;
}

.services_list_item span {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0C2E47;
}

.services_list_col .services_list_item:last-child {
    border-bottom: none;
}

.services_slider_nav {
    display: none;
}

@media only screen and (max-width: 767px) {
    .services {
        padding: 64px 16px;
    }

    .services_content {
        padding: 24px 16px;
        border: 1px solid #D6EAF8;
        border-radius: 8px;
        overflow: hidden;
    }

    .services_top {
        flex-direction: column;
        gap: 12px;
    }

    .services_top_title {
        flex: initial;
        font-size: 24px;
        line-height: 120%;
    }

    .services_top_text {
        max-width: none;
        font-size: 14px;
        line-height: 150%;
    }

    .services_list {
        margin-top: 24px;
        overflow: hidden;
    }

    .services_list_items {
        display: flex;
        grid-template-columns: none;
        gap: 0;
        margin-top: 0;
    }

    .services_list_col {
        height: auto;
    }

    .services_list_item {
        min-height: 44px;
        padding: 10px 0;
        gap: 10px;
    }

    .services_list_item svg {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    .services_list_item span {
        font-size: 13px;
        line-height: 150%;
    }

    .services_slider_nav {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 20px;
    }

    .services_slider_prev,
    .services_slider_next {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: #EEF6FC;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px 18px;
        cursor: pointer;
    }

    .services_slider_prev {
        background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.875 13.5L6.375 9L10.875 4.5L11.6719 5.29688L7.96875 9L11.6719 12.7031L10.875 13.5Z' fill='%233A7DB4'/%3E%3C/svg%3E");
    }

    .services_slider_next {
        background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.125 13.5L11.625 9L7.125 4.5L6.32812 5.29688L10.0312 9L6.32812 12.7031L7.125 13.5Z' fill='%233A7DB4'/%3E%3C/svg%3E");
    }

    .services_slider_prev.swiper-button-disabled,
    .services_slider_next.swiper-button-disabled {
        opacity: 0.45;
        cursor: default;
    }
}
/*services end*/


/*consultation*/
.consultation {
    padding: 80px 0;
    background: #edf5fc;
    overflow: hidden;
}

.consultation_block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.consultation_title h2 {
    max-width: 260px;
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    color: #0C2E47;
    margin-bottom: -375px;
    position: relative;
    z-index: 5;
}

.consultation_slider_full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: calc((100vw - 1200px) / 2 + 260px + 48px);
    overflow: hidden;
    margin-top: 250px;
}

.consultation_steps_wrap {
    min-width: 0;
    overflow: hidden;
}

.consultation_steps {
    width: 100%;
    overflow: visible;
    padding: 0 0 52px;
}

.consultation_steps_wrapper,
.consultation_steps .swiper-wrapper {
    align-items: stretch;
}

.consultation_step {
    height: auto;
    min-height: 340px;
    padding: 42px 38px 34px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(34, 76, 115, 0.12);
    box-shadow: 0 10px 24px rgba(29, 61, 94, 0.08);
    color: #1f3850;
    transition: background 0.3s ease, color 0.3s ease;
}

.consultation_step.swiper-slide-active {
    background: linear-gradient(180deg, #173f65 0%, #356995 100%);
    color: #ffffff;
}

.consultation_step_num {
    font-size: 54px;
    line-height: 1;
    margin-bottom: 34px;
    font-family: serif;
    color: #3d79b6;
}

.consultation_step.swiper-slide-active .consultation_step_num {
    color: #ffffff;
}

.consultation_step_title {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 22px;
}

.consultation_step_text {
    font-size: 14px;
    line-height: 1.55;
}

.consultation_steps_nav {
    position: absolute;
    left: calc(50vw - ((100vw - 1200px) / 2 + 260px + 48px));
    bottom: 0;
    display: flex;
    gap: 12px;
    transform: translateX(-50%);
    z-index: 5;
}

.consultation_steps_prev,
.consultation_steps_next {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
}

.consultation_steps_prev::before,
.consultation_steps_next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #3d79b6;
    border-right: 2px solid #3d79b6;
}

.consultation_steps_prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.consultation_steps_next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

@media (max-width: 1248px) {
    .consultation_slider_full {
        padding-left: calc(24px + 260px + 48px);
    }

    .consultation_steps_nav {
        left: calc(50vw - (24px + 260px + 48px));
    }
}

@media (max-width: 991px) {
    .consultation_block {
        margin-bottom: 32px;
    }

    .consultation_title h2 {
        max-width: 380px;
        margin-bottom: 0;
        font-size: 32px;
        line-height: 115%;
    }

    .consultation_slider_full {
        padding-left: 24px;
        margin-top: 0;
    }

    .consultation_steps_nav {
        left: calc(50vw - 24px);
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .consultation {
        padding: 56px 0;
    }

    .consultation_block {
        padding: 0 16px;
        margin-bottom: 20px;
    }

    .consultation_title h2 {
        max-width: 300px;
        font-family: 'Noto Serif';
        font-size: 28px;
        line-height: 115%;
    }

    .consultation_slider_full {
        padding-left: 16px;
        margin-top: 0;
    }

    .consultation_steps {
        padding-bottom: 48px;
    }

    .consultation_step {
        min-height: 242px;
        padding: 24px 20px;
        border-radius: 8px;
    }

    .consultation_step_num {
        font-size: 40px;
        margin-bottom: 24px;
        font-family: 'Noto Serif';
    }

    .consultation_step_title {
        font-size: 15px;
        line-height: 140%;
        margin-bottom: 12px;
    }

    .consultation_step_text {
        font-size: 12px;
        line-height: 150%;
    }

    .consultation_steps_nav {
        left: calc(50vw - 16px);
        transform: translateX(-50%);
        gap: 12px;
    }

    .consultation_steps_prev,
    .consultation_steps_next {
        width: 32px;
        height: 32px;
    }

    .consultation_steps_prev::before,
    .consultation_steps_next::before {
        width: 7px;
        height: 7px;
    }
}

/*consultation end*/



/*faq*/

.faq {
    padding: 96px 0;
}

.faq_items {
    margin: 50px auto 0;
    border-radius: 8px;
    overflow: hidden;
    max-width: 800px;
}

.faq_title h2 {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    display: flex;
    align-items: center;
    letter-spacing: -0.16px;
    color: #0C2E47;
    max-width: 800px;
    margin: 0 auto;
}

.faq_item {
    padding: 24px 32px;
    background: #EEF6FC;
    margin-bottom: 8px;
    border-radius: 8px;
}

.faq_item_title {
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    color: #0C2E47;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.faq_item_question {
    flex: 1;
}

.faq_arrow {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.faq_arrow::before,
.faq_arrow::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #0C2E47;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* горизонтальна лінія */
.faq_arrow::before {
    transform: rotate(0deg);
}

/* вертикальна лінія — формує плюс */
.faq_arrow::after {
    transform: rotate(90deg);
}

/* коли акордеон відкритий — вертикальна лінія зникає, залишається мінус */
.faq_item.active .faq_arrow::after {
    opacity: 0;
    transform: rotate(90deg) scaleX(0);
}

.faq_item_text {
    display: none;
    padding: 16px 0;
    animation: fadeIn 0.3s ease;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #0C2E47;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*faq end*/


/*price*/
.price {
    padding: 128px 16px;
    background: rgba(238, 246, 252, 1);
}

.price:has(.price_intro) {
    padding-top: 96px;
}

.price:has(.modal.open) {
    position: relative;
    z-index: 10001;
}

.price_title h1,
.price_title h2 {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    display: flex;
    align-items: center;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 24px;
}

.price_intro {
    max-width: 960px;
    margin: 0 0 36px;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(114, 173, 224, 0.32);
    border-left: 4px solid #3A7DB4;
    border-radius: 8px;
}

.price_intro p {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 17px;
    line-height: 155%;
    color: #0C2E47;
    margin: 0;
}

.price_intro p + p {
    margin-top: 12px;
}

.price_items {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}
.price_tabs {
    display: none;
}
.price_item {
    flex: 0 0 calc(50% - 24px);
    padding: 48px;
    background: #FFFFFF;
    border-radius: 16px;
}
.price_item_title {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 28px;
    line-height: 120%;
    display: flex;
    align-items: center;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 8px;
}
.price_item_price {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    display: flex;
    align-items: center;
    letter-spacing: -0.16px;
    color: #3A7DB4;
}
.consultation_time {
    display: flex;
    align-items: center;
    padding: 12px 12px 12px 24px;
    gap: 16px;
    background: #FFFFFF;
    border-radius: 8px;
    margin: 24px 0 32px 0;
    border: 1px solid rgba(214, 234, 248, 1);
    transition: background 0.3s ease, border-color 0.3s ease, width 0.3s ease;
}
.consultation_time:hover {
    background: #EEF6FC;
}
.price_item_time {
    width: 100%;
}
.price_item_consultation_time {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0C2E47;
}
.price_item_consultation_time_value {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #3A7DB4;
}
.consuplation_button {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 25px;
    width: 143px;
    height: 44px;
    min-height: 40px;
    border: 1px solid #ACCFEF;
    border-radius: 96px;
    flex: none;
    order: 2;
    flex-grow: 0;
    background: transparent;
    transition: all 0.3s ease;
}
.consuplation_button:hover {
    cursor: pointer;
}
.price_list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-inline-start: 0px;
    list-style-type: none;
}

.price_list .price_list_item {
    flex: 0 0 calc(50% - 16px);
    display: flex;
    align-items: flex-start;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 16px;
}

.price_list .price_list_item:nth-child(-n+2) {
    border-top: 1px dashed #ccc;
    padding-top: 16px;
}
.price_list .price_list_item:nth-last-child(-n+2) {
    border-bottom: none;
}
.price_list_item .pli_logo {
    width: 25px;
}
.price_list_item span {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #0C2E47;
}
@media only screen and (max-width: 992px) {
    .price_items {
        flex-direction: column;
    }
}
@media only screen and (max-width: 600px) {
    .price {
        padding: 64px 16px;
    }

    .price:has(.price_intro) {
        padding-top: 56px;
    }

    .price_block {
        padding-right: 0;
        padding-left: 0;
    }

    .price_title h1,
    .price_title h2 {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 16px;
    }

    .price_intro {
        margin: 0 0 24px;
        padding: 18px 18px 18px 20px;
    }

    .price_intro p {
        font-size: 14px;
        line-height: 150%;
    }

    .price_intro p + p {
        margin-top: 10px;
    }

    .price_tabs {
        display: flex;
        gap: 8px;
        margin-bottom: 16px;
        padding: 4px;
        border-radius: 96px;
        background: #FFFFFF;
    }

    .price_tab {
        width: 100%;
        min-height: 40px;
        padding: 8px 14px;
        border: 0;
        border-radius: 96px;
        background: transparent;
        font-family: 'Manrope', sans-serif;
        font-weight: 500;
        font-size: 12px;
        line-height: 130%;
        color: #3A7DB4;
        cursor: pointer;
    }

    .price_tab.active {
        background: #1A4F78;
        color: #FFFFFF;
    }

    .price_items {
        display: block;
    }

    .price_item {
        display: none;
        padding: 24px 16px;
        border-radius: 8px;
    }

    .price_item.active {
        display: block;
    }

    .price_item_title {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 4px;
    }

    .price_item_price {
        font-size: 14px;
        line-height: 150%;
    }

    .consultation_time {
        align-items: flex-start;
        padding: 12px;
        gap: 10px;
        margin: 16px 0 24px;
        background: #EEF6FC;
        border-color: transparent;
    }

    .consultation_time_logo {
        flex: 0 0 20px;
    }

    .price_item_time {
        min-width: 0;
    }

    .price_item_consultation_time,
    .price_item_consultation_time_value {
        font-size: 12px;
        line-height: 150%;
    }

    .consultation_time > .price_item_price {
        flex: 0 0 100%;
        width: 100%;
    }

    .consultation_time {
        flex-wrap: wrap;
    }

    .consuplation_button {
        width: 100%;
        height: 40px;
        padding: 10px 20px;
        background: #1A4F78;
        border-color: #1A4F78;
        color: #FFFFFF;
        font-size: 13px;
    }

    .consuplation_button:hover {
        width: 100%;
    }

    .price_list {
        display: block;
        gap: 0;
    }

    .price_list .price_list_item {
        flex: 0 0 100%;
        align-items: flex-start;
        gap: 8px;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }

    .price_list .price_list_item:nth-child(-n+2) {
        border-top: none;
        padding-top: 0;
    }

    .price_list .price_list_item:first-child {
        border-top: 1px dashed #ccc;
        padding-top: 12px;
    }

    .price_list .price_list_item:nth-last-child(2) {
        border-bottom: 1px dashed #ccc;
    }

    .price_list .price_list_item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .price_list_item .pli_logo {
        width: 20px;
        flex: 0 0 20px;
    }

    .price_list_item .pli_logo svg {
        width: 20px;
        height: 20px;
    }

    .price_list_item span {
        font-size: 13px;
        line-height: 150%;
    }
}
/*price end*/

/* clinic locations */
.clinic-locations {
    padding: 64px 16px;
}

.clinic-locations__inner {
    margin: 0 auto;
}

.clinic-locations__title {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin: 0 0 32px;
}

/* compact variant: "Де проходить прийом у Полтаві" block on the prices page, placed right before the booking form */
.clinic-locations--compact {
    background: #FFFFFF;
    padding: 56px 16px;
}

.clinic-locations--compact .clinic-locations__grid {
    max-width: 900px;
    margin: 0 auto;
}

/* heading variant: page H1 on the contacts page, placed before the existing contact/phone block */
.clinic-locations--heading {
    padding: 96px 16px 0;
}

.clinic-locations--heading .clinic-locations__title {
    margin-bottom: 0;
}

/* cards variant: larger address + map cards on the contacts page, placed after the existing contact/phone block */
.clinic-locations--cards {
    background: #FFFFFF;
    padding: 56px 16px;
}

.clinic-locations__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.clinic-locations__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid #D7EAF8;
    border-radius: 16px;
    /* theme has a global `article { opacity: 0; }` scroll-reveal rule with no JS to ever
       flip it back on — override it here so the clinic cards (which use <article>) show up */
    opacity: 1 !important;
}

.clinic-locations--cards .clinic-locations__card {
    background: #F7FBFE;
}

.clinic-locations__name {
    font-weight: 700;
    font-size: 18px;
    line-height: 130%;
    color: #0C2E47;
    margin: 0 0 6px;
}

.clinic-locations__address {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #4C6476;
    margin: 0;
}

.clinic-locations__map {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #D7EAF8;
}

.clinic-locations__map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.clinic-locations__map--sm {
    height: 300px;
}

.clinic-locations__map--lg {
    height: 320px;
}

@media only screen and (max-width: 991px) {
    .clinic-locations--heading {
        padding: 72px 16px 0;
    }

    .clinic-locations__title {
        font-size: 32px;
    }
}

@media only screen and (max-width: 600px) {
    .clinic-locations {
        padding: 40px 16px;
    }

    .clinic-locations--compact,
    .clinic-locations--cards {
        padding: 40px 16px;
    }

    .clinic-locations--heading {
        padding: 56px 16px 0;
    }

    .clinic-locations__title {
        font-size: 24px;
    }

    .clinic-locations__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .clinic-locations__card {
        padding: 16px;
    }

    .clinic-locations__map--sm {
        height: 240px;
    }

    .clinic-locations__map--lg {
        height: 260px;
    }
}
/*clinic locations end*/

/*reviews*/
/* reviews */
.reviews {
    padding: 96px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #EEF6FC 0%, rgba(238, 246, 252, 0) 100%);
}
.reviews_title h2 {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 48px;
}

.review_swiper {
    position: relative;
    width: calc(100vw - max(16px, calc((100vw - 1350px) / 2)));
    overflow: visible;
    padding-bottom: 72px;
}

.reviews_list {
    padding-inline-start: 0;
    margin: 0;
    list-style: none;
}

.reviews_slider_nav {
    position: absolute;
    left: calc(50vw - max(16px, calc((100vw - 1230px) / 2 + 16px)));
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
    z-index: 5;
}

.review_swiper .swiper-button-prev,
.review_swiper .swiper-button-next {
    position: static;
    width: 44px;
    height: 44px;
    margin: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 44px 44px;
}

.review_swiper .swiper-button-prev::after,
.review_swiper .swiper-button-next::after {
    display: none;
}

.review_swiper .swiper-button-prev {
    background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='44' height='44' rx='22' fill='%23EEF6FC'/%3E%3Cmask id='mask0_134_6474' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='12' y='12' width='20' height='20'%3E%3Crect x='12' y='12' width='20' height='20' fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_134_6474)'%3E%3Cpath d='M25.3333 30.3334L17 22L25.3333 13.6667L26.8125 15.1459L19.9583 22L26.8125 28.8542L25.3333 30.3334Z' fill='%233A7DB4'/%3E%3C/g%3E%3C/svg%3E");
}

.review_swiper .swiper-button-next {
    background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='44' height='44' rx='22' fill='%23EEF6FC'/%3E%3Cmask id='mask0_134_6480' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='12' y='12' width='20' height='20'%3E%3Crect width='20' height='20' transform='matrix(-1 0 0 1 32 12)' fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_134_6480)'%3E%3Cpath d='M18.6667 30.3334L27 22L18.6667 13.6667L17.1875 15.1459L24.0417 22L17.1875 28.8542L18.6667 30.3334Z' fill='%233A7DB4'/%3E%3C/g%3E%3C/svg%3E");
}

.reviews_item {
    height: auto;
    box-sizing: border-box;
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid transparent;
    box-shadow: none;
    border-radius: 8px;
}
.reviews_item_logo {
    margin-bottom: 16px;
}
.reviews_item_title {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: #0C2E47;
    margin-bottom: 16px;
}

.reviews_item_text {
    display: block;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0C2E47;
}

@media only screen and (max-width: 600px) {
    .reviews {
        padding: 56px 0;
    }

    .reviews_title {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 16px;
    }

    .review_swiper {
        width: calc(100vw - 16px);
        padding-bottom: 48px;
    }

    .reviews_item {
        min-height: 144px;
        padding: 16px;
        border: 1px solid #D6EAF8;
    }

    .reviews_item_logo {
        margin-bottom: 12px;
    }

    .reviews_item_logo svg {
        width: 12px;
        height: 12px;
    }

    .reviews_item_text {
        font-size: 12px;
        line-height: 150%;
    }

    .reviews_slider_nav {
        left: calc(50vw - 8px);
        gap: 12px;
    }

    .review_swiper .swiper-button-prev,
    .review_swiper .swiper-button-next {
        width: 32px;
        height: 32px;
        background-size: 32px 32px;
    }
}
/* reviews end */
/*reviews_end*/
.latest_news_pagination {
    margin-top: 48px;
}

.latest_news_pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.latest_news_pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ACCFEF;
    border-radius: 96px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #1A4F78;
    background: #FFFFFF;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.latest_news_pagination .page-numbers:hover,
.latest_news_pagination .page-numbers.current {
    background: #1A4F78;
    border-color: #1A4F78;
    color: #FFFFFF;
}

.latest_news_pagination .prev,
.latest_news_pagination .next {
    padding: 0 18px;
}
/* education */
.education {
    padding: 96px 0;
    background: #FFFFFF;
}

.education_content {
    width: 100%;
}

.education_title h2 {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 40px;
}

.education_list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 24px;
    position: relative;
}

.education_item {
    position: relative;
    padding-top: 34px;
}

.education_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3A7DB4;
    z-index: 2;
}

.education_item::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 15px;
    width: calc(100% + 9px);
    height: 1px;
    border-top: 1px dashed #D6EAF8;
    z-index: 1;
}

.education_item:last-child::after {
    display: none;
}

.education_item_year {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 14px;
}

.education_item_text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #0C2E47;
}

@media only screen and (max-width: 767px) {
    .education {
        padding: 56px 0;
    }

    .education_title {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .education_list {
        display: flex;
        flex-direction: column;
        row-gap: 28px;
        padding-left: 28px;
    }

    .education_list::before {
        content: '';
        position: absolute;
        top: 5px;
        left: 3px;
        width: 1px;
        height: calc(100% - 10px);
        border-left: 1px dashed #D6EAF8;
    }

    .education_item {
        padding-top: 0;
        position: relative;
    }

    .education_item::before {
        top: 8px;
        left: -28px;
        width: 7px;
        height: 7px;
    }

    .education_item::after {
        display: none;
    }

    .education_item_year {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .education_item_text {
        font-size: 14px;
        line-height: 150%;
    }
}
/* education end */
/* clinical experience */
.clinical_experience {
    padding: 96px 0;
    background: #FFFFFF;
}

.clinical_experience_content {
    width: 100%;
}

.clinical_experience_title h2 {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 32px;
}

.clinical_experience_items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.clinical_experience_item {
    min-height: 176px;
    padding: 24px;
    background: #EEF6FC;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.clinical_experience_item_title {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 24px;
}

.clinical_experience_item_text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #0C2E47;
    margin-top: auto;
}

@media only screen and (max-width: 991px) {
    .clinical_experience_items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 600px) {
    .clinical_experience {
        padding: 56px 0;
    }

    .clinical_experience_title {
        font-size: 28px;
        line-height: 115%;
        margin-bottom: 24px;
    }

    .clinical_experience_items {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .clinical_experience_item {
        min-height: 128px;
        padding: 24px;
        border-radius: 8px;
    }

    .clinical_experience_item_title {
        font-size: 20px;
        line-height: 120%;
        margin-bottom: 16px;
    }

    .clinical_experience_item_text {
        font-size: 14px;
        line-height: 150%;
        margin-top: 0;
    }
}
/* clinical experience end */

/* treatment methods */
.treatment_methods {
    padding: 96px 16px;
    background: #FFFFFF;
}

.treatment_methods_content {
    width: 100%;
}

.treatment_methods_title {
    margin-bottom: 24px;
}

.treatment_methods_title,
.treatment_methods_title h1,
.treatment_methods_title h2,
.treatment_methods_title h3 {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: 0;
    color: #0C2E47;
}

.treatment_methods_title h1,
.treatment_methods_title h2,
.treatment_methods_title h3,
.treatment_methods_title p {
    margin: 0;
}

.treatment_methods_items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.treatment_methods_item {
    min-height: 176px;
    padding: 24px;
    border: 1px solid #D6EAF8;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.treatment_methods_item svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-bottom: 24px;
}

.treatment_methods_item_title {
    margin-bottom: 16px;
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0;
    color: #0C2E47;
}

.treatment_methods_item_text {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #0C2E47;
}

.treatment_methods_item_text p {
    margin: 0;
}

.treatment_methods_text_bottom {
    max-width: 760px;
    margin: 32px auto 0;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    text-align: center;
    color: #3A7DB4;
}

.treatment_methods_text_bottom p {
    margin: 0;
}

@media only screen and (max-width: 991px) {
    .treatment_methods_items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 600px) {
    .treatment_methods {
        padding: 56px 16px;
    }

    .treatment_methods_title {
        margin-bottom: 16px;
    }

    .treatment_methods_title,
    .treatment_methods_title h1,
    .treatment_methods_title h2,
    .treatment_methods_title h3 {
        font-size: 24px;
        line-height: 120%;
    }

    .treatment_methods_items {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .treatment_methods_item {
        min-height: 0;
        padding: 16px;
    }

    .treatment_methods_item svg {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
        margin-bottom: 16px;
    }

    .treatment_methods_item_title {
        margin-bottom: 12px;
        font-size: 16px;
        line-height: 120%;
    }

    .treatment_methods_item_text {
        font-size: 12px;
        line-height: 150%;
    }

    .treatment_methods_text_bottom {
        margin-top: 24px;
        font-size: 11px;
        line-height: 150%;
        text-align: center;
    }
}
/* treatment methods end */

/* doctor quote */
.doctor_quote_section {
    padding: 96px 16px 0;
    background: #FFFFFF;
}

.doctor_quote {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 46px 56px 44px 64px;
    border: 1px solid rgba(114, 173, 224, 0.26);
    border-left: 4px solid #3A7DB4;
    border-radius: 8px;
    background: linear-gradient(135deg, #EEF6FC 0%, #FFFFFF 100%);
    box-shadow: 0 18px 44px rgba(12, 46, 71, 0.06);
    overflow: hidden;
}

.doctor_quote_mark {
    position: absolute;
    font-family: 'Noto Serif';
    font-size: 132px;
    font-weight: 300;
    line-height: 1;
    color: rgba(58, 125, 180, 0.14);
    pointer-events: none;
    z-index: 0;
}

.doctor_quote_mark--open {
    top: 10px;
    right: 34px;
}

.doctor_quote blockquote {
    position: relative;
    max-width: 920px;
    margin: 0;
    font-family: 'Noto Serif';
    font-size: 30px;
    font-weight: 300;
    line-height: 135%;
    color: #0C2E47;
    letter-spacing: -0.16px;
    z-index: 1;
}

.doctor_quote figcaption {
    position: relative;
    margin-top: 24px;
    padding-top: 18px;
    font-family: 'Manrope';
    font-size: 15px;
    font-weight: 400;
    line-height: 150%;
    color: rgba(12, 46, 71, 0.76);
    z-index: 1;
}

.doctor_quote figcaption span,
.doctor_quote figcaption small {
    display: block;
}

.doctor_quote figcaption span {
    font-weight: 600;
    color: #0C2E47;
}

.doctor_quote figcaption small {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(12, 46, 71, 0.62);
}

.doctor_quote figcaption::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 1px;
    background: rgba(58, 125, 180, 0.36);
}

@media only screen and (max-width: 991px) {
    .doctor_quote_section {
        padding-top: 72px;
    }

    .doctor_quote {
        padding: 38px 36px 36px 44px;
    }

    .doctor_quote blockquote {
        font-size: 25px;
    }
}

@media only screen and (max-width: 600px) {
    .doctor_quote_section {
        padding: 56px 16px 0;
    }

    .doctor_quote {
        padding: 30px 22px 28px 26px;
    }

    .doctor_quote_mark {
        font-size: 86px;
    }

    .doctor_quote_mark--open {
        top: 8px;
        right: 16px;
    }

    .doctor_quote blockquote {
        font-size: 21px;
        line-height: 135%;
    }

    .doctor_quote figcaption {
        margin-top: 18px;
        padding-top: 14px;
        font-size: 14px;
    }

    .doctor_quote figcaption small {
        font-size: 13px;
    }
}
/* doctor quote end */

/* certificates */
.certificates {
    padding: 96px 0;
    background: #FFFFFF;
    overflow: hidden;
}

/*.certificates_block {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*    padding: 0 16px;*/
/*}*/

.certificates_content {
    width: 100%;
}

.certificates_top {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 120px;
    align-items: flex-start;
    margin-bottom: 48px;
}

.certificates_title h1,
.certificates_title h2 {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
}

.certificates_text {
    max-width: 680px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0C2E47;
}

.certificates_text p {
    margin-bottom: 12px;
}

.certificates_text p:last-child {
    margin-bottom: 0;
}

.certificates_gallery {
    position: relative;
    width: calc(100vw - max(16px, calc((100vw - 1350px) / 2)));
    overflow: hidden;
    padding-bottom: 64px;
}

.certificates_gallery .gallery_items {
    padding-inline-start: 0;
    margin: 0;
}

.certificates_gallery .gallery_item {
    display: block;
    height: 250px;
    border-radius: 4px;
    overflow: hidden;
    background: #EEF6FC;
    cursor: pointer;
}

.certificates_gallery .gallery_item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.certificates_gallery .gallery_item:hover img {
    transform: scale(1.03);
    opacity: 0.9;
}

.certificates_slider_nav {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(-50%);
    z-index: 5;
}

.certificates_slider_prev,
.certificates_slider_next {
    width: 44px;
    height: 44px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 44px 44px;
}

.certificates_slider_prev {
    background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='44' height='44' rx='22' fill='%23EEF6FC'/%3E%3Cpath d='M25.3333 30.3334L17 22L25.3333 13.6667L26.8125 15.1459L19.9583 22L26.8125 28.8542L25.3333 30.3334Z' fill='%233A7DB4'/%3E%3C/svg%3E");
}

.certificates_slider_next {
    background-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='44' height='44' rx='22' fill='%23EEF6FC'/%3E%3Cpath d='M18.6667 30.3334L27 22L18.6667 13.6667L17.1875 15.1459L24.0417 22L17.1875 28.8542L18.6667 30.3334Z' fill='%233A7DB4'/%3E%3C/svg%3E");
}

.certificates_slider_prev.swiper-button-disabled,
.certificates_slider_next.swiper-button-disabled {
    opacity: 0.45;
    cursor: default;
}

/* grid mode */
.certificates_gallery.grid {
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
}

.certificates_gallery.grid .gallery_items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    transform: none !important;
}

.certificates_gallery.grid .gallery_item {
    width: 100% !important;
    height: 220px;
}

@media only screen and (max-width: 1680px) {
    .reviews_slider_nav {
        left: calc(50vw - max(16px, calc((100vw - 1320px) / 2 + 16px)));
    }
}

@media only screen and (max-width: 1440px) {
    .reviews_slider_nav {
        left: calc(50vw - max(16px, calc((100vw - 1200px) / 2 + 16px)));
    }
}

@media only screen and (max-width: 1280px) {
    .reviews_slider_nav {
        left: calc(50vw - max(16px, calc((100vw - 1140px) / 2 + 16px)));
    }
}

@media only screen and (max-width: 1024px) {
    .reviews_slider_nav {
        left: calc(50vw - max(16px, calc((100vw - 960px) / 2 + 16px)));
    }
}

@media only screen and (max-width: 600px) {
    .reviews_slider_nav {
        left: calc(50vw - 8px);
    }
}

.certificates_gallery.grid .gallery_item.is-hidden {
    display: none;
}

.certificates_gallery.grid .certificates_slider_nav {
    display: none;
}

.certificates_load_more_wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.certificates_load_more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 34px;
    border: 1px solid #ACCFEF;
    border-radius: 999px;
    background: #EEF6FC;
    color: #1A4F78;
    font-family: 'Manrope';
    font-size: 18px;
    font-weight: 700;
    line-height: 120%;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.certificates_load_more:hover {
    background: #3A7DB4;
    border-color: #3A7DB4;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.certificates_load_more svg {
    flex: 0 0 auto;
    transition: transform 0.25s ease;
}

.certificates_load_more:hover svg {
    transform: translateY(2px);
}

/* lightgallery styles */
.lg-backdrop {
    background-color: rgba(12, 46, 71, 0.92);
}

.lg-toolbar,
.lg-outer .lg-thumb-outer {
    background-color: rgba(12, 46, 71, 0.85);
}

.lg-next,
.lg-prev {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #EEF6FC;
    color: #3A7DB4;
}

.lg-next:hover,
.lg-prev:hover {
    color: #1A4F78;
}

.lg-toolbar .lg-icon {
    color: #FFFFFF;
}

.lg-toolbar .lg-icon:hover {
    color: #ACCFEF;
}

.lg-sub-html {
    font-family: 'Manrope';
    font-size: 14px;
    line-height: 150%;
    color: #FFFFFF;
}
.lg-toolbar .lg-icon {
    line-height: 60px;
    padding: 30px 0;
}
@media only screen and (max-width: 991px) {
    .certificates_top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .certificates_gallery .gallery_item {
        height: 180px;
    }

    .certificates_gallery.grid .gallery_items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 600px) {
    .certificates {
        padding: 56px 0;
    }

    .certificates_top {
        gap: 20px;
        margin-bottom: 32px;
    }

    .certificates_title h1,
    .certificates_title h2 {
        font-size: 28px;
        line-height: 115%;
    }

    .certificates_text {
        font-size: 14px;
        line-height: 150%;
    }

    .certificates_gallery {
        width: calc(100vw - 16px);
        padding-bottom: 60px;
    }

    .certificates_gallery .gallery_item {
        height: 170px;
    }

    .certificates_gallery--page.grid {
        width: 100%;
        overflow: visible;
        padding-bottom: 0;
    }

    .certificates_gallery--page.grid .gallery_items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        transform: none !important;
    }

    .certificates_gallery--page.grid .gallery_item {
        width: 100% !important;
        height: 170px;
    }

    .certificates_gallery--page.grid .certificates_slider_nav {
        display: none;
    }

    .certificates_load_more_wrap {
        margin-top: 28px;
    }

    .certificates_load_more {
        width: 100%;
        min-height: 54px;
        padding: 0 22px;
        font-size: 16px;
    }
}
/* certificates end */

/*blog index*/
.blog_top {
    padding: 72px 16px;
    background: rgba(238, 246, 252, 1);

}
.blog_top_single {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
}
.blog_top_single_img {
    flex: 0 0 calc(50% - 28px);
}
.blog_top_single_meta {
    flex: 0 0 calc(50% - 28px);
}
.blog_top_single_title {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 12px;
}
.blog_top_single_excerpt {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: rgba(26, 79, 120, 1);
}
.post-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
}
.post-read-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 12px;
    border: 1px solid #D6EAF8;
    border-radius: 999px;
    background: #EEF6FC;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 140%;
    color: #3A7DB4;
}
.blog_top_single_link a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    gap: 10px;
    margin: 0 auto;
    width: 215px;
    height: 48px;
    border: 1px solid #ACCFEF;
    border-radius: 32px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0C2E47;
}
.blog .blog_top_single_categories {
    gap: 10px;
    padding: 16px 0 29px 0;
}
.blog .blog_top_single_categories a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2px 10px;
    background: #daedfb;
    border-radius: 16px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #3A7DB4;
    width: fit-content;
}
.blog .latest_news_list {
    padding: 72px 16px;
}
.blog .latest_news_top_title {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 32px;
}
.blog .post-categories a {
    align-items: center;
    padding: 2px 10px;
    background: #daedfb;
    border-radius: 16px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #3A7DB4;
}


.latest_news_pagination {
    margin-top: 48px;
}

.latest_news_pagination .navigation {
    margin: 0;
}

.latest_news_pagination .nav-links,
.latest_news_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.latest_news_pagination .page-numbers,
.latest_news_pagination > .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border: none;
    border-radius: 4px;
    background: transparent;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    color: #0C2E47;
    transition: background 0.3s ease, color 0.3s ease;
}

.latest_news_pagination .page-numbers:hover,
.latest_news_pagination > .page-numbers:hover {
    background: #EEF6FC;
    color: #3A7DB4;
}

.latest_news_pagination .page-numbers.current,
.latest_news_pagination > .page-numbers.current {
    background: #EEF6FC;
    color: #3A7DB4;
}

.latest_news_pagination .page-numbers.dots,
.latest_news_pagination > .page-numbers.dots {
    background: transparent;
    color: #0C2E47;
    pointer-events: none;
}

.latest_news_pagination .prev,
.latest_news_pagination .next {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background: transparent;
    color: #0C2E47;
}

.latest_news_pagination .prev:hover,
.latest_news_pagination .next:hover {
    background: #EEF6FC;
    color: #3A7DB4;
}

@media only screen and (max-width: 600px) {
    .latest_news_pagination {
        margin-top: 40px;
        gap: 2px;
    }

    .latest_news_pagination .page-numbers,
    .latest_news_pagination > .page-numbers {
        min-width: 22px;
        height: 22px;
        font-size: 12px;
    }
}
/*blog index end*/

/* blog page */
.blog_page,
.blog {
    background: #FFFFFF;
}

.blog_hero {
    padding: 48px 0 64px;
    background: #EEF6FC;
}

.blog_hero_block {
    display: grid;
    grid-template-columns: minmax(320px, 520px) 1fr;
    gap: 48px;
    align-items: center;
}

.blog_hero_image {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    background: #D6EAF8;
}

.blog_hero_image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog_hero_content {
    max-width: 520px;
}

.blog_hero_title {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 42px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 16px;
}

.blog_hero_excerpt {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0C2E47;
    margin-bottom: 24px;
}

.blog_hero_meta,
.blog_hero_categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.blog_hero_meta span,
.blog_hero_categories a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    min-height: 28px;
    border-radius: 96px;
    background: #FFFFFF;
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    color: #3A7DB4;
}

.blog_hero_link a,
.blog_top_single_link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #3A7DB4;
    transition: color 0.3s ease;
}

.blog_hero_link a:hover,
.blog_top_single_link a:hover {
    color: #1A4F78;
}

.latest_news_section {
    padding: 80px 0 96px;
}

.latest_news_title {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 32px;
}

.latest_news_list {
    margin-top: 0;
}

.latest_news_items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

.latest_news {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.latest_news_card {
    display: block;
}

.latest_news_card_img {
    width: 100%;
    height: 210px;
    border-radius: 8px;
    overflow: hidden;
    background: #EEF6FC;
    margin-bottom: 16px;
}

.latest_news_card_img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.latest_news_card:hover .latest_news_card_img img {
    transform: scale(1.03);
    opacity: 0.9;
}

.latest_news_card_content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.title_post {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 120%;
    letter-spacing: -0.16px;
    color: #0C2E47;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.latest_news_card:hover .title_post {
    color: #3A7DB4;
}

.post-excerpt {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #0C2E47;
    margin-bottom: 16px;
}

.post-excerpt p {
    margin-bottom: 0;
}

.blog_top_single_link {
    margin-top: auto;
}


.blog_top_single_link a:hover::after {
    transform: translateX(3px);
}

.latest_news_pagination {
    margin-top: 48px;
    margin-bottom: 96px;
}

.latest_news_pagination .navigation {
    margin: 0;
}

.latest_news_pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.latest_news_pagination .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 50%;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #0C2E47;
    background: transparent;
    transition: background 0.3s ease, color 0.3s ease;
}

.latest_news_pagination .page-numbers:hover,
.latest_news_pagination .page-numbers.current {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    width: 40px;
    height: 40px;
    left: 0px;
    top: 0px;
    border-radius: 8px;
}

.latest_news_pagination .prev,
.latest_news_pagination .next {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px;
    width: 40px;
    height: 40px;
    left: 0px;
    top: 0px;
    border-radius: 8px;
    background: #EEF6FC;
    color: #3A7DB4;
}

@media only screen and (max-width: 991px) {
    .blog_hero_block {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog_hero_content {
        max-width: 100%;
    }

    .latest_news_items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 600px) {
    .blog_hero {
        padding: 24px 0 40px;
    }

    .blog_hero_block {
        gap: 24px;
    }

    .blog_hero_image {
        height: 210px;
    }

    .blog_hero_title {
        font-size: 28px;
        line-height: 115%;
        margin-bottom: 12px;
    }

    .blog_hero_excerpt {
        font-size: 14px;
        line-height: 150%;
        margin-bottom: 16px;
    }

    .latest_news_section {
        padding: 56px 0;
    }

    .latest_news_title {
        font-size: 28px;
        line-height: 115%;
        margin-bottom: 24px;
    }

    .latest_news_items {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .latest_news_card_img {
        height: 220px;
        margin-bottom: 14px;
    }

    .title_post {
        font-size: 20px;
        line-height: 120%;
    }

    .post-excerpt {
        font-size: 14px;
        line-height: 150%;
    }

    .latest_news_pagination {
        margin-top: 40px;
    }
}
/* blog page end */

@media only screen and (max-width: 600px) {
    .blog .blog_top {
        padding: 24px 0 40px;
    }

    .blog .blog_top_news_block,
    .blog .latest_news_list {
        padding-right: 16px;
        padding-left: 16px;
    }

    .blog .blog_top_single {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .blog .blog_top_single_img,
    .blog .blog_top_single_meta {
        flex: initial;
        width: 100%;
    }

    .blog .blog_top_single_img {
        height: 210px;
        border-radius: 8px;
        overflow: hidden;
        background: #D6EAF8;
    }

    .blog .blog_top_single_img a,
    .blog .blog_top_single_img img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .blog .blog_top_single_img img {
        object-fit: cover;
    }

    .blog .blog_top_single_title {
        margin-bottom: 10px;
        font-size: 24px;
        line-height: 120%;
    }

    .blog .blog_top_single_title a {
        color: inherit;
    }

    .blog .blog_top_single_excerpt {
        font-size: 13px;
        line-height: 150%;
    }

    .blog .blog_top_single_excerpt p {
        margin-bottom: 0;
    }

    .blog .blog_top_single_categories {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 0 20px;
    }

    .blog .blog_top_single_categories a,
    .blog .post-categories a {
        font-size: 12px;
        line-height: 140%;
    }

    .blog .blog_top_single_link a {
        width: fit-content;
        height: 40px;
        margin: 0;
        padding: 10px 18px;
        gap: 8px;
        border-radius: 96px;
        font-size: 13px;
        line-height: 150%;
        background: #FFFFFF;
    }

    .blog .blog_top_single_link svg {
        width: 18px;
        height: 18px;
    }

    .blog .latest_news_list {
        padding-top: 40px;
        padding-bottom: 56px;
    }

    .blog .latest_news_top_title {
        margin-bottom: 24px;
        font-size: 24px;
        line-height: 120%;
    }

    .blog .latest_news_items {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .blog .latest_news_card_img {
        height: 210px;
        margin-bottom: 16px;
        border-radius: 8px;
    }

    .blog .title_post {
        margin-bottom: 10px;
        font-size: 20px;
        line-height: 120%;
    }

    .blog .post-excerpt {
        margin-bottom: 12px;
        font-size: 13px;
        line-height: 150%;
        color: #3A7DB4;
    }

    .blog .post-categories {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* blog top recommended posts */
.blog .blog_top {
    padding: 64px 0 72px;
    background: #EEF6FC;
    overflow: hidden;
    min-height: 0;
}

.blog .blog_top_news_block {
    max-width: 1280px;
    margin: 0 auto;
    padding-right: 32px;
    padding-left: 32px;
}

.blog .blog_top_news {
    width: 100%;
}

.blog .blog_top_label {
    margin-bottom: 28px;
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: 0;
    color: #0C2E47;
}

.blog .blog_top_featured_layout {
    display: block;
}

.blog .blog_top_card {
    min-width: 0;
    opacity: 1;
    visibility: visible;
}

.blog .blog_top_card--primary {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    gap: 52px;
    align-items: center;
}

.blog .blog_top_card--secondary {
    display: none;
}

.blog .blog_top_card--secondary + .blog_top_card--secondary {
    margin-top: 0;
}

.blog .blog_top_card_img {
    display: block;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #D6EAF8;
}

.blog .blog_top_card--primary .blog_top_card_img {
    height: 360px;
}

.blog .blog_top_card--secondary .blog_top_card_img {
    height: 150px;
}

.blog .blog_top_card_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog .blog_top_card_img_placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #EEF6FC 0%, #D6EAF8 100%);
}

.blog .blog_top_card_meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    flex: 1 1 auto;
    min-width: 0;
}

.blog .blog_top_card--primary .blog_top_card_meta {
    max-width: 470px;
}

.blog .blog_top_card_body {
    width: 100%;
    min-width: 0;
}

.blog .blog_top_card_title,
.blog .blog_top_card_title a {
    font-family: 'Noto Serif';
    font-weight: 300;
    color: #0C2E47;
}

.blog .blog_top_card_title {
    margin: 0 0 12px;
}

.blog .blog_top_card_title a {
    color: inherit;
}

.blog .blog_top_card--primary .blog_top_card_title,
.blog .blog_top_card--primary .blog_top_card_title a {
    font-size: 40px;
    line-height: 115%;
    letter-spacing: -0.16px;
}

.blog .blog_top_card--secondary .blog_top_card_title,
.blog .blog_top_card--secondary .blog_top_card_title a {
    font-size: 21px;
    line-height: 128%;
    letter-spacing: 0;
}

.blog .blog_top_card--primary .blog_top_card_title a,
.blog .blog_top_card--secondary .blog_top_card_title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog .blog_top_card--primary .blog_top_card_title a {
    -webkit-line-clamp: 2;
}

.blog .blog_top_card--secondary .blog_top_card_title a {
    -webkit-line-clamp: 3;
}

.blog .blog_top_card_excerpt {
    margin-bottom: 0;
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #1A4F78;
}

.blog .blog_top_card_excerpt p {
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog .blog_top_card--primary .blog_top_card_excerpt p {
    -webkit-line-clamp: 2;
}

.blog .blog_top_card--secondary .blog_top_card_excerpt p {
    -webkit-line-clamp: 2;
}

.blog .blog_top_card--secondary .blog_top_card_excerpt {
    display: none;
}

.blog .blog_top_card_categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0 0;
}

.blog .blog_top_card_categories a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 24px;
    padding: 2px 10px;
    border-radius: 16px;
    background: #DAEDFB;
    font-family: 'Inter', 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #3A7DB4;
}

.blog .blog_top_card_link {
    margin-top: 24px;
}

.blog .blog_top_card--secondary .blog_top_card_link {
    margin-top: auto;
    width: auto;
}

.blog .blog_top_card_link a {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    width: 215px;
    min-width: 215px;
    max-width: 100%;
    height: 48px;
    padding: 10px 24px;
    border-radius: 32px;
    border: 1px solid #ACCFEF;
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #0C2E47;
}

.blog .blog_top_card--secondary .blog_top_card_link a {
    width: auto;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    color: #1A4F78;
    white-space: nowrap;
}

.blog .blog_top_card--secondary .blog_top_card_link svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

@media only screen and (max-width: 991px) {
    .blog .blog_top_featured_layout {
        display: block;
    }

    .blog .blog_top_card--primary {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media only screen and (max-width: 600px) {
    .blog .blog_top {
        padding: 40px 0 48px;
    }

    .blog .blog_top_news_block {
        padding-right: 16px;
        padding-left: 16px;
    }

    .blog .blog_top_label {
        margin-bottom: 24px;
        font-size: 24px;
    }

    .blog .blog_top_featured_layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .blog .blog_top_card--primary,
    .blog .blog_top_card--secondary {
        display: flex;
        flex-direction: column;
        gap: 24px;
        grid-row: auto;
        grid-column: auto;
        width: 100%;
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .blog .blog_top_card--secondary + .blog_top_card--secondary {
        margin-top: 0;
    }

    .blog .blog_top_card--primary .blog_top_card_img,
    .blog .blog_top_card--secondary .blog_top_card_img {
        width: 100%;
        height: 300px;
        border-radius: 16px;
    }

    .blog .blog_top_card_meta {
        justify-content: flex-start;
        width: 100%;
        min-height: 0;
        padding: 0;
        gap: 20px;
    }

    .blog .blog_top_card_link {
        margin-top: 0;
    }

    .blog .blog_top_card--primary .blog_top_card_title,
    .blog .blog_top_card--primary .blog_top_card_title a,
    .blog .blog_top_card--secondary .blog_top_card_title,
    .blog .blog_top_card--secondary .blog_top_card_title a {
        font-size: 28px;
        line-height: 115%;
        letter-spacing: -0.16px;
    }

    .blog .blog_top_card_title {
        margin-bottom: 12px;
    }

    .blog .blog_top_card_excerpt {
        max-width: 100%;
        font-family: 'Inter', 'Manrope', sans-serif;
        font-size: 16px;
        line-height: 24px;
    }

    .blog .blog_top_card_excerpt p {
        -webkit-line-clamp: 2;
    }

    .blog .blog_top_card_link a {
        width: 215px;
        min-width: 215px;
        height: 48px;
        padding: 10px 24px;
        font-family: 'Inter', 'Manrope', sans-serif;
        font-size: 16px;
        line-height: 150%;
    }
}

/* blog archive cards from Figma */
.blog .latest_news_list {
    box-sizing: border-box;
    width: 100%;
    max-width: 1280px;
    padding: 72px 32px 0;
    margin: 0 auto;
}

/* category archive intro text (the_archive_description) — same "callout" treatment as .price_intro */
.blog .page-header {
    margin: 0 0 32px;
}

.blog .archive-description {
    max-width: 860px;
    margin: 0;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(114, 173, 224, 0.32);
    border-left: 4px solid #3A7DB4;
    border-radius: 8px;
}

.blog .archive-description p {
    font-family: 'Manrope';
    font-weight: 400;
    font-size: 17px;
    line-height: 155%;
    color: #0C2E47;
    margin: 0;
}

.blog .archive-description p + p {
    margin-top: 12px;
}

@media only screen and (max-width: 600px) {
    .blog .page-header {
        margin-bottom: 24px;
    }

    .blog .archive-description {
        padding: 18px 18px 18px 20px;
    }

    .blog .archive-description p {
        font-size: 14px;
        line-height: 150%;
    }

    .blog .archive-description p + p {
        margin-top: 10px;
    }
}
/* category archive intro text end */

.blog .latest_news_top_title {
    margin-bottom: 32px;
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: 0;
    color: #0C2E47;
}

.blog .latest_news_items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 32px;
}

.blog .latest_news {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    min-width: 0;
    min-height: 466px;
}

.blog .latest_news_card {
    display: block;
    width: 100%;
}

.blog .latest_news_card_img {
    width: 100%;
    height: 240px;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #1A4F78;
}

.blog .latest_news_card_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog .latest_news_card_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.blog .latest_news_card_title_link {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.blog .latest_news_card_title_link .title_post {
    flex: 1 1 auto;
    min-width: 0;
}

.blog .latest_news_card_icon {
    display: inline-flex;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    padding-top: 4px;
    color: #3A7DB4;
}

.blog .latest_news_card_icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.blog .title_post {
    margin-bottom: 0;
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0;
    color: #0C2E47;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog .latest_news .post-card-meta {
    display: none;
}

.blog .post-excerpt {
    margin-bottom: 0;
    font-family: 'Inter', 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #0C2E47;
}

.blog .post-excerpt p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.blog .post-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
}

.blog .post-categories a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 24px;
    padding: 2px 10px;
    border-radius: 16px;
    background: #EEF6FC;
    font-family: 'Inter', 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #3A7DB4;
}

.blog .latest_news_pagination {
    width: 100%;
    max-width: 1280px;
    min-height: 40px;
    margin: 24px auto 40px;
    padding: 20px 32px 0;
    border-top: 1px solid #EAECF0;
}

.blog .latest_news_pagination .navigation {
    width: 100%;
    margin: 0;
}

.blog .latest_news_pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.blog .latest_news_pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-family: 'Inter', 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #0C2E47;
}

.blog .latest_news_pagination .page-numbers.current,
.blog .latest_news_pagination .page-numbers:hover {
    background: #EEF6FC;
    color: #3A7DB4;
}

.blog .latest_news_pagination .prev,
.blog .latest_news_pagination .next {
    color: #3A7DB4;
}

@media only screen and (max-width: 991px) {
    .blog .latest_news_items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 600px) {
    .blog .latest_news_list {
        padding: 72px 32px 0;
    }

    .blog .latest_news_items {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .blog .latest_news {
        gap: 32px;
        min-height: 466px;
    }

    .blog .latest_news_card_img {
        height: 240px;
    }

    .blog .latest_news_card_title_link {
        gap: 16px;
    }

    .blog .latest_news_pagination {
        margin-bottom: 72px;
        padding-right: 32px;
        padding-left: 32px;
    }

    .blog .latest_news_pagination .nav-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: center;
        scrollbar-width: none;
    }

    .blog .latest_news_pagination .nav-links::-webkit-scrollbar {
        display: none;
    }
}

/* single blog post */
.single_wrapper {
    background: #FFFFFF;
}

.single_block {
    padding-top: 48px;
    padding-bottom: 80px;
}

.single_content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.single_breadcrumbs,
.site_breadcrumbs {
    order: 0;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
}

.single_breadcrumbs .rank-math-breadcrumb,
.site_breadcrumbs .rank-math-breadcrumb {
    margin: 0;
    font-family: 'Inter', 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #3A7DB4;
    text-align: left;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.single_breadcrumbs .rank-math-breadcrumb::-webkit-scrollbar,
.site_breadcrumbs .rank-math-breadcrumb::-webkit-scrollbar {
    display: none;
}

.single_breadcrumbs .rank-math-breadcrumb a,
.site_breadcrumbs .rank-math-breadcrumb a {
    color: #3A7DB4;
    text-decoration: none;
}

.single_breadcrumbs .rank-math-breadcrumb a:hover,
.site_breadcrumbs .rank-math-breadcrumb a:hover {
    color: #1A4F78;
    text-decoration: underline;
}

.single_breadcrumbs .rank-math-breadcrumb .separator,
.site_breadcrumbs .rank-math-breadcrumb .separator {
    margin: 0 0.35em;
    color: #8DBCE3;
}

.single_featured_image {
    order: 1;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 28px;
    line-height: 0;
}

.single_featured_image img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 780px);
    max-height: 340px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid #D6EAF8;
    box-shadow: 0 8px 22px rgba(12, 46, 71, 0.08);
    object-fit: contain;
    object-position: center;
}

.single_title {
    order: 2;
    max-width: 680px;
    margin: 0 auto 8px;
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: -0.16px;
    text-align: center;
    color: #0C2E47;
}

.single_excerpt {
    order: 4;
    max-width: 560px;
    margin: 0 auto 12px;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: #3A7DB4;
}

.single_meta {
    order: 3;
    display: flex;
    justify-content: center;
    margin: 0 auto 16px;
}

.single_excerpt p {
    margin-bottom: 0;
}

.single_categories {
    order: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 560px;
    margin: 0 auto 24px;
}

.single_categories a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 2px 10px;
    border-radius: 16px;
    background: #DAEDFB;
    font-family: 'Manrope';
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    color: #3A7DB4;
}

.single_article_content {
    order: 6;
    width: 100%;
    max-width: 760px;
    margin: 24px auto 0;
    padding-top: 32px;
    border-top: 1px solid #D6EAF8;
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 170%;
    color: #0C2E47;
}

.single_article_content h1,
.single_article_content h2,
.single_article_content h3,
.single_article_content h4,
.single_article_content h5,
.single_article_content h6 {
    margin: 0 0 12px;
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 300;
    line-height: 120%;
    letter-spacing: -0.16px;
    color: #0C2E47;
}

.single_article_content h2 {
    font-size: 40px;
}

.single_article_content h3 {
    font-size: 26px;
}

.single_article_content p,
.single_article_content ul,
.single_article_content ol,
.single_article_content blockquote,
.single_article_content figure {
    margin: 0 0 20px;
}

.single_article_content ul,
.single_article_content ol {
    padding-left: 22px;
}

.single_article_content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.single_article_content a {
    color: #3A7DB4;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.single_wrapper .subscribe {
    padding: 0 16px 96px;
}

.single_wrapper .subscribe_content {
    max-width: 520px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid #D6EAF8;
    text-align: center;
}

.single_wrapper .subscribe_section_title {
    margin-bottom: 8px;
    font-family: 'Noto Serif';
    font-weight: 300;
    font-size: 24px;
    line-height: 120%;
    color: #0C2E47;
}

.single_wrapper .subscribe_section_subtitle {
    margin-bottom: 16px;
    font-family: 'Manrope';
    font-size: 14px;
    line-height: 150%;
    color: #3A7DB4;
}

.single_wrapper .subscribe .wpcf7-form {
    align-items: center;
}

.single_wrapper .subscribe input[type="email"],
.single_wrapper .subscribe input[type="text"] {
    max-width: 360px;
}

.single_wrapper .subscribe input[type="submit"],
.single_wrapper .subscribe .wpcf7-submit {
    width: fit-content;
    min-width: 144px;
    height: 40px;
    padding: 10px 24px;
    background: #FFFFFF;
    border: 1px solid #ACCFEF;
    color: #3A7DB4;
}

@media only screen and (max-width: 600px) {
    .single_block {
        padding-top: 24px;
        padding-bottom: 56px;
    }

    .single_breadcrumbs,
    .site_breadcrumbs {
        margin-bottom: 16px;
    }

    .single_breadcrumbs .rank-math-breadcrumb,
    .site_breadcrumbs .rank-math-breadcrumb {
        font-size: 13px;
        line-height: 1.45;
        text-align: left;
    }

    .single_featured_image {
        margin-bottom: 22px;
    }

    .single_featured_image img {
        max-height: 250px;
        border-radius: 12px;
    }

    .single_title {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 8px;
        text-align: left;
    }

    .single_excerpt {
        font-size: 13px;
        line-height: 150%;
        text-align: left;
    }

    .single_meta {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 12px;
    }

    .single_categories {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 20px;
    }

    .single_article_content {
        margin-top: 20px;
        padding-top: 24px;
        font-size: 16px;
        line-height: 170%;
    }

    .single_article_content h2 {
        font-size: 30px;
    }

    .single_article_content h3 {
        font-size: 22px;
    }

    .single_article_content p,
    .single_article_content ul,
    .single_article_content ol,
    .single_article_content blockquote,
    .single_article_content figure {
        margin-bottom: 16px;
    }

    .single_wrapper .subscribe {
        padding-bottom: 64px;
    }

    .single_wrapper .subscribe_content {
        padding-top: 24px;
    }

    .single_wrapper .subscribe_section_title {
        font-size: 22px;
    }
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 130px;
}

[id] {
  scroll-margin-top: 160px;
}

/* ===== Blog article base ===== */

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 150px;
}

.entry-content,
.ct-post-content,
.post-content {
  font-size: 20px;
  line-height: 1.75;
  color: #002b4f;
}

.entry-content h1,
.ct-post-content h1,
.post-content h1 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.15;
  margin: 0 0 28px;
  color: #002b4f;
}

.entry-content h2,
.ct-post-content h2,
.post-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  margin: 56px 0 20px;
  color: #002b4f;
}

.entry-content h3,
.ct-post-content h3,
.post-content h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
  margin: 34px 0 14px;
  color: #002b4f;
}

.entry-content p,
.ct-post-content p,
.post-content p {
  margin: 0 0 22px;
}

.entry-content ul,
.entry-content ol,
.ct-post-content ul,
.ct-post-content ol,
.post-content ul,
.post-content ol {
  margin: 0 0 28px 24px;
  padding-left: 20px;
}

.entry-content li,
.ct-post-content li,
.post-content li {
  margin-bottom: 10px;
}

.entry-content a,
.ct-post-content a,
.post-content a {
  color: #0b5fa5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Reading time ===== */

.read-time,
.article-read-time {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-left: 14px;
  padding: 4px 12px;
  border: 1px solid #D6EAF8;
  border-radius: 999px;
  background: #EEF6FC;
  font-family: 'Manrope';
  font-size: 14px;
  line-height: 140%;
  font-weight: 600;
  color: #3A7DB4;
  vertical-align: middle;
  white-space: nowrap;
}

/* ===== Article navigation ===== */

.article-nav {
  margin: 42px 0;
  padding: 26px 30px;
  border: 1px solid #dbe8f5;
  border-radius: 18px;
  background: #f6fbff;
}

.article-nav h2 {
  margin-top: 0 !important;
}

.article-nav ol {
  margin-bottom: 0;
}

.article-nav li {
  margin-bottom: 8px;
}

/* ===== Important / warning blocks ===== */

.warning-section {
  padding: 28px 30px;
  margin: 42px 0;
  border-left: 5px solid #d85757;
  border-radius: 16px;
  background: #fff6f6;
}

.warning-section h2,
.warning-section h3 {
  margin-top: 0 !important;
}

/* ===== Table ===== */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0 38px;
}

.article-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.article-table th,
.article-table td {
  border: 1px solid #dbe8f5;
  padding: 16px 18px;
  vertical-align: top;
  text-align: left;
}

.article-table th {
  background: #f2f8ff;
  font-weight: 700;
  color: #002b4f;
}

.article-table td {
  color: #002b4f;
}

/* ===== Doctor comment / author / sources / CTA ===== */

.doctor-comment,
.author-note,
.sources-section,
.consultation-cta {
  padding: 28px 30px;
  margin: 42px 0;
  border: 1px solid #dbe8f5;
  border-radius: 18px;
  background: #f8fbff;
}

.doctor-comment h2,
.author-note h2,
.sources-section h2,
.consultation-cta h2 {
  margin-top: 0 !important;
}

.doctor-comment blockquote {
  margin: 0 0 20px;
  padding: 0 0 0 22px;
  border-left: 4px solid #9ec9ee;
  font-style: italic;
  color: #002b4f;
}

/* ===== FAQ accordion ===== */

.faq-section details {
  border: 1px solid #dbe8f5;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #fff;
}

.faq-section summary {
  cursor: pointer;
  font-weight: 600;
  color: #002b4f;
  list-style: none;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::after {
  content: "+";
  float: right;
  font-size: 24px;
  line-height: 1;
  color: #0b5fa5;
}

.faq-section details[open] summary::after {
  content: "–";
}

.faq-section details p {
  margin-top: 14px;
  margin-bottom: 0;
}

/* ===== Mobile ===== */

@media (max-width: 768px) {
  [id] {
    scroll-margin-top: 120px;
  }

  .entry-content,
  .ct-post-content,
  .post-content {
    font-size: 18px;
    line-height: 1.7;
  }

  .read-time,
  .article-read-time {
    display: block;
    margin-left: 0;
    margin-top: 6px;
  }

  .article-nav,
  .warning-section,
  .doctor-comment,
  .author-note,
  .sources-section,
  .consultation-cta {
    padding: 22px 20px;
    border-radius: 16px;
  }

  .article-table {
    font-size: 16px;
  }

  .article-table th,
  .article-table td {
    padding: 14px 14px;
  }
}

.related-posts-slider {
  margin: 56px 0;
}

.related-posts-header {
  margin-bottom: 24px;
}

.related-posts-header h2 {
  margin-bottom: 10px;
}

.related-posts-header p {
  max-width: 720px;
  margin: 0;
  color: #5d7893;
}

.related-posts-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}

.related-posts-track::-webkit-scrollbar {
  height: 8px;
}

.related-posts-track::-webkit-scrollbar-track {
  background: #eef5fb;
  border-radius: 999px;
}

.related-posts-track::-webkit-scrollbar-thumb {
  background: #b9d3e8;
  border-radius: 999px;
}

.related-post-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border: 1px solid #dbe8f5;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 43, 79, 0.10);
}

.related-post-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.related-post-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #eef5fb;
}

.related-post-content {
  padding: 18px;
}

.related-post-content h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
  color: #002b4f;
}

.related-post-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #5d7893;
}

@media (max-width: 768px) {
  .related-posts-slider {
    margin: 40px 0;
  }

  .related-post-card {
    flex-basis: 260px;
  }

  .related-post-card img {
    height: 150px;
  }

  .related-post-content h3 {
    font-size: 19px;
  }

  .related-post-content p {
    font-size: 15px;
  }
}

.related-posts-slider {
  margin: 56px 0;
}

.related-posts-header {
  margin-bottom: 24px;
}

.related-posts-header h2 {
  margin-bottom: 10px;
}

.related-posts-header p {
  max-width: 720px;
  margin: 0;
  color: #5d7893;
}

.related-posts-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
}

.related-posts-track::-webkit-scrollbar {
  height: 8px;
}

.related-posts-track::-webkit-scrollbar-track {
  background: #eef5fb;
  border-radius: 999px;
}

.related-posts-track::-webkit-scrollbar-thumb {
  background: #b9d3e8;
  border-radius: 999px;
}

.related-post-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border: 1px solid #dbe8f5;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 43, 79, 0.10);
}

.related-post-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.related-post-image {
  width: 100%;
  height: 180px;
  background: #eef5fb;
  overflow: hidden;
}

.related-post-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-placeholder {
  width: 100%;
  height: 100%;
  background: #eef5fb;
}

.related-post-content {
  padding: 18px;
}

.related-post-content h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
  color: #002b4f;
}

.related-post-content p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #5d7893;
}

/* === YK Related Posts Slider === */

.yk-related-section {
  width: min(100%, 1100px);
  max-width: 1100px;
  margin: 56px auto;
  padding: 0;
}

.yk-related-header {
  margin-bottom: 24px;
}

.yk-related-header h2 {
  margin: 0 0 10px 0;
  color: #002b4f;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 500;
}

.yk-related-header p {
  max-width: 720px;
  margin: 0;
  color: #5d7893;
  font-size: 18px;
  line-height: 1.6;
}

.yk-related-track {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px;
  width: 100%;
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding: 4px 4px 24px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.yk-related-card {
  display: block !important;
  flex: 0 0 calc((100% - 40px) / 3) !important;
  min-width: calc((100% - 40px) / 3) !important;
  max-width: calc((100% - 40px) / 3) !important;
  scroll-snap-align: start;
  background: #ffffff !important;
  border: 1px solid #dbe8f5 !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 6px 22px rgba(0, 43, 79, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yk-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 43, 79, 0.12);
}

.yk-related-link {
  display: block !important;
  width: 100%;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
  background: #ffffff !important;
}

.yk-related-link:hover {
  color: inherit !important;
  text-decoration: none !important;
}

.yk-related-image {
  display: block !important;
  width: 100%;
  height: 190px !important;
  min-height: 190px !important;
  background: #eef5fb !important;
  overflow: hidden !important;
}

.yk-related-image img {
  display: block !important;
  width: 100% !important;
  height: 190px !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.yk-related-placeholder {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 190px;
  padding: 20px;
  background: linear-gradient(135deg, #eef5fb 0%, #dbe8f5 100%);
  color: #002b4f;
  text-align: center;
  font-size: 18px;
  line-height: 1.35;
}

.yk-related-content {
  display: block !important;
  padding: 18px !important;
  background: #ffffff !important;
}

.yk-related-content h3 {
  display: block !important;
  margin: 0 0 10px 0 !important;
  color: #002b4f !important;
  font-size: 21px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}

.yk-related-content p {
  display: block !important;
  margin: 0 !important;
  color: #5d7893 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.yk-related-track::-webkit-scrollbar {
  height: 8px;
}

.yk-related-track::-webkit-scrollbar-track {
  background: #eef5fb;
  border-radius: 999px;
}

.yk-related-track::-webkit-scrollbar-thumb {
  background: #b9d3e8;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .yk-related-card {
    flex: 0 0 calc((100% - 20px) / 2) !important;
    min-width: calc((100% - 20px) / 2) !important;
    max-width: calc((100% - 20px) / 2) !important;
  }
}

@media (max-width: 768px) {
  .yk-related-section {
    margin: 40px 0;
  }

  .yk-related-header h2 {
    font-size: 28px;
  }

  .yk-related-header p {
    font-size: 16px;
  }

  .yk-related-card {
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }

  .yk-related-image,
  .yk-related-image img,
  .yk-related-placeholder {
    height: 150px !important;
    min-height: 150px !important;
  }

  .yk-related-content h3 {
    font-size: 19px !important;
  }

  .yk-related-content p {
    font-size: 15px !important;
  }
}

/* ===== Universal single article design ===== */
.single_wrapper {
    background: #FFFFFF;
}

.single_block {
    padding: 64px 16px 96px;
}

.single_content {
    max-width: 1120px;
    margin: 0 auto;
}

.single_featured_image {
    margin-bottom: 28px;
}

.single_title {
    max-width: 920px;
    margin-bottom: 14px;
    font-size: clamp(40px, 4.4vw, 64px);
    line-height: 112%;
    text-align: center;
}

.single_meta {
    margin-bottom: 16px;
}

.single_categories {
    margin-bottom: 32px;
}

.single_excerpt {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: 18px;
    color: #1A4F78;
}

.single_article_content {
    max-width: 920px;
    margin-top: 28px;
    padding-top: 44px;
    border-top: 1px solid #D6EAF8;
    font-size: 20px;
    line-height: 1.72;
}

.single_article_content > section,
.single_article_content > nav,
.single_article_content > .doctor-comment,
.single_article_content > .author-note,
.single_article_content > .sources-section,
.single_article_content > .consultation-cta {
    margin-top: 52px;
}

.single_article_content > section:first-child,
.single_article_content > nav:first-child {
    margin-top: 0;
}

.single_article_content h2 {
    margin-bottom: 18px;
    font-size: clamp(34px, 3.6vw, 50px);
    line-height: 114%;
}

.single_article_content h3 {
    margin-top: 34px;
    margin-bottom: 14px;
    font-size: clamp(24px, 2.2vw, 30px);
}

.single_article_content p,
.single_article_content ul,
.single_article_content ol,
.single_article_content blockquote,
.single_article_content figure {
    margin-bottom: 24px;
}

.single_article_content a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(58, 125, 180, 0.38);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.single_article_content a:hover {
    color: #1A4F78;
    border-bottom-color: #3A7DB4;
}

.single_article_content #short-version,
.single_article_content .article-nav,
.single_article_content .warning-section,
.single_article_content .doctor-comment,
.single_article_content .author-note,
.single_article_content .sources-section,
.single_article_content .consultation-cta {
    padding: 34px 38px;
    border: 1px solid #D6EAF8;
    border-radius: 20px;
    background: #EEF6FC;
}

.single_article_content #short-version {
    position: relative;
}

.single_article_content #short-version::before {
    content: "Коротко";
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 16px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #FFFFFF;
    font-family: 'Manrope';
    font-weight: 600;
    font-size: 14px;
    line-height: 140%;
    color: #3A7DB4;
}

.single_article_content .article-nav {
    background: #FFFFFF;
}

.single_article_content .article-nav ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
    padding-left: 20px;
}

.single_article_content .article-nav a {
    border-bottom: none;
    color: #0C2E47;
}

.single_article_content .article-nav a:hover {
    color: #3A7DB4;
}

.single_article_content .warning-section {
    border-color: #F1C6C6;
    background: #FFF7F7;
}

.single_article_content .doctor-comment blockquote {
    border-left-color: #ACCFEF;
}

.single_article_content .table-wrap {
    margin: 30px 0 44px;
    border: 1px solid #D6EAF8;
    border-radius: 18px;
    background: #FFFFFF;
}

.single_article_content .article-table {
    min-width: 820px;
    font-size: 17px;
    background: #FFFFFF;
}

.single_article_content .article-table th {
    background: #EEF6FC;
    color: #0C2E47;
}

.read-time,
.article-read-time,
.post-read-time {
    border-color: #ACCFEF;
    background: #EEF6FC;
    color: #3A7DB4;
    text-decoration: none;
}

.single_article_content .read-time,
.single_article_content .article-read-time {
    margin-left: 12px;
    transform: translateY(-3px);
}

@media only screen and (max-width: 768px) {
    .single_block {
        padding-top: 32px;
        padding-bottom: 64px;
    }

    .single_featured_image {
        margin-bottom: 22px;
    }

    .single_featured_image img {
        max-height: 250px;
    }

    .single_title {
        font-size: 34px;
        line-height: 114%;
        text-align: left;
    }

    .single_excerpt {
        font-size: 16px;
        text-align: left;
    }

    .single_article_content {
        max-width: 100%;
        margin-top: 22px;
        padding-top: 28px;
        font-size: 17px;
        line-height: 1.72;
    }

    .single_article_content > section,
    .single_article_content > nav,
    .single_article_content > .doctor-comment,
    .single_article_content > .author-note,
    .single_article_content > .sources-section,
    .single_article_content > .consultation-cta {
        margin-top: 36px;
    }

    .single_article_content h2 {
        font-size: 30px;
    }

    .single_article_content h3 {
        font-size: 23px;
    }

    .single_article_content #short-version,
    .single_article_content .article-nav,
    .single_article_content .warning-section,
    .single_article_content .doctor-comment,
    .single_article_content .author-note,
    .single_article_content .sources-section,
    .single_article_content .consultation-cta {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .single_article_content .article-nav ol {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .single_article_content .read-time,
    .single_article_content .article-read-time {
        display: inline-flex;
        margin-top: 10px;
        margin-left: 0;
        transform: none;
    }
}

/* ===== Single article polish: nav, reading badges, related posts ===== */
.single_article_content a,
.single_article_content a:visited {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: inset 0 -1px 0 rgba(58, 125, 180, 0.28);
}

.single_article_content a:hover {
    color: #1A4F78 !important;
    box-shadow: inset 0 -2px 0 rgba(58, 125, 180, 0.42);
}

.single_article_content .article-section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.single_article_content .article-section-heading h2 {
    margin: 0;
}

.single_article_content #short-version::before {
    content: none;
}

.single_article_content .article-section-heading--short h2 {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 100%;
    padding: 10px 18px;
    border-radius: 999px;
    background: #FFFFFF;
    font-family: 'Manrope';
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: #1A4F78;
}

.single_article_content .article-section-heading--full {
    padding-top: 8px;
}

.single_article_content .article-nav {
    padding: 38px 42px;
}

.single_article_content .article-nav ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    padding-left: 0;
    list-style: none;
    counter-reset: article-nav;
}

.single_article_content .article-nav li {
    counter-increment: article-nav;
    margin: 0;
}

.single_article_content .article-nav a {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(172, 207, 239, 0.82) !important;
    border-radius: 14px;
    background: #FFFFFF;
    box-shadow: none !important;
    color: #0C2E47 !important;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.single_article_content .article-nav a::before {
    content: counter(article-nav) ".";
    color: #3A7DB4;
    font-weight: 600;
}

.single_article_content .article-nav a::after {
    content: "↗";
    color: #3A7DB4;
    font-size: 16px;
    line-height: 1;
}

.single_article_content .article-nav a:hover {
    border-color: #8DBCE3 !important;
    background: #EEF6FC;
    transform: translateY(-1px);
}

.single_article_content .article-read-time,
.single_meta .post-read-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 5px 14px;
    border: 1px solid #ACCFEF;
    border-radius: 999px;
    background: #FFFFFF;
    box-shadow: none;
    font-family: 'Manrope';
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    color: #3A7DB4;
}

.single_article_content .article-section-heading .article-read-time {
    margin: 0;
    transform: none;
}

.yk-related-section--single {
    order: 7;
    width: min(100%, 1100px);
    max-width: 1100px;
    margin: 72px auto 0;
    padding: 0 16px;
}

.yk-related-section--single .yk-related-header {
    margin-bottom: 26px;
}

.yk-related-section--single .yk-related-header h2 {
    margin: 0 0 12px;
    font-family: 'Noto Serif';
    font-weight: 300;
    font-size: clamp(34px, 3.5vw, 50px);
    line-height: 115%;
    color: #0C2E47;
}

.yk-related-section--single .yk-related-header p {
    max-width: 760px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: #1A4F78;
}

.yk-related-shell {
    position: relative;
}

.yk-related-section--single .yk-related-track {
    display: flex !important;
    gap: 24px;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory;
    padding: 4px 62px 24px;
    margin: 0 -62px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.yk-related-section--single .yk-related-track::-webkit-scrollbar {
    display: none;
}

.yk-related-section--single .yk-related-card {
    flex: 0 0 calc((100% - 24px) / 2) !important;
    min-width: calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2) !important;
    scroll-snap-align: center;
    border: 1px solid #D6EAF8 !important;
    border-radius: 18px !important;
    background: #FFFFFF !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

.yk-related-section--single .yk-related-link {
    display: grid !important;
    grid-template-columns: 180px 1fr;
    gap: 22px;
    height: 100%;
    padding: 18px;
    color: inherit !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.yk-related-section--single .yk-related-image,
.yk-related-section--single .yk-related-image img,
.yk-related-section--single .yk-related-placeholder {
    width: 180px !important;
    height: 150px !important;
    min-height: 150px !important;
    border-radius: 14px;
}

.yk-related-section--single .yk-related-image {
    overflow: hidden;
    background: #EEF6FC !important;
}

.yk-related-section--single .yk-related-image img {
    object-fit: cover !important;
}

.yk-related-section--single .yk-related-content {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
    padding: 0 !important;
    background: transparent !important;
}

.yk-related-title-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: start;
}

.yk-related-section--single .yk-related-content h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
    font-family: 'Noto Serif';
    font-weight: 300 !important;
    font-size: 24px !important;
    line-height: 1.22 !important;
    color: #0C2E47 !important;
}

.yk-related-link-icon {
    color: #3A7DB4;
    font-size: 20px;
    line-height: 1;
}

.yk-related-section--single .yk-related-content p {
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #1A4F78 !important;
}

.yk-related-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #ACCFEF;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #1A4F78;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 12px 30px rgba(12, 46, 71, 0.10);
}

.yk-related-arrow--prev {
    left: -23px;
}

.yk-related-arrow--next {
    right: -23px;
}

@media only screen and (max-width: 1024px) {
    .yk-related-section--single .yk-related-link {
        grid-template-columns: 150px 1fr;
    }

    .yk-related-section--single .yk-related-image,
    .yk-related-section--single .yk-related-image img,
    .yk-related-section--single .yk-related-placeholder {
        width: 150px !important;
        height: 132px !important;
        min-height: 132px !important;
    }
}

@media only screen and (max-width: 768px) {
    .single_article_content a {
        box-shadow: inset 0 -1px 0 rgba(58, 125, 180, 0.22);
    }

    .single_article_content .article-section-heading {
        display: block;
    }

    .single_article_content .article-section-heading--short h2 {
        display: block;
        width: 100%;
        border-radius: 20px;
        font-size: 16px;
        line-height: 1.35;
    }

    .single_article_content .article-section-heading .article-read-time {
        display: inline-flex;
        margin-top: 10px;
    }

    .single_article_content .article-nav {
        padding: 24px 18px;
    }

    .single_article_content .article-nav ol {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .single_article_content .article-nav a {
        min-height: 44px;
        padding: 9px 12px;
        font-size: 16px;
        line-height: 1.35;
    }

    .yk-related-section--single {
        margin-top: 48px;
        padding: 0 16px;
    }

    .yk-related-section--single .yk-related-header h2 {
        font-size: 32px;
    }

    .yk-related-section--single .yk-related-header p {
        font-size: 16px;
    }

    .yk-related-section--single .yk-related-track {
        gap: 16px;
        padding: 4px 0 18px;
        margin: 0;
    }

    .yk-related-section--single .yk-related-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }

    .yk-related-section--single .yk-related-link {
        display: block !important;
        padding: 14px;
    }

    .yk-related-section--single .yk-related-image,
    .yk-related-section--single .yk-related-image img,
    .yk-related-section--single .yk-related-placeholder {
        width: 100% !important;
        height: 170px !important;
        min-height: 170px !important;
        margin-bottom: 14px;
    }

    .yk-related-section--single .yk-related-content h3 {
        font-size: 22px !important;
    }

    .yk-related-arrow {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }

    .yk-related-arrow--prev {
        left: -10px;
    }

    .yk-related-arrow--next {
        right: -10px;
    }
}

/* Final article link override: keep editorial links calm, not browser-blue. */
.single_article_content :where(p, li, blockquote, td, figcaption) a,
.single_article_content :where(p, li, blockquote, td, figcaption) a:visited,
.single_article_content .article-section a,
.single_article_content .article-section a:visited {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
    background-image: none !important;
    box-shadow: none !important;
}

.single_article_content :where(p, li, blockquote, td, figcaption) a:hover,
.single_article_content .article-section a:hover {
    color: #1A4F78 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Final single-post cleanup: keep the article editable in WP, but normalize its visual layer. */
.single_article_content #related-articles,
.single_article_content .yk-related-section {
    display: none !important;
}

.single_article_content {
    font-size: 18px !important;
    line-height: 1.72 !important;
}

.single_article_content :where(p, li, blockquote, td, figcaption) {
    font-size: 18px !important;
    line-height: 1.72 !important;
}

.single_article_content h2 {
    font-size: clamp(32px, 2.8vw, 42px) !important;
    line-height: 1.18 !important;
}

.single_article_content h3 {
    font-size: clamp(24px, 1.9vw, 30px) !important;
    line-height: 1.24 !important;
}

.single_article_content a,
.single_article_content a:visited,
.single_article_content a:hover,
.single_article_content a:focus {
    color: inherit !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
    background-image: none !important;
    box-shadow: none !important;
}

.single_article_content :where(p, li) a:not([href*="#full-article"]):not([href*="#full-version"]) {
    font-weight: 600;
}

.single_article_content :where(p, li) a:not([href*="#full-article"]):not([href*="#full-version"])::after {
    content: "↗";
    display: inline-block;
    margin-left: 0.18em;
    font-size: 0.72em;
    line-height: 1;
    color: #3A7DB4;
    transform: translateY(-0.12em);
}

.single_article_content a[href*="#full-article"],
.single_article_content a[href*="#full-version"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 28px 0 8px;
    padding: 10px 24px;
    border: 1px solid #ACCFEF !important;
    border-radius: 999px;
    color: #0C2E47 !important;
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    background: #FFFFFF !important;
}

.single_article_content a[href*="#full-article"]::after,
.single_article_content a[href*="#full-version"]::after {
    content: "↓";
    margin-left: 10px;
    color: #3A7DB4;
    font-size: 18px;
    line-height: 1;
}

.single_article_content a[href*="#full-article"]:hover,
.single_article_content a[href*="#full-version"]:hover {
    border-color: #3A7DB4 !important;
    color: #1A4F78 !important;
}

@media only screen and (max-width: 768px) {
    .single_article_content {
        font-size: 16px !important;
        line-height: 1.68 !important;
    }

    .single_article_content :where(p, li, blockquote, td, figcaption) {
        font-size: 16px !important;
        line-height: 1.68 !important;
    }

    .single_article_content h2 {
        font-size: 28px !important;
        line-height: 1.16 !important;
    }

    .single_article_content h3 {
        font-size: 22px !important;
    }

    .single_article_content a[href*="#full-article"],
    .single_article_content a[href*="#full-version"] {
        width: 100%;
        margin-top: 22px;
    }
}

/* Hard guard for single posts: related materials must stay after the article. */
.single_block {
    display: block !important;
}

.single_content {
    display: flex !important;
    flex-direction: column !important;
}

.single_content > .single_article_content {
    order: 100 !important;
}

.single_content > .yk-related-section,
.single_content > .yk-related-section--single,
.single_content > #related-articles {
    order: 200 !important;
    align-self: center;
    width: min(100%, 1100px);
}

.single_block > .yk-related-section,
.single_block > .yk-related-section--single,
.single_block > #related-articles {
    display: block !important;
    clear: both !important;
    width: min(100%, 1100px) !important;
    max-width: 1100px !important;
    margin: 72px auto 0 !important;
}

@media only screen and (max-width: 768px) {
    .single_block > .yk-related-section,
    .single_block > .yk-related-section--single,
    .single_block > #related-articles {
        margin-top: 48px !important;
    }
}

/* Final related-posts visibility fix. */
.yk-related-section--single {
    position: relative !important;
    overflow: visible !important;
}

.yk-related-section--single .yk-related-shell {
    position: relative !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.yk-related-section--single .yk-related-track {
    display: flex !important;
    align-items: stretch !important;
    gap: 24px !important;
    min-height: 230px !important;
    height: auto !important;
    padding: 4px 62px 24px !important;
    margin: 0 -62px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.yk-related-section--single .yk-related-card {
    display: block !important;
    position: relative !important;
    flex: 0 0 calc((100% - 24px) / 2) !important;
    min-width: calc((100% - 24px) / 2) !important;
    max-width: calc((100% - 24px) / 2) !important;
    height: auto !important;
    min-height: 210px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none;
}

.yk-related-section--single .yk-related-link {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    align-items: start !important;
    height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.yk-related-section--single .yk-related-image,
.yk-related-section--single .yk-related-content,
.yk-related-section--single .yk-related-title-row,
.yk-related-section--single .yk-related-content h3,
.yk-related-section--single .yk-related-content p {
    opacity: 1 !important;
    visibility: visible !important;
}

.yk-related-section--single .yk-related-image {
    display: block !important;
    flex: none !important;
}

.yk-related-section--single .yk-related-image img {
    display: block !important;
}

.yk-related-section--single .yk-related-content {
    min-width: 0 !important;
}

@media only screen and (max-width: 768px) {
    .yk-related-section--single .yk-related-track {
        gap: 16px !important;
        min-height: 360px !important;
        padding: 4px 0 18px !important;
        margin: 0 !important;
    }

    .yk-related-section--single .yk-related-card {
        flex-basis: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: 340px !important;
    }

    .yk-related-section--single .yk-related-link {
        display: block !important;
    }
}

/* Final article polish: readable blocks, CTA, calm links and centered related arrows. */
.single_article_content .article-section-heading--full {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 56px 0 24px !important;
    padding: 14px 18px !important;
    border: 1px solid #D6EAF8 !important;
    border-radius: 18px !important;
    background: #EEF6FC !important;
}

.single_article_content .article-section-heading--full h2 {
    margin: 0 !important;
    font-family: 'Noto Serif' !important;
    font-weight: 300 !important;
    font-size: clamp(28px, 2.5vw, 40px) !important;
    line-height: 1.15 !important;
    color: #0C2E47 !important;
}

.single_article_content .article-section-heading--full .article-read-time {
    flex: none !important;
    background: #FFFFFF !important;
}

.single_article_content .article-nav a,
.single_article_content .article-nav a:visited,
.single_article_content .article-nav a:hover,
.single_article_content .article-nav a:focus {
    box-shadow: none !important;
    text-decoration: none !important;
    background-image: none !important;
    outline: none !important;
}

.single_article_content .article-nav a {
    border-bottom: 1px solid rgba(172, 207, 239, 0.82) !important;
}

.single_article_content .article-callout-note,
.single_article_content .article-callout-inline {
    display: block !important;
    margin: 28px 0 !important;
    padding: 24px 28px !important;
    border: 1px solid #D6EAF8 !important;
    border-left: 4px solid #3A7DB4 !important;
    border-radius: 18px !important;
    background: #EEF6FC !important;
    color: #0C2E47 !important;
    font-weight: 600 !important;
}

.single_article_content .consultation-cta p {
    max-width: 760px !important;
}

.single_article_content .article-contact-button,
.single_article_content .article-contact-button:visited,
.single_article_content .article-contact-button:hover,
.single_article_content .article-contact-button:focus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 56px !important;
    margin-top: 18px !important;
    padding: 14px 30px !important;
    border: 1px solid #3A7DB4 !important;
    border-radius: 999px !important;
    background: #3A7DB4 !important;
    color: #FFFFFF !important;
    font-family: 'Inter' !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.single_article_content .article-contact-button::after {
    content: "\2197" !important;
    margin-left: 10px !important;
    color: currentColor !important;
    font-size: 18px !important;
    line-height: 1 !important;
    transform: none !important;
}

.single_article_content .article-contact-button:hover {
    background: #1A4F78 !important;
    border-color: #1A4F78 !important;
}

.yk-related-section--single .yk-related-shell {
    padding-bottom: 56px !important;
}

.yk-related-section--single .yk-related-track {
    padding-bottom: 10px !important;
    scrollbar-width: none !important;
}

.yk-related-section--single .yk-related-track::-webkit-scrollbar {
    display: none !important;
}

.yk-related-section--single .yk-related-arrow {
    top: auto !important;
    bottom: 0 !important;
    left: 50% !important;
    right: auto !important;
    z-index: 3 !important;
    width: 38px !important;
    height: 38px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    color: #3A7DB4 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    transform: none !important;
    box-shadow: none !important;
}

.yk-related-section--single .yk-related-arrow::before {
    content: "" !important;
    display: block !important;
    width: 9px !important;
    height: 14px !important;
    margin: 0 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

.yk-related-section--single .yk-related-arrow--prev {
    transform: translateX(-46px) !important;
}

.yk-related-section--single .yk-related-arrow--next {
    transform: translateX(8px) !important;
}

.yk-related-section--single .yk-related-arrow--prev::before {
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='14' viewBox='0 0 9 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 1.5L1.5 7L7.5 12.5' stroke='%233A7DB4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.yk-related-section--single .yk-related-arrow--next::before {
    background-image: url("data:image/svg+xml,%3Csvg width='9' height='14' viewBox='0 0 9 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 1.5L7.5 7L1.5 12.5' stroke='%233A7DB4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

@media only screen and (max-width: 768px) {
    .single_article_content .article-section-heading--full {
        display: block !important;
        margin: 42px 0 20px !important;
        padding: 18px !important;
    }

    .single_article_content .article-section-heading--full .article-read-time {
        margin-top: 10px !important;
    }

    .single_article_content .article-callout-note,
    .single_article_content .article-callout-inline {
        padding: 18px !important;
    }

    .single_article_content .article-contact-button {
        width: 100% !important;
        font-size: 16px !important;
    }

    .yk-related-section--single .yk-related-shell {
        padding-bottom: 52px !important;
    }

    .yk-related-section--single .yk-related-arrow {
        width: 36px !important;
        height: 36px !important;
    }

    .yk-related-section--single .yk-related-arrow--prev {
        transform: translateX(-44px) !important;
    }

    .yk-related-section--single .yk-related-arrow--next {
        transform: translateX(8px) !important;
    }
}

/* Final override: article related cards and CTA polish. */
.single_article_content .consultation-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.single_article_content .article-contact-button,
.single_article_content .article-contact-button:visited,
.single_article_content .article-contact-button:hover,
.single_article_content .article-contact-button:focus {
    align-self: flex-start !important;
    margin-top: 18px !important;
    padding: 14px 30px !important;
    min-width: 0 !important;
    width: auto !important;
    border-radius: 999px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.single_article_content .article-contact-button::after {
    content: none !important;
    display: none !important;
}

.yk-related-section--single::before,
.yk-related-section--single::after,
.yk-related-section--single .yk-related-shell::before,
.yk-related-section--single .yk-related-shell::after,
.yk-related-section--single .yk-related-track::before,
.yk-related-section--single .yk-related-track::after {
    content: none !important;
    display: none !important;
}

.yk-related-section--single .yk-related-track {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-image: none !important;
    scrollbar-width: none !important;
    scrollbar-color: transparent transparent !important;
}

.yk-related-section--single .yk-related-track::-webkit-scrollbar,
.yk-related-section--single .yk-related-track::-webkit-scrollbar-track,
.yk-related-section--single .yk-related-track::-webkit-scrollbar-thumb {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

.yk-related-section--single .yk-related-title-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 22px !important;
    gap: 10px !important;
    align-items: start !important;
}

.yk-related-section--single .yk-related-content h3 {
    min-width: 0 !important;
    padding-right: 0 !important;
}

.yk-related-section--single .yk-related-link-icon {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin-top: 5px !important;
    flex: 0 0 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
    overflow: visible !important;
    text-shadow: none !important;
}

.yk-related-section--single .yk-related-link-icon::before {
    content: "\2197" !important;
    display: block !important;
    font-family: Arial, sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #3A7DB4 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.yk-related-section--single .yk-related-arrow {
    border: 1px solid #D6EAF8 !important;
    background: #FFFFFF !important;
    box-shadow: 0 10px 26px rgba(12, 46, 71, 0.08) !important;
}

@media only screen and (max-width: 768px) {
    .single_article_content .article-contact-button,
    .single_article_content .article-contact-button:visited,
    .single_article_content .article-contact-button:hover,
    .single_article_content .article-contact-button:focus {
        width: 100% !important;
        align-self: stretch !important;
        font-size: 16px !important;
    }

    .yk-related-section--single .yk-related-title-row {
        grid-template-columns: minmax(0, 1fr) 20px !important;
    }

    .yk-related-section--single .yk-related-link-icon {
        width: 20px !important;
        height: 20px !important;
        flex-basis: 20px !important;
        font-size: 0 !important;
    }

    .yk-related-section--single .yk-related-link-icon::before {
        font-size: 16px !important;
    }
}
/* Button close controls keep the same appearance in price and hero modals. */
.modal.price .modal-container > button.modal-exit,
.modal.hero .modal-container > button.modal-exit {
    padding: 0;
    border: 0;
    background: transparent;
    line-height: 0;
    cursor: pointer;
}

.modal.price .modal-container > button.modal-exit:focus-visible,
.modal.hero .modal-container > button.modal-exit:focus-visible {
    outline: 3px solid rgba(58, 125, 180, 0.42);
    outline-offset: 3px;
}
