/* AFC Widgets base styles. Colors come from Elementor controls (globals). */

/* SplitText Hero */
.afc-split-hero {
	margin: 0;
}
.afc-split-word {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
}
.afc-split-unit {
	display: inline-block;
	will-change: transform;
}

/* Magnetic CTA */
.afc-magnetic-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 32px;
	text-decoration: none;
	cursor: pointer;
	will-change: transform;
}
.afc-magnetic-cta__icon,
.afc-magnetic-cta svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}
.afc-magnetic-cta:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Marquee Strip */
.afc-marquee {
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
}
.afc-marquee__track {
	display: inline-flex;
	align-items: center;
	will-change: transform;
}
.afc-marquee__group {
	display: inline-flex;
	align-items: center;
}
.afc-marquee__item {
	padding: 8px 16px;
}
.afc-marquee__sep {
	font-size: 0.5em;
	opacity: 0.7;
}
.afc-marquee--static .afc-marquee__track {
	width: 100%;
	justify-content: center;
	flex-wrap: wrap;
	white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
	.afc-split-unit,
	.afc-magnetic-cta,
	.afc-marquee__track {
		transform: none !important;
	}
}
