<div class="c-divider">
    <f:if condition="{customDivider} || {customDividerMobile}">
        <f:then>
            <img src="{neos.media:uri.image(image: customDivider)}" class="c-divider__custom-line">
            <img src="{neos.media:uri.image(image: customDividerMobile)}" class="c-divider__custom-line-mobile">
        </f:then>
        <f:else>
            <hr class="c-divider__line {width} {color}">
        </f:else>
    </f:if>
</div>