/**
 * MemryX — Scroll Reveal Text widget.
 * Only the structural rules live here; colours, typography, transition
 * duration and alignment are all emitted by Elementor from widget controls.
 */
.memryx-scrub{
	margin: 0;
}

/* Keeps a word from breaking across lines once it is split into spans. */
.memryx-scrub .w{
	display: inline-block;
	white-space: nowrap;
}

.memryx-scrub .u{
	transition-property: color;
	transition-timing-function: ease;
	transition-duration: 300ms;
	color: rgba(255,255,255,.2);
}

.memryx-scrub .u.lit{
	color: #fff;
}

/* Before the script runs the text is one plain node — keep it readable
   rather than flashing at the dimmed colour. */
.memryx-scrub:not([data-scrub-ready]){
	color: inherit;
}

@media (prefers-reduced-motion: reduce){
	.memryx-scrub .u{
		transition: none;
	}
}
