.faq-article {
    width: var(--container);
    margin: 56px auto 0;
}

.faq-article__hero {
    padding-bottom: 56px;
    border-bottom: 1px solid var(--line);
}

.faq-article__hero .crumbs {
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.faq-article__headline {
    max-width: 1240px;
}

.faq-article__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-bottom: 26px;
    color: var(--grey);
    font-size: 13px;
    font-weight: 750;
}

.faq-article__meta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--indigo);
    background: rgba(57, 8, 148, .08);
    border-radius: 10px;
}

.faq-article__meta a::before {
    width: 6px;
    height: 6px;
    content: "";
    background: var(--orange);
    border-radius: 50%;
}

.faq-article h1 {
    margin: 0;
    color: var(--black);
    font-size: clamp(54px, 5.4vw, 82px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: -.065em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.faq-article__headline > p {
    max-width: 920px;
    margin: 30px 0 0;
    color: var(--grey);
    font-size: clamp(18px, 1.6vw, 23px);
    line-height: 1.5;
}

.faq-article__cover {
    width: 100%;
    max-height: none;
    aspect-ratio: auto;
    display: block;
    margin: 48px 0 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
}

.faq-article__cover img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

.faq-article__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 64px;
    align-items: start;
    margin-top: 64px;
}

.faq-article__aside {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 10px;
    padding: 22px;
    background: #fff;
    border: 1px solid #f0ecf2;
    border-radius: 20px;
}

.faq-article__aside > span {
    margin-bottom: 8px;
    color: var(--grey);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.faq-article__aside a {
    padding: 12px;
    color: var(--black);
    background: #f8f6f9;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    transition: color .2s ease, background .2s ease;
}

.faq-article__body {
    margin-top: 50px;
    min-width: 0;
}

.faq-article__body.rich-content h2 {
    padding-left: 0;
}

.faq-article__body.rich-content h2::before {
    display: none;
    content: none;
}

.faq-article__body.rich-content > p,
.faq-article__body.rich-content > ul,
.faq-article__body.rich-content > ol,
.faq-article__body.rich-content > dl,
.faq-article__body.rich-content > h2,
.faq-article__body.rich-content > h3,
.faq-article__body.rich-content > h4,
.faq-article__body.rich-content > h5,
.faq-article__body.rich-content > h6,
.faq-article__body.rich-content > blockquote,
.faq-article__body.rich-content > pre,
.faq-article__body.rich-content > details,
.faq-article__body.rich-content > figure,
.faq-article__body.rich-content > table,
.faq-article__body.rich-content > div,
.faq-article__body.rich-content > section,
.faq-article__body.rich-content > article,
.faq-article__body.rich-content > aside {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.faq-article__footer {
    min-height: 280px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 48px;
    align-items: end;
    margin-top: 48px;
    padding: 44px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 10%, rgba(172, 17, 255, .52), transparent 32%),
        linear-gradient(135deg, var(--black), var(--indigo));
    border-radius: 28px;
    overflow: hidden;
}

.faq-article__footer > div > span {
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.faq-article__footer h2 {
    max-width: 760px;
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.055em;
}

.faq-article__footer > a {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 18px;
    padding: 0 24px;
    color: #fff;
    background: var(--orange);
    border-radius: 15px;
    font-size: 15px;
    font-weight: 800;
    transition: background .2s ease, transform .2s ease;
}

.faq-article__footer > a span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.faq-article__footer > a span img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
    .faq-article__aside a:hover {
        color: var(--indigo);
        background: #ede8f7;
    }

    .faq-article__footer > a:hover {
        background: #ff6d1c;
        transform: translateY(-2px);
    }
}

@media (max-width: 980px) {
    .faq-article__layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .faq-article__aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-article__aside > span {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .faq-article {
        margin-top: 36px;
    }

    .faq-article__hero {
        padding-bottom: 36px;
    }

    .faq-article__hero .crumbs {
        gap: 10px;
        margin-bottom: 44px;
        font-size: 13px;
    }

    .faq-article h1 {
        font-size: 42px;
        line-height: 1;
    }

    .faq-article__headline > p {
        margin-top: 22px;
        font-size: 17px;
    }

    .faq-article__cover {
        aspect-ratio: auto;
        margin-top: 28px;
        padding: 0;
        border-radius: 14px;
    }

    .faq-article__layout {
        margin-top: 32px;
    }

    .faq-article__aside {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 18px;
    }

    .faq-article__body.rich-content {
        padding: 28px 20px;
        border-radius: 22px;
        font-size: 16px;
    }

    .faq-article__footer {
        min-height: 320px;
        grid-template-columns: 1fr;
        gap: 36px;
        margin-top: 28px;
        padding: 28px 22px;
        border-radius: 22px;
    }

    .faq-article__footer h2 {
        font-size: 38px;
    }

    .faq-article__footer > a {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .faq-article h1 {
        font-size: 37px;
    }

    .faq-article__footer h2 {
        font-size: 34px;
    }
}
