{% if content.field_mediaref is not empty %}
  {% if view_mode == 'full' %}
    <div class="slide-set">
  {% endif %}
  {% for key, item in content.field_mediaref %}
    {% if key|first != '#' %}
      <div{{ attributes }}>
        <div class="h-100 overflow-hidden d-flex flex-column justify-content-center">
          {{ item }}
        </div>
        {% if link %}
          <div class="slide-link">
            {{ link }}
          </div>
        {% endif %}
        {% set logo_template = ['@' ~ active_theme() ~ '/partials/logo.html.twig', '@disign_theme/partials/logo.html.twig'] %}
        {% include logo_template %}
      </div>
    {% endif %}
  {% endfor %}
  {% if view_mode == 'full' %}
    </div>
  {% endif %}
{% endif %}
