<?php
/**
 * Section template.
 *
 * @package    Cherry_Interface_Builder
 * @subpackage Views
 * @author     Cherry Team <cherryframework@gmail.com>
 * @copyright  Copyright (c) 2012 - 2017, Cherry Team
 * @link       http://www.cherryframework.com/
 * @license    http://www.gnu.org/licenses/gpl-3.0.html
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}
?>
<div class="cherry-ui-kit cherry-section <?php echo esc_attr( $__data['class'] ); ?>" onclick="void(0)">
	<div class="cherry-section__holder">
		<div class="cherry-section__inner">
			<div class="cherry-section__info">
				<?php if ( ! empty( $__data['title'] ) ) { ?>
					<h1 class="cherry-ui-kit__title cherry-section__title" role="banner" ><?php echo wp_kses_post( $__data['title'] ); ?></h1>
				<?php } ?>
				<?php if ( ! empty( $__data['description'] ) ) { ?>
					<div class="cherry-ui-kit__description cherry-section__description " role="note" ><?php echo wp_kses_post( $__data['description'] ); ?></div>
				<?php } ?>
			</div>
			<?php if ( ! empty( $__data['children'] ) ) { ?>
				<div class="cherry-ui-kit__content cherry-section__content" role="group" >
					<?php echo Cherry5_Interface_Builder::kses( $__data['children'] ); ?>
				</div>
			<?php } ?>
		</div>
	</div>
</div>
