.article {
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.4;
    color: #0b0b0b;
    display: flex;
    gap: 25px;
    padding-left: 25px;
    padding-right: 25px;
}

/* Table of contents */
.article__left {
    flex-basis: 300px;
    flex-grow: 1;
    position: relative;
}

.article__left-sticky {
    position: sticky;
    top: 100px;
    z-index: 1000;
}

/* */

.article__wrapper {
    flex-basis: 740px;
    flex-grow: 1;
    border-radius: 30px;
    background: #FFF;
    margin: auto;
    padding: 1px 1px 30px 1px;
    overflow: hidden;
}

.article p strong,
.article ul strong,
.article ol strong{
    font-weight: 700;
    font-size: 17px;
}

.article ol li:not(:last-child) {
    margin-bottom: 10px;
}


.article .wp-block-heading strong {
    color: #202029;
    font-weight: 700;
}

.article__content a {
    color: #FF5A46;
}



.article em {
    font-weight: 700;
    font-style: normal;
}

.article p:not(:last-child),
.article ul:not(:last-child),
.article ol:not(:last-child){
    margin-bottom: 15px;
}

.article p {
    font-weight: 400;
    font-size: 17px;
    line-height: 1.4;
    color: #0b0b0b;
}

.article p:last-child,
.article ul:last-child,
.article ol:last-child {
    margin-bottom: 0;
}

.article__image-wrapper {
    background: #FFF;
    margin: auto;
    display: flex;
    overflow: hidden;
}

.article__image {
    object-fit: cover;
    max-height: 416px;
    width: 100%;
    border-radius: 30px;
}


.article__inner-wrapper {
    padding: 30px 29px 0 29px;
}


.article__author {
    display: flex;
    gap: 15px;
    align-items: center;
}

.article__author-short-info {
    display: flex;
    flex-direction: column;
}

.article__author-company {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #888b90;
}

.article__author-photo-wrapper {
    display: flex;
    flex-basis: 56px;
}
.article__author-photo {
    border-radius: 7px;
    object-fit: cover;
}

.article__author-name {
    font-weight: 600;
    color: #0b0b0b;
}

.article__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.article__post-details {
    display: flex;
    gap: 15px;
}

.article__post-details * {
    font-size: 12px;
    color: #393939;
}

.article__post-date,
.article__reading-time {
    display: flex;
    align-items: center;
}

.article__reading-time {
    gap: 3px;
}

.article__post-date::after,
.article__reading-time::after {
    content: '';
    border-radius: 30px;
    display: block;
    width: 4px;
    height: 4px;
    background: #393939;
    margin-left: 15px;
}

.article__main-heading {
    font-weight: 700;
    color: #202029;
    margin-top: 20px;
}

.article__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.article__category {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    color: #202029;
    background: #F4F6F8;
    border-radius: 10px;
    padding: 8px 16px;
}



/* Article body */

body:has(.article),
body:has(.article) .footer__socials{
    background: #F5F5F5;
}

body:has(.article) .footer__socials svg path {
    fill: #F5F5F5;
}

.article .wp-block-image {
    margin: 25px 0;
}

.article .article-image-margin-2 {
    margin: 25px 0 40px 0;
}

.article .article-image-margin-3 {
    margin: 40px 0;
}

.article .wp-block-separator {
    background: #DEE3ED;
    height: 2px;
    border: none;
    margin: 40px 0;
    border-radius: 10px;
}

.article .wp-block-heading {
    color: #202029;
    position: relative;
    font-weight: 500;
    line-height: 1.4;
}


