.chs-faq {

    color: var(--chs-faq-text);

}

.chs-faq__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 18px;
    position: relative;
}

.chs-faq__image {
    position: absolute;
    right: 18px;
    top: 0;
    width: 110px;
    opacity: .95;
    pointer-events: none;
}

.chs-faq__image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.chs-faq__head h2 {
    margin: 0 0 18px;
    color: var(--chs-faq-text);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.chs-faq__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.chs-faq__filter {
    appearance: none;
    border: 1px solid rgba(116, 23, 111, .16);
    background: #fff;
    color: var(--chs-faq-primary);
    border-radius: 999px;
    padding: 10px 15px;
    font: inherit;
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
    transition:
        transform .16s ease,
        background .16s ease,
        color .16s ease,
        border-color .16s ease,
        box-shadow .16s ease;
}

.chs-faq__filter:hover,
.chs-faq__filter:focus-visible {
    transform: translateY(-1px);
    border-color: var(--chs-faq-primary);
    box-shadow: 0 8px 18px rgba(63, 18, 63, .08);
    outline: none;
}

.chs-faq__filter.is-active {
    background: var(--chs-faq-primary);
    color: #fff;
    border-color: var(--chs-faq-primary);
}

.chs-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.chs-faq-card {
    padding: 22px 22px 20px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), var(--chs-faq-soft));
    border: 1px solid rgba(116, 23, 111, .12);
    color: var(--chs-faq-text);
    box-shadow: 0 10px 24px rgba(63, 18, 63, .06);
}

.chs-faq-card.is-hidden {
    display: none;
}

.chs-faq-card h3,
.chs-faq-card__question {
    margin: 0 0 10px;
    color: var(--chs-faq-text);
    font-size: 1.12rem;
    line-height: 1.2;
}

.chs-faq-card__question {
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 800;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.chs-faq-card__question:hover,
.chs-faq-card__question:focus-visible {
    color: var(--chs-faq-primary);
    outline: none;
}

.chs-faq-card__icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(116, 23, 111, .18);
    color: var(--chs-faq-primary);
    position: relative;
    margin-top: -2px;
}

.chs-faq-card__icon::before,
.chs-faq-card__icon::after {
    content: '';
    position: absolute;
    left: 6px;
    right: 6px;
    top: 50%;
    height: 2px;
    background: currentColor;
    transform: translateY(-50%);
}

.chs-faq-card__icon::after {
    transform: translateY(-50%) rotate(90deg);
}

.chs-faq-card__question[aria-expanded="true"] .chs-faq-card__icon::after {
    display: none;
}

.chs-faq-card__answer,
.chs-faq-card p {
    margin: 0;
    color: var(--chs-faq-muted);
    font-size: .97rem;
    line-height: 1.55;
}

.chs-faq-card__answer p {
    margin: 0 0 .75em;
}

.chs-faq-card__answer p:last-child {
    margin-bottom: 0;
}

.chs-faq-card__answer a,
.chs-faq-card a {
    color: var(--chs-faq-accent);
    font-weight: 700;
    text-underline-offset: 3px;
}

.chs-faq-card__answer a:hover,
.chs-faq-card__answer a:focus-visible,
.chs-faq-card a:hover,
.chs-faq-card a:focus-visible {
    color: var(--chs-faq-primary);
}

.chs-faq__empty {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--chs-faq-soft);
    color: var(--chs-faq-muted);
}

@media (max-width: 820px) {
    .chs-faq__grid {
        grid-template-columns: 1fr;
    }

    .chs-faq__image {
        position: static;
        width: 82px;
        margin-left: auto;
        margin-bottom: -8px;
    }
}