<?php

/**
 * @package     Joomla.Site
 * @subpackage  mod_articles_news
 *
 * @copyright   (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Helper\ModuleHelper;

if (!$list) {
    return;
}

?>
<div class="mod-articles-flash mod-cost">
	<div class="row">
		<?php foreach ($list as $item) : ?>
			<div class="col-12 col-md-4">
				<div class="item" itemscope itemtype="https://schema.org/Article">
					<?php require ModuleHelper::getLayoutPath('mod_articles_news', '_cost'); ?>
				</div>
			</div>
		<?php endforeach; ?>
	</div>
</div>
