/**
 * Entrance animations (Elementor "Motion effects > Entrance animation" of migrated content): an element with .sd-anim
 * stays hidden until it scrolls into view, then — after its delay (class sd-anim-delay-<ms>) — js/animations.js adds
 * .sd-anim--in and it plays once. The animation is chosen by a class (sd-anim-fadeIn …) or, for
 * sellerdata/record-links, by data-sd-anim. Durations and keyframes are Elementor's (1.25s; slow 2s; fast .75s).
 * Front end only: in the editor nothing is hidden.
 */
.sd-anim {
	visibility: hidden;
}

.sd-anim.sd-anim--in {
	visibility: visible;
	animation-duration: 1.25s;
}

.sd-anim.sd-anim--in.sd-anim-slow {
	animation-duration: 2s;
}

.sd-anim.sd-anim--in.sd-anim-fast {
	animation-duration: 0.75s;
}

.sd-anim--in.sd-anim-fadeIn {
	animation-name: sd-fadeIn;
}

.sd-anim--in.sd-anim-fadeInUp {
	animation-name: sd-fadeInUp;
}

.sd-anim--in.sd-anim-pulse,
.sd-anim--in[data-sd-anim="pulse"] {
	animation-name: sd-pulse;
}

@keyframes sd-fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes sd-fadeInUp {
	from {
		opacity: 0;
		transform: translate3d(0, 100%, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes sd-pulse {
	from,
	to {
		transform: scale3d(1, 1, 1);
	}

	50% {
		transform: scale3d(1.05, 1.05, 1.05);
	}
}

@media (prefers-reduced-motion: reduce) {
	.sd-anim {
		visibility: visible;
	}

	.sd-anim--in {
		animation: none;
	}
}
