<?php
    $columnStyle = isset($columnStyle) ? $columnStyle : [6, 6];
?>
<div class="col-md-<?php echo e($columnStyle[0]); ?>">
    <div class="post-thumb position-relative thumb-overlay mr-20">
        <div class="img-hover-slide border-radius-5 position-relative lazy"
             data-bg="<?php echo e(RvMedia::getImageUrl($post->image, 'medium', false, RvMedia::getDefaultImage())); ?>"
             style="background-image: url(<?php echo e(RvMedia::getImageUrl(theme_option('img_loading'))); ?>)">
            <a class="img-link" href="<?php echo e(get_external_link($post)); ?>" <?php echo e(is_external_link($post) ? 'target="_blank"' : ''); ?>></a>
            <?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; ?>
        </div>
        <ul class="social-share">
            <li><a href="#"><i class="ti-sharethis"></i></a></li>
            <?php echo Theme::partial('components.social-share-post-simple', compact('post')); ?>

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

<div class="col-md-<?php echo e($columnStyle[1]); ?>">
    <div class="post-content">
        <div class="entry-meta meta-0 font-small mb-15">
            <?php $category = $post->categories->first(); ?>
            <?php if($category): ?>
                <a href="<?php echo e($category->url); ?>">
                    <span class="post-cat <?php echo e(random_background()); ?> color-white"><?php echo e($category->name); ?></span>
                </a>
            <?php endif; ?>
        </div>
        <h4 class="post-title">
            <a href="<?php echo e(get_external_link($post)); ?>" <?php echo e(is_external_link($post) ? 'target="_blank"' : ''); ?>>
                <?php echo e($post->name); ?>

            </a>
        </h4>
        <div class="entry-meta meta-1 font-small color-grey mt-15 mb-15 d-flex">
            <span class="post-on"><?php echo e($post->created_at->format(post_date_format())); ?></span>
            <span class="time-reading">
                <i class="ti-timer"></i>
                <?php echo e(get_time_to_read($post)); ?> <?php echo e(__('mins read')); ?>

            </span>
            <span class="hit-count"><i class="ti-bolt"></i><?php echo e(number_format($post->views) . ' ' . __('views')); ?></span>
        </div>
        <p class="font-medium"><?php echo clean($post->description); ?></p>
        <?php if(isset($showReadMoreText) ? $showReadMoreText : true): ?>
            <?php if(!is_plugin_active('external-source')): ?>
                <a class="readmore-btn font-small text-uppercase font-weight-ultra" href="<?php echo e($post->url); ?>">
                    <?php echo e(__('Read More')); ?>

                    <i class="ti-arrow-right ml-5 transition-02s"></i>
                </a>
            <?php endif; ?>
        <?php endif; ?>
    </div>
</div>
<?php /**PATH C:\Users\Admin\Documents\UltraNews v4.0.0 Nulled\UltraNews v4.0.0 Nulled\ultra-news\platform\themes/ultra/partials/components/post-card-2-block.blade.php ENDPATH**/ ?>