<?php
    $faqs = $bundle->bundleFaqs ?? [];
?>
<?php if(!empty($faqs)): ?>
    <article>
        <h2 class="area-title xl:text-3xl mb-5">
            <?php echo e(translate('Bundle FAQS')); ?>

        </h2>
        <div class="flex flex-col gap-5">
            <!-- SINGLE CURRICULUM -->
            <?php $__currentLoopData = $faqs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $faq): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="border border-border rounded-lg lms-accordion">
                    <div
                        class="flex-center-between px-4 py-3 cursor-pointer lms-accordion-button <?php echo e($loop->first ? 'panel-show' : ''); ?>  group/accordion peer/accordion">
                        <div class="flex items-center justify-between gap-1 grow">
                            <h6 class="area-title !text-lg font-bold">
                                <?php echo e($faq->question); ?>

                            </h6>
                            <span class="group-[.panel-show]/accordion:rotate-90 leading-normal">
                                <i class="ri-arrow-right-s-line"></i>
                            </span>
                        </div>
                    </div>
                    <div
                        class="border-t border-border p-4 lms-accordion-panel peer-[.panel-show]/accordion:block hidden">
                        <?php echo clean($faq->answer); ?>?
                    </div>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </article>
<?php endif; ?>
<?php /**PATH D:\www\edulab\Modules\LMS\resources\views\components\bundle\details\bundle-faq.blade.php ENDPATH**/ ?>