<? while ($posts->have_posts()) :
    $posts->the_post();
?>
    <div class="event-item">
        <!-- <a href="<?= the_permalink() ?>">
            <div class="event-item__image-container">
                <?//= show_post_image(); ?>
                <div class="event-item__heading">
                    <h2 class="event-item__title"><?= the_title() ?></h2>
                    <? if (!empty(get_field('subtitle'))) : ?><p class="event-item__subtitle"><?= get_field('subtitle') ?></p><? endif; ?>
                </div>
            </div>
        </a>-->
        <div class="event-item__text">
            <!--<div class="event-item__description-block">
                <h3 class="event-item__description-header subtitle-13">Организатор</h3>
                <p class="event-item__description-text text-13"><?= get_field('organizer') ?></p>
            </div>-->
            <!--<div class="event-item__description-block">
                <h3 class="event-item__description-header subtitle-13">Дата</h3>
                <p class="event-item__description-text  text-13"><?= get_field('event_date') ?></p>
            </div>-->
            <div class="event-item__description-block">
               <h3 class="event-item__description-header subtitle-13" style="font-size: 1.2em;"><a href="<?= the_permalink() ?>"><?= the_title()?></a></h3>
            </div>    
            <div class="event-item__description-block">
                <h3 class="event-item__description-header subtitle-13">Место проведения</h3>
                <p class="event-item__description-text text-13"><?= get_field('location') ?></p>
            </div>
            <div class="event-item__description-block">
                <h3 class="event-item__description-header subtitle-13">О конференции</h3>
                <p class="event-item__description-text text-13"><a href="<?= the_permalink() ?>"><? the_excerpt(); ?></a></p>
            </div>
            <div class="event-item__description-block">
                <h3 class="event-item__description-header subtitle-13">Телефон</h3>
                <p class="event-item__description-text text-13"><?= get_field('phone') ?></p>
            </div>
        </div>
    </div>
<? endwhile; ?>