/* ============================================================
   Marquee News Ticker — CSS
   ============================================================ */

/* Wrapper */
.mnt-ticker-wrap {
	display: flex;
	align-items: center;
	overflow: hidden;
	width: 100%;
	position: relative;
	background: #f5f5f5;
	gap: 0;
}

/* Label */
.mnt-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: #e5002b;
	color: #fff;
	padding: 4px 14px;
	white-space: nowrap;
	position: relative;
	z-index: 2;
	align-self: stretch;
}

/* Label pulse animation */
.mnt-label.mnt-pulse {
	animation: mnt-pulse-anim 2s ease-in-out infinite;
}

@keyframes mnt-pulse-anim {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.7; }
}

/* Outer container — clips the scrolling track */
.mnt-ticker-outer {
	flex: 1;
	overflow: hidden;
	position: relative;
}

/* Fade edges */
.mnt-ticker-outer::before,
.mnt-ticker-outer::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 40px;
	z-index: 1;
	pointer-events: none;
}

.mnt-ticker-outer::before {
	left: 0;
	background: linear-gradient(to right, var(--mnt-bg-color, #f5f5f5), transparent);
}

.mnt-ticker-outer::after {
	right: 0;
	background: linear-gradient(to left, var(--mnt-bg-color, #f5f5f5), transparent);
}

/* The scrolling track */
.mnt-ticker-track {
	display: flex;
	align-items: center;
	white-space: nowrap;
	will-change: transform;
}

.mnt-ticker-track.mnt-animating {
	animation: mnt-scroll-left linear infinite;
}

.mnt-ticker-track.mnt-animating.mnt-direction-right {
	animation-name: mnt-scroll-right;
}

.mnt-ticker-track.mnt-paused {
	animation-play-state: paused;
}

@keyframes mnt-scroll-left {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@keyframes mnt-scroll-right {
	0%   { transform: translateX(-50%); }
	100% { transform: translateX(0); }
}

/* Items */
.mnt-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-right: 50px;
	text-decoration: none;
	cursor: default;
}

a.mnt-item {
	cursor: pointer;
}

a.mnt-item:hover .mnt-item-text {
	text-decoration: underline;
}

.mnt-item-icon {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.mnt-item-text {
	display: inline-block;
	color: #1a1a1a;
	font-size: 14px;
	line-height: 1.4;
	transition: color 0.2s ease;
}

/* Separator */
.mnt-separator {
	display: inline-block;
	padding-right: 50px;
	color: #e5002b;
	font-size: 0.75em;
	vertical-align: middle;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
	.mnt-label {
		font-size: 10px;
		padding: 4px 10px;
	}
	.mnt-item-text {
		font-size: 13px;
	}
}
