<div class="featured-slide <?php echo e(isset($container_class) ? $container_class : ''); ?> <?php echo e(isset($invert) && $invert ? 'featured-slide--invert' : ''); ?>" data-role="slide" data-id="<?php echo e($id ?? ""); ?>">
    <?php if(!empty($firstItem)): ?>
        <div class="featured-slide__column-left" data-role="cta-block">
            <div class="featured-slide__block-text-color <?php echo e(isset($firstItemTopic) ? 'bg--' . $firstItemTopic->color_scheme : 'bg--secondary-color'); ?> <?php echo e(isset($invert) ? 'animate__fadeInRight' : 'animate__fadeInLeft'); ?>">
                <?php if(!empty($firstItem->subject)): ?>
                    <div class="featured-slide__left-pretitle">
                        <?php echo co2_subscript(e($firstItem->subject)); ?>
                    </div>
                <?php endif; ?>
                <h2 class="featured-slide__left-title" data-action="click-cta">
                    <?php echo co2_subscript(e($firstItem->title)); ?>
                </h2>
                <?php if($firstItem->excerpt): ?>
                    <p class="featured-slide__left-subtitle">
                        <?php echo strip_tags($firstItem->excerpt, '<b><sup><strong><sub><i><span><u>'); ?>

                    </p>
                <?php endif; ?>
                <div class="featured-slide__cta">
                    <?php echo generateLink($firstItem->cta2, 'std-button std-button--small alt-color', null, null, false, isset($firstItemCtaLabels) ? $firstItemCtaLabels[1] : ''); ?>

                    <?php echo generateLink($firstItem->cta, 'std-button std-button--small', null, null, false, isset($firstItemCtaLabels) ? $firstItemCtaLabels[0] : ''); ?>

                </div>
            </div>
            <?php if($firstItem->image): ?>
                <picture data-action="click-cta">
                    <source srcset="<?php echo e(getMediaUrl($firstItem->image->filename, '900x820')); ?>.webp" type="image/webp">
                    <?php echo getMediaImg($firstItem->image, '900x820', htmlspecialchars($firstItem->image_alt), 'animate__fadeInDown'); ?>

                </picture>
            <?php endif; ?>
        </div>
    <?php endif; ?>

    <?php if(!empty($secondItem)): ?>
        <div class="featured-slide__column-right" data-role="cta-block">
            <?php if($secondItem->image): ?>
                <picture data-action="click-cta">
                    <source srcset="<?php echo e(getMediaUrl($secondItem->image->filename, '700x505')); ?>.webp" type="image/webp">
                    <?php echo getMediaImg($secondItem->image, '700x505', htmlspecialchars($secondItem->image_alt), isset($invert) ? 'animate__fadeInLeft' : 'animate__fadeInRight'); ?>

                </picture>
            <?php endif; ?>
            <div class="featured-slide__block-text animate__fadeInUp">
                <?php if(!empty($secondItem->subject)): ?>
                    <div class="featured-slide__right-pretitle">
                        <?php echo co2_subscript(e($secondItem->subject)); ?>
                    </div>
                <?php endif; ?>
                <h2 class="featured-slide__right-title" data-action="click-cta">
                    <?php echo co2_subscript(e($secondItem->title)); ?>
                </h2>
                <?php if($secondItem->excerpt): ?>
                    <p class="featured-slide__right-subtitle">
                        <?php echo strip_tags($secondItem->excerpt, '<b><sup><strong><sub><i><span><u>'); ?>

                    </p>
                <?php endif; ?>
                <div class="featured-slide__cta">
                    <?php echo generateLink($secondItem->cta2, 'std-button std-button--small', null, null, false, isset($secondItemCtaLabels) ? $secondItemCtaLabels[1] : ''); ?>

                    <?php echo generateLink($secondItem->cta, 'std-button std-button--small', null, null, false, isset($secondItemCtaLabels) ? $secondItemCtaLabels[0] : ''); ?>

                </div>
            </div>
        </div>
    <?php endif; ?>
</div>
<?php /**PATH /var/www/html-staging/resources/views/frontend/templates/blocks/featured-slide.blade.php ENDPATH**/ ?>