/* Liquid Text */
.ld-fancy-heading { position: relative; }
.ld-fh-element { vertical-align: middle; margin-top: 0; margin-bottom: .5em; transition: color .3s; }
.ld-fancy-heading .ld-fh-element a { color: inherit; }
.ld-fancy-heading .ld-fh-element.ws-nowrap { white-space: nowrap; }
.ld-gradient-heading, .mask-text .ld-fh-element {
	background-image: linear-gradient(90deg, var(--lqd-color-gradient-start, #007fff), var(--lqd-color-gradient-stop, #ff4d54));
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.ld-gradient-heading .lqd-words, .ld-gradient-heading .lqd-chars, .ld-gradient-heading .split-inner { -webkit-background-clip: text; background-clip: text; }
.mask-text .ld-fh-element { background-size: cover; background-position: center; }

/* Outline */
.ld-fh-outline-static .ld-fh-element { -webkit-text-stroke: var(--lqd-fh-outline-w, 1px) currentColor; -webkit-text-fill-color: transparent; }
.ld-fh-outline .ld-fh-element { position: relative; }
.ld-fh-outline .ld-fh-txt-outline { position: absolute; inset: 0; -webkit-text-stroke: var(--lqd-fh-outline-w, 1px) currentColor; -webkit-text-fill-color: transparent; pointer-events: none; }
.ld-fh-outline .ld-fh-element > :not(.ld-fh-txt-outline) { transition: clip-path .6s var(--lqd-ease-out, ease); clip-path: inset(0 0 0 0); }
.ld-fh-outline:hover .ld-fh-element > :not(.ld-fh-txt-outline) { clip-path: inset(0 100% 0 0); }

/* Vertical */
.text-vertical { writing-mode: vertical-rl; transform: rotate(180deg); }
@media (max-width: 768px) { .ld-fh-element.text-vertical { writing-mode: unset; transform: none; } }

/* Rotator */
.txt-rotate-keywords { position: relative; display: inline-grid; vertical-align: top; }
.txt-rotate-keyword { grid-area: 1 / 1; display: inline-block; white-space: nowrap; opacity: 0; transform: translateY(40%); transition: opacity .5s, transform .6s var(--lqd-ease-out, ease); }
.txt-rotate-keyword > span { display: inline-block; }
.txt-rotate-keyword.active { opacity: 1; transform: none; }
.txt-rotate-keyword.is-leaving { opacity: 0; transform: translateY(-40%); }
.txt-rotator-basic .txt-rotate-keyword { transform: none; }
.txt-rotator-list .txt-rotate-keywords { overflow: hidden; height: 1.2em; }
.txt-rotator-list .txt-rotate-keywords-inner { transition: transform .7s var(--lqd-ease-out, ease); }
.txt-rotator-list .txt-rotate-keyword { display: block; grid-area: auto; opacity: 1; transform: none; height: 1.2em; }

/* Highlight */
.lqd-highlight { position: relative; display: inline-block; background: none; color: inherit; padding: 0; }
.lqd-highlight-txt { position: relative; z-index: 2; }
.lqd-highlight-inner { position: absolute; left: 0; bottom: 0; z-index: 1; width: 100%; height: .3em; pointer-events: none; color: var(--lqd-highlight-color, var(--e-global-color-primary, var(--lqd-color-primary))); }
.lqd-highlight-inner svg { display: none; }
.lqd-highlight-classic .lqd-highlight-inner { height: .25em; bottom: 0; background: var(--lqd-highlight-color, var(--e-global-color-primary, var(--lqd-color-primary, #184341))); }
.lqd-highlight-custom .lqd-highlight-inner { height: auto; bottom: -.2em; }
.lqd-highlight-custom .lqd-highlight-inner svg { display: block; width: 100%; height: .35em; fill: currentColor; }
.lqd-highlight-custom-3 .lqd-highlight-inner { inset: -.15em -.25em; width: auto; }
.lqd-highlight-custom-3 .lqd-highlight-inner svg { height: 100%; }
.lqd-highlight-custom-2 .lqd-highlight-pen { display: block !important; position: absolute; right: -.3em; bottom: .1em; width: .5em; height: .5em; fill: currentColor; transition: transform 1s var(--lqd-ease-out, ease); }
/* Highlight reveal animations (run when the heading enters the viewport) */
.lqd-highlight-grow-left .lqd-highlight-inner { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--lqd-ease-out, ease); }
.lqd-highlight-grow-bottom .lqd-highlight-inner { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--lqd-ease-out, ease); }
.lqd-highlight-fadein .lqd-highlight-inner { opacity: 0; transition: opacity 1s; }
.lqd-is-in-view .lqd-highlight-inner, .elementor-editor-active .lqd-highlight-inner { clip-path: inset(0 0 0 0); opacity: 1; }
.lqd-is-in-view.lqd-highlight-reset-onhover:hover .lqd-highlight-inner { clip-path: inset(0 100% 0 0); }

/* Inline images (advanced text) */
:where(.lqd-adv-txt-fig) { margin: 0; }
