/* Bellora Marquee */

.bellora-marquee {
	padding-block: clamp(1.5rem, 3.4vh, 2.5rem);
	overflow: hidden;
	background: var(--bellora-color-surface);
	color: var(--bellora-color-heading);
	border-block: var(--vsp-hairline);
}

.bellora-marquee--cream {
	background: var(--bellora-color-surface-cream);
}

.bellora-marquee--dark {
	background: var(--bellora-color-surface-invert);
	color: var(--bellora-color-on-invert);
	border: 0;
}

.bellora-marquee__track {
	display: flex;
	width: max-content;
	animation: bellora-marquee var(--bellora-marquee-speed, 34s) linear infinite;
}

.bellora-marquee__group {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.bellora-marquee__word {
	font-family: var(--bellora-font-display);
	font-size: clamp(2rem, 4.4vw, 4rem);
	font-weight: 300;
	line-height: 1.1;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.bellora-marquee__word:nth-child(4n + 3) {
	font-style: italic;
}

.bellora-marquee__dot {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	margin-inline: clamp(1.5rem, 3.4vw, 3rem);
	border-radius: 999px;
	background: var(--bellora-color-accent);
}

@keyframes bellora-marquee {
	to {
		transform: translateX(-50%);
	}
}

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