{# VARIABLES #}
{% set slide = {
  'image': element['random']
} %}
{% set carousel_class_size = carousel_class_size|default('bnr_crsl_sm') %}

{# TEMPLATE #}
{% include '@organisms/tm-pb/page-banner.twig' with {
  'overlay_style': 'ovr-bkend',
  'pid': 'bnr-rnd',
  'slides': [slide],
  'overlay':  element['overlay'],
  'carousel_class': 'bnr_crsl ' ~ carousel_class_size,
} %}
