.blog-article-page {
    main {
        padding: 60px 0 70px;
    }

    .blog-article {
        position: relative;
        z-index: 3;
        width: 100%;
        display: flex;
        flex-direction: column;

        @media only screen and (min-width: 992px) {
            padding-left: 340px;
        }

        @media only screen and (min-width: 1024px) {
            padding-left: 408px;
        }
    }

    .blog-article__breadcrumb {
        position: relative;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 4px 8px;

        .blog-article__breadcrumb-el {
            position: relative;
            font-size: 15px;
            line-height: 1.3;
            
            &:not(.active) {
                color: var(--color-gray-text);
            }

            &.active {
                color: var(--color-black);
                pointer-events: none;
                font-weight: 700;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        }

        @media only screen and (min-width: 992px) {
            max-width: 590px;
        }
    }

    .blog-article__content {
        width: 100%;

        @media only screen and (min-width: 992px) {
            max-width: 590px;
        }

        h1 {
            font-size: 32px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 16px;
        }

        h2:not(.action-banner__title) {
            font-size: 22px;
            font-weight: 700;
            line-height: 1.3;
            margin-bottom: 16px;
        }

        p {
            font-size: 15px;
            line-height: 1.3;

            &:not(:last-of-type) {
                margin-bottom: 12px;
            }
        }

        ul {
            li {
                font-size: 15px;
                line-height: 1.3;

                &:not(:last-of-type) {
                    margin-bottom: 12px;
                }

                p {
                    margin: 0;
                }
            }
        }
    }

    .blog-article__header,
    .block-article__section {
        width: 100%;
        margin-bottom: 28px;
    }

    .block-article__section {
        padding-top: 20px;

        &:last-of-type {
            margin-bottom: 0;
        }

        @media only screen and (max-width: 767px) {
            &[id] {
                scroll-margin-top: var(--header-height);
            }
        }
    }

    .blog-article__toc {
        .blog-article__toc-title {
            font-weight: 700;
            line-height: 1.3;
        }

        .blog-article__toc-list {
            display: flex;
            flex-direction: column;

            a {
                font-size: 15px;
                line-height: 1.3;
                border-bottom: 1px dotted var(--color-black);
                transition: color 0.3s ease, border-color 0.3s ease;

                &.active {
                    color: var(--color-red);
                    border-color: var(--color-red);
                    pointer-events: none;
                }

                @media (hover: hover) {
                    cursor: pointer;

                    &:hover {
                        color: var(--color-gray-text);;
                        border-color: var(--color-gray-text);;
                    }
                }
            }
        }

        @media only screen and (min-width: 992px) {
            position: absolute;
            top: 0;
            left: 0;
            width: 320px;
            border-radius: 8px;
            border: 1px solid rgba(24, 30, 35, 0.10);
            background-color: rgba(24, 30, 35, 0.04);
            padding: 16px;

            .blog-article__toc-title {
                margin-bottom: 16px;
                font-size: 15px;
            }

            .blog-article__toc-list {
                gap: 20px;
            }
        }

        @media only screen and (min-width: 1024px) {
            width: 388px;
        }

        @media only screen and (max-width: 991px) {
            width: 388px;
            margin: 20px 0 28px;

            .blog-article__toc-list {
                gap: 12px;
            }
        }
    }

    .blog-article__img {
        position: relative;
        width: 100%;
        height: auto;
        padding-bottom: 50%;
        margin-top: 16px;
        border-radius: 8px;
        pointer-events: none;
        overflow: hidden;
        background-color: var(--color-black);

        &.blog-article__img--main {
            margin-bottom: 48px;
        }

        & img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            transform: scale(1.01);
            transition: opacity 0.2s ease;
        }

        & img[data-src] {
            opacity: 0;
        }
    }

    .blog-article__btn {
        margin-top: 12px;
        color: var(--color-red);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.3;
        display: inline-block;

        .blog-article__btn-arrow {
            transition: transform 0.3s ease;
            display: inline-block;
        }

        @media (hover: hover) {
            cursor: pointer;

            &:hover .blog-article__btn-arrow {
                transform: translateX(8px);
            }
        }
    }

    .blog-article__text-link {
        color: var(--color-red);
        font-weight: 700;
        border-bottom: 1px dotted currentColor;
        transition: color .3s ease;

        @media (hover: hover) {
            cursor: pointer;

            &:hover {
                color: var(--color-gray-text);
            }
        }
    }

    .blog-article__table {
        width: 100%;
        height: auto;
        border-radius: 8px;
        border: 1px solid #DBDADB;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        margin: 16px 0;

        table {
            position: relative;
            width: max-content;
            min-width: calc(100% + 2px);
            margin: -1px;

            tbody, td, tfoot, th, thead, tr {
                border-color: #DBDADB;
                border-style: solid;
                border-width: 1px;
            }

            td, th {
                padding: 12px;
                font-size: 15px;
                line-height: 1.3;
                min-width: 150px;
            }
        }
    }

    .blog-article__date {
        color: var(--color-gray-text);
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .faq {
        .faq__container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 30px;
        }

        .faq__item {
            border-radius: 8px;
            border: 1px solid rgba(24, 30, 35, .10);
            background: rgba(24, 30, 35, 0.04);
            transition: background ease .3s;
            
            @media (hover: hover) {
                cursor: pointer;

                &:hover {
                    background: radial-gradient(circle at 80% 0%,
                            rgba(210, 100, 80, 0.2) 0%,
                            rgba(24, 30, 35, 0.04) 30%,
                            rgba(24, 30, 35, 0.04) 100%);

                    .faq__question::after {
                        background: url("/images/icon_arrow-down-orange.svg") no-repeat center;
                        background-size: cover;
                    }
                }
            }
        }

        .faq__question {
            position: relative;
            display: block;
            padding: 12px 58px 12px 16px;
            transition: all 0.3s ease;
            cursor: pointer;

            h3 {
                margin: 0;
                font-size: 15px;
                font-weight: 600;
                line-height: 1.3;
            }

            &::-webkit-details-marker {
                display: none;
            }

            &::after {
                content: '';
                position: absolute;
                top: 16px;
                right: 14px;
                width: 16px;
                height: 10px;
                background: url("/images/icon_arrow-down.svg") no-repeat center;
                background-size: cover;
                transition: transform 0.3s ease;
            }
        }

        .faq__item[open] .faq__question::after {
            transform: rotate(180deg);
        }

        .faq__answer {
            padding: 0 56px 22px 16px;
            font-size: 15px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }
    }

    .other-articles-section {
        margin-top: 28px;

        h2 {
            margin-bottom: 16px;
            font-size: 22px;
            font-weight: 700;
            line-height: 1.3;
        }
    }

    .other-articles {
        position: relative;
        z-index: 1;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;

        @media only screen and (max-width: 991px) {
            grid-template-columns: repeat(2, 1fr);
        }

        @media only screen and (max-width: 575px) {
            grid-template-columns: 1fr;
        }
    }
}

