<div class="cards-block-highlight <?php echo e($block->white_grid ? 'cards-block-highlight--white-grid' : 'cards-block-highlight--colored-grid'); ?> <?php echo e($block->bg_color ? 'cards-block-highlight--bg-'.$block->bg_color : 'cards-block-highlight--bg-white'); ?> <?php echo e(!empty($block->luumo) ? 'cards-block-highlight--luumo' : ''); ?> block-margin-top--<?php echo e($block->margin_type_top); ?> block-margin-bottom--<?php echo e($block->margin_type_bottom); ?>" data-controller="blocks/triplet-highlight">
    <?php if($block->anchor_id ): ?>
        <div id="<?php echo e($block->anchor_id); ?>" class="anchor-offset"></div>
    <?php endif; ?>
    <?php if(!empty($block->block_title) || !empty($block->block_subtitle)): ?>
        <?php $block->heading_type = 'h2'; ?>
        <?php echo $__env->make('frontend.templates.blocks.title-block',[
            'isInclude' => true,
        ], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <?php endif; ?>
    <div class="cards-block-highlight__wrapper">
        <div class="cards-block-highlight__cards cards-block-highlight__cards--<?php echo e($block->cards->count()); ?>">
            <?php $__currentLoopData = $block->cards; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $card): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="cards-block-highlight__card bg--<?php echo e($card->bg_color); ?>" data-role="card" data-card="<?php echo e($loop->index); ?>">
                    <div class="cards-block-highlight__card-header" data-action="toogle-card">
                        <?php if(!empty($card->svg) && file_exists(getStoragePath(config('path.internal.media')) . '/' . $card->svg->filename)): ?>
                            <div class="cards-block-highlight__card-icon">
                                <?php echo file_get_contents(getStoragePath(config('path.internal.media')) . '/' . $card->svg->filename); ?>

                            </div>
                        <?php elseif(!empty($card->image)): ?>
                            <div class="cards-block-highlight__card-icon">
                                <?php if($card->image->extension == 'gif'): ?>
                                    <?php echo getMediaImg($card->image, null, htmlentities($card->title)); ?>

                                <?php else: ?>
                                    <?php echo getMediaImg($card->image, '150x', htmlentities($card->title)); ?>

                                <?php endif; ?>
                            </div>
                        <?php endif; ?>
                        <div class="cards-block-highlight__card-title">
                            <?php echo co2_subscript(e($card->title)); ?>
                        </div>
                        <a href="#" class="cards-block-highlight__card-toggle">
                            <span><?php echo $__env->make('frontend.templates.icons.plus', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?></span>
                            <span><?php echo $__env->make('frontend.templates.icons.minus', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?></span>
                        </a>
                    </div>
                    <div class="cards-block-highlight__card-content-box" data-role="shutter">
                        <div class="cards-block-highlight__card-content rich-content">
                            <?php echo $card->content; ?>

                        </div>
                    </div>
                </div>
                <?php if($loop->index === 3): ?>
                    <?php break; ?>
                <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
        <?php if(!empty($block->cta1)): ?>
            <div class="cards-block-highlight__cta">
                <?php if($block->bg_color == 'blue' || $block->bg_color == 'primary'): ?>
                    <?php echo generateLink($block->cta1, 'std-button std-button--large std-button--light'); ?>

                <?php else: ?>
                    <?php echo generateLink($block->cta1, 'std-button std-button--large'); ?>

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