/**
 * Marquee (assets/js/marquee.js) + the homepage holes ribbon items.
 */
.hc-marquee.is-running {
	animation: hc-marquee var(--hc-marquee-duration, 60s) linear infinite;
	will-change: transform;
}
.hc-marquee.is-running:hover,
.hc-marquee.is-running:focus-within {
	animation-play-state: paused;
}
@keyframes hc-marquee {
	to {
		transform: translateX(var(--hc-marquee-shift, -50%));
	}
}
/* Reduced motion: no scrolling; the ribbon can be swiped instead. */
.hc-marquee-static {
	overflow-x: auto;
	scrollbar-width: none;
}

.hc-marquee__link {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 3px;
}
.hc-marquee__link:focus-visible {
	outline: 3px solid var(--gcid-hc-forest);
	outline-offset: 2px;
}

/* Holes ribbon: hovered hole becomes a forest pill. */
.hc-ticker__item {
	position: relative;
}
.hc-ticker__label {
	transition: background-color 0.2s ease;
}
.hc-ticker__label * {
	transition: color 0.2s ease;
}
.hc-ticker__item:hover .hc-ticker__label,
.hc-ticker__item:focus-within .hc-ticker__label {
	background-color: var(--gcid-hc-forest);
}
.hc-ticker__item:hover .hc-ticker__label *,
.hc-ticker__item:focus-within .hc-ticker__label * {
	color: var(--gcid-hc-cream) !important;
}
