/* Main page titles: typed in (EN) or faded in word by word (AR).
   Active only when <html> has .am-tw (set by an inline head script, skipped for reduced motion). */
.am-tw h1 .am-line > span,
.am-tw h1.am-tw-h1 { animation: none !important; }
.am-tw:not(.am-tw-fin) h1 .am-line > span,
.am-tw:not(.am-tw-fin) h1 .am-line > span > span:not(.am-tw-out),
.am-tw:not(.am-tw-fin) h1.am-tw-h1,
.am-tw:not(.am-tw-fin) h1.am-tw-h1 > span:not(.am-tw-out) { color: transparent !important; }
.am-tw-host { position: relative; }
.am-tw-out { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%; pointer-events: none; }
.am-tw-caret {
  display: inline-block; width: .055em; height: .78em; margin-inline-start: .05em;
  background: #2142D6; vertical-align: -.04em; opacity: 1; transition: opacity .4s ease;
}
.am-tw-caret.am-tw-blink { animation: amTwBlink 1s steps(1) infinite; }
.am-tw-caret.am-tw-off { animation: none; opacity: 0; }
@keyframes amTwBlink { 50% { opacity: 0; } }
.am-tw-word { opacity: 0; animation: amTwWord .15s cubic-bezier(.23, 1, .32, 1) forwards; }
@keyframes amTwWord { from { opacity: 0; } to { opacity: 1; } }
