{#
  text-reveal.html.twig — Sifency Atomic Text Reveal
  ────────────────────────────────────────────────────────────────────
  Context variables (from get_template_additional_context):
    reveal_text      — sanitized text content
    html_tag         — h1-h6 | p | div
    split_type       — word | char
    animation_style  — fade | slideUp
    inactive_opacity — 0 to 0.5 as string

  Atomic system variables (auto-injected):
    attributes       — rendered HTML attributes string (id, class …)
    styles           — map of style key → scoped class name
#}

<div {{ attributes }} class="{{ styles['wrapper-base'] }} sifency-text-reveal-wrapper">

    <{{ html_tag }}
        class="sifency-text-reveal"
        data-split="{{ split_type }}"
        data-effect="{{ animation_style }}"
        data-opacity="{{ inactive_opacity }}">

        {{ reveal_text }}

    </{{ html_tag }}>

</div>
