{% endif %}
{# CTAs - Using smart link macro for intelligent URL handling.
Either CTA can render on its own; each guards on its own .url.href. #}
{% if (c.cta_primary.text and c.cta_primary.url.href) or (c.cta_secondary.text and c.cta_secondary.url.href) %}
{% require_css %}
{% end_require_css %}
{# Video facade script - only included when video is present #}
{% if c.media_type == "video" and video_id %}
{% require_js position="footer" defer=true %}
{% end_require_js %}
{% endif %}