.article__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    font-family: var(--ff-unbounded);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    transition: opacity .3s;
}

.article__back:hover {
    opacity: .75;
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.article__label {
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 100px;
    background-color: var(--color-accent);
    color: var(--color-light);
    font-family: var(--ff-unbounded);
    font-size: 12px;
    font-weight: 600;
}

.article__date {
    font-size: 16px;
    color: rgba(0, 0, 0, .55);
}

.article__meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.article__reading-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: rgba(0, 0, 0, .55);
}

.article__reading-time::before {
    content: '·';
    color: rgba(0, 0, 0, .35);
}

.reading-time__icon {
    flex-shrink: 0;
    opacity: .75;
}

.reading-time__text {
    line-height: 1;
}

.article__hero {
    border-radius: 40px;
    overflow: hidden;
    margin-bottom: 40px;
}

.article__hero img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.article__figure {
    margin: 40px 0;
    border-radius: 32px;
    overflow: hidden;
    background-color: rgba(191, 93, 255, .04);
}

.article__figure img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article__figure-caption {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: rgba(0, 0, 0, .55);
}

.article__layout {
    display: grid;
    grid-template-columns: minmax(0, 860px) minmax(260px, 360px);
    gap: 40px;
    width: min(100%, 1260px);
    margin-inline: auto;
}

.article__body {
    min-width: 0;
    align-self: start;
}

.article-toc {
    min-width: 0;
    align-self: stretch;
}

.article-toc__inner {
    position: sticky;
    top: 40px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding: 32px 28px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(191, 93, 255, .1) 0%, rgba(191, 93, 255, .03) 100%);
    border: 1px solid rgba(191, 93, 255, .22);
    scrollbar-width: thin;
    scrollbar-color: rgba(191, 93, 255, .35) transparent;
}

.article-toc__inner::-webkit-scrollbar {
    width: 4px;
}

.article-toc__inner::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: rgba(191, 93, 255, .35);
}

.article-toc__title {
    font-family: var(--ff-unbounded);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.article-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-toc__item + .article-toc__item {
    margin-top: 10px;
}

.article-toc__item_h2 + .article-toc__item_h3 {
    margin-top: 6px;
}

.article-toc__item_h3 {
    padding-left: 16px;
}

.article-toc__item_h2 .article-toc__link {
    font-size: 16px;
    font-weight: 500;
    line-height: 135%;
    color: rgba(0, 0, 0, .82);
}

.article-toc__item_h3 .article-toc__link {
    font-size: 13px;
    font-weight: 400;
    line-height: 130%;
    color: rgba(0, 0, 0, .48);
}

.article-toc__item_h3 .article-toc__link:hover,
.article-toc__item_h3 .article-toc__link.article-toc__link_active {
    color: var(--color-accent);
}

.article-toc__link {
    display: block;
    text-decoration: none;
    transition: color .25s;
}

.article-toc__link:hover {
    color: var(--color-accent);
}

.article-toc__link_active {
    color: var(--color-accent);
    font-weight: 500;
}

.article__lead {
    font-size: 24px;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 32px;
}

.article__body p {
    font-size: 22px;
    font-weight: 300;
    line-height: 130%;
    margin-bottom: 20px;
}

.article__body strong,
.article__body b {
    font-weight: 700;
    color: var(--color-dark);
}

.article__body em,
.article__body i {
    font-style: italic;
}

.article__body u {
    text-decoration: underline;
    text-decoration-color: var(--color-accent);
    text-underline-offset: 4px;
}

.article__body a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity .3s;
}

.article__body a:hover {
    opacity: .75;
}

.article__body ol,
.article__body ul {
    font-size: 22px;
    font-weight: 300;
    line-height: 130%;
    margin-bottom: 24px;
    padding-left: 28px;
}

.article__body ol {
    list-style-type: decimal;
}

.article__body ul {
    list-style-type: disc;
}

.article__body ol li,
.article__body ul li {
    margin-bottom: 10px;
}

