/* Бегущая строка в шапке (две половины × N фраз — анимация -50%) */
.marquee {
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	min-height: 36px;
	padding: 9px 0;
	font-family: "Onest", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.01em;
	background: linear-gradient(92.44deg, #c92868 17.97%, #9a2a72 87.42%);
	color: rgba(255, 255, 255, 0.96);
}

.marquee__inner {
	display: flex;
	flex-wrap: nowrap;
	width: max-content;
	animation: ptb-marquee-scroll 45s linear infinite;
	will-change: transform;
	transform: translateZ(0);
}

.marquee__group {
	display: flex;
	flex-shrink: 0;
	flex-wrap: nowrap;
	align-items: center;
	white-space: nowrap;
}

.marquee__text {
	flex-shrink: 0;
	padding-right: 8px;
	white-space: nowrap;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
}

@keyframes ptb-marquee-scroll {
	0% {
		transform: translateX(0);
	}

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

@media (max-width: 767px) {
	.marquee {
		min-height: 40px;
		padding: 12px 0;
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.marquee__inner {
		animation: none;
		transform: none;
	}
}