.article h1.wp-block-heading,
.article .article__main-heading{
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.article h2.wp-block-heading,
.article h2 {
    line-height: 1.2;
    font-size: 32px;
    font-weight: 700;
    color: #0b0b0b;
}
.article h3.wp-block-heading,
.article h3,
.article .h3 {
    line-height: 1.2;
    font-size: 26px;
    color: #0b0b0b;
    font-weight: 700;

}
.article h4.wp-block-heading,
.article h4 {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -0.04em;

}
.article h5.wp-block-heading,
.article h5,
.article .h5{
    font-size: 19px;
    line-height: 1.2;
    color: #393939;
    font-weight: 600;
}
.article h6.wp-block-heading,
.article h6 {
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.04em;
}

.article .wp-block-heading:not(:last-child) {
    margin-bottom: 15px;
}

.article ul,
.article ol {
    padding-left: 23px;
}

.wp-block-cover__background {
    background-color: #DEE3ED!important;
}

.wp-block-cover,
.wp-block-quote {
    height: fit-content;
    min-height: 0;
    padding: 20px;
    border-radius: 10px;
    margin: 40px 0;
}

.single-case__wrapper > .wp-block-cover {
    margin-top: 0;
}

.wp-block-quote {
    margin: 0 0 40px 0;
}

.article__hashtags {
    margin-top: 40px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.article__hashtag-item {
    border-radius: 10px;
    padding: 8px 16px;
    background: #f4f6f8;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.6;
}
/* Article body */

/* Right bar about author */

.article__author-bio-top {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.article__author-bio-image-wrapper {
    display: flex;
    flex-basis: 50px;
    flex-shrink: 0;
}

.article__author-bio-image {
    object-fit: cover;
    border-radius: 7px;
}

.article__author-bio-name {
    line-height: 1.4;
    font-weight: 600;
    color: #202029;
}

.article__right {
    flex-basis: 300px;
    flex-grow: 1;
}

.article__author-bio {
    border-radius: 20px;
    background: #FFF;
    padding: 20px;
    height: fit-content;
}

.article__author-bio-btn {
    padding-top: 9px;
    padding-bottom: 9px;
    margin-bottom: 20px;
    width: 100%;
}

.article__author-bio-text {
    margin-bottom: 8px!important;
    font-size: 16px;
    color: #111722;
}

.article__home-page-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #1c73f0;
}

/* Right bar about author */


/* Article banner */

.article__banner {
    top: 7%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 405px;
    border-radius: 14px;
    background: #ffce3a;
    position: relative;
    padding: 20px;
}

.article a.article__banner:hover  {
    text-decoration: none;
}

.article__banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    z-index: 1;
}

.article__banner-heading,
.article__banner-btn,
.article__banner-hashtag {
    position: relative;
    z-index: 2;
}

.article__banner-hashtag {
    font-weight: 400;
    font-size: 13px;
    line-height: 1.11;
    border-radius: 30px;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 11px;
    letter-spacing: -0.02em;
    color: #FF5A46;
    border: 1px solid #FF5A46;
}

.article__banner-heading {
    font-weight: 700;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    max-width: 232px;
}

.article__banner-btn {
    padding-top: 6px;
    padding-bottom: 7px;
    max-width: 179px;
}

.article table {
    margin: 0;
}

.article .wp-block-list {
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}

.article .wp-block-list:not(:last-child) {
    margin-bottom: 30px;
}


.article ol.wp-block-list {
    counter-reset: my-counter;
    list-style: none;
}

.article ol.wp-block-list li {
    counter-increment: my-counter;
}

.article ol.wp-block-list li::before {
    content: counter(my-counter);
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #202029;
    font-size: 17px;
    text-align: center;
    color: #e8edf5;
    font-weight: 500;
    line-height: 0;
}

.article .wp-block-list li {
    padding-left: 35px;
    position: relative;
}

.article ol.wp-block-list li {
    padding-left: 39px;
}


.article .wp-block-list li:not(:last-child) {
    margin-bottom: 15px;
}

.article ul.wp-block-list li::before {
    content: "";
    display: flex;
    position: absolute;
    left: 0;
    top: 1px;
    width: 23px;
    height: 23px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none"><g clip-path="url(%23clip0_9027_497)"><path d="M12.998 -0.0117188C5.8577 -0.0117188 -0.00195312 5.84793 -0.00195312 12.9883C-0.00195312 20.1286 5.8577 25.9883 12.998 25.9883C20.1384 25.9883 25.998 20.1286 25.998 12.9883C25.998 5.84793 20.1384 -0.0117188 12.998 -0.0117188ZM11.4248 18.9013L5.73196 13.2085L7.8862 11.0542L11.5245 14.6925L18.8285 8.05275L20.8786 10.3067L11.4248 18.9013Z" fill="%23202029"/></g><defs><clipPath id="clip0_9027_497"><rect width="26" height="26" fill="white"/></clipPath></defs></svg>') no-repeat center / contain;
}


/* FAQ BLOCK*/

.article .faq-block__container {
    padding: 0;
}
.article .faq-block__wrapper {
    padding: 20px;
    border-radius: 20px;
}

.article .faq-block__acc-wrapper {
    flex-direction: column;
}

.article .faq-block__heading {
    margin-bottom: 15px;
}

.article .faq-block__item-wrapper {
    padding: 20px;
}
@media screen and (max-width: 1199.98px) {
    .article__banner-btn {
        font-size: 14px;
        max-width: 150px;
    }

    .article__banner {
        padding: 10px;
    }

    .article__author-bio-btn {
        font-size: 15px;
    }

}
/* Article banner */

@media screen and (max-width: 1023.98px) {
    .article__inner-wrapper {
        padding: 24px 15px 30px 15px;
    }


    .article__categories {
        margin-top: 14px;
        margin-bottom: 20px;
    }

    .article .faq-block__item-wrapper {
        padding: 15px;
    }

    .article .wp-block-table {
        max-width: calc(100vw - 50px);
        overflow-x: auto;
    }

    .article .wp-block-table table {
        min-width: 500px;
    }


    .article__left-sticky {
        top: 103px;
        margin-bottom: 20px;
        width: 100%;
    }

    .article__table-of-contents {
        border: 1px solid #dedcff;
        transition: all 0.3s ease-out;
    }

    body:has(.fixed-header) .article__table-of-contents {
        border: 1px solid #dedcff;
    }

    .article {
        gap: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .article__banner {
        display: none;
    }

    .article__author-bio {
        padding: 30px 20px;
    }

    .article__right {
        margin-top: 30px;
        margin-bottom: 30px;
        width: 100%;
    }

    .article__author-bio-btn {
        max-width: 100%;
    }

    .article__author-bio-text {
        font-size: 14px;
    }

    .article__left,
    .article__right,
    .article__wrapper {
        flex-basis: 100%;
    }

    .article__left {
        width: 100%;
    }

    .article__wrapper {
        padding: 1px 1px 0 1px;
        max-width: 100%;
        border-radius: 20px;
    }

    .article__image-wrapper {
        max-width: 100%;
        border-radius: 20px;
    }

    .article {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .article__post-details {
        flex-wrap: wrap;
        row-gap: 0;
        column-gap: 8.5px;
    }

    .article__author-name {
        font-size: 16px;
    }

    .article ul.wp-block-list li {
        padding-left: 30px;
    }

    .article ol.wp-block-list li {
        padding-left: 34px;
    }

    .article ul.wp-block-list li:not(:last-child) {
        margin-bottom: 10px;
    }

    .article ul.wp-block-list li::before {
        width: 21px;
        height: 21px;
    }

    .article ol.wp-block-list li::before {
        width: 25px;
        height: 25px;
        font-size: 15px;
    }

    .article h2.wp-block-heading,
    .article h2 {
        font-size: 28px;
    }

    .article h3.wp-block-heading,
    .article h3,
    .article .h3 {
        font-size: 24px;
    }

    .article {
        margin: 0 20px;
    }
}

@media screen and (max-width: 599.98px) {
    .article__author-photo-wrapper {
        flex-basis: 52px;
        flex-shrink: 0;
    }

    .article__left-sticky {
        top: 78px;
    }


    .article__author-info {
        gap: 4px;
    }

    .article__author-info {
        flex-basis: 264px;
        flex-grow: 1;
    }

    .article__author-photo {
        max-height: 52px;
    }

    .article__author {
        gap: 10px;
    }

    .article h2.wp-block-heading,
    .article h2 {
        font-size: 24px;
    }

    .article h3.wp-block-heading,
    .article h3,
    .article .h3 {
        font-size: 22px;
    }

    .article h5.wp-block-heading,
    .article h5,
    .article .h5{
        font-size: 18px;
    }

    .article p {
        font-size: 16px;
    }

    .article__category {
        font-size: 12px;
    }
}