<?php if(isset($settings['lists']) && !empty($settings['lists']) && count($settings['lists'])):
$image_size = !empty($settings['img_size']) ? $settings['img_size'] : '600x1084'; ?>
    <div class="pxl-inner-click pxl-inner-click1">
    	<div class="pxl-click-inner">
    		<?php foreach ($settings['lists'] as $key => $value):
    			$number = isset($value['number']) ? $value['number'] : '';
    			$field = isset($value['field']) ? $value['field'] : '';
    			$image = isset($value['image']) ? $value['image'] : '';
    			$desc_default = isset($value['desc_default']) ? $value['desc_default'] : '';
    			$text1 = isset($value['text1']) ? $value['text1'] : '';
    			$text2 = isset($value['text2']) ? $value['text2'] : '';
    			$text3 = isset($value['text3']) ? $value['text3'] : '';
    		 	?>
	            <div class="pxl-item <?php echo esc_attr($settings['pxl_animate']); ?>" data-wow-delay="<?php echo esc_attr($settings['pxl_animate_delay']); ?>ms">
	            	<div class="pxl-item-field">
	            		<div class="pxl-item--number">
			                <?php echo pxl_print_html($value['number'])?>
		                </div>
		                <div class="pxl-title-field">
			                <?php echo pxl_print_html($value['field'])?>
		                </div>
	            	</div>
	            	<div class="pxl-item-setion">
	            		<div class="pxl-item-default">
	            			<?php if(!empty($image['id'])) { 
		                        $img = pxl_get_image_by_size( array(
		                            'attach_id'  => $image['id'],
		                            'thumb_size' => $image_size,
		                            'class' => 'no-lazyload',
		                        ));
		                        $thumbnail = $img['thumbnail'];
		                        ?>
		                        <div class="pxl-item--img">
		                            <?php echo wp_kses_post($thumbnail); ?>
		                        </div>
		                    <?php } ?>
		                    <div class="pxl-item-content">
		                    	<div class="pxl-item--title">
					                <?php echo pxl_print_html($value['title_default'])?>
				                </div>
				                <div class="pxl-item--desc"><?php echo pxl_print_html($desc_default); ?></div>
				                <div class="pxl-list-text">
				                	<div class="pxl-item--text pxl-pl-19">
						                <?php echo pxl_print_html($value['text1'])?>
					                </div>
					                <div class="pxl-item--text pxl-pl-19">
						                <?php echo pxl_print_html($value['text2'])?>
					                </div>
					                <div class="pxl-item--text pxl-pl-19">
						                <?php echo pxl_print_html($value['text3'])?>
					                </div>
				                </div>
		                    </div>
	            		</div>
	            	</div>
	            </div>
	        <?php endforeach; ?>
    	</div>
    </div>
<?php endif; ?>