/* Z-Ticker */

.zw-ticker {
	overflow: hidden;
	background-color: #F58D31;
	white-space: nowrap;
}

/*
 * A ticker/marquee bar is meant to sit flush against whatever's above and
 * below it. Elementor's section/column/widget wrappers add their own
 * default padding and gap, which shows up as a visible band of empty
 * space around the bar. Zero it out by default so it's edge-to-edge out
 * of the box — normal-specificity, not !important, so anyone who sets an
 * explicit margin/padding on the section or widget in Elementor's own
 * Advanced tab (which compiles to a more specific #id-based selector)
 * still overrides this without a fight.
 */
.elementor-section:has(> .elementor-container .zw-ticker),
.elementor-container:has(.zw-ticker),
.elementor-column:has(.zw-ticker),
.elementor-widget:has(.zw-ticker),
.elementor-widget-wrap:has(.zw-ticker),
.elementor-widget-container:has(.zw-ticker) {
	padding: 0;
	margin: 0;
	gap: 0;
}

.zw-ticker__track {
	display: inline-flex;
	width: max-content;
	animation-duration: 20s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.zw-ticker--left .zw-ticker__track {
	animation-name: zw-ticker-scroll-left;
}

.zw-ticker--right .zw-ticker__track {
	animation-name: zw-ticker-scroll-right;
}

@keyframes zw-ticker-scroll-left {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@keyframes zw-ticker-scroll-right {
	from { transform: translateX(-50%); }
	to   { transform: translateX(0); }
}

.zw-ticker--pause-hover:hover .zw-ticker__track {
	animation-play-state: paused;
}

.zw-ticker__set {
	display: inline-flex;
	align-items: center;
	gap: 32px;
	padding-right: 32px;
}

.zw-ticker--static .zw-ticker__track {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
}

.zw-ticker--static .zw-ticker__set {
	flex-wrap: wrap;
	justify-content: center;
	padding-right: 0;
}

.zw-ticker__item {
	font-family: var(--zw-font-body);
	font-weight: 700;
	font-size: 14px;
	color: #0F0D0B;
	text-decoration: none;
	white-space: nowrap;
}

a.zw-ticker__item {
	transition: color 0.15s ease;
}

.zw-ticker__sep {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	color: #0F0D0B;
	line-height: 1;
}

.zw-ticker__sep svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

@media (prefers-reduced-motion: reduce) {
	.zw-ticker__track {
		animation: none !important;
	}
}
