/* TC Gold homepage animated headline replacement. */

.tcg-animated-headline {
	display: block;
	position: relative;
	width: 100%;
}

.tcg-animated-headline__title {
\tmargin: 0 0 20px;
	color: #1e293b;
	font-family: "Poppins", sans-serif;
	font-size: 25px;
	font-weight: 400;
	letter-spacing: normal;
	line-height: 30px;
	text-align: left;
	text-transform: none;
}

.tcg-animated-headline__plain {
	color: #ffffff;
}

.tcg-animated-headline__dynamic {
	display: inline-block;
	position: relative;
	color: #9b0002;
	vertical-align: baseline;
}

.tcg-animated-headline__dynamic-text {
	display: inline-block;
	color: #9b0002;
	white-space: nowrap;
}

.tcg-animated-headline__char {
	display: inline-block;
	transform: scaleY(0);
	transform-origin: 50% 100%;
	opacity: 0;
}

.tcg-animated-headline__dynamic-text.is-visible .tcg-animated-headline__char {
	animation: tcg-headline-blinds-in 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
	animation-delay: calc(var(--tcg-char-index) * 22ms);
}

@keyframes tcg-headline-blinds-in {
	from {
		opacity: 0;
		transform: scaleY(0);
	}

	to {
		opacity: 1;
		transform: scaleY(1);
	}
}

@media (max-width: 767px) {
	.tcg-animated-headline__title {
		font-size: 22px;
		line-height: 26.4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tcg-animated-headline__dynamic-text.is-visible .tcg-animated-headline__char {
		animation: none;
		opacity: 1;
		transform: none;
	}
}
