/* ===================== سوالات متداول (FAQ) ===================== */
/* رنگ‌ها و مقادیر بر اساس توکن‌های قالب IRANACS (primary: #7049ba) */

.ath-faq {
    margin: 30px 0 0;
    padding: 24px 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
}

.ath-faq .ath-faq-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    padding: 0;
    border: 0;
    font-size: 18px;
    line-height: 1.9;
    font-weight: 500;
    color: #212B36;
    text-align: right;
}

.ath-faq-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #fff;
    background: #7049ba;
    border-radius: 0.5rem;
}

.ath-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ath-faq-item {
    border: 0;
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    overflow: hidden;
}

/* خنثی‌سازی استایل تیترهای .Content-Style قالب روی سوال‌ها */
.ath-faq .ath-faq-question {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: normal;
}

.ath-faq-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #212B36;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.9;
    text-align: right;
    cursor: pointer;
    transition: background .3s ease, color .3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.ath-faq-toggle:hover {
    color: #7049ba;
}

.ath-faq-toggle:focus-visible {
    outline: 2px solid #7049ba;
    outline-offset: -2px;
}

.ath-faq-question-text {
    flex: 1;
}

.ath-faq-toggle-icon {
    flex-shrink: 0;
    transition: transform .3s ease;
}

.ath-faq-item.is-open .ath-faq-toggle-icon {
    transform: rotate(180deg);
}

.ath-faq-answer {
    padding: 14px 16px;
    border-top: 1px solid #e5e7eb;
    border-right: 2px solid #7049ba;
    color: #637381;
    font-size: 14px;
    line-height: 2.1;
    text-align: justify;
}

.ath-faq-answer[hidden] {
    display: none;
}

.ath-faq-answer > *:last-child {
    margin-bottom: 0;
}

.ath-faq-answer a {
    color: #7049ba;
}

@media (max-width: 768px) {
    .ath-faq {
        padding: 20px 0 0;
        margin-top: 24px;
    }

    .ath-faq-toggle {
        padding: 12px 14px;
        font-size: 14px;
    }

    .ath-faq-answer {
        padding: 12px 14px;
        font-size: 13px;
    }
}
