{# hero override — editorial masthead: hairline eyebrow rules, small-caps Playfair headline, roomy reading measure. Structure/fields/{% img %} calls preserved from builtin. Styled-text fields accept {text,color} or a bare string. #} {% set eyebrowText = eyebrow.text|default:eyebrow %} {% set headlineText = headline.text|default:headline %} {% set subText = subheadline.text|default:subheadline %} {% set descText = description.text|default:description %} {% set pText = ctaPrimary.text %} {% set pUrl = ctaPrimary.url %} {% set sText = ctaSecondary.text %} {% set sUrl = ctaSecondary.url %} {% set variant = template|default:"centered" %} {% set hasImage = backgroundImage %} {% set showOverlay = hasImage and overlayColor != "none" and overlayColor != "" %} {% macro herocontent(align) %} {% if eyebrowText %}
{{ eyebrowText }}
{% endif %} {% if headlineText %}

{{ headlineText }}

{% endif %} {% if subText %}

{{ subText }}

{% endif %} {% if descText %}

{{ descText }}

{% endif %} {% if pText or sText %}
{% if pText and pUrl %}{{ pText }}{% endif %} {% if sText and sUrl %}{{ sText }}{% endif %}
{% endif %} {% if trustLogos %}

Acclaim

{% for logo in trustLogos %}{% if logo.url %}{% img logo.image alt=logo.alt class="h-8 w-auto" %}{% else %}{% img logo.image alt=logo.alt class="h-8 w-auto opacity-60" %}{% endif %}{% endfor %}
{% endif %} {% endmacro %} {% if variant == "split" %}
{% if hasImage %}{% img backgroundImage alt=headlineText class="absolute inset-0 h-full w-full object-cover" layout="hero" %}{% endif %}
{{ herocontent("left") }}
{% else %} {% set align = "center" %} {% if variant == "left-aligned" %}{% set align = "left" %}{% endif %}
{% if hasImage %}
{% img backgroundImage alt=headlineText class="h-full w-full object-cover" layout="hero" %}{% if showOverlay %}
{% endif %}
{% endif %}
{{ herocontent(align) }}
{% endif %}