{{ 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": "Book now",
    "type": entity.media.type,
    "img_render": entity.media.render,
    "link_class": "btn-outline-dark border-thickness-modern",
  } only %}
{% endfor %}
