<f:if condition="{data.header} || {data.subheader}">
    <figcaption class="absolute top-0 w-full h-full flex items-end justify-start bg-gradient-to-tr from-[#00000099] to-50% pointer-events-none">
        <div class="sticky bottom-6 md:bottom-16 lg:bottom-20 text-white max-w-2/3 lg:max-w-1/3 p-6 md:p-16 lg:p-20 xl:px-32">
            <div class="text-xs xl:text-base">{data.header}</div>
            <div class="font-bold text-lg xl:text-2xl">{data.subheader}</div>
        </div>
    </figcaption>
</f:if>
