<a class="cardlink" href="{{ card.link }}">
    <div class="flex items-center">
        <div class="w-2 h-20 bg-primary mr-2"></div>
        <div class="h-20 w-20 lg:mx-4 mr-4">
            {% if card.image.sizes.intext.url != '' %}
            <img width="80" height="80" class="h-20 w-20 rounded-lg" loading="lazy" class="rounded-lg" src="{{ card.image.sizes.intext.url }}" alt="ti potrebbe interessare">
            {% else %}
            <div class="bg-slate-100 w-20 h-20 rounded-lg flex items-center justify-center text-slate-300">
                <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="h-6">
                    <path stroke-linecap="round" stroke-linejoin="round" d="m2.25 15.75 5.159-5.159a2.25 2.25 0 0 1 3.182 0l5.159 5.159m-1.5-1.5 1.409-1.409a2.25 2.25 0 0 1 3.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 0 0 1.5-1.5V6a1.5 1.5 0 0 0-1.5-1.5H3.75A1.5 1.5 0 0 0 2.25 6v12a1.5 1.5 0 0 0 1.5 1.5Zm10.5-11.25h.008v.008h-.008V8.25Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z" />
                </svg>
            </div>
            {% endif %}
            
        </div>
        <div class="w-48 text-wrap whitespace-normal leading-none font-semibold block">{{ card.title|escape }}</div>
    </div>
</a>