<?php
/**
 * Team Member Template 1
 *
 * This template can be overridden by copying it to mytheme/addons-for-elementor/addons/list-items/style1.php
 *
 */

use Elementor\Utils;

if (!defined('ABSPATH')) {
    exit; // Exit if accessed directly
}

?>

<div class="tfl-grid-item tfl-box-item-wrapper col-md-6 col-lg-6 col-xl-3">

    <?php list($animate_class, $animation_attr) = tfl_get_animation_atts($item['widget_animation']); ?>

        <?php
        if(isset($item['box_image']) ): ?>
            <div class="tfl-image-wrapper">
                <?php
                $settings['thumbnail_size_size']= 'full';
                $image_html = tfl_get_image_html($item['box_image'], 'thumbnail_size', $settings);
                echo $image_html;
                ?>
            </div>
        <?php endif; ?>

        <div class="tfl-box-item-text">
            <h5 class="tfl-title">
                <a href="<?php echo do_shortcode($item['link']); ?>">
                    <?php echo do_shortcode($item['box_title']); ?>
                </a>
                <?php //echo do_shortcode($item['box_title']); ?>

            </h5>

            <div class="tfl-subtitle">

                <?php echo do_shortcode($item['box_subtitle']); ?>

            </div>

        </div>
</div><!-- .tfl-list-item-wrapper -->