*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    font-family: Montserrat;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}

body {
    margin: 0;
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.011em;
    text-align: left;
    background-color: #fff;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

h1.header-title {
    text-align: center;
    margin: 0 0 25px 0;
    font-weight: 800;
    font-size: 38px;
    line-height: 61px;
    letter-spacing: -0.022em;
}


h1, .h1 {
    font-weight: 800;
    font-size: 30px;
    /* line-height: 1.5; */
    font-family: Montserrat;
    /* letter-spacing: -0.022em; */
}

h2, .h2 {
    font-weight: 800;
    font-size: 26px;
    /* line-height: 61px; */
    font-family: Montserrat;
    margin-bottom: 0.25em;
    /* letter-spacing: -0.022em; */
}

h3, .h3 {
    font-weight: 800;
    font-size: 22px;
    font-family: Montserrat;
    /* line-height: 49px; */
    /* letter-spacing: -0.022em; */
}

h4, .h4 {
    font-weight: 800;
    font-size: 18px;
    /* line-height: 41px; */
    font-family: Montserrat;
    /* letter-spacing: -0.021em; */
}

h5, .h5 {
    font-weight: 800;
    font-size: 17px;
    /* line-height: 1.5; */
    font-family: Montserrat;
    /* letter-spacing: -0.02em; */
}

h6, .h6 {
    font-weight: 800;
    font-size: 16px;
    /* line-height: 1.5; */
    font-family: Montserrat;
    /* letter-spacing: -0.017em; */
}


a {
    text-decoration: none;
    background-color: transparent;
    cursor: pointer !important;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* ===== Footer — final, fast & INP-safe ===== */

.footer {
    width: 100%;
    max-width: 1140px;
    margin: 10px auto 0;
    --color-primary: #555555;
    /* звичайний/відвіданий */
    --color-hover: #cc2f2a;
    /* hover/active */

    /* Рендер нижче фолду: дає зиск до появи у вʼюпорті */
    content-visibility: auto;
    contain-intrinsic-size: 700px;
    /* піджени під реальну середню висоту */

    /* стабільні розрахунки всередині футера */
    /* (обмежено скоупом .footer, не глобально) */
}

.footer *,
.footer *::before,
.footer *::after {
    box-sizing: border-box;
}

/* Сітка */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.footer-column {
    padding: 10px;

    /* передбачувана ширина + захист від «стиснення в смужки» */
    flex: 1 1 16.25%;
    min-width: 180px;
}

.footer-column:first-child,
.footer-column:last-child {
    flex-basis: 30%;
    min-width: 220px;
}

/* Заголовки секцій */
.footer .headline {
    font-size: 14px;
    color: #202226;
    margin-bottom: 20px;
    line-height: 1;
    font-weight: 700;
}

/* Списки */
.footer .knowledge-base {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flow-root;
}

.footer .knowledge-base li {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 400;
}

/* Посилання в межах футера */
.footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 400;
    /* фіксовано — без рефлоу */
    text-underline-offset: 2px;
    text-decoration-thickness: from-font;
}

/* hover тільки для миші — дешевше для інпутів */
@media (hover:hover) and (pointer:fine) {
    .footer a:hover {
        color: var(--color-hover);
        text-decoration: underline;
    }
}

.footer a:focus-visible {
    outline: 2px dashed currentColor;
    outline-offset: 3px;
}

.footer a:active {
    color: var(--color-hover);
    transform: translateY(1px);
    /* мінімальний фідбек без layout-змін */
}

/* Лого/зображення — без height:100% */
.footer .logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer .logo img {
    width: 40%;
    max-width: 100%;
    height: auto;
    display: block;
}

.footer .clutch-review {
    margin-bottom: 20px;
}

.footer .clutch-review a {
    display: inline-block;
    height: 100%;
}

.footer .clutch-review img {
    width: 160px;
    /* або лиши 40%, але завжди height:auto */
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Контакти / консультації */
.footer .contact-info {
    display: flow-root;
}

.footer .contact-info p,
.footer .contact-info__phone a {
    color: var(--color-primary);
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 400;
}

.footer .consultation-links {
    margin-bottom: 20px;
}

.footer .consultation-links a {
    display: flex;
    gap: 5px;
    font-size: 14px;
}

/* Соцмережі */
.footer .social-links {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    padding: 20px 0 10px 0;
}

.footer .social-links a {
    inline-size: 40px;
    block-size: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    transition: background-color .15s, transform .1s;
    will-change: transform;
}

@media (hover:hover) and (pointer:fine) {
    .footer .social-links a:hover {
        transform: translateY(-1px);
    }
}

.footer .social-links a svg {
    inline-size: 20px;
    block-size: 20px;
    fill: #A8A8A8;
}

/* Сертифікати */
.footer .certifications {
    display: flex;
    flex-wrap: wrap;
}

.footer .cert-badge {
    width: 25%;
    height: auto;
}

.footer .cert-badge a {
    display: inline-block;
    height: 100%;
}

.footer .cert-badge img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Розділювач / низ футера */
.footer .footer-devider {
    padding: 25px 10px;
}

.footer .footer-devider span {
    display: block;
    border-block-start: 1px solid #D9D9D9;
    width: 100%;
}

.footer .footer-devider-line {
    padding: 15px 0;
}

.footer .ml-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer .ml-footer-bottom>div {
    padding: 10px;
}

.footer .copyright {
    color: var(--color-primary);
    font-size: 14px;
    width: 50%;
}

.footer .copyright p {
    margin-bottom: 16px;
}

.footer .language-selector {
    display: flex;
    height: 46px;
}

.footer .language-selector ul {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

.footer .language-selector li {
    list-style: none;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.footer .language-selector a {
    font-size: 14px;
    padding: 13px 20px;
    border-radius: 4px;
    transition: background-color .15s, color .15s;
}

.footer .language-selector a.active {
    background: #e0e0e0;
    color: var(--color-hover);
}

/* Політики */
.footer .footer-policies {
    width: 50%;
}

.footer .footer-policies p {
    margin-bottom: 16px;
    font-size: 14px;
}

/* Мобільний */
@media (max-width:1024px) {

    .footer .footer-content,
    .footer .ml-footer-bottom {
        flex-direction: column;
        padding: 0 10px;
    }

    .footer-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    .footer .clutch-review a {
        width: 100%;
    }

    .footer .language-selector {
        height: 50px;
    }

    .footer .footer-policies,
    .footer .copyright {
        width: 100%;
    }
}

/* На випадок чужих глобальних правил */
footer b a,
.footer b a {
    font-weight: 400;
}



.meta-icon img {
    width: 14px;
    height: 14px;
    margin-right: 6px;
}


/* ===== Bootstrap (chỉ các class đang dùng trong theme) ===== */

/* Container */
.container,
.container-xl {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .container-xl {
        max-width: 1199px;
    }
}

/* Grid: row + col */
.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-8,
.col-lg-4 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 1200px) {
    .col-lg {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-lg-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-lg-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Utilities đang dùng */
.flex-grow-1 {
    -ms-flex-positive: 1 !important;
    flex-grow: 1 !important;
}

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

.mb-0,
.my-0 {
    margin-bottom: 0 !important;
}

.mr-auto,
.mx-auto {
    margin-right: auto !important;
}

.ml-auto,
.mx-auto {
    margin-left: auto !important;
}

.pb-45,
.py-45 {
    padding-bottom: 2rem !important;
}

@media (min-width: 1200px) {

    .pb-lg-0,
    .py-lg-0 {
        padding-bottom: 0 !important;
    }
}

.widget_block:last-child {
    position: sticky;
    top: 70px;
    /* Відступ від верхнього краю */
    z-index: 10;
    /* Гарантує накладання над іншими елементами */
}


#header-wave * {
    fill: transparent;
}

@media (max-width: 1199px) {
    #header-wave {
        height: 20px;
    }

    :root #main-header {
        margin-bottom: 32px;
    }
}

@media (min-width: 1200px) {
    #header-wave {
        height: 45px;
    }

    :root #main-header {
        padding-top: 50px;
        margin-bottom: 50px;
    }
}

