/*
 * Page     : FAQ
 * File     : css/desktop/pages/pagefaq.css
 * Loaded by: page-faq.php (mobile + desktop)
 *
 * This page uses bare FAQ accordion markup (.faq-question wrapper),
 * NOT the np_d_faq_accordion() / np_m_faq_accordion() component.
 * Component FAQ CSS (faq.css) is scoped to .np-faq-accordion — not repeated here.
 */

/* ══════════════════════════════════════════
   SECTION WRAPPER
   ══════════════════════════════════════════ */
.main_section {
    background-color: #fff;
}

/* ══════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════ */
.faq-question {
    max-width: 860px;
    margin: 0 auto;
}

.faq-question .question-container {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    margin: 12px 0;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.faq-question .question-container:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(243, 116, 32, 0.3);
}

.faq-question .question {
    font-size: 16px;
    font-weight: 600;
    color: var(--np-text-dark, #3E2723);
    padding: 18px 60px 18px 20px;
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 1.4;
    user-select: none;
}

.faq-question .question::after {
    content: "\002B";
    font-size: 2rem;
    color: var(--np-saffron, #F37420);
    position: absolute;
    right: 20px;
    transition: transform 0.2s;
    font-weight: 400;
    line-height: 1;
}

.faq-question .question.active {
    color: var(--np-saffron, #F37420);
    border-bottom: 1px solid #f3e8d8;
}

.faq-question .question.active::after {
    transform: rotate(45deg);
}

.faq-question .answercont {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-question .answer {
    padding: 16px 20px 20px;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    color: var(--np-text-mid, #6B5B4F);
}

/* ══════════════════════════════════════════
   HERO IMAGE
   ══════════════════════════════════════════ */
.faq-hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 767px) {
    .faq-question .question {
        font-size: 14px;
        padding: 16px 52px 16px 16px;
    }

    .faq-question .question::after {
        font-size: 1.7rem;
        right: 14px;
    }

    .faq-question .answer {
        font-size: 14px;
        padding: 12px 16px 16px;
    }

    .faq-question .question-container {
        border-radius: 10px;
    }
}
