<?php if ('layout_one' == $settings['layout_type']) : ?>
    <div class="footer-widget footer-widget--instagram">
        <<?php echo esc_attr($settings['title_tag_layout_one']) ?> class="footer-widget__title"><?php echo wp_kses($settings['title'], 'ostech_allowed_tags'); ?></<?php echo esc_attr($settings['title_tag_layout_one']) ?>>
        <div class="footer-widget__instagram">
            <?php foreach ($settings['footer_gallery_list'] as $item) : ?>
                <a href="<?php echo esc_url($item['image']['url']) ?>" class="img-popup">
                    <?php ostech_elementor_rendered_image($item, 'image'); ?>
                </a>
            <?php endforeach; ?>
        </div>
    </div>
<?php endif; ?>