<div class="teaser-slider js-scrolling-row">
<div class="row js-scrolling-row__row scrolling-row {{ isCentered | default(false) and items|length < 6 ? 'scrolling-row--centered' : ''}} scrolling-row--invisible-scrollbar">
{% for item in items %}
<div class="scrolling-row__item col-5 col-md-2 js-scrolling-row__item">
{{ include('Includes/Teaser/img-teaser.html.twig', {
title: item.title|default(''),
href: item.href|default(''),
image: item.image|default(null),
badgeText: item.badgeText|default(''),
isInNav: item.isInNav|default(false),
isSearchTeaser: item.isSearchTeaser|default(false),
ratio: item.ratio|default(null),
styleModifier: ''
}) }}
</div>
{% endfor %}
</div>
{% if items|length > 6 %}
<div class="scrolling-row-navigation">
<button class="teaser-slider__btn scrolling-row__button scrolling-row__button--prev js-scrolling-row__prev"><span class="icon icon-arrow-right" aria-label="Previous"></span></button>
<button class="teaser-slider__btn scrolling-row__button scrolling-row__button--next js-scrolling-row__next"><span class="icon icon-arrow-right" aria-label="Next"></span></button>
</div>
{% endif %}
</div>