.article__body ol li::marker {
    color: var(--color-accent);
    font-weight: 700;
}

.article__body ul li::marker {
    color: var(--color-accent);
}

.article__body h2,
.article__body h3 {
    scroll-margin-top: 40px;
}

.article__body h2 {
    font-family: var(--ff-soyuz);
    font-size: 40px;
    line-height: 110%;
    margin: 48px 0 24px;
}

.article__body h3 {
    font-family: var(--ff-unbounded);
    font-size: 22px;
    font-weight: 600;
    line-height: 130%;
    margin: 32px 0 16px;
    color: var(--color-dark);
}

.article-faq {
    margin-top: 56px;
    max-width: 860px;
}

.article-faq__title {
    font-family: var(--ff-soyuz);
    font-size: 40px;
    line-height: 110%;
    margin-bottom: 28px;
}

.article-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-faq__item {
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(191, 93, 255, .08) 0%, rgba(191, 93, 255, .02) 100%);
    border: 1px solid rgba(191, 93, 255, .2);
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

.article-faq__item[open] {
    border-color: rgba(191, 93, 255, .4);
    box-shadow: 0 8px 24px rgba(191, 93, 255, .12);
}

.article-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    font-family: var(--ff-unbounded);
    font-size: 16px;
    font-weight: 600;
    line-height: 130%;
    color: var(--color-dark);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.article-faq__question::-webkit-details-marker {
    display: none;
}

.article-faq__question::after {
    content: '';
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform .25s;
}

.article-faq__item[open] .article-faq__question::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.article-faq__answer {
    padding: 0 24px 22px;
}

.article-faq__answer p {
    font-size: 18px;
    font-weight: 300;
    line-height: 140%;
    margin: 0;
    color: rgba(0, 0, 0, .82);
}

.article-faq__answer p + p {
    margin-top: 12px;
}

.article-cta {
    margin-top: 56px;
    padding: 40px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(191, 93, 255, .14) 0%, rgba(191, 93, 255, .04) 100%);
    border: 1px solid rgba(191, 93, 255, .3);
}

.article-cta__title {
    font-family: var(--ff-soyuz);
    font-size: 40px;
    line-height: 110%;
    margin-bottom: 16px;
}

.article-cta__text {
    font-size: 22px;
    font-weight: 300;
    line-height: 130%;
    margin-bottom: 28px;
}

.article-cta__links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.article-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 32px;
    border-radius: 100px;
    background-color: var(--color-accent);
    color: var(--color-light);
    font-family: var(--ff-unbounded);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: .3s;
    cursor: pointer;
}

.article__body .article-cta__button {
    color: var(--color-light);
    text-decoration: none;
}

.article-cta__button:hover {
    background-color: var(--color-light);
    color: var(--color-accent);
    border-color: var(--color-accent);
    opacity: 1;
}

.article__body .article-cta__button:hover {
    color: var(--color-accent);
    text-decoration: none;
}

.article-cta__link {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    padding: 0 24px;
    font-family: var(--ff-unbounded);
    font-size: 16px;
    font-weight: 600;
}

.article-share {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(191, 93, 255, .2);
}

.article-share + .article-cta {
    margin-top: 32px;
}

.article-share__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.article-share .ya-share2,
.article-share .ya-share2__container {
    display: flex;
    align-items: center;
    margin: 0;
    line-height: 0;
}

.article-share .ya-share2__list {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-share .ya-share2__item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.article-share .ya-share2__link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-share__title {
    display: flex;
    align-items: center;
    margin: 0;
    min-height: 44px;
    font-family: var(--ff-unbounded);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
    color: rgba(0, 0, 0, .55);
}

.article-specialist + .article-specialist {
    margin-top: 16px;
}

.article-specialist {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin: 48px 0;
    padding: 32px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(191, 93, 255, .12) 0%, rgba(191, 93, 255, .04) 100%);
    border: 1px solid rgba(191, 93, 255, .25);
    max-width: 860px;
}

