<div class="container">
<div class="mt-90 d-flex align-items-center">
<div class="flex-shrink-0">
<a href="#" class="btn-left btn-link p-2 toggleLeft"><i class="ri-arrow-left-fill"></i></a>
</div>
<div class="flex-grow-1 position-relative overflow-hidden" id="outer" style="padding-top: 5px">
<ul class="nav position-relative flex-nowrap align-items-center btn-list-container" role="tablist" id="bar">
{% for content in collection %}
<li><a class="btn btn-default btn-bd-green-hover btn-select {% if loop.index == 1 %}active{% endif %}" href="#tab-{{ loop.index }}" data-bs-toggle="tab" role="tab" aria-controls="tab-{{ loop.index }}" aria-selected="true">{{ content.title }}</a></li>
{% endfor %}
</ul>
</div>
<div class="flex-shrink-0">
<a href="#" class="btn-right btn-link toggleRight p-2"><i class="ri-arrow-right-line"></i></a>
</div>
</div>
</div>
<div class="container">
<div class="tab-content">
{% for content in collection %}
<!-- Start Tab-->
<div class="tab-pane fade {% if loop.index == 1 %}active show{% endif %}" id="tab-{{loop.index}}" role="tabpanel" aria-labelledby="tab-{{loop.index}}">
<div class="bg-2 panel-box mt-50">
<div class="row">
<div class="col-lg-6 col-md-12">
<div class="box-optimized">
<h3 class="text-heading-2">{{ content.title }}</h3>
<p class="text-body-excerpt mt-30">{{ content.summary }}</p>
<div class="mt-40"><a class="btn btn-default btn-white icon-arrow-right" href="{{ path(content.route.routeName) }}">Learn more</a></div>
</div>
</div>
<div class="col-lg-6 col-md-12">
<div class="block-video icon-pattern"><a class="popup-youtube btn-play-video" href="https://www.youtube.com/watch?v=oRI37cOPBQQ"></a>
<img class="img-responsive" src="{{ content.thumbnail|imagine_filter('thumbnail_large') }}" alt="{{ content.title }}"></div>
</div>
</div>
</div>
</div>
{% endfor %}
</div>
</div>