<div class="pt-50 <?php echo e($shortcode->background_style); ?>">
    <div class="container">
        <div class="row">
            <div class="col-lg-8">
                <div class="row d-flex justify-content-between">
                    <div class="col-lg-3 col-md-3">
                        <div class="widget-header position-relative mb-30">
                            <h5 class="widget-title mb-30 text-uppercase color4 font-weight-ultra"><?php echo e($shortcode->title); ?></h5>
                            <div class="letter-background"><?php echo e($shortcode->subtitle); ?></div>
                        </div>
                    </div>
                    <div class="col-lg-9 col-md-9">
                        <!--Tab Nav  -->
                        <nav class="tab-nav style-1">
                            <div class="nav nav-tabs" id="nav-tab" role="tablist">
                                <?php $__currentLoopData = $categoriesData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <a class="nav-item nav-link <?php if($loop->index == 0): ?> active <?php endif; ?>"
                                       id="nav-category-<?php echo e($item['category']->id); ?>-tab" data-toggle="tab"
                                       href="#nav-category-tab-<?php echo e($item['category']->id); ?>" role="tab"
                                       aria-controls="nav-category-<?php echo e($item['category']->id); ?>" aria-selected="true">
                                        <?php if($loop->index == 0): ?><i class="mr-5 ti-pulse"></i><?php endif; ?> <?php echo e($item['category']->name); ?>

                                    </a>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                        </nav>
                        <!--End Tab Nav  -->
                    </div>
                </div>
                <div class="row">
                    <div class="col-12">
                        <!-- Tab content -->
                        <div class="tab-content" id="nav-tabContent">
                            <?php $__currentLoopData = $categoriesData; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="tab-pane fade show <?php if($loop->index == 0): ?> active <?php endif; ?>"
                                     id="nav-category-tab-<?php echo e($item['category']->id); ?>" role="tabpanel"
                                     aria-labelledby="nav-<?php echo e($item['category']->id); ?>-tab">
                                    <div class="block-tab-item post-module-2 post-module-1">
                                        <div class="row">
                                            <?php if(!empty($item['posts'][0])): ?>
                                                <div class="col-md-6">
                                                    <div class="post-block-style">
                                                        <?php echo Theme::partial('components.post-card-1-block', [
                                                        'post' => $item['posts'][0],
                                                        'categoryInImage' => true
                                                        ]); ?>

                                                    </div>
                                                </div>
                                            <?php endif; ?>
                                            <div class="col-md-6">
                                                <div class="row">
                                                    <?php $__currentLoopData = $item['posts']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                        <?php if($loop->index == 0): ?>
                                                            <?php continue; ?>
                                                        <?php endif; ?>
                                                        <div class="col-md-6 col-sm-6 sm-grid-content mb-30">
                                                            <?php echo Theme::partial('components.post-card-1-block-simple', [
                                                            'post' => $post,
                                                            'imageType' => 'medium'
                                                            ]); ?>

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

            <div class="col-lg-4">
                <div class="widget-area">
                    <?php if($shortcode->show_follow_us_section): ?>
                        <?php echo Theme::partial('components.sidebar-social'); ?>

                    <?php endif; ?>

                    <?php if($shortcode->ads_location): ?>
                        <?php echo display_ad($shortcode->ads_location, ['class' => 'sidebar-widget mb-30 text-center']); ?>

                    <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</div>
<?php /**PATH C:\Users\Admin\Documents\UltraNews v4.0.0 Nulled\UltraNews v4.0.0 Nulled\ultra-news\platform\themes/ultra/partials/shortcodes/categories-tab-posts.blade.php ENDPATH**/ ?>