.article-specialist__photo {
    flex-shrink: 0;
    width: 132px;
    height: 132px;
    border-radius: 100px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(191, 93, 255, .25);
}

.article-specialist__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100px;
}

.article-specialist__info {
    flex: 1;
    min-width: 0;
}

.article-specialist__name {
    font-family: var(--ff-soyuz);
    font-size: 32px;
    line-height: 110%;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.article-specialist__role {
    font-family: var(--ff-unbounded);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.article-specialist__quote {
    position: relative;
    font-size: 20px;
    font-weight: 300;
    font-style: normal;
    line-height: 140%;
    color: rgba(0, 0, 0, .85);
    padding-left: 24px;
    border-left: 3px solid var(--color-accent);
    margin: 0;
}

@media screen and (max-width: 992px) {

    .article__layout {
        grid-template-columns: 1fr;
        gap: 32px;
        width: 100%;
        margin-inline: 0;
    }

    .article-toc {
        order: -1;
        align-self: auto;
    }

    .article-toc__inner {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 24px 20px;
        border-radius: 28px;
    }

    .article-toc__list {
        display: block;
    }

    .article-toc__item + .article-toc__item {
        margin-top: 10px;
    }

    .article-toc__item_h2 + .article-toc__item_h3 {
        margin-top: 6px;
    }

    .article-toc__item_h3 {
        padding-left: 16px;
    }

    .article-toc__item_h2 .article-toc__link {
        font-size: 15px;
    }

    .article-toc__item_h3 .article-toc__link {
        font-size: 13px;
        opacity: 1;
    }

    .article-toc__item_h3 .article-toc__link::before {
        content: none;
    }

}

@media screen and (max-width: 768px) {

    .article__back {
        margin-bottom: 24px;
    }

    .article__hero {
        border-radius: 28px;
        margin-bottom: 28px;
    }

    .article__lead {
        font-size: 18px;
    }

    .article__body p,
    .article__body ol,
    .article__body ul {
        font-size: 16px;
    }

    .article__body h2 {
        font-size: 28px;
        margin: 36px 0 20px;
    }

    .article__body h3 {
        font-size: 18px;
        margin: 24px 0 12px;
    }

    .article-faq__title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .article-faq__question {
        padding: 18px 20px;
        font-size: 14px;
    }

    .article-faq__answer {
        padding: 0 20px 18px;
    }

    .article-faq__answer p {
        font-size: 16px;
    }

    .article-cta {
        padding: 28px 24px;
        border-radius: 28px;
        margin-top: 40px;
    }

    .article-cta__title {
        font-size: 28px;
    }

    .article-cta__text {
        font-size: 16px;
    }

    .article-cta__button,
    .article-cta__link {
        font-size: 14px;
        min-height: 50px;
    }

    .article-share {
        margin-top: 20px;
        padding-top: 16px;
    }

    .article-share + .article-cta {
        margin-top: 28px;
    }

    .article-specialist {
        display: grid;
        grid-template-columns: 72px 1fr;
        column-gap: 16px;
        row-gap: 12px;
        align-items: start;
        text-align: left;
        padding: 24px;
        border-radius: 28px;
        margin: 32px 0;
    }

    .article-specialist__photo {
        grid-row: 1 / 3;
        width: 72px;
        height: 72px;
    }

    .article-specialist__info {
        display: contents;
    }

    .article-specialist__name {
        grid-column: 2;
        grid-row: 1;
        font-size: 24px;
        margin-bottom: 4px;
    }

    .article-specialist__role {
        grid-column: 2;
        grid-row: 2;
        margin-bottom: 0;
        font-size: 12px;
    }

    .article-specialist__quote {
        grid-column: 1 / -1;
        grid-row: 3;
        font-size: 16px;
        padding-left: 0;
        border-left: none;
        border-top: 3px solid var(--color-accent);
        padding-top: 16px;
        margin-top: 4px;
    }

}
