<?php if(@$cases): ?>
<section id="slider-cases" class="c-case">
    <div class="c-case__items js-slider-outer">
        <?php $__currentLoopData = $cases; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $case): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php $image = isset($case['background']) ? url('storage/blog/'.$case['background']) : asset('assets/img/content/case-02.jpg'); ?>
            <div class="c-case__item" style="background-image: url(<?php echo e($image); ?>);">
                <div class="container c-case__wrap">
                    <div class="c-case__meta">
                        <p><?php echo e($case['categoria']['name']); ?></p>
                    </div>
                    <div class="c-case__info">
                        <h2 class="c-case__info__title"><?php echo $case['title']; ?></h2>
                        <p><?php echo $case['description']; ?></p>
                        <a class="c-button" href="<?php echo e(route('site.caseInterna', $case['slug'])); ?>"
                            style="background-color: #C5D105; color: #fff; border-color: transparent;"
                            onMouseOver="this.style.backgroundColor='#FFF'; this.style.color='#C5D105' this.style.borderColor='#c5D105'"
                            onMouseOut="this.style.backgroundColor='#C5D105'; this.style.color='#fff' this.style.borderColor='#c5D105'">Saiba mais</a>
                    </div>
                </div>
            </div>

        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>

    <div class="c-case__nav container js-slider-nav">
        <?php $__currentLoopData = $cases; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $case): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <button><?php echo e($key + 1); ?></button>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
    <div class="c-case__controls container js-slider-controls">
        <button aria-label="Anterior"><i class="icon icon-arrow-left"></i></button>
        <button aria-label="Próximo"><i class="icon icon-arrow-right"></i></button>
    </div>
</section>
<?php endif; ?>
<?php /**PATH /var/www/sitetemp.apoiocotacoes.com.br/apoio/resources/views/site/partials/blocos/case.blade.php ENDPATH**/ ?>