<?php

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

$container_style = 'tfl-container';

?>

<div class="tfl-blur_box-items tfl-blur_box-items-<?php echo $settings['style']; ?> <?php echo $container_style; ?>">

    <?php
    //    if ($settings['list_bg']) {
    //        echo '<div class="bg-item" style="background-image: url(' . $settings['list_bg']['url'] . ')"></div>';
    //    }
    ?>

    <div class="row">
        <?php foreach ($settings['items'] as $index => $item): ?>

            <?php $args['index'] = $index; ?>

            <?php $args['item'] = $item; ?>

            <?php tfl_get_template_part("addons/blur-box/".$settings['style'], $args); ?>

        <?php endforeach; ?>
    </div>

</div><!-- .tfl-list-items -->

<div class="tfl-clear"></div>