<?php if( !$this->Input->get('item') && !$this->Input->get('auto_item') ): ?>
<?php
// Prepare Values
$this->color = 'color:#' . $this->headline_color[0] . ';';
if($this->headline_color[1] && $this->headline_color[1] != '') {
$this->opacity = ' opacity:' . $this->headline_color[1]/100 . ';';
}
?>
<section class="<?= $this->class; ?>">
<div class="cover_wrapper">
<div class="ce_headline <?= $this->headline_position; ?>">
<<?= $this->hl; ?> style="<?= $this->color; ?><?= $this->opacity; ?>"><?= $this->headline; ?></<?= $this->hl; ?>>
</div>
<?php if ($image = $this->getImageObject($this->singleSRC, $this->size)): ?>
<div class="ce_image last block <?php if($this->cover){ echo " cover"; } ?>">
<figure class="image_container">
<?php $this->insert('picture_default', $image->picture) ?>
</figure>
</div>
<?php endif ?>
</div>
</section>
<?php endif ?>