{% if child.getProperty('featuredImage').thumbnail is defined %}
{% set featuredImage = child.getProperty('featuredImage').thumbnail('content') %}
{% else %}
{% set featuredImage = null %}
{% endif %}
<div class="block mb-20 ">
<h2 class="mb-8 text-4xl font-bold leading-8">{{ child.getProperty('navigation_name') }}</h2>
<div class="relative">
<div class="z-20 relative rounded-md bg-gray h-[340px] bg-center bg-cover" style="background-image:url('{{ featuredImage ?? null }}');">
<div class="absolute top-0 bottom-0 left-0 right-0 flex flex-col justify-end p-8 rounded-md bg-gradient-to-t from-black/30 to-transparent">
<div class="max-w-sm">
{% if child.getProperty('featuredTitle') is defined %}
<h3 class="mb-6 text-2xl font-bold text-white">
{{ child.getProperty('featuredTitle') }}
</h3>
{% endif %}
<a href="{{ child.url() | trimUrl }}" class="button button__primary button__primary--white">{{ 'Lees meer' | trans }}</a>
</div>
</div>
</div>
<div class="z-10 md:h-[90px] w-full lg:w-[660px] right-0 bottom-0 md:absolute -mb-10 md:-mr-10 placeholder-gray-200 md:rounded-md {{ loop.index is even ? 'bg-blue-200' : 'bg-white' }}">
</div>
</div>
</div>