.blog-article-page,
.blog-page {
    .free-trial {
        margin-top: 28px;

        .wrapper {
            padding: 0 !important;
        }

        .action-banner {
            display: flex;
            width: 800px;
            max-width: 100%;
            margin: 0 auto;
            border-radius: var(--block-border-radius);
            overflow: hidden;
            background: var(--Linear, linear-gradient(180deg, #E16449 0%, #BE2C19 100%));
            box-shadow: 0 10px 20px 0 rgba(208, 48, 27, 0.15);
        }

        .action-banner__container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
            width: 100%;
            padding: 16px 24px 19px;
            background-image: url("/images/landing/action-banner-bg-article.png");
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
        }

        .action-banner__content {
            display: flex;
            flex-direction: column;
            gap: 8px;
            flex-shrink: 0;
            color: var(--color-white);
        }

        .action-banner__title {
            font-size: 22px;
            font-weight: 700;
            line-height: 1.3;
        }

        .action-banner__subtitle {
            font-size: 15px;
            line-height: 1.3;
        }

        .action-banner__button {
            display: flex;
            align-items: center;
            padding: 10px 16px;
            font-size: 15px;
            gap: 6px;
        }

        @media screen and (max-width: 767px) {
            .action-banner {
                border-radius: 8px;
            }

            .action-banner__container {
                flex-direction: column;
                align-items: center;
                gap: 110px;
                text-align: center;
                padding: 20px;
                background-image: url("/images/landing/action-banner-bg-mobile-article.png");
            }

            .action-banner__title {
                text-align: center;
            }

            .action-banner__button {
                
            }
        }
    }
}
