/* YADIM Specialist Header. Fonts, colours and spacing come from the Design tab; this is the structure and the motion. */
.ysh-title, .ysh-sub { margin: 0; }
.ysh-sub { margin-top: .6em; }
.ysh-cta { display: inline-block; margin-top: 1.2em; padding: .7em 1.4em; border-radius: 6px; background: currentColor; text-decoration: none; }
.ysh-cta { background: #111; color: #fff; }
.ysh-a-left { text-align: left; } .ysh-a-center { text-align: center; } .ysh-a-right { text-align: right; }
.ysh-main { color: var(--ysh-main, inherit); }

/* the changing words (the same structure as Animated Text) */
.yat-wrap { display: inline-grid; vertical-align: baseline; }
.yat-wrap > * { grid-area: 1 / 1; }
.yat-ghost { visibility: hidden; white-space: pre; pointer-events: none; }
.yat-dyn .yat-p, .yat-dyn .yat-u { display: inline-block; white-space: pre; }
.yat-caret { display: inline-block; margin-left: 1px; font-weight: 300; animation: yat-blink 1s steps(1) infinite; }
.yat-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes yat-blink { 50% { opacity: 0; } }

/* dual: the main text on its own line */
.ysh-s-dual .ysh-main { display: block; }

/* highlight */
.ysh-hl { position: relative; display: inline-block; z-index: 0; }
.ysh-hl::before { content: ""; position: absolute; z-index: -1; pointer-events: none; transition: transform .8s cubic-bezier(.16,1,.3,1) .15s; transform-origin: left center; }
.ysh-hl-marker .ysh-hl::before { left: -.1em; right: -.1em; bottom: .05em; height: .45em; background: var(--ysh-hl, #ffd54a); opacity: .85; }
.ysh-hl-underline .ysh-hl::before { left: 0; right: 0; bottom: -.1em; height: var(--ysh-hlt, 4px); background: var(--ysh-hl, #ffd54a); border-radius: 99px; }
.ysh-hl-box .ysh-hl::before { inset: -.05em -.2em; background: var(--ysh-hl, #ffd54a); opacity: .85; border-radius: .2em; }
.ysh-hl-outline .ysh-hl::before { inset: -.05em -.2em; border: var(--ysh-hlt, 3px) solid var(--ysh-hl, #ffd54a); border-radius: .2em; }
.ysh-hl-circle .ysh-hl::before { inset: -.25em -.4em; border: var(--ysh-hlt, 3px) solid var(--ysh-hl, #ffd54a); border-radius: 50%; }
.ysh-draw.ysh-pre .ysh-hl::before { transform: scaleX(0); }
.ysh-draw.ysh-in .ysh-hl::before { transform: scaleX(1); }

/* gradient */
.ysh-s-gradient .ysh-main { background: var(--ysh-grad, linear-gradient(90deg, #7c4dff, #00d4ff, #7c4dff)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: ysh-flow var(--ysh-gspeed, 6s) linear infinite; }
@keyframes ysh-flow { to { background-position: 200% 0; } }

/* split text: each unit rises in */
.ysh-w { display: inline-block; white-space: nowrap; }
.ysh-u { display: inline-block; white-space: pre; transition: transform var(--ysh-ed, .7s) var(--ysh-ease, ease-out), opacity var(--ysh-ed, .7s) var(--ysh-ease, ease-out); transition-delay: calc(var(--ysh-edl, 0ms) + var(--i, 0) * var(--ysh-st, 40ms)); }
.ysh-pre .ysh-u { opacity: 0; transform: translateY(.6em); }
.ysh-in .ysh-u { opacity: 1; transform: none; }

/* reveal: a mask wipes the heading in */
.ysh-s-reveal .ysh-title { clip-path: inset(0 0 0 0); transition: clip-path var(--ysh-ed, .7s) var(--ysh-ease, ease-out) var(--ysh-edl, 0ms); }
.ysh-s-reveal.ysh-pre .ysh-title { clip-path: inset(0 100% 0 0); }

/* entrance of the whole block (the split and reveal structures have their own) */
.ysh-pre .ysh-title, .ysh-pre .ysh-sub, .ysh-pre .ysh-cta { opacity: 0; }
.ysh-title, .ysh-sub, .ysh-cta { transition: opacity var(--ysh-ed, .7s) var(--ysh-ease, ease-out) var(--ysh-edl, 0ms), transform var(--ysh-ed, .7s) var(--ysh-ease, ease-out) var(--ysh-edl, 0ms), filter var(--ysh-ed, .7s) var(--ysh-ease, ease-out) var(--ysh-edl, 0ms); }
.ysh-sub { transition-delay: calc(var(--ysh-edl, 0ms) + 120ms); } .ysh-cta { transition-delay: calc(var(--ysh-edl, 0ms) + 240ms); }
.ysh-pre.ysh-e-up .ysh-title, .ysh-pre.ysh-e-up .ysh-sub, .ysh-pre.ysh-e-up .ysh-cta { transform: translateY(1em); }
.ysh-pre.ysh-e-down .ysh-title, .ysh-pre.ysh-e-down .ysh-sub, .ysh-pre.ysh-e-down .ysh-cta { transform: translateY(-1em); }
.ysh-pre.ysh-e-left .ysh-title, .ysh-pre.ysh-e-left .ysh-sub, .ysh-pre.ysh-e-left .ysh-cta { transform: translateX(-1.5em); }
.ysh-pre.ysh-e-right .ysh-title, .ysh-pre.ysh-e-right .ysh-sub, .ysh-pre.ysh-e-right .ysh-cta { transform: translateX(1.5em); }
.ysh-pre.ysh-e-zoom .ysh-title, .ysh-pre.ysh-e-zoom .ysh-sub, .ysh-pre.ysh-e-zoom .ysh-cta { transform: scale(.92); }
.ysh-pre.ysh-e-blur .ysh-title, .ysh-pre.ysh-e-blur .ysh-sub, .ysh-pre.ysh-e-blur .ysh-cta { filter: blur(.4em); }
.ysh-in .ysh-title, .ysh-in .ysh-sub, .ysh-in .ysh-cta { opacity: 1; transform: none; filter: none; }
.ysh-pre.ysh-s-split .ysh-title, .ysh-pre.ysh-s-split .ysh-sub { opacity: 1; }
.ysh-pre.ysh-s-split .ysh-title { transform: none; }
.ysh-s-reveal.ysh-pre .ysh-title { opacity: 1; transform: none; }

@media (max-width: 980px) { .ysh-a-t-left { text-align: left; } .ysh-a-t-center { text-align: center; } .ysh-a-t-right { text-align: right; } }
@media (max-width: 767px) { .ysh-a-m-left { text-align: left; } .ysh-a-m-center { text-align: center; } .ysh-a-m-right { text-align: right; } }
@media (prefers-reduced-motion: reduce) {
  .ysh-s-gradient .ysh-main { animation: none; } .yat-caret { animation: none; }
  .ysh-title, .ysh-sub, .ysh-cta, .ysh-u, .ysh-hl::before { transition: none; }
}