pre {
    white-space: pre-wrap !important;
}

.ml-author-page {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 30px;
    /* gap: 30px; */
    /*margin-left: 5%;*/
    /*margin-right: 5%;*/
}

.ml-author-left-section {
    width: 370px;
    /*flex:2;*/
    /* background: #F2F2F2; */
    padding-left: 30px;
    padding-right: 30px;
    /* padding-top: 60px; */
    /* padding-top: 30px; */

}


.ml-author-left-section h3 {
    margin-bottom: 5px;
    ;
}

.ml-author-right-section {
    /*width: 70%;*/
    flex: 5;
    /* padding-left: 30px;
    padding-right: 30px;
    padding-top: 60px; */
}


.ml_author_first {
    /* font-family: 'Noto Sans',Arial,sans-serif;
    font-size: 18px; */
    display: flex;
    gap: 30px;
    margin-bottom: 15px;

}

.ml_author_first_image {
    /*width: 300px;*/

}

.ml_author_first_image-img {
    width: 100%;
    border-radius: 50%;
}

.ml_author_first_image_team {
    margin: 0 auto;
    text-align: center;
    color: #414A55;
    margin-top: 15px;
}

.ml_author_first_about {
    padding-left: 30px;
    padding-right: 30px;
}

.ml-author-left-section p {
    margin-bottom: 5px;
}


@media (max-width: 920px) {
    .ml-author-left-section {
        width: 100%;
    }

    .ml_author_first_image {
        width: 300px;
    }

    .ml_author_first_image {
        width: 300px;
        margin: 0 auto;
    }
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}


.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {

    .container,
    .container-sm {
        max-width: 540px;
    }
}

@media (min-width: 768px) {

    .container,
    .container-sm,
    .container-md {
        max-width: 720px;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 1199px;
    }
}

/* Touch targets — TOC links (wp-block-list nested anchors) */
.wp-block-list li a {
    display: inline-block;
    min-height: 24px;
    padding-block: 4px;
}