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

                <section class="our-team-wrapper section-bg section-padding">
                    <div class="container">
                        <?php if(Auth::user()): ?>
                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('team 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($team_section_style1)): ?>
                            <div class="row d-flex align-items-end mb-4 mb-lg-5">
                                <div class="col-lg-7 text-center text-lg-start col-xl-5">
                                    <div class="block-contents">
                                        <div class="section-title mb-0 wow fadeInDown" data-wow-duration="1.2s">
                                            <h2 class="mb-0"><?php echo html_entity_decode($team_section_style1->title); ?></h2>
                                        </div>
                                    </div>
                                </div>
                                <?php if(!empty($team_section_style1->button_name)): ?>
                                    <div class="col-lg-5 d-none d-lg-block mt-lg-0 offset-xl-3 col-xl-4 text-lg-end">
                                        <a href="<?php echo e($team_section_style1->button_url); ?>" class="theme-btn"><?php echo e($team_section_style1->button_name); ?></a>
                                    </div>
                                <?php endif; ?>
                            </div>
                        <?php else: ?>
                            <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                <div class="row d-flex align-items-end mb-4 mb-lg-5">
                                    <div class="col-lg-7 text-center text-lg-start col-xl-5">
                                        <div class="block-contents">
                                            <div class="section-title mb-0 wow fadeInDown" data-wow-duration="1.2s">
                                                <h2 class="mb-0">Meet members of our creative team</h2>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-5 d-none d-lg-block mt-lg-0 offset-xl-3 col-xl-4 text-lg-end">
                                        <a href="#" class="theme-btn">Meet All Members</a>
                                    </div>
                                </div>
                            <?php endif; ?>
                        <?php endif; ?>

                        <?php if(is_countable($teams_style1) && count($teams_style1) > 0): ?>
                            <div class="row">
                                <?php $__currentLoopData = $teams_style1; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <div class="col-xl-4 col-md-6">
                                        <?php if(Auth::user()): ?>
                                            <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('team 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="team.edit">
                                                    <input type="hidden" name="single_id" value="<?php echo e($item->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="single-team-member">
                                            <?php if(!empty($item->section_image)): ?>
                                                <div class="member-img bg-cover" style="background-image: url(<?php echo e(asset('uploads/img/team/'.$item->section_image)); ?>)"></div>
                                            <?php endif; ?>
                                            <div class="member-info">
                                                <h4><?php echo e($item->name); ?></h4>
                                                <span><?php echo e($item->job); ?></span>
                                                <?php if(!empty($item->facebook_url)): ?> <a href="<?php echo e($item->facebook_url); ?>"><i class="fab fa-facebook-f"></i></a> <?php endif; ?>
                                                <?php if(!empty($item->twitter_url)): ?> <a href="<?php echo e($item->twitter_url); ?>"><i class="fab fa-twitter"></i></a> <?php endif; ?>
                                                <?php if(!empty($item->instagram_url)): ?> <a href="<?php echo e($item->instagram_url); ?>"><i class="fab fa-instagram"></i></a> <?php endif; ?>
                                                <?php if(!empty($item->youtube_url)): ?> <a href="<?php echo e($item->youtube_url); ?>"><i class="fab fa-youtube"></i></a> <?php endif; ?>
                                                <?php if(!empty($item->linkedin_url)): ?> <a href="<?php echo e($item->linkedin_url); ?>"><i class="fab fa-linkedin"></i></a> <?php endif; ?>
                                            </div>
                                        </div>
                                    </div>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php unset($item); ?>
                            </div>
                        <?php else: ?>
                            <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                <div class="row">
                                    <div class="col-xl-4 col-md-6">
                                        <div class="single-team-member">
                                            <div class="member-img bg-cover" style="background-image: url(<?php echo e(asset('uploads/img/dummy/435x430.webp')); ?>)"></div>
                                            <div class="member-info">
                                                <h4>Johnny Scott</h4>
                                                <span>CEO and founder</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-md-6">
                                        <div class="single-team-member">
                                            <div class="member-img bg-cover" style="background-image: url(<?php echo e(asset('uploads/img/dummy/435x430.webp')); ?>)"></div>
                                            <div class="member-info">
                                                <h4>Marion Keith</h4>
                                                <span>Content Writer/Marketer</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-xl-4 col-md-6">
                                        <div class="single-team-member">
                                            <div class="member-img bg-cover" style="background-image: url(<?php echo e(asset('uploads/img/dummy/435x430.webp')); ?>)"></div>
                                            <div class="member-info">
                                                <h4>Romeo Noel</h4>
                                                <span>Graphic Designer</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            <?php endif; ?>
                        <?php endif; ?>
                        <?php if(isset($team_section_style1)): ?>
                            <?php if(!empty($team_section_style1->button_name)): ?>
                                <div class="col-12 text-center mt-5 mt-lg-0 d-block d-md-none">
                                    <a href="<?php echo e($team_section_style1->button_url); ?>" class="theme-btn"><?php echo e($team_section_style1->button_name); ?></a>
                                </div>
                            <?php endif; ?>
                        <?php else: ?>
                            <?php if(Auth::user() || $draft_view == null || $draft_view->status == 'enable'): ?>
                                <div class="col-12 text-center mt-5 mt-lg-0 d-block d-md-none">
                                    <a href="#" class="theme-btn">Meet All Members</a>
                                </div>
                            <?php endif; ?>
                        <?php endif; ?>
                    </div>
                </section>

                <?php if(Auth::user()): ?>
                    <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('team 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="team.index">
                    <input type="hidden" name="style" value="style1">
                    <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="team.create">
                    <input type="hidden" name="style" value="style1">
                    <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-plus text-white"></i> <?php echo e(__('content.add_team')); ?>

                    </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="team.index">
                    <input type="hidden" name="style" value="style1">
                    <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="fas fa-people-carry text-white"></i> <?php echo e(__('content.teams')); ?>

                    </button>
                </form>
            </div>
        </div>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH /home/beevgisw/grievances/resources/views/frontend/sections/team/team-style1.blade.php ENDPATH**/ ?>