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

<div class="col-12">
  <div class="c-newsTeaser c-newsTeaser--rowTextSimple<?php if ($custom->classModified): ?> <?= $custom->classModified ?><?php endif; ?>">
    <div class="row">
      <?php if ($this->addImage): ?>
      <div class="col-3 col-sm-4">
        <div class="c-newsTeaser__media">
          <?php $this->insert('image', $this->arrData); ?>
        </div>
      </div>
      <?php endif; ?>

      <div class="col-9 col-sm-8">
        <div class="c-newsTeaser__body">
          <div class="c-newsTeaser__text">
            <?php if ($this->author): ?>
            <div class="c-newsTeaser__meta">
              <strong><?= $this->author ?>&ensp;·&ensp;</strong><time datetime="<?= $this->datetime ?>" itemprop="datePublished"><?= date('d.m.Y', $this->time) ?></time>
            </div>
            <?php endif; ?>
        
            <h3><?= $this->linkHeadline ?></h3>

            <div class="c-newsTeaser__description" itemprop="description"><?= $this->teaser ?></div>

            <?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>
  </div>
</div>
