/* =========================================================================
   ICF Karting — v20 (News Ticker animowany)
   - Sezonowy banner jako rolujący news ticker
   - Pauza na hover
   - Desktop + mobile, smooth scroll
   ========================================================================= */

/* ===========================================================
   NEWS TICKER — sezonowy banner z auto-przewijaniem
   =========================================================== */
.season-strip {
	display: flex !important;
	align-items: center !important;
	overflow: hidden !important;
	position: relative;
	padding: 12px 0 !important;
	gap: 0 !important;
	white-space: nowrap !important;
	background: linear-gradient(135deg, var(--c-accent) 0%, #d61c0e 50%, var(--c-accent) 100%) !important;
	background-size: 200% 100%;
	animation: seasonShine 8s ease-in-out infinite;
	box-shadow: inset 0 -1px 0 rgba(0,0,0,.2);
	min-height: 44px;
}

/* Track wrapper — zawiera kopiowane wewnątrz news items */
.season-strip__track {
	display: flex;
	align-items: center;
	gap: 0;
	flex-shrink: 0;
	animation: tickerScroll 45s linear infinite;
	will-change: transform;
}

/* News item — pojedyncze "newsy" */
.season-strip__item {
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px;
	padding: 0 28px;
	color: #fff;
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: -0.005em;
	flex-shrink: 0;
	white-space: nowrap;
}

.season-strip__item strong {
	color: #fff;
	font-weight: 800;
}

.season-strip__item a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 700;
}
.season-strip__item a:hover { color: rgba(255,255,255,.85); }

.season-strip__sep {
	display: inline-flex;
	color: rgba(255,255,255,.55);
	font-weight: 700;
	padding: 0 4px;
	font-size: 0.95rem;
	flex-shrink: 0;
}

.season-strip__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px;
	background: rgba(255,255,255,.22);
	border-radius: 50%;
	font-size: 0.78rem;
	flex-shrink: 0;
}

/* Pause na hover (UX) */
.season-strip:hover .season-strip__track {
	animation-play-state: paused;
}

/* Marquee scroll keyframes */
@keyframes tickerScroll {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

/* Mobile: szybciej i mniejszy padding */
@media (max-width: 720px) {
	.season-strip { padding: 10px 0 !important; min-height: 38px; }
	.season-strip__item { font-size: 0.78rem; padding: 0 20px; }
	.season-strip__icon { width: 18px; height: 18px; font-size: 0.7rem; }
	.season-strip__track { animation-duration: 38s; }
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
	.season-strip__track { animation: none !important; }
	.season-strip { background: var(--c-accent) !important; animation: none !important; }
}
