.oslh-ticker,
.oslh-ticker * {
	box-sizing: border-box;
}

.oslh-ticker {
	--oslh-gap: 3rem;
	position: relative;
	z-index: 20;
	display: block;
	width: 100%;
	min-height: 46px;
	overflow: hidden;
	margin: 0;
	padding: 11px 0;
	background: #e4ff00;
	color: #080808;
	font-family: inherit;
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 800;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.oslh-ticker__track {
	display: flex;
	width: max-content;
	transform: translateX(0);
}

.oslh-ticker__group {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	width: max-content;
	gap: var(--oslh-gap);
	padding-right: var(--oslh-gap);
	white-space: nowrap;
}

.oslh-ticker__item {
	display: inline-block;
	flex: 0 0 auto;
	white-space: nowrap;
}

.oslh-ticker.is-ready .oslh-ticker__track {
	animation: oslh-ticker-left var(--oslh-duration, 28s) linear infinite;
	will-change: transform;
}

.oslh-ticker:hover .oslh-ticker__track,
.oslh-ticker:focus-within .oslh-ticker__track {
	animation-play-state: paused;
}

.oslh-ticker:focus-visible {
	outline: 3px solid #111;
	outline-offset: -3px;
}

.oslh-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

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

@media (prefers-reduced-motion: reduce) {
	.oslh-ticker.is-ready .oslh-ticker__track {
		animation: none;
		transform: translateX(0);
		will-change: auto;
	}

	.oslh-ticker__group--clone {
		display: none;
	}
}

@media (max-width: 600px) {
	.oslh-ticker {
		--oslh-gap: 2rem;
		min-height: 42px;
		padding: 9px 0;
		font-size: 1rem;
	}
}
