<section class="content-tabs" id="{{ experience.downloadsAnchor }}">
<div class="container">
{% if experience.experienceHasDownloadableItem|length > 1 %}
<div class="content-tabs--navigation js-scroll-arrow">
<div class="content-tabs--navigation-list">
{% for item in experience.experienceHasDownloadableItem %}
<a class="link black {{ loop.first ? 'is-active' : '' }}" href="#" data-target="js-item-{{ loop.index }}">
<span>{{ item.downloadableItem.tabTitle }}</span>
</a>
{% endfor %}
</div>
<div class="arrow-icon">
<span>{{ 'app.scroll_show_more' | trans }}</span>
{% include 'partials/global/svg/arrow-bold-right.svg.twig' %}
</div>
</div>
{% endif %}
<div class="content-tabs--list">
{% for item in experience.experienceHasDownloadableItem %}
{% if item.downloadableItem.title %}
<div class="content-tabs--item js-item-{{ loop.index }} {{ loop.first ? 'is-active' : '' }}">
<div class="content-tabs--img">
<picture-component class="js-picture-component is-absolute" :image="{{ picture_data(item.downloadableItem.image, null, null) }}"></picture-component>
</div>
<div class="content-tabs--container">
<h3 class="content-tabs--title">{{ item.downloadableItem.title }}</h3>
<div class="content-tabs--text">
{{ item.downloadableItem.content | raw }}
</div>
{% if item.downloadableItem.linkTitle %}
<div class="content-tabs--link">
<a class="button green is-dark" target="_blank" href="{{ item.downloadableItem.linkUrl }}">
<span>{{ item.downloadableItem.linkTitle }}</span>
</a>
</div>
{% endif %}
{% if item.downloadableItem.secondLinkTitle %}
<div class="content-tabs--link">
<a class="button green is-dark" target="_blank" href="{{ item.downloadableItem.secondLinkUrl }}">
<span>{{ item.downloadableItem.secondLinkTitle }}</span>
</a>
</div>
{% endif %}
{% if item.downloadableItem.thirdLinkTitle %}
<div class="content-tabs--link">
<a class="button green is-dark" target="_blank" href="{{ item.downloadableItem.thirdLinkUrl }}">
<span>{{ item.downloadableItem.thirdLinkTitle }}</span>
</a>
</div>
{% endif %}
{% if item.downloadableItem.documentTitle %}
<div class="content-tabs--link">
<a class="button green is-dark" target="_blank" href="{{ item.downloadableItem.document | file_url }}">
<span>{{ item.downloadableItem.documentTitle }}</span>
</a>
</div>
{% endif %}
{% if item.downloadableItem.secondDocumentTitle %}
<div class="content-tabs--link">
<a class="button green is-dark" target="_blank" href="{{ item.downloadableItem.secondDocument | file_url }}">
<span>{{ item.downloadableItem.secondDocumentTitle }}</span>
</a>
</div>
{% endif %}
{% if item.downloadableItem.thirdDocumentTitle %}
<div class="content-tabs--link">
<a class="button green is-dark" target="_blank" href="{{ item.downloadableItem.thirdDocument | file_url }}">
<span>{{ item.downloadableItem.thirdDocumentTitle }}</span>
</a>
</div>
{% endif %}
{% if item.downloadableItem.galleryTitle %}
<div class="content-tabs--link">
<a href="#" class="button green is-dark js-gallery-open" data-dest="introduction--gallery">
<span>{{ item.downloadableItem.galleryTitle }}</span>
</a>
</div>
{% endif %}
{% if item.downloadableItem.secondGalleryTitle %}
<div class="content-tabs--link">
<a href="#" class="button green is-dark js-gallery-open" data-dest="introduction--gallery">
<span>{{ item.downloadableItem.secondGalleryTitle }}</span>
</a>
</div>
{% endif %}
{% if item.downloadableItem.thirdGalleryTitle %}
<div class="content-tabs--link">
<a href="#" class="button green is-dark js-gallery-open" data-dest="introduction--gallery">
<span>{{ item.downloadableItem.thirdGalleryTitle }}</span>
</a>
</div>
{% endif %}
{% if item.downloadableItem.gallery %}
<div class="introduction--gallery js-gallery-container">
<div class="introduction--gallery-content">
<div class="introduction--gallery-slider js-gallery-slider">
{% for media in item.downloadableItem.gallery.medias %}
{% if media is youtubeVideo %}
<a data-src="{{ media|media_url }}">
<img src="{{ get_thumbnail_url(media) }}">
</a>
{% else %}
<a data-src="{{ media|resize(1280)|file_url }}">
<img src="{{ media|resize(1280)|file_url }}">
</a>
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if item.downloadableItem.secondGallery %}
<div class="introduction--gallery js-gallery-container">
<div class="introduction--gallery-content">
<div class="introduction--gallery-slider js-gallery-slider">
{% for media in item.downloadableItem.secondGallery.medias %}
{% if media is youtubeVideo %}
<a data-src="{{ media|media_url }}">
<img src="{{ get_thumbnail_url(media) }}">
</a>
{% else %}
<a data-src="{{ media|resize(1280)|file_url }}">
<img src="{{ media|resize(1280)|file_url }}">
</a>
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if item.downloadableItem.thirdGallery %}
<div class="introduction--gallery js-gallery-container">
<div class="introduction--gallery-content">
<div class="introduction--gallery-slider js-gallery-slider">
{% for media in item.downloadableItem.thirdGallery.medias %}
{% if media is youtubeVideo %}
<a data-src="{{ media|media_url }}">
<img src="{{ get_thumbnail_url(media) }}">
</a>
{% else %}
<a data-src="{{ media|resize(1280)|file_url }}">
<img src="{{ media|resize(1280)|file_url }}">
</a>
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</section>