<div class="card h-100 m-1">
    <h4 class="card-header" data-bs-theme="dark-secondary">
        {% with embedded = True %}
            {% include [
                'entity/label--' + entity.plugin().id + '.html.j2',
                'entity/label.html.j2',
            ] %}
        {% endwith %}
    </h4>
    <div class="card-body">
        {% with embedded = True %}
            {% include 'entity/summary--' + entity.plugin().id + '.html.j2' ignore missing %}
        {% endwith %}
        <a href="{{ entity | url }}" class="stretched-link view-more">{% trans %}Read more{% endtrans %}</a>
    </div>
    {% block preview %}
        {% if entity_image_reference %}
            <img src="{{ entity_image_reference | image_resize_cover((500, 500)) | url }}" alt="{{ entity_image_reference.file.label | localize }}" class="card-img-bottom" loading="lazy">
        {% endif %}
    {% endblock %}
</div>
