.wm-news-bar {
	position: relative;
	z-index: 2;
	background: #fff;
	border-bottom: 1px solid rgba(15, 39, 64, 0.1);
	margin-top: clamp(70px, 8vw, 100px);
	color: #0f2740;
}

.wm-news-bar__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	max-width: var(--wm-content-max, 1240px);
	margin: 0 auto;
	padding: 0.8rem var(--wm-content-padding, clamp(1.25rem, 3vw, 2rem));
}

.wm-news-bar__label {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex: 0 0 auto;
	padding-right: 1.5rem;
	background: #fff;
	font-size: 0.74rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--wm-primary);
	white-space: nowrap;
}

.wm-news-bar__label svg {
	flex: 0 0 auto;
}

.wm-news-bar__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.wm-news-bar__track {
	display: flex;
	gap: 2.5rem;
	width: max-content;
	animation: wmNewsScroll 28s linear infinite;
	will-change: transform;
}

.wm-news-bar:hover .wm-news-bar__track,
.wm-news-bar:focus-within .wm-news-bar__track {
	animation-play-state: paused;
}

.wm-news-bar__items {
	display: flex;
	align-items: center;
	gap: 2.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 0 0 auto;
}

.wm-news-bar__item {
	margin: 0;
}

.wm-news-bar__item a {
	display: inline-flex;
	align-items: baseline;
	gap: 0.6rem;
	color: #334155;
	text-decoration: none;
	font-size: 0.86rem;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.wm-news-bar__item a:hover,
.wm-news-bar__item a:focus {
	color: var(--wm-primary);
}

.wm-news-bar__item time {
	flex: 0 0 auto;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--wm-primary);
}

@keyframes wmNewsScroll {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wm-news-bar__track {
		animation: none;
		overflow-x: auto;
	}

	.wm-news-bar__viewport {
		mask-image: none;
		-webkit-mask-image: none;
	}
}

@media (max-width: 640px) {
	.wm-news-bar {
		margin-top: clamp(40px, 10vw, 60px);
	}

	.wm-news-bar__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.4rem;
	}

	.wm-news-bar__label {
		padding-right: 0;
	}
}
