{% set img = openform_front_util.getImagePathByType(item.Thumb ?? '','list') %}
{% set href = toolkit_route_localizer.generate('mak_item',{ 'makSlug': makSlug, 'slug' : item.Translation[app.request.locale].slug }, app.request.locale) %}
<div class="news-item news-item--exh" aria-label="{{ 'T_READ_MORE'|trans({}, 'openform_front', app.request.locale) }} {{ item.Translation[app.request.locale].title }}"
>
{% if img %}
<a class="news-item__image" href="{{ href }}">
<img loading="lazy" src="{{asset(img)}}" alt="{{ item.Translation[app.request.locale].alt }}">
</a>
{% endif %}
<div class="news-item__content">
<a href="{{ href }}" class="news-item__title news-item__title--exh">{{ item.Translation[app.request.locale].titleHtml|raw }}</a>
<div class="news-item__date-wrapper">
{# <time class="news-item__date">
{{ item.publishDate|explodedDate(app.request.locale).D }}
{{ item.publishDate|explodedDate(app.request.locale).month }}
{{ item.publishDate|explodedDate(app.request.locale).y }}
</time> #}
</div>
<a href="{{ href }}" class="news-item__text news-item__text--exh">{{ item.Translation[app.request.locale].shortLead }}</a>
{% for sponsor in item.Sponsor %}
{% set imgLogo = openform_front_util.getImagePathByType(sponsor.Thumb ?? '','logo') %}
{% if sponsor.link %}
<a href="{{sponsor.link}}" class="news-item__logotype">
<img src="{{imgLogo}}" alt="{{sponsor.Translation[app.request.locale].alt}}" title="{{sponsor.Translation[app.request.locale].title}}">
</a>
{% else %}
<div class="news-item__logotype">
<img src="{{imgLogo}}" alt="{{sponsor.Translation[app.request.locale].alt}}" title="{{sponsor.Translation[app.request.locale].title}}">
</div>
{% endif %}
{% endfor %}
</div>
</div>