/* FAQ Frontend Styles */
.category-faq-section {
    margin: 60px 0 40px;
    padding: 40px 0;
    border-top: 1px solid #e0e0e0;
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #1a1a1a;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question[aria-expanded="true"] {
    background: #371b020f;
    color: #371b02;
    border-radius: 0 !important;
}

/*
.faq-question .faq-question-title {
    flex: 1;
    padding-right: 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: inherit;
    color: inherit;
}
*/
h3.faq-question-title {
    font-size: 1.1em;
    margin: 0;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #666;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: #371b02;
}

.faq-answer {
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-answer-content {
    padding: 0 24px 24px 24px;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.faq-answer-content p {
    margin: 0 0 12px 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .category-faq-section {
        margin: 40px 0 30px;
        padding: 30px 0;
    }

    .faq-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-question .faq-question-title {
        font-size: 15px;
    }

    .faq-answer-content {
        padding: 0 18px 18px 18px;
        font-size: 14px;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
    }
}

/* Animation for opening/closing */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer:not([hidden]) .faq-answer-content {
    animation: slideDown 0.3s ease-out;
}