{% set image = block.image.one() %}

{% if image %}
<section class="py-m">
    <div class="container">
        <figure class="flex flex-col gap-s">
            <img src="{{ image.getUrl({ width: 1800 }) }}" alt="{{ image.alt ?: image.title }}"
                class="w-full rounded-sm object-cover {% if block.dropShadow %}dropshadow{% endif %}">
            {% if block.caption %}
            <figcaption class="mx-auto w-full max-w-[980px] font-rosario text--2 text-black">
                {{ block.caption }}
            </figcaption>
            {% endif %}
        </figure>
    </div>
</section>
{% endif %}
