/**
 * Category FAQ Section - Homepage Style
 * Uniforme styling voor FAQ's op categoriepagina's
 *
 * @package licentie-child
 * @version 1.4.0
 */

/* ==========================================================================
   Main Section
   ========================================================================== */

.category-faq-section {
    padding: 3rem 0;
    margin-top: 40px;
    background: transparent;
}

.category-faq-section .shop-v2-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   Title
   ========================================================================== */

.category-faq-section .faq-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 1.5rem 0;
    text-align: left;
    width: 100%;
}

/* ==========================================================================
   Accordion Container
   ========================================================================== */

.category-faq-section .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* ==========================================================================
   FAQ Items - White Cards met Shadow
   ========================================================================== */

.category-faq-section .faq-item-wrap {
    background: #fff;
    box-shadow: 4px 4px 50px rgba(0, 0, 0, 0.04);
    border-radius: 2px;
    transition: box-shadow 0.2s ease;
}

.category-faq-section .faq-item-wrap:hover {
    box-shadow: 4px 4px 50px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   FAQ Header Button
   ========================================================================== */

.category-faq-section .faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
    color: #313236;
    transition: color 0.2s ease;
    gap: 16px;
    font-family: inherit;
}

.category-faq-section .faq-header:hover {
    color: #047857; /* Groen - brand color */
}

.category-faq-section .faq-header:focus {
    outline: 2px solid #047857;
    outline-offset: 2px;
}

/* ==========================================================================
   Plus Icon
   ========================================================================== */

.category-faq-section .faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #047857;
    line-height: 1;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    user-select: none;
}

.category-faq-section .faq-header.is-active .faq-icon {
    transform: rotate(45deg); /* Plus wordt X */
}

/* ==========================================================================
   FAQ Content - Animated Expand/Collapse
   ========================================================================== */

.category-faq-section .faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-faq-section .faq-content.is-open {
    max-height: 1000px; /* Verhoogd voor lange antwoorden */
}

.category-faq-section .faq-content-inner {
    padding: 0 16px 18px 16px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

/* ==========================================================================
   Content Typography
   ========================================================================== */

.category-faq-section .faq-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 0.75rem 0;
}

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

.category-faq-section .faq-content strong {
    font-weight: 600;
    color: #313236;
}

.category-faq-section .faq-content a {
    color: #047857;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.category-faq-section .faq-content a:hover {
    color: #035a40;
    text-decoration: none;
}

/* Lists */
.category-faq-section .faq-content ul,
.category-faq-section .faq-content ol {
    margin: 0 0 0.75rem 0;
    padding-left: 1.5rem;
}

.category-faq-section .faq-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* ==========================================================================
   Responsive - Mobile Adjustments
   ========================================================================== */

@media (max-width: 768px) {
    .category-faq-section {
        padding: 2rem 0;
        margin-top: 30px;
    }

    .category-faq-section .faq-section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .category-faq-section .faq-header {
        padding: 16px 14px;
        font-size: 15px;
    }

    .category-faq-section .faq-icon {
        font-size: 20px;
    }

    .category-faq-section .faq-content-inner {
        padding: 14px 14px 16px 14px;
    }

    .category-faq-section .faq-content p {
        font-size: 13px;
    }

    .category-faq-section .faq-accordion {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .category-faq-section .shop-v2-container {
        padding: 0 15px;
    }

    .category-faq-section .faq-header {
        padding: 14px 12px;
        font-size: 14px;
    }

    .category-faq-section .faq-content-inner {
        padding: 12px 12px 14px 12px;
    }
}
