<?php if ('layout_six' == $settings['layout_type']) : ?>
    <!-- Portfolio Start -->
    <section class="portfolio-two">
        <div class="container">
            <div class="row">
                <?php foreach ($settings['portfolio_six_list'] as $index => $item) :  ?>
                    <div class="col-xl-3 col-lg-4 col-md-6">
                        <div class="portfolio-two__item portfolio-two__item-sm">
                            <div class="portfolio-two__thumb">
                                <?php ostech_elementor_rendered_image($item, 'image'); ?>
                            </div>
                            <div class="portfolio-two__hover">
                                <a class="portfolio-two__read-more" href="<?php echo esc_url($item['url']['url']); ?>" <?php esc_attr(!empty($item['url']['is_external']) ? "target=_blank" : ' '); ?>><span class="icon-right-arrow"></span></a>
                                <div class="portfolio-two__hover-bottom">
                                    <div class="portfolio-two__cats">
                                        <?php
                                        if (!empty($item['tag_line'])) :
                                            ostech_basic_rendered_content($this, $item,  'tag_line', '', 'a');
                                        endif;
                                        ?>
                                    </div>
                                    <<?php echo esc_attr($item['portfolio_title_tag_layout_six']); ?> class="portfolio-two__title">
                                        <?php
                                        if (!empty($item['title'])) :
                                            ostech_basic_rendered_content($this, $item,  'title', '', 'a');
                                        endif;
                                        ?>
                                    </<?php echo esc_attr($item['portfolio_title_tag_layout_six']); ?>>
                                </div>
                            </div>
                        </div><!-- folio-item -->
                    </div><!-- folio-columng -->
                <?php endforeach; ?>
            </div>
        </div>
    </section>
    <!-- Portfolio End -->
<?php endif; ?>