<!--Featured post Start-->
<div class="home-featured">
    <div class="post-carausel-3 post-module-1">
        <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="thumb-overlay img-hover-slide position-relative"
                 style="background-image: url(<?php echo e(RvMedia::getImageUrl($post->image, null, false, RvMedia::getDefaultImage())); ?>)">
                <?php if(is_video_post($post)): ?>
                    <span class="top-right-icon background3"><i class="ti-video-camera"></i></span>
                <?php endif; ?>
                <?php if(is_external_link($post)): ?>
                    <span class="top-right-icon background10"><i class="ti-link" aria-hidden="true"></i></span>
                <?php endif; ?>
                <a class="img-link" href="<?php echo e(get_external_link($post)); ?>" <?php echo e(is_external_link($post) ? 'target="_blank"' : ''); ?>></a>
                <div class="post-content-overlay ml-30 mr-30">
                    <?php $category = $post->categories->first(); ?>
                    <?php if($category): ?>
                        <div class="entry-meta meta-0 font-small mb-10">
                            <a href="<?php echo e($category->url); ?>">
                                <span
                                    class="post-cat <?php echo e(random_background()); ?> color-white font-small"><?php echo e($category->name); ?></span>
                            </a>
                        </div>
                    <?php endif; ?>
                    <h3 class="post-title">
                        <a class="color-white" href="<?php echo e(get_external_link($post)); ?>" <?php echo e(is_external_link($post) ? 'target="_blank"' : ''); ?>><?php echo e($post->name); ?></a>
                    </h3>
                    <div class="entry-meta meta-1 font-small color-grey mt-10 pr-5 pl-5">
                        <span class="post-on"><?php echo e($post->created_at->format(post_date_format(false))); ?></span>
                        <span class="hit-count has-dot"><?php echo e(number_format($post->views)); ?> <?php echo e(__('views')); ?></span>
                        <a class="float-right" href="#"><i class="ti-heart"></i></a>
                    </div>
                </div>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </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/posts-slider-style-4.blade.php ENDPATH**/ ?>