{{/* Hugo Blox: Hero */}}
{{/* Documentation: https://hugoblox.com/blocks/ */}}
{{/* License: https://github.com/HugoBlox/hugo-blox-builder/blob/main/LICENSE.md */}}

{{/* Initialise */}}
{{ $page := .wcPage }}
{{ $block := .wcBlock }}
{{ $bg := $block.design.background }}
{{ $x := $block.content.design.column_size | default 8 }}
{{ $y := sub 12 $x }}

{{ if $block.content.image.filename }}
<div class="row">
  <div class="col-12 col-md-{{ $x }} text-center text-md-left">
{{ end }}

    {{ with $block.conten