<{{ params.htmlElement|default:"div" }} class="tna-card{% if params.featured %} tna-card--featured{% endif %} {{ params.classes }}" data-module="tna-card" {% for attribute, value in params.attributes.items %} {{ attribute }}="{{ value }}"{% endfor %}>
{% if params.heading.supertitle %} {% if params.heading.singleSentence %}
{{ params.heading.supertitle }} {% if params.href %} {{ params.heading.title }} {% else %} {{ params.heading.title }} {% endif %}
{% else %}

{{ params.heading.supertitle }}

{% if params.href %} {{ params.heading.title }} {% else %} {{ params.heading.title }} {% endif %}
{% endif %} {% else %} {% if params.href %} {{ params.heading.title }} {% else %} {{ params.heading.title }} {% endif %} {% endif %} {% if params.image %} {{ params.image.alt }} {% endif %}
{% if params.text %}

{{ params.text }}

{% else %} {{ params.body | safe }} {% endif %}
{% if params.actions %}
{% for item in params.actions %} {{ item.text }} {% endfor %}
{% endif %}