/* ========================================================
   استایل‌های سوالات متداول (بدون JS / بهینه‌شده برای موبایل)
======================================================== */
.custom-category-faqs {
    margin-top: 30px;
    font-family: inherit;
}

.custom-category-faqs .faq-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

/* استایل بدنه آکاردئون */
.faq-details {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* استایل تیتر سوال (قابل کلیک) */
.faq-summary {
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    position: relative;
    list-style: none; /* مخفی کردن فلش پیش‌فرض مرورگر */
    outline: none;
}

/* حذف فلش پیش‌فرض در سافاری */
.faq-summary::-webkit-details-marker {
    display: none;
}

/* ساخت آیکون + و - اختصاصی با CSS خالص */
.faq-summary::after {
    content: '+';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #0073aa;
    font-weight: normal;
    transition: transform 0.3s ease;
}

/* تغییر آیکون هنگام باز شدن آکاردئون */
.faq-details[open] .faq-summary::after {
    content: '−'; /* علامت منفی */
    transform: translateY(-50%) rotate(180deg);
}

.faq-details[open] {
    border-color: #0073aa;
    box-shadow: 0 4px 10px rgba(0, 115, 170, 0.1);
}

/* استایل متن پاسخ */
.faq-content {
    padding: 0 20px 20px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
    padding-top: 15px;
}

/* بهینه‌سازی برای دسکتاپ */
@media (min-width: 768px) {
    .faq-summary {
        font-size: 16px;
    }
    .faq-content {
        font-size: 15px;
    }
}