.blog-page {
    --right-column-width: 430px;
    --columns-gap: 80px;
}

@media (max-width: 1599px) {
    .blog-page {
        --right-column-width: 350px;
        --columns-gap: 64px;
    }
}

@media (max-width: 1200px) {
    .blog-page {
        --right-column-width: unset;
        --columns-gap: 30px;
    }
}

.blog-grid-one-column {
    margin-bottom: 40px;
}

@media (max-width: 1599px) {
    .blog-grid-one-column {
        margin-bottom: 32px;
    }
}

.blog-grid-one-column:last-child {
    margin-bottom: 0;
}

.blog-grid-two-column {
    display: flex;
    gap: var(--columns-gap);;
    margin-bottom: 40px;
}

@media (max-width: 1599px) {
    .blog-grid-two-column {
        margin-bottom: 32px;
    }
}

.blog-grid-two-column:last-child {
    margin-bottom: 0;
}

.blog-grid-two-column-right {
    width: var(--right-column-width);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.blog-grid-two-column-right-top-form {
    height: max-content;
}

.blog-grid-two-column-right-bottom-form {
    margin-bottom: 0;
    margin-top: auto;
}


@media (max-width: 1200px) {
    .blog-grid-two-column {
        flex-direction: column;
    }

    .blog-grid-two-column-right-bottom-form {
        width: 100%;
    }
}

.blog-title {
    color: #010203;
    position: relative;
    z-index: 10;
}

h2.blog-title {
    font-family: 'PTRootUIVFBold';
    font-weight: 700;
    font-size: 38px;
    line-height: 42px;
    margin-top: 64px;
    margin-bottom: 32px;
}

h3.blog-title {
    font-family: 'PTRootUIVFBold';
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    margin-top: 64px;
    margin-bottom: 32px;
}

h4.blog-title {
    font-family: 'PTRootUIVFBold';
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    margin-top: 64px;
    margin-bottom: 32px;
}

h5.blog-title {
    font-family: 'PTRootUIVFBold';
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    margin-top: 48px;
    margin-bottom: 16px;
}

@media (max-width: 1599px) {
    h2.blog-title {
        font-size: 34px;
        line-height: 38px;
    }

    h3.blog-title {
        font-size: 24px;
        line-height: 30px;
    }

    h4.blog-title {
        font-size: 24px;
        line-height: 30px;
    }

    h5.blog-title {
        font-size: 20px;
        line-height: 20px;
    }
}

@media (max-width: 560px) {
    h2.blog-title {
        font-size: 26px;
        line-height: 30px;
    }

    h3.blog-title {
        font-size: 18px;
        line-height: 24px;
    }

    h4.blog-title {
        font-size: 16px;
        line-height: 22px;
    }

    h5.blog-title {
        font-size: 14px;
        line-height: 14px;
    }
}

.blog-text {
    font-family: 'Montserrat';
    font-weight: 500;
    color: #292929;
    position: relative;
    z-index: 10;
}

.blog-text-size-18px {
    font-size: 18px;
    line-height: 28px;
}

.blog-text-size-28px {
    font-size: 28px;
    line-height: 38px;
}

.blog-text a {
    color: #292929;
}

.blog-text ul {
    margin: 0;
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.blog-text ul li {
    font-size: 18px;
    line-height: 28px;
    padding-left: 28px;
    border-left: 2px solid #784af5;
}

.blog-text ul li.blog-text-list-item-paddings {
    padding-top: 12px;
    padding-bottom: 12px;
}

.blog-text ol {
    margin: 0;
    list-style: none;
    padding-left: 0;
    counter-reset: item;
}

.blog-text ol li {
    padding: 20px 0 20px 50px;
    font-size: 18px;
    line-height: 28px;
    border-top: 2px solid #d9dbdf;
    position: relative;
}

.blog-text ol li:before {
    content: counter(item);
    counter-increment: item;
    color: #784af5;
    font-size: 24px;
    line-height: 24px;
    font-weight: 500;
    position: absolute;
    left: 0;
    top: 18px;
}

.blog-text ol li:after {
    content: '';
    position: absolute;
    border-top: 2px solid #784af5;
    width: 32px;
    left: 0;
    top: -2px;
}

@media (max-width: 1599px) {
    .blog-text-size-18px {
        font-size: 16px;
        line-height: 26px;
    }

    .blog-text-size-28px {
        font-size: 22px;
        line-height: 32px;
    }

    .blog-text ul li {
        font-size: 16px;
        line-height: 24px;
        padding-left: 24px;
    }

    .blog-text ul li.blog-text-list-item-paddings {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .blog-text ol li {
        padding: 16px 0 16px 40px;
        font-size: 16px;
        line-height: 24px;
    }

    .blog-text ol li:before {
        margin-right: 24px;
        font-size: 20px;
        line-height: 20px;
    }

    .blog-text ol li:after {
        width: 26px;
    }
}

@media (max-width: 560px) {
    .blog-text ul li {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 14px;
        line-height: 22px;
        padding-left: 26px;
    }

    .blog-text ol li {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 14px;
        line-height: 22px;
    }

    .blog-text ol li:before {
        margin-right: 26px;
        font-size: 18px;
        line-height: 18px;
        top: 16px;
    }
}

.blog-quote {
    font-family: 'PTRootUIVFMedium';
    font-weight: 500;
    font-size: 50px;
    line-height: 60px;
    color: #010203;
    padding: 0 60px;
    margin-top: 88px;
    margin-bottom: 88px;
    position: relative;
}

.blog-quote a {
    color: #010203;
}

.blog-quote .blog-quote-content {
    position: relative;
    z-index: 10;
}

.blog-quote .blog-quote-image {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
    top: -75%;
    left: 0;
    width: 100%;
    height: 250%;
}

@media (max-width: 1599px) {
    .blog-quote {
        font-size: 40px;
        line-height: 50px;
        padding: 0 48px;
        margin-top: 70px;
        margin-bottom: 70px;
    }
}

@media (max-width: 560px) {
    .blog-quote {
        font-size: 28px;
        line-height: 34px;
        padding: 0 30px;
        margin-top: 48px;
        margin-bottom: 48px;
    }
}

.blog-quote-with-author {
    margin-top: 48px;
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 90px 1fr;
    position: relative;
    z-index: 10;
}

.blog-quote-with-author-arrow {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    align-items: flex-end;
}

.blog-quote-with-author-arrow img {
    width: 30px;
    transform: rotate(45deg);
}

.blog-quote-with-author-text {
    padding: 24px 28px;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    position: relative;
    color: #000;
    border: 2px solid;
    border-image: linear-gradient(45deg, #9775f2, #fff) 50;
    margin-left: -2px;
}

.blog-quote-with-author-text a {
    color: #000;
}

.blog-quote-with-author-photo {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 2px solid;
    border-image: linear-gradient(45deg, #fff, #9775f2) 10;
    margin-top: -2px;
}

.blog-quote-with-author-photo-empty {
    background: linear-gradient(207.72deg, #8055F5 -51.64%, #D1C2FB 7.59%, rgba(255, 255, 255, 0) 100%);
}

.blog-quote-with-author-name-post {
    padding: 25px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    color: #000;
    margin-top: -2px;
    margin-left: -2px;
}

.blog-quote-with-author-name {
    font-family: 'PTRootUIWebRegular';
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
}

.blog-quote-with-author-post {
    font-family: 'PTRootUIWebRegular';
    font-size: 16px;
    line-height: 18px;
}

@media (max-width: 1599px) {
    .blog-quote-with-author {
        margin-top: 40px;
        margin-bottom: 40px;
        grid-template-columns: 72px 1fr;
    }

    .blog-quote-with-author-text {
        padding: 20px 22px;
        font-size: 16px;
        line-height: 24px;
    }

    .blog-quote-with-author-photo {
        width: 72px;
        height: 72px;
    }

    .blog-quote-with-author-name-post {
        padding: 20px;
        font-size: 16px;
        line-height: 16px;
    }

    .blog-quote-with-author-name {
        font-size: 16px;
        line-height: 16px;
    }

    .blog-quote-with-author-post {
        font-size: 14px;
        line-height: 16px;
    }
}

@media (max-width: 560px) {
    .blog-quote-with-author {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blog-quote-with-author-arrow {
        padding: 0;
    }

    .blog-quote-with-author-arrow img {
        display: none;
    }

    .blog-quote-with-author-text {
        padding: 22px 20px;
        font-size: 14px;
        line-height: 20px;
        margin-left: 0;
    }

    .blog-quote-with-author-photo {
        width: 67px;
        height: 67px;
    }

    .blog-quote-with-author-name-post {
        padding: 18px;
        margin-top: 0;
        margin-left: 0;
    }

    .blog-quote-with-author-name {
        font-size: 14px;
        line-height: 16px;
    }
}

.blog-image {
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.blog-image img {
    margin-bottom: 12px;
    max-width: 100%;
}

.blog-image-link {
    display: block;
    position: relative;
}

.blog-image-link .icon {
    width: 44px;
    height: 44px;
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 50%;
    background-color: #fff;
}

.blog-image-link .icon svg {
    padding: 10px;
    width: 44px;
    height: 44px;
}

.blog-image-description {
    font-family: 'PTRootUIVFRegular';
    font-weight: 500;
    font-size: 12px;
    line-height: 12px;
    color: rgba(0, 0, 0, .5);
}

@media (max-width: 1599px) {
    .blog-image {
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .blog-image img {
        margin-bottom: 10px;
    }

    .blog-image-link .icon {
        width: 36px;
        height: 36px;
        top: 16px;
        right: 16px;
    }

    .blog-image-link .icon svg {
        padding: 6px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 560px) {
    .blog-image-description {
        font-size: 10px;
        line-height: 12px;
    }
}

/* классы типа .py-XX находятся в основном файле стилей  */
@media (max-width: 991px) {
    .block-blog-empty-block.py-10 {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .block-blog-empty-block.py-20 {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .block-blog-empty-block.py-30 {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .block-blog-empty-block.py-40 {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .block-blog-empty-block.py-50 {
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

.blog-link-with-image-text-button {
    border: 2px solid #7949F4;
    box-sizing: border-box;
    padding: 28px 57px 28px 20px;
    display: block;
    position: relative;
    z-index: 3;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    color: #000000;
    height: max-content;
}

.blog-link-with-image-text-button .blog-link-with-image-text-button-heading {
    font-weight: 700;
    color: #7949F4;
}

.blog-link-with-image-text-button .blog-link-with-image-text-button-image img {
    max-width: 100%;
    max-height: 200px;
    margin: 10px 0;
}

.blog-link-with-image-text-button .blog-link-with-image-text-button-text {
    font-weight: 700;
    margin-top: 10px;
}

.blog-link-with-image-text-button .blog-link-with-image-text-button-button {
    display: block;
    margin-top: 10px;
}

.blog-table {
    overflow: auto;
}

.blog-table table {
    border-collapse: collapse;
    color: #121239;
    border: 1px solid #121239;
    width: 100%;
}

.blog-table table td,
.blog-table table th {
    border: 1px solid #121239;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 22px;
}

@media (max-width: 1599px) {
    .blog-table table td,
    .blog-table table th {

    }
}

@media (max-width: 560px) {
    .blog-table table td,
    .blog-table table th {

    }
}

/* Блоки ссылки на материал - начало */
.blog-aside-link {
    position: relative;
    display: block;
    border: 2px solid #7949F4;
    padding: 28px 64px 28px 20px;
    box-sizing: border-box;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    height: max-content;
}

.blog-aside-link-text {
    font-size: 16px;
    line-height: 24px;
    color: #7949F4;
    font-weight: 600;
}

.blog-aside-link .icon {
    position: absolute;
    top: 20px;
    right: 20px;
}

.blog-aside-link svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.blog-aside-link:hover {
    background-color: #7949F4;
    color: #ffffff;
}

.blog-aside-link:hover .blog-aside-link-text,
.blog-aside-link:hover .blog-aside-link-tags-row {
    color: #ffffff;
}

.blog-aside-link:hover rect {
    stroke: #ffffff;
}

.blog-aside-link-tags {
    border-radius: 12px;
}

.blog-aside-link-tags-row {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    opacity: 0.6;
    color: #7949F4;
    margin-top: 10px;
}

.blog-aside-link-tag {
    white-space: nowrap;
}

.blog-aside-link-tooltip {
    font-family: 'Montserrat';
    position: absolute;
    bottom: 50%;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
    text-align: center;
    background: var(--main-white);
    color: var(--main-dark);
    border-radius: 8px;
    box-shadow: 0px 8px 16px -2px rgba(27, 33, 44, 0.10);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: calc(100% + 30px);
    left: -15px;
    padding: 12px;
}

.blog-aside-link-tooltip::before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    background: var(--main-white);
    bottom: -3px;
    left: 50%;
    transform: translate(-50%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.blog-aside-link:hover .blog-aside-link-tooltip {
    bottom: 95%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .blog-aside-link-tooltip {
        display: none;
    }
}

/* Блоки ссылки на материал - конец */

/* Блок содержание - начало */
.blog-grid-one-column .contents-nav {
    max-width: calc(100% - var(--right-column-width) - var(--columns-gap));
}

.blog-grid-two-column-left div:first-child > h2.blog-title {
    margin-top: 0;
}

.contents-nav + div > h2.blog-title {
    margin-top: 40px;
}

@media (max-width: 1599px) {
    .contents-nav + div > h2.blog-title {
        margin-top: 32px;
    }
}

.contents-nav__body {
    background: #ffffff;
    color: var(--main-dark-blue);
    border-radius: 6px;
}

.contents-nav__title {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 24px;
    transition: .3s ease;
}

.contents-nav__title svg {
    width: 32px;
    height: 32px;
    transition: .3s ease;
}

a.contents-nav__link {
    color: var(--main-dark-blue) !important;
}

.contents-nav__list {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contents-nav__spoiler {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: .3s ease;
}

.contents-nav.active .contents-nav__spoiler {
    opacity: 1;
    max-height: 1000px;
}

.contents-nav.active .contents-nav__title {
    padding-bottom: 10px;
}

.contents-nav.active .contents-nav__title svg {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .contents-nav__title svg {
        width: 20px;
        height: 20px;
    }

    .contents-nav__title {
        padding: 32px 20px;
    }

    .contents-nav__list {
        padding: 0 20px 32px;
        gap: 16px;
    }


    a.contents-nav__link {
        background-size: 100% 1px !important;
    }

    .contents-nav.active .contents-nav__title {
        padding-bottom: 24px;
    }
}

/* Блок содержание - конец */
.blog-page {
    .mark::after {
        top: 130% !important;
        width: 814px !important;
        height: 825px !important;
        left: 50% !important;
        right: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .mark__body {
        flex-direction: column;
    }

    .mark__left {
        max-width: 100%;
        padding: 40px 40px 20px;
    }

    .mark__button {
        margin: 100px auto 60px !important;
        padding: 17px 60px;
    }

    .mark__image {
        height: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .mark__image img {
        object-position: center;
        padding: 0 !important;
        height: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    .mark__title {
        text-transform: unset;
        font-size: 28px;
        line-height: 1.2;
    }

    .mark__text {
        line-height: 1.55;
        margin-top: 24px;
    }

}

@media (max-width: 767px) {
    .blog-page {
        .mark::after {
            top: 150% !important;
        }

        .mark__left {
            max-width: 100%;
            padding: 24px 24px 24px;
        }

        .mark__button {
            margin: auto auto 24px !important;
            padding: 10px 46px !important;
        }

        .mark__title {
            font-size: 18px;
            line-height: 1.2;
        }
    }
}

.marketing-block-container {
    .marketing-block-left {
        padding: 40px;
    }

    .marketing-block-dark_2-template {
        .marketing-block-wrapper {
            flex-direction: column;
        }

        .marketing-block-right {
            margin: 0 40px 0 auto;
        }

        .marketing-img-wrapper {
            opacity: 1;
            height: 160px;
            width: 120px;
        }

        .marketing-block-button {
            margin-top: 100px;
            padding: 17px 60px;
        }
    }


}
@media (max-width: 1599px) {
    .marketing-block-container {
        .marketing-block-dark_2-template {
            .marketing-block-right {
                margin: 0 24px 0 auto;
            }
        }
    }
}
@media (max-width: 991px) {
    .marketing-block .marketing-block-left {
        padding: 24px;
    }
}
@media (max-width: 767px) {
    .marketing-block-container {
        .marketing-block-dark_2-template {
            .marketing-block-button {
                margin-top: 24px;
            }
        }
    }
}