        <div class="fon-1 mob-p-0">
            <div class="about-us-area">
                <div class="container">
                    <div class="row bg-white px-md-5 px-3 pt-5 pb-4">
                        <h1>Наші новини</h1>
<?php $__currentLoopData = $articles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <div class="col-12 mb-30">
                            <div class="row banner-wrap res-white-overly-xs res-white-overly-md">
                                <div class="col-md-6 align-self-center">
                                    <a href="/news/<?php echo $item->alias; ?>">
                                        <img src="<?php echo $item->img; ?>" alt="banner">
                                    </a>
                                </div>
                                <div class="col-md-6 align-self-center">
                                    <div class="banner-content-10 mb-20">
                                        <h2  class="category-h2"><?php echo $item->h1; ?> </h2>
                                        <div class="text-left mt-30">
                                            <?php echo $item->text1; ?>

                                        </div>
                                        <hr>
                                        <div class="text-left mt-30">
                                            <a href="/news/<?php echo $item->alias; ?>" class="text-left p-3 btn-danger">Детальніше ...</a>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php if(isset($articles)): ?>
                            <?php if($articles->lastPage() > 1): ?>
                                <div class="pagination-style text-center mx-auto mt-3 mb-4">
                                        <ul class="mx-auto">
                                            <?php if($articles->currentPage() != 1): ?>
                                                <li>
                                                    <a class="prev" href="<?php echo $articles->url(($articles->currentPage() - 1)); ?>" aria-label="Previous">
                                                        <i class="la la-angle-left"></i>
                                                    </a>
                                                </li>

                                            <?php endif; ?>
                                            <?php for($i = 1; $i <= $articles->lastPage(); $i++): ?>
                                                <?php if($i >= ($articles->currentPage() + 3) || $i <= ($articles->currentPage() - 3)): ?>
                                                <?php elseif($articles->currentPage() == $i): ?>
                                                    <li><a class="active" href="javascript:void(0)"><?php echo $i; ?></a></li>
                                                <?php else: ?>
                                                    <li><a class="" href="<?php echo $articles->url($i); ?>"><?php echo $i; ?></a></li>
                                                <?php endif; ?>
                                            <?php endfor; ?>
                                            <?php if($articles->currentPage() !== $articles->lastPage()): ?>
                                                <li>
                                                    <a class="next" href="<?php echo $articles->url(($articles->currentPage() + 1)); ?>" aria-label="Next">
                                                        <i class="la la-angle-right"></i>
                                                    </a>
                                                </li>
                                            <?php endif; ?>
                                        </ul>
                                </div>
                            <?php endif; ?>
                        <?php endif; ?>





                    </div>
                </div>
            </div>
        </div>
