<?php if($posts->isNotEmpty()): ?>
    <div class="row">
        <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <div class="box col-lg-4 col-md-6">
                <div class="flat-blog-item hover-img">
                    <a class="img-style" href="<?php echo e($post->url); ?>">
                        <?php echo e(RvMedia::image($post->image, $post->name, 'medium-rectangle')); ?>

                        <span class="date-post"><?php echo e(Theme::formatDate($post->created_at)); ?></span>
                    </a>
                    <div class="content-box">
                        <div class="post-author">
                            <?php if(theme_option('blog_show_author_name', 'yes') == 'yes' && class_exists($post->author_type) && ($author = $post->author ?? null) && trim($author->name)): ?>
                                <span class="fw-6"><?php echo e($post->author->name); ?></span>
                            <?php endif; ?>

                            <?php if($category = $post->firstCategory): ?>
                                <span>
                                    <a href="<?php echo e($category->url); ?>"><?php echo e($category->name); ?></a>
                                </span>
                            <?php endif; ?>
                        </div>
                        <h6 class="title">
                            <a href="<?php echo e($post->url); ?>" class="w-100 text-truncate"><?php echo BaseHelper::clean($post->name); ?></a>
                        </h6>
                        <?php if($post->description): ?>
                            <p class="description"><?php echo BaseHelper::clean(Str::limit($post->description)); ?></p>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
<?php endif; ?>
<?php /**PATH /home/agriwurd/capitalpropertiesandresidence.com/platform/themes/homzen/views/blog/partials/posts.blade.php ENDPATH**/ ?>