{#
  Reusable dashboard card partial.
  Usage (embed to allow overriding the `body` block):
  {% embed 'custom/otssignange/views/partials/_dashboard-card.twig' with {'classes':'ots-displays-card'} %}
    {% block body %}
      ... inner content ...
    {% endblock %}
  {% endembed %}

  Optional blocks: badge, description, actions
  These are additive — existing embeds that only use `body` are unaffected.
#}
<div class="dashboard-card {{ classes|default('') }}" {% if id is defined %}id="{{ id }}"{% endif %}>
  {% if title is defined and title %}
    <div class="dashboard-card-header">
      {{ title|raw }}
      {% block badge %}{% endblock %}
    </div>
  {% endif %}

  <div class="dashboard-card-body">
    {% block body %}{% endblock %}
    {% block description %}{% endblock %}
  </div>

  {% block actions %}{% endblock %}
</div>
