.sft-4916-container {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
	/* Default glass styling, can be overridden by Elementor controls */
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 20px;
	padding: 50px;
}

.sft-4916-text-container {
	position: relative;
	font-size: 3rem;
	font-weight: bold;
	line-height: 1.2;
}

.sft-4916-text-base {
	color: rgba(255, 255, 255, 0.2);
	width: 100%;
}

.sft-4916-text-fill-wrap {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%; /* Changed dynamically by JS */
	overflow: hidden;
	white-space: nowrap;
	/* Will-change for performance */
	will-change: width;
	/* Smooth transition to prevent jitter, but fast enough to track scroll */
	transition: width 0.1s ease-out;
}

.sft-4916-text-fill {
	color: #ffffff;
	width: 100%;
	/* Prevent line breaks in the absolute positioned element to match base text exactly */
	white-space: pre-wrap;
	word-break: break-word;
	/* Ensure width matches container for proper clipping */
	min-width: max-content;
}

/* Ensure the fill text aligns perfectly with the base text */
.sft-4916-text-container > div {
	margin: 0;
	padding: 0;
}