.akt-ticker {
	overflow: hidden;
	width: 100%;

	&:not(.akt-ticker--agency) {
		padding: 6px 0;
		background-color: var(--text-color);

		.akt-ticker__wrapper {
			padding: 24px 0;
		}

		.akt-ticker__content {
			font-size: 40px;
			font-weight: bold;
			color: var(--color3);
		}
	}

	&.akt-ticker--agency {
		rotate: -1.5deg;
		padding-block: 1rem;

		.akt-ticker__content {
			color: var(--subheading-color);
			text-transform: uppercase;
			font-size: 3.125rem;
			line-height: 1.2;
			font-weight: 400;
		}
	}
}

.akt-ticker__wrapper {
	text-wrap: nowrap;
	display: flex;
	width: fit-content;
	animation: ticker 20s linear infinite;

	+ .akt-ticker__wrapper {
		animation-duration: 15s; /* Slightly different speed for the second wrapper */
	}
}

.akt-ticker__content {
	white-space: nowrap;
	padding-right: 1em; /* Space between repetitions */
}

@keyframes ticker {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Pause animation on hover 
.akt-ticker:hover .akt-ticker__wrapper {
    animation-play-state: paused;
}
*/

/* Responsive adjustments */
@media (max-width: 768px) {
	.akt-ticker__content {
		font-size: 30px;
	}
}

@media (max-width: 480px) {
	.akt-ticker__content {
		font-size: 24px;
	}
}

.vc_row:has(.akt-ticker) {
	overflow: visible;
}
