.hps-faq {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hps-faq__item {
    background: var(--colors-primary-white-100);
    border-radius: 1.2rem;
    overflow: hidden;
}

.hps-faq__question {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
    padding: 2rem 2.4rem;
    cursor: pointer;
    box-sizing: border-box;
}

.hps-faq__question-text {
    color: var(--colors-text-primary, #000);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: var(--fs-h-xxs);
    line-height: 1.4;
}

/* Animated answer using CSS grid trick */
.hps-faq__answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.hps-faq__item.is-open .hps-faq__answer-wrapper {
    grid-template-rows: 1fr;
}

.hps-faq__answer {
    overflow: hidden;
    padding: 0 2.4rem;
    transition: padding 0.35s ease;

    color: var(--colors-text-primary, #000);
    font-family: 'Lato', sans-serif;
    font-size: var(--fs-body-s);
    line-height: 1.6;
}

.hps-faq__item.is-open .hps-faq__answer {
    padding: 0 2.4rem 2.4rem;
}
