.hb-ticker {
	--hb-ticker-bg: var(--e-global-color-2553d6a, #ebe6d8);   /* Pergament */
	--hb-ticker-fg: var(--e-global-color-text, #1c1812);
	--hb-ticker-next: var(--e-global-color-secondary, #7a3520);
	--hb-ticker-gap: 3rem;

	overflow: hidden;
	white-space: nowrap;
	background: var(--hb-ticker-bg);
	color: var(--hb-ticker-fg);
	padding: .6rem 0;
}

.hb-ticker__track {
	display: flex;
	width: max-content;
	animation: hb-ticker-scroll var(--hb-ticker-duration, 15s) linear infinite;
}

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

.hb-ticker__group {
	display: flex;
	flex-shrink: 0;
	min-width: 100vw;
	justify-content: space-around;
	gap: var(--hb-ticker-gap);
	padding-right: var(--hb-ticker-gap);
}

.hb-ticker__item {
	color: inherit;
	text-decoration: none;
}

.hb-ticker__item a {
	color: inherit;
	text-decoration: none;
}

.hb-ticker__item--next,
.hb-ticker__label {
	color: var(--hb-ticker-next);
	font-weight: 600;
}

@keyframes hb-ticker-scroll {
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.hb-ticker { overflow-x: auto; }
	.hb-ticker__track { animation: none; }
}
