<section data-scroll-section class="pSection rse-<?php echo $section['style']; ?> rse-<?php echo $section['acf_fc_layout']; ?>">
    <div class="container" <?php echo $section['anchor'] == 'true' ? 'is-anchor': ''; ?> data-scroll data-scroll-call="detectSection" data-ui="<?php echo ($section['style'] == 'light') ? 'dark' : 'light' ; ?>" data-scroll-repeat data-scroll-offset="90%, 10%">
        
        <?php if ($section['quote']): ?>
            <div class="row">
                <div class="col-13 offset-3 col-xs-15 offset-xs-2">
                    <div class="rse-carousel_quote">
                        <?php svg('quote') ?>
                        <?php echo $section['quote']; ?>
                    </div>
                </div>
            </div>
        <?php endif; ?>


        <div class="rse-carousel_wrap">
            <div class="row">
                <div class="col-15 offset-3 col-md-17 offset-md-1 col-sm-18 offset-sm-0 col-xs-18 offset-xs-0">
                <?php if ($section['items']): ?>
                    <div class="swiper-container rse-carousel_swiper" data-scroll data-scroll-call="rseCarousel" data-scroll-offset="20%"> 
                        <div class="swiper-wrapper">
                            <?php $cptCarousel = 1; foreach ($section['items'] as $item): ?>
                                <div class="swiper-slide">
                                    <div class="rse-carousel_swiper_slide">
                                        <div class="imageRender">
                                            <img src="<?php echo getImageUrl($item['image'], 'lazy'); ?>"
                                                    <?php echo getImageSrcSetSizes($item['image']); ?>
                                                    alt="" class="__vhidden">
                                        </div>
                                        <div class="imageRender_label">
                                            <div class="imageRender_label_num"><?php echo addZero($cptCarousel); ?></div>
                                            <?php if ($item['label']): ?>
                                            <div class="imageRender_label_txt"><?php echo $item['label'] ?></div>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                            <?php $cptCarousel++; endforeach; ?>
                        </div>
                    </div>
                <?php endif; ?>
                </div>
            </div>
        </div>
    </div>
</section>