<?php

use Elementor\Utils;

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}
list($animate_class, $animation_attr) = tfl_get_animation_atts($settings['widget_animation']);
?>

    <article id="post-<?php the_ID(); ?>" <?php post_class('col-md-3'); ?>>
        <div class="wrap-thumb">
            <?php tfl_starter_post_thumbnail(); ?>
            <div class="box-content">
                <div class="left-content">
                    <div class="title">
                        <?php the_title('<h5>', '</h5>'); ?>
                    </div>
                    <div class="sub-title">
                        <?php the_excerpt(); ?>
                    </div>
                </div>
                <div class="right-content">
                    <a href="<?php the_permalink(); ?>">
                        <i class="fas fa-arrow-right"></i>
                    </a>
                </div>
            </div>
        </div>
    </article>
