{{ attach_library('ui_patterns/explore_card.explore_card_lib') }}

{% for entity in element.entities %}
  {% include "@molecules/tm-cards/explore-card/explore-card.twig" with {
    "title": entity.title,
    "body": entity.sub_title,
    "link_url": entity.link.url,
    "link_title": "Find out more",
    "type": entity.media.type,
    "img_render": entity.media.render,
    "cta_class": "cta-light",
  } only %}
{% endfor %}
