<?php if ('layout_three' == $settings['layout_type']) : ?>
    <section class="gallery-one gallery-one--page">
        <div class="container">
            <div class="gallery-one__carousel ostech-owl__carousel  ostech-owl__carousel--basic-nav owl-carousel owl-theme" data-owl-options='<?php echo esc_attr(ostech_get_owl_options($settings)); ?>'>
                <?php foreach ($settings['gallery_list_three'] as $index => $item) :  ?>
                    <div class="item">
                        <div class="gallery-one__card">
                            <?php ostech_elementor_rendered_image($item, 'image'); ?>
                            <div class="gallery-one__card__hover">
                                <a href="<?php echo esc_url($item['image']['url']); ?>" class="img-popup">
                                    <div class="gallery-one__card__icon">
                                        <span class="gallery-one__card__icon__item"></span>
                                    </div>
                                </a>
                            </div><!-- /.gallery-one__card__hover -->
                        </div><!-- /.gallery-one__card -->
                    </div><!-- /.col-md-6 col-lg-4 -->
                <?php endforeach; ?>
            </div><!-- /.gallery-one__carousel -->
        </div><!-- /.container-fluid -->
    </section><!-- /.gallery-one -->
<?php endif; ?>