<div class="publication-item" data-role="cta-block" data-action="click-cta">
    <div class="publication-item__image">
        <?php if($info->media): ?>
            <picture>
                <source srcset="<?php echo e(getMediaUrl($info->media->filename, '600x400')); ?>.webp" type="image/webp">
                <?php echo getMediaImg($info->media, '600x400', htmlentities($info->title)); ?>

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


    <div class="publication-item__info">
        <?php if(!empty($info->date)): ?>
            <span class="publication-item__date">
                <?php echo e(format_date($info->date, true)); ?>

            </span>
        <?php endif; ?>
        <?php if(!empty($info->title)): ?>
            <h3 class="publication-item__title">
                <?php echo co2_subscript(e($info->title)); ?>
            </h3>
        <?php endif; ?>
        <div class="publication-item__type-container">
            <?php if(!empty($info->type)): ?>
                <span class="publication-item__type">
                    <?php echo app('translator')->get('frontend.article_type_' . $info->type); ?>
                </span>
            <?php endif; ?>

            <?php if($info->details || $info->layout_type == "blocks"): ?>
                <a class="link-left-arrow link-animation-arrow" href="<?php echo e(lang_url($info->lang_uri)); ?>"><?php echo app('translator')->get('frontend.read_more'); ?></a>
            <?php elseif(!empty($info->pardot_url)): ?>
                <a
                    href="#"
                    class="link-left-arrow link-animation-arrow"
                    data-download_id="<?php echo e($info->id); ?>"
                    data-download="<?php echo e(base64_encode(json_encode(["title" => $info->title, "url" => $info->pardot_url ]))); ?>"
                    data-controller="components/form-modal"
                    data-popupid="download-modal"
                >
                    <?php echo app('translator')->get('frontend.download'); ?>
                </a>
            <?php endif; ?>
        </div>
    </div>
</div>
<?php /**PATH /var/www/html-staging/resources/views/frontend/templates/blocks/publication-item.blade.php ENDPATH**/ ?>