/* Elementor Marquee Widget */
.emw-marquee-section {
	position: relative;
	overflow: hidden;
	background-color: var(--emw-bg-color, #1a1a2e);
	width: 100%;
}
.emw-marquee {
	overflow: hidden;
	position: relative;
	width: 100%;
}
.emw-marquee-content {
	display: flex;
	align-items: center;
	white-space: nowrap;
	will-change: transform;
	animation-duration: var(--emw-speed, 20s);
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-play-state: running;
}

/* Direction via CSS classes - var() NOT supported in animation-name */
.emw-dir-left .emw-marquee-content {
	animation-name: emw-scroll-left;
}
.emw-dir-right .emw-marquee-content {
	animation-name: emw-scroll-right;
}

/* Pause on hover */
.emw-marquee-section[data-pause-hover="true"]:hover .emw-marquee-content {
	animation-play-state: paused;
}

/* Text items */
.emw-item-text {
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffffff;
	cursor: default;
	transition: color 0.3s ease, transform 0.3s ease;
	flex-shrink: 0;
}
.emw-item-text:hover {
	color: #e63946;
	transform: scale(1.05);
}

/* Separator */
.emw-separator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin: 0 24px;
	color: #e63946;
	line-height: 1;
}
.emw-separator i { font-size: 14px; }
.emw-separator svg { width: 14px; height: 14px; }

/* Fade edges */
.emw-marquee-section.emw-fade-active::before,
.emw-marquee-section.emw-fade-active::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: var(--emw-fade-width, 80px);
	z-index: 2;
	pointer-events: none;
}
.emw-marquee-section.emw-fade-active::before {
	left: 0;
	background: linear-gradient(to right, var(--emw-bg-color, #1a1a2e) 0%, transparent 100%);
}
.emw-marquee-section.emw-fade-active::after {
	right: 0;
	background: linear-gradient(to left, var(--emw-bg-color, #1a1a2e) 0%, transparent 100%);
}

/* Keyframes */
@keyframes emw-scroll-left {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
@keyframes emw-scroll-right {
	0%   { transform: translateX(-50%); }
	100% { transform: translateX(0); }
}

.emw-empty {
	padding: 20px;
	text-align: center;
	color: #999;
	font-style: italic;
	background: #f0f0f0;
	border: 2px dashed #ccc;
	border-radius: 6px;
}

@media (max-width: 767px) {
	.emw-item-text { font-size: 0.85rem; letter-spacing: 0.08em; }
	.emw-separator { margin: 0 14px; }
}
