<?php
    $style = isset($args['style']) ? $args['style'] : '';
?>

<section class="section <?php echo $style; ?>">
    <div class="container">
        <div class="text-cont slide-down">
            <h2 class="section-title"><?php echo get_field('abc_classification_heading'); ?></h2>
			<p class="section-content mt-3 mb-0">
			    <?php echo get_field('abc_classification_description'); ?>
			</p>
        </div>
        <div class="row align-items-lg-center">
            <div class="col-lg-6">
                <div class="text-content slide-right">
                    <h3 class="section-innertitle"><?php echo get_field('abc_classification_sub_heading'); ?></h3>
                    <?php $abc_classification_features = get_field('abc_classification_features'); ?>
                    <?php if ( is_array($abc_classification_features) && count($abc_classification_features) ) : ?>
                        <ul>
                            <?php foreach ($abc_classification_features as $feature) : ?>
                                <li><?php echo $feature['item']; ?></li>
                            <?php endforeach; ?>
                        </ul>
                    <?php endif; ?>
                </div>
            </div>
            <div class="col-lg-6">
                <div class="img-content slide-left">
                    <img src="<?php echo get_field('abc_classification_image'); ?>" alt="<?php echo strip_tags(get_field('abc_classification_heading')); ?>" class="img-fluid" loading="lazy">
                </div>
            </div>
        </div>
    </div>
</section>