<?php

use Elementor\Utils;

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

list($animate_class, $animation_attr) = tfl_get_animation_atts($settings['widget_animation']);
$image = $settings['bg_image'];
$imageUrl = wp_get_attachment_image_src($image['id'], 'full', false, array('class' => 'tfl-image full'));
?>

<div class="tfl-quote <?php echo $animate_class; ?>" <?php echo $animation_attr; ?>
     style="background-image: url( <?php echo $imageUrl[0]; ?>)">
    <div class="d-flex">



        <div class="tfl-content-wrapper">
            <div class="tfl-text">
                <div class="text-inner">
                    <div class="heading">
                        <?php echo wp_kses_post($settings['quote_title']); ?>
                    </div>
                    <div class="content">
                        <?php echo wp_kses_post($settings['short_text']); ?>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>