<?php include('include_helper_content.html5'); ?>

<div class="col-12 col-md-6 col-lg-4">
  <div class="c-cardSimple<?php if ($custom->classModified): ?> <?= $custom->classModified ?><?php endif; ?>">
    <?php if ($this->addImage): ?>
    <div class="c-cardSimple__media">
      <?php $this->insert('image', $this->arrData); ?>
    </div>
    <?php endif; ?>

    <div class="c-cardSimple__body">
      <div class="c-cardSimple__text">
        <?php if ($this->author): ?>
        <div class="c-cardSimple__meta">
          <strong><?= $this->author ?>&ensp;·&ensp;</strong><time datetime="<?= $this->datetime ?>" itemprop="datePublished"><?= date('d.m.Y', $this->time) ?></time>
        </div>
        <?php endif; ?>

        <h4><?= $this->linkHeadline ?></h4>

        <?php if ($this->hasText || $this->hasTeaser): ?>
        <p><a class="o-text-link" href="<?= $this->link ?>"><?= $GLOBALS['TL_LANG']['MSC']['more'] ?></a></p>
        <?php endif; ?>
      </div>
    </div>
  </div>
</div>
