/* faq.css - Global FAQ Accordion Styles */

.faq-section-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    user-select: none;
}

/* Hide default marker in Safari/Chrome */
.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-heading);
    padding-right: 20px;
    line-height: 1.4;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: #1688f8; /* Primary blue accent */
}

.faq-content {
    padding: 0 24px 24px;
    animation: faq-slide-down 0.3s ease-out;
}

.faq-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.7;
}

@keyframes faq-slide-down {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
