<?php
if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
?>
<div class="post-item swiper-slide">
    <article class="post-wrapper">
        <div class="content-wrapper">
            <div class="content-wrapper-inner" data-swiper-parallax="-100" >
                <?php $this->render_terms(); ?>
                <?php $this->render_title(); ?>
                <div class="meta-wrapper">
                    <?php $this->render_author(); ?>
                    <?php $this->render_date(); ?>
                    <?php $this->render_comments(); ?>
                    <?php $this->render_views_count(); ?>
                    <?php $this->render_reading_time(); ?>
                </div>
                <?php $this->render_excerpt(); ?>
                <?php $this->render_read_more(); ?>
            </div>
        </div>
        <div class="image-wrapper">
            <?php
            $thumb_args = [ 'title' => get_the_title(), 'data-swiper-parallax-scale' => "1.3" ];
            if(0 <= $current_post_num && $current_post_num < intval($settings['skip_lazy_loading']) ) {
                $thumb_args ['loading'] = 'eager'; // Defaults is 'lazy'
            }
            the_post_thumbnail($settings['thumbnail_size'], $thumb_args);
            ?>
        </div>
    </article>
</div>