/* Announcement Bar for Elementor */

.eab-bar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}

/* Track holds the stacked slides */
.eab-track {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 1.4em;
	text-align: center;
}

.eab-slide {
	position: absolute;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.eab-slide.is-active {
	position: relative;
	pointer-events: auto;
}

.eab-message {
	display: inline-block;
	margin: 0;
	line-height: 1.4;
	text-decoration: none;
}

.eab-message a,
a.eab-message {
	text-decoration: none;
}

a.eab-message:hover {
	text-decoration: underline;
}

/* ---------- Fade transition ---------- */
.eab-bar[data-animation="fade"] .eab-slide {
	opacity: 0;
	transition: opacity .5s ease;
}
.eab-bar[data-animation="fade"] .eab-slide.is-active {
	opacity: 1;
}

/* ---------- Slide transition ---------- */
.eab-bar[data-animation="slide"] .eab-slide {
	opacity: 0;
	transform: translateY(100%);
	transition: transform .45s ease, opacity .45s ease;
}
.eab-bar[data-animation="slide"] .eab-slide.is-active {
	opacity: 1;
	transform: translateY(0);
}
.eab-bar[data-animation="slide"] .eab-slide.is-leaving {
	opacity: 0;
	transform: translateY(-100%);
}

/* ---------- Arrows ---------- */
.eab-arrow {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	background: transparent;
	border: 0;
	cursor: pointer;
	line-height: 0;
	opacity: .8;
	transition: opacity .2s ease;
}
.eab-arrow:hover {
	opacity: 1;
}
.eab-arrow svg {
	display: block;
	width: 16px;
	height: 16px;
}

/* ---------- Close button ---------- */
.eab-close {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 4px;
	line-height: 0;
	color: inherit;
	opacity: .6;
}
.eab-close:hover {
	opacity: 1;
}
.eab-close svg {
	width: 16px;
	height: 16px;
}

.eab-bar.is-dismissed {
	display: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	.eab-slide {
		transition: none !important;
	}
}
