<div class="swiper-slide">
    <div class="event layout_slide<?= $this->classList ?>">

        <?php if ($this->singleSRC): ?>
            <div class="event--image-wrapper">

                <?php $this->insert('picture_default', $this->arrData['picture']); ?>

            </div>
        <?php endif; ?>

        <div class="event--content-wrapper">
            <h3 title="<?= $this->title ?> (<?php if ($this->day): ?><?= $this->day ?>, <?php endif; ?><?= $this->date ?><?php if ($this->time): ?> <?= $this->time ?><?php endif; ?>)">
                <?= $this->title ?>
            </h3>

            <div class="event--data-wrapper">
                <?php if ($this->date): ?>
                    <?= $this->date ?>,
                <?php endif; ?>
                <?php if ($this->time): ?>
                    <span class="time">
                        <time datetime="<?= $this->datetime ?>"><?= $this->time ?></time> Uhr </span>
                <?php endif; ?>
                <?php if ($this->location): ?>
                    <span class="location">| <?= $this->location ?><?php if ($this->address): ?> (<?= $this->address ?>)<?php endif; ?></span>
                <?php endif; ?>
            </div>

            <?php if ($this->teaser): ?>
                <div class="ce_text mt-1 block pb-1">
                    <?= $this->teaser ?>
                </div>
            <?php endif; ?>

            <?php if ($this->details): ?>
                <div class="event--button pt-1">
                    <a href="<?= $this->href;?>"
                       class="btn btn-outline-primary btn-sm">mehr lesen</a>
                </div>
            <?php endif; ?>

        </div>
    </div>
</div>







<?php

// This template is used as an event list template by default, so we only add
// JSON-LD data in case this is an event without a reader
if (!$this->hasReader) {
    $this->addSchemaOrg($this->getSchemaOrgData());
}