/* --- Interactive FAQ Accordion Styles --- */
.faq-container {
    align-items: center;
    max-width: auto;
    border-top: 1px solid var(--color-border);
    /* Separator from hero */
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    /* Vertical padding only */
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--color-text-primary);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--color-text-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: .01rem;
}

.faq-answer p {
    padding: 1rem;
    /* Space below the answer text */
    margin: 0;
    max-width: 90%;
}

/* State when the accordion is open */
.faq-item.open .faq-answer {
    max-height: 100%;
    border-bottom: 1px solid var(--border-color);
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    animation: normal;
    animation-duration: 1ms;
}