<?php if(Auth::user()): ?>
    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
        <div class="easier-mode">
            <div class="easier-section-area">
                <?php endif; ?>
                <?php endif; ?>

                <section class="faq-ask-wrapper section-padding">
                    <div class="container">
                        <?php if(Auth::user()): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                <!-- hover effect for mobile devices  -->
                                <div class="click-icon d-md-none text-center">
                                    <button class="custom-btn text-white">
                                        <i class="fa fa-mobile-alt text-white"></i> <?php echo e(__('content.touch')); ?>

                                    </button>
                                </div>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if(isset($faq_section_style2)): ?>
                            <?php if(!empty($faq_section_style2->title)): ?>
                                <div class="col-lg-8 col-xl-6 offset-xl-3 col-12 offset-lg-2 text-center">
                                    <div class="block-contents fw500">
                                        <div class="section-title wow fadeInUp" data-wow-duration="1s">
                                            <h2><?php echo html_entity_decode($faq_section_style2->title); ?></h2>
                                        </div>
                                    </div>
                                </div>
                            <?php endif; ?>
                        <?php else: ?>
                            <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                            <div class="col-lg-8 col-xl-6 offset-xl-3 col-12 offset-lg-2 text-center">
                                <div class="block-contents fw500">
                                    <div class="section-title wow fadeInUp" data-wow-duration="1s">
                                        <h2>If you want to know anything, ask us</h2>
                                    </div>
                                </div>
                            </div>
                            <?php endif; ?>
                        <?php endif; ?>

                        <?php if(is_countable($faqs_style2) && count($faqs_style2) > 0): ?>
                            <div class="row faq-ask">
                                <div class="col-lg-6 col-12">
                                    <div class="faq-accordion">
                                        <div class="accordion" id="mainaccordion">
                                            <?php
                                                $the_number_of_faqs = count($faqs_style2);
                                                if ($the_number_of_faqs %2 == 0) {
                                                    $half_of_faqs = $the_number_of_faqs / 2 + 1;
                                                }
                                                else {
                                                    $half_of_faqs = (integer)($the_number_of_faqs / 2) + 2;
                                                }
                                                $i = 1;
                                            ?>
                                            <?php $__currentLoopData = $faqs_style2; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $faq_style2): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if($loop->iteration < $half_of_faqs): ?>
                                                    <?php if(Auth::user()): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                                            <?php
                                                                $url = request()->path();
                                                                $modified_url = str_replace('/', '-bracket-', $url);
                                                            ?>
                                                            <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                                                                <?php echo csrf_field(); ?>
                                                                <input type="hidden" name="route" value="faq.edit">
                                                                <input type="hidden" name="single_id" value="<?php echo e($faq_style2->id); ?>">
                                                                <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                                                <button type="submit" class="me-2 custom-pure-button">
                                                                    <i class="fa fa-edit text-info easier-custom-font-size-24"></i>
                                                                </button>
                                                            </form>
                                                        <?php endif; ?>
                                                    <?php endif; ?>
                                                    <div class="accordion-item wow fadeInUp" data-wow-duration="1s" data-wow-delay=".3s">
                                                        <h4 class="accordion-header">
                                                            <button class="accordion-button <?php if($loop->first): ?> collapsed <?php endif; ?>" type="button" data-bs-toggle="collapse" data-bs-target="#faqask<?php echo e($i); ?>" aria-expanded="false" aria-controls="faqask<?php echo e($i); ?>">
                                                                <?php echo e($faq_style2->question); ?>

                                                            </button>
                                                        </h4>
                                                        <div id="faqask<?php echo e($i); ?>" class="accordion-collapse collapse <?php if($loop->first): ?> show <?php endif; ?>" data-bs-parent="#mainaccordion">
                                                            <div class="accordion-body">
                                                                <?php echo html_entity_decode($faq_style2->answer); ?>
                                                            </div>
                                                        </div>
                                                    </div>
                                                <?php else: ?>
                                                    <?php break; ?>
                                                <?php endif; ?>
                                                <?php $i++; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            <?php unset($faq_style2); ?>

                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6 col-12">
                                    <div class="faq-accordion">
                                        <div class="accordion" id="faqtwo">
                                            <?php $i++; ?>
                                            <?php $__currentLoopData = $faqs_style2; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $faq_style2): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <?php if($loop->iteration >= $half_of_faqs): ?>
                                                    <?php if(Auth::user()): ?>
                                                        <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
                                                            <?php
                                                                $url = request()->path();
                                                                $modified_url = str_replace('/', '-bracket-', $url);
                                                            ?>
                                                            <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                                                                <?php echo csrf_field(); ?>
                                                                <input type="hidden" name="route" value="faq.edit">
                                                                <input type="hidden" name="single_id" value="<?php echo e($faq_style2->id); ?>">
                                                                <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                                                                <button type="submit" class="me-2 custom-pure-button">
                                                                    <i class="fa fa-edit text-info easier-custom-font-size-24"></i>
                                                                </button>
                                                            </form>
                                                        <?php endif; ?>
                                                    <?php endif; ?>
                                                    <div class="accordion-item wow fadeInUp" data-wow-duration="1s" data-wow-delay=".3s">
                                                        <h4 class="accordion-header">
                                                            <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#faqask<?php echo e($i); ?>" aria-expanded="false" aria-controls="faqask<?php echo e($i); ?>">
                                                                <?php echo e($faq_style2->question); ?>

                                                            </button>
                                                        </h4>
                                                        <div id="faqask<?php echo e($i); ?>" class="accordion-collapse collapse" data-bs-parent="#faqtwo">
                                                            <div class="accordion-body">
                                                                <?php echo html_entity_decode($faq_style2->answer); ?>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <?php $i++; ?>
                                                <?php endif; ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                            <?php unset($faq_style2); ?>

                                        </div>
                                    </div>
                                </div>
                            </div>
                        <?php else: ?>
                                <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                <div class="row faq-ask">
                                <div class="col-lg-6 col-12">
                                    <div class="faq-accordion">
                                        <div class="accordion" id="mainaccordion">
                                            <div class="accordion-item wow fadeInUp" data-wow-duration="1s" data-wow-delay=".3s">
                                                <h4 class="accordion-header">
                                                    <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#faqask1" aria-expanded="false" aria-controls="faqask1">
                                                        What can I do with Online Banking?
                                                    </button>
                                                </h4>
                                                <div id="faqask1" class="accordion-collapse collapse show" data-bs-parent="#mainaccordion">
                                                    <div class="accordion-body">
                                                        You can view account balances and transaction history, and transfer money between CSB accounts. You can online bill Payment that allows you to pay your bills quickly and easily!
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="accordion-item wow fadeInUp" data-wow-duration="1.1s" data-wow-delay=".6s">
                                                <h4 class="accordion-header">
                                                    <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faqask2" aria-expanded="true" aria-controls="faqask2">
                                                        When do I have access to use Online Banking?
                                                    </button>
                                                </h4>
                                                <div id="faqask2" class="accordion-collapse collapse" data-bs-parent="#mainaccordion">
                                                    <div class="accordion-body">
                                                        You can view account balances and transaction history, and transfer money between CSB accounts. You can online bill Payment that allows you to pay your bills quickly and easily!
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="accordion-item wow fadeInUp" data-wow-duration="1.1s" data-wow-delay=".9s">
                                                <h4 class="accordion-header">
                                                    <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faqask3" aria-expanded="false" aria-controls="faqask3">
                                                        How current is my banking information?
                                                    </button>
                                                </h4>
                                                <div id="faqask3" class="accordion-collapse collapse" data-bs-parent="#mainaccordion">
                                                    <div class="accordion-body">
                                                        You can view account balances and transaction history, and transfer money between CSB accounts. You can online bill Payment that allows you to pay your bills quickly and easily!
                                                    </div>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-6 col-12">
                                    <div class="faq-accordion">
                                        <div class="accordion" id="faqtwo">
                                            <div class="accordion-item wow fadeInUp" data-wow-duration="1s" data-wow-delay=".3s">
                                                <h4 class="accordion-header">
                                                    <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faqask11" aria-expanded="true" aria-controls="faqask11">
                                                        What happens if I forget or lose my password?
                                                    </button>
                                                </h4>
                                                <div id="faqask11" class="accordion-collapse collapse" data-bs-parent="#faqtwo">
                                                    <div class="accordion-body">
                                                        You can view account balances and transaction history, and transfer money between CSB accounts. You can online bill Payment that allows you to pay your bills quickly and easily!
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="accordion-item wow fadeInUp" data-wow-duration="1.1s" data-wow-delay=".6s">
                                                <h4 class="accordion-header">
                                                    <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faqask22" aria-expanded="true" aria-controls="faqask22">
                                                        Is my mobile device secure to use?
                                                    </button>
                                                </h4>
                                                <div id="faqask22" class="accordion-collapse collapse" data-bs-parent="#faqtwo">
                                                    <div class="accordion-body">
                                                        You can view account balances and transaction history, and transfer money between CSB accounts. You can online bill Payment that allows you to pay your bills quickly and easily!
                                                    </div>
                                                </div>
                                            </div>

                                            <div class="accordion-item wow fadeInUp" data-wow-duration="1.1s" data-wow-delay=".9s">
                                                <h4 class="accordion-header">
                                                    <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#faqask33" aria-expanded="false" aria-controls="faqask33">
                                                        Can I change my password on my banking app?
                                                    </button>
                                                </h4>
                                                <div id="faqask33" class="accordion-collapse collapse" data-bs-parent="#faqtwo">
                                                    <div class="accordion-body">
                                                        You can view account balances and transaction history, and transfer money between CSB accounts. You can online bill Payment that allows you to pay your bills quickly and easily!
                                                    </div>
                                                </div>
                                            </div>

                                        </div>
                                    </div>
                                </div>
                            </div>
                                <?php endif; ?>
                        <?php endif; ?>
                    </div>
                </section>

                <?php if(Auth::user()): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('section check')): ?>
            </div>
            <div class="easier-middle">
                <?php
                    $url = request()->path();
                    $modified_url = str_replace('/', '-bracket-', $url);
                ?>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="faq.create">
                    <input type="hidden" name="style" value="style2">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white me-2 mb-2">
                        <i class="fa fa-edit text-white"></i> <?php echo e(__('content.edit_section_title_description')); ?>

                    </button>
                </form>
                <form method="POST" action="<?php echo e(route('site-url.index')); ?>" class="d-inline-block">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="route" value="faq.create">
                    <input type="hidden" name="style" value="style2">
                    <input type="hidden" name="site_url" value="<?php echo e($modified_url); ?>">
                    <button type="submit" class="custom-btn text-white">
                        <i class="fa fa-plus text-white"></i> <?php echo e(__('content.add_faq')); ?>

                    </button>
                </form>
            </div>
        </div>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH /home/lltrusti/casinonexus.online/ajay/resources/views/frontend/sections/faq/faq-style2.blade.php ENDPATH**/ ?>