<a href="{{ link }}">
  <div{{ content_attributes.addClass('card') }}>
    {% if bg_image_path %}
      <div class="card-img-wrapper">
        <div class="card-img-container" style="background-image: url({{ bg_image_path }})"></div>
      </div>
    {% endif %}
    <div class="card-img-overlay">
      <div class="card-body">
          {% if title|render %}
            <div class="card-title">{{ title }}</div>
            <div class="arrow-right">
              <i class="fa-solid fa-arrow-right"></i>
            </div>
          {% endif %}
        </div>
      </div>
  </div>
</a>