/* Explain: CSS for the FAQ page, including search, filters, and accordion. */
/* ===== FAQ & aide ===== */
.faq-item {
    overflow: hidden;
    border-radius: 1.4rem;
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.3rem;
    cursor: pointer;
    list-style: none;
}

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

.faq-question {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--accent-color);
    transition: transform 300ms ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.3rem 1.3rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.faq-chip {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    padding: 0 1.1rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 300ms ease;
}

.faq-chip:hover {
    border-color: var(--accent-color);
}

.faq-chip.is-active {
    border-color: var(--button-color);
    background: var(--button-color);
}

.faq-empty {
    margin-top: 2rem;
    border: 1px dashed var(--glass-border);
    border-radius: 1.4rem;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

.is-hidden {
    display: none !important;
}