<!--[archive/event-cell(wide => <?= $args["wide"] ?>)]-->

<div class="col-12 col-md-4 col-xl-<?= $args["wide"] ? 8 : 4 ?> float-left"
     itemscope
    <?php if( get_post_type() == "profile_article"): ?>
        itemtype="https://schema.org/Article"
    <?php else: ?>
        itemtype="https://schema.org/NewsArticle"
    <?php endif; ?>
>

    <?php get_template_part("template-parts/micro/post"); ?>

    <div class="article cell">

        <a class="article__frame <?= $args["wide"] ? "article__frame--wide" : "" ?>" href="<?= the_permalink() ?>">

            <img loading="lazy"
                 itemprop="image"
                 src="<?= the_post_thumbnail_url($args["wide"] && !wp_is_mobile() ? "large" : "post-thumbnail"); ?>"
                 alt="<?= htmlspecialchars( get_the_title() ) ?>"
            />

        </a>

        <?php get_template_part("template-parts/post/cell-sticker"); ?>

        <div class="article__body">

            <?php get_template_part("template-parts/post/event-cell-date"); ?>

            <a class="article__title" href="<?= the_permalink() ?>">

                <?= the_title() ?>

            </a>

            <div class="article__detail">

                <?php get_template_part("template-parts/post/cell-author"); ?>

            </div>

        </div>

    </div>

</div>

<!--[archive/event-cell(wide => <?= $args["wide"] ?>)]-->