.stronghold-scrolling-text {
	--stronghold-scrolling-text-item-gap: 32px;
	--stronghold-scrolling-text-separator-gap: 16px;
	--stronghold-scrolling-text-separator-size: 28px;
	--stronghold-scrolling-text-separator-offset: 0px;
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	padding-block: 24px;
}

.stronghold-scrolling-text__viewport {
	box-sizing: border-box;
	direction: ltr;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	width: 100%;
}

.stronghold-scrolling-text__viewport--edge-fade {
	--stronghold-scrolling-text-edge-fade-width: 40px;
	-webkit-mask-image: linear-gradient(
		to right,
		transparent 0%,
		#000 var(--stronghold-scrolling-text-edge-fade-width),
		#000 calc(100% - var(--stronghold-scrolling-text-edge-fade-width)),
		transparent 100%
	);
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		#000 var(--stronghold-scrolling-text-edge-fade-width),
		#000 calc(100% - var(--stronghold-scrolling-text-edge-fade-width)),
		transparent 100%
	);
}

.stronghold-scrolling-text__track,
.stronghold-scrolling-text__group,
.stronghold-scrolling-text__sequence {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	white-space: nowrap;
}

.stronghold-scrolling-text__track {
	transform: translate3d(0, 0, 0);
	width: max-content;
	will-change: transform;
}

.stronghold-scrolling-text__group,
.stronghold-scrolling-text__sequence {
	column-gap: var(--stronghold-scrolling-text-item-gap);
}

.stronghold-scrolling-text__group {
	box-sizing: content-box;
	padding-inline-end: var(--stronghold-scrolling-text-item-gap);
}

.stronghold-scrolling-text--has-separator .stronghold-scrolling-text__group,
.stronghold-scrolling-text--has-separator .stronghold-scrolling-text__sequence {
	column-gap: var(--stronghold-scrolling-text-separator-gap);
}

.stronghold-scrolling-text--has-separator .stronghold-scrolling-text__group {
	padding-inline-end: var(--stronghold-scrolling-text-separator-gap);
}

.stronghold-scrolling-text__text {
	color: var(--e-global-color-primary, currentColor);
	display: inline-block;
	font-size: clamp(3rem, 11vw, 12rem);
	font-weight: 700;
	line-height: 0.92;
	margin: 0;
	unicode-bidi: plaintext;
	-webkit-text-fill-color: currentColor;
	-webkit-text-stroke-width: 0;
}

.stronghold-scrolling-text__text--accent {
	color: var(--e-global-color-accent, currentColor);
}

.stronghold-scrolling-text__text--outline {
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke-color: currentColor;
	-webkit-text-stroke-width: 2px;
}

.stronghold-scrolling-text__text-link {
	text-decoration: none;
}

.stronghold-scrolling-text__text-link--primary:hover > .stronghold-scrolling-text__text--primary:not(.stronghold-scrolling-text__text--outline) {
	color: var(--stronghold-scrolling-text-primary-link-hover-color);
	-webkit-text-fill-color: var(--stronghold-scrolling-text-primary-link-hover-color);
}

.stronghold-scrolling-text__text-link--primary:hover > .stronghold-scrolling-text__text--primary.stronghold-scrolling-text__text--outline {
	-webkit-text-stroke-color: var(--stronghold-scrolling-text-primary-link-hover-color);
}

.stronghold-scrolling-text__text-link--accent:hover > .stronghold-scrolling-text__text--accent:not(.stronghold-scrolling-text__text--outline) {
	color: var(--stronghold-scrolling-text-accent-link-hover-color);
	-webkit-text-fill-color: var(--stronghold-scrolling-text-accent-link-hover-color);
}

.stronghold-scrolling-text__text-link--accent:hover > .stronghold-scrolling-text__text--accent.stronghold-scrolling-text__text--outline {
	-webkit-text-stroke-color: var(--stronghold-scrolling-text-accent-link-hover-color);
}

.stronghold-scrolling-text__separator {
	align-items: center;
	color: inherit;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: var(--stronghold-scrolling-text-separator-size);
	justify-content: center;
	line-height: 1;
	transform: translateY(var(--stronghold-scrolling-text-separator-offset));
}

.stronghold-scrolling-text__separator--icon svg {
	display: block;
	height: var(--stronghold-scrolling-text-separator-size);
	width: var(--stronghold-scrolling-text-separator-size);
}

.stronghold-scrolling-text__separator--icon svg:not([fill="none"]),
.stronghold-scrolling-text__separator--icon svg [fill]:not([fill="none"]) {
	fill: currentColor;
}

.stronghold-scrolling-text__separator--icon svg[stroke]:not([stroke="none"]),
.stronghold-scrolling-text__separator--icon svg [stroke]:not([stroke="none"]) {
	stroke: currentColor;
}

.stronghold-scrolling-text__separator-image {
	display: block;
	height: var(--stronghold-scrolling-text-separator-size);
	max-width: none;
	object-fit: contain;
	width: var(--stronghold-scrolling-text-separator-size);
}

.stronghold-scrolling-text__sr-only {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.stronghold-scrolling-text__sr-only:focus-within {
	box-sizing: border-box;
	clip-path: none;
	height: auto;
	margin: 0 0 1rem;
	overflow: visible;
	padding: 0.5rem;
	position: relative;
	white-space: normal;
	width: 100%;
}

.stronghold-scrolling-text__sr-link {
	color: inherit;
	text-decoration: underline;
}

.stronghold-scrolling-text__sr-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.stronghold-scrolling-text--motion-disabled .stronghold-scrolling-text__track {
	will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
	.stronghold-scrolling-text__track {
		will-change: auto;
	}
}
