.faq-section {
    --faq-sticky-top: calc(env(safe-area-inset-top, 0px) + 80px);
}

.faq-section__intro {
    position: sticky;
    top: var(--faq-sticky-top);
    z-index: 2;
    align-self: start;
    background-color: var(--colorWhite);
    padding-bottom: clamp(16px, 3vh, 32px);
}

.faq-section__intro .content-section__title {
    margin-bottom: clamp(16px, 3vh, 24px);
}

.faq-section__lede {
    max-width: 36ch;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.faq-item {
    border-top: 1px solid rgba(18, 18, 18, 0.12);
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(18, 18, 18, 0.12);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--colorBlack);
    cursor: pointer;
    list-style: none;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::marker {
    content: '';
}

.faq-item__icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    position: relative;
    opacity: 0.55;
    transition: transform 0.35s var(--easing), opacity 0.2s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1.5px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 0.35s var(--easing);
}

.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.faq-item[open] .faq-item__icon {
    opacity: 0.85;
}

.faq-item__answer {
    padding: 0 0 18px;
    font-size: clamp(0.9375rem, 1.6vw, 1rem);
    font-weight: 400;
    line-height: 1.55;
    color: rgba(18, 18, 18, 0.72);
}

.faq-item__answer p {
    margin: 0;
}

.faq-item__answer p + p {
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .faq-section {
        --faq-sticky-top: calc(env(safe-area-inset-top, 0px) + 60px);
    }

    .faq-section .content-section__heading {
        width: 100%;
        max-width: none;
    }

    .faq-section__intro {
        position: static;
        top: auto;
        z-index: auto;
        width: var(--content-heading-width, 92%);
        margin-inline: auto;
    }

    .faq-section__accordion-col {
        grid-column: 1 / -1;
        align-self: stretch;
        width: 100%;
        max-width: none;
    }

    .faq-accordion {
        width: 100%;
        max-width: none;
    }

    .faq-section__lede {
        max-width: none;
    }

    .faq-section__intro,
    .faq-section__accordion-col,
    .faq-accordion,
    .faq-item__question,
    .faq-item__answer {
        text-align: left;
    }

    .faq-item__question {
        padding: 16px clamp(16px, 4vw, 24px);
    }

    .faq-item__answer {
        padding: 0 clamp(16px, 4vw, 24px) 16px;
    }
}
