/**
 * 9XO homepage marquee — Soft Aesthetic Edition
 * Continuous loop matching the former nxo_menu_marquee shortcode.
 */

#nxo-mqwrap {
	width: 100%;
	max-width: 100%;
	background: #ffffff;
	overflow: hidden;
	position: relative;
	z-index: 2;
	isolation: isolate;
	clear: both;
	border-top: 1px solid #ede8f5;
	border-bottom: 1px solid #ede8f5;
	/* Equal breathing room above and below (clears Motta/Elementor next-row pull-up). */
	margin: 28px 0;
	padding: 0;
	box-sizing: border-box;
}

/* Neutralize the following Elementor row's negative margin-top. */
#nxo-mqwrap + .elementor-element {
	margin-top: 0 !important;
}

#nxo-mqwrap::before,
#nxo-mqwrap::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 80px;
	z-index: 2;
	pointer-events: none;
}

#nxo-mqwrap::before {
	left: 0;
	background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

#nxo-mqwrap::after {
	right: 0;
	background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.nxo-mq-track {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	width: max-content;
	max-width: none;
	white-space: nowrap;
	padding: 18px 0;
	will-change: transform;
	animation: nxo-mq-scroll 35s linear infinite;
}

.nxo-mq-group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	flex-wrap: nowrap;
}

@media (hover: hover) and (pointer: fine) {
	.nxo-mq-track:hover {
		animation-play-state: paused;
	}
}

@keyframes nxo-mq-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.nxo-mq-item {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(16px, 2vw, 26px);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8b7aaa;
	padding: 0 24px;
	text-decoration: none;
	transition: color 0.25s ease;
	cursor: pointer;
}

.nxo-mq-item:hover {
	color: #6b5a8a;
}

.nxo-mq-item:focus {
	outline: none;
}

.nxo-mq-item:focus-visible {
	color: #6b5a8a;
	outline: 2px solid #8b7aaa;
	outline-offset: 3px;
	border-radius: 2px;
}

.nxo-mq-sep {
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #c8b8e0;
	flex-shrink: 0;
	opacity: 0.7;
}

.nxo-mq-star {
	color: #d4b8e8;
	font-style: normal;
	padding: 0 4px;
	font-size: 0.9em;
	display: inline-block;
	opacity: 0.8;
	flex-shrink: 0;
}
