<section data-scroll-section class="pSection rse-<?php echo $section['style']; ?> rse-<?php echo $section['acf_fc_layout']; ?>">
    <div class="pSection_target rse-video--<?php echo $cptrse; ?>"></div>
    <div <?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%">
        <div class="container">
            <div class="row">
                <div class="col-9 col-xs-18 col--noPT col--noPB">
                    <div class="pSection_header pSection_header--top" data-scroll data-scroll-sticky data-scroll-target=".rse-video--<?php echo $cptrse; ?>">
                        <div class="pSection_header_inner">
                            <div class="sectionTitle <?php echo ($section['style'] == 'light') ? '' : 'sectionTitle--light' ; ?>" data-scroll data-scroll-call="sectionTitle" data-scroll-offset="15%">
                                <div class="sectionTitle_header">
                                    <div class="sectionTitle_header_content">
                                        <div class="sectionTitle_header_content_title"><?php echo $section['surtitle']; ?></div>
                                        <div class="sectionTitle_header_content_separator"></div>
                                    </div>
                                </div>
                                <div class="sectionTitle_content">
                                    <?php echo $section['title']; ?>
                                </div>
                            </div>
                            <?php if(!$section['content']): ?>
                            <div class="rse-video_button" data-render=".rse-video_render--<?php echo $cptrse; ?>">
                                <?php echo $section['label']; ?>
                                <span class="rse-video_button_play">
                                    <svg width="16" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.568 8.967 1.75.209C1.34 0 .947-.052.568.052.19.156 0 .596 0 1.37v17.248c0 .715.2 1.147.602 1.296.402.149.784.104 1.148-.134l13.818-8.758c.288-.283.432-.626.432-1.028s-.144-.744-.432-1.027Z" /></svg>
                                </span>
                            </div>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
                <?php if($section['content']): ?>
                <div class="col-6 offset-1 col-md-8 col-xs-18 offset-xs-0 col--noPT col--noPB">
                    <div class="pSection_content">
                        <div class="rse-video_content">
                            <?php echo $section['content']; ?>
                        </div>
                        <div class="rse-video_button" data-render=".rse-video_render--<?php echo $cptrse; ?>">
                            <?php echo $section['label']; ?>
                            <span class="rse-video_button_play">
                                <svg width="16" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.568 8.967 1.75.209C1.34 0 .947-.052.568.052.19.156 0 .596 0 1.37v17.248c0 .715.2 1.147.602 1.296.402.149.784.104 1.148-.134l13.818-8.758c.288-.283.432-.626.432-1.028s-.144-.744-.432-1.027Z" /></svg>
                            </span>
                        </div>
                    </div>
                </div>
                <?php endif; ?>
            </div>
        </div>
        <div class="rse-video_render rse-video_render--<?php echo $cptrse; ?>" data-scroll data-scroll-call="rseVideoSection" data-scroll-repeat>
            <?php if ($section['video']['poster']): ?>
            <div class="rse-video_render_cover">
                <?php if ($section['video']['poster']['type'] == 'image'): ?>
                <div class="imageRender">
                    <img src="<?php echo getImageUrl($section['video']['poster'], 'lazy'); ?>"
                            <?php echo getImageSrcSetSizes($section['video']['poster']); ?>
                            alt="" class="__vhidden">
                </div>
                <?php endif; ?>
                <?php if ($section['video']['poster']['type'] == 'video'): ?>
                    <video src="<?php echo $section['video']['poster']['url']; ?>" muted autoplay playsinline loop></video>
                <?php endif; ?>
                <span class="rse-video_render_cover_button">
                    <svg width="16" height="20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.568 8.967 1.75.209C1.34 0 .947-.052.568.052.19.156 0 .596 0 1.37v17.248c0 .715.2 1.147.602 1.296.402.149.784.104 1.148-.134l13.818-8.758c.288-.283.432-.626.432-1.028s-.144-.744-.432-1.027Z" /></svg>
                </span>
            </div>
            <?php endif; ?>
            <div class="rse-video_render_player" data-plyr-provider="<?php echo getVideoProvider($section['video']['url']); ?>" data-plyr-embed-id="<?php echo getVideoId($section['video']['url']); ?>"></div>
            <!-- <lite-youtube videoid="<?php //echo getYoutubeId($section['video']['url']); ?>" lyt-paused autoload videoStartAt="0" params="controls=0&iv_load_policy=3&rel=0&enablejsapi=1"></lite-youtube> -->
        </div>
    </div>
</section>