/* EnvisionSEO Blocks — effects (assets/motion.js). Transforms are composed from variables the script sets. */
.fx-moves {
	transform: translateY(var(--fx-y, 0)) scale(var(--fx-scale, 1));
	will-change: transform;
}

/* Entrance animations: hidden before first paint and until in view (fx-js is set in <head>). */
.fx-pending,
.fx-js [class*="fx-in-"],
.fx-js [data-fx*="entrance"] {
	visibility: hidden;
}
.fx-animate {
	animation-fill-mode: none;
}
/* Elementor's keyframes. Name, duration and delay come from the effect settings. */
@keyframes fx-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes fx-fade-in-up {
	from { opacity: 0; transform: translate3d(0, 100%, 0); }
	to { opacity: 1; transform: none; }
}
@keyframes fx-slide-in-left {
	from { transform: translate3d(-100%, 0, 0); }
	to { transform: translate3d(0, 0, 0); }
}

/* Buttons grow on hover (Elementor "grow"). */
main .wp-block-button__link {
	transition: transform 0.3s;
}
main .wp-block-button__link:hover,
main .wp-block-button__link:focus-visible {
	transform: scale(1.1);
}

/* Slide-ins start off-screen to the left; never let them cause a horizontal scrollbar. */
.wp-site-blocks {
	overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
	.fx-pending { visibility: visible; }
	.fx-animate { animation: none !important; }
	main .wp-block-button__link:hover { transform: none; }
}

/* Testimonial carousel (assets/js/carousel.js) */
.carousel {
	position: relative;
	padding-inline: 60px;
	margin-top: var(--wp--preset--spacing--50);
}
.carousel {
	overflow: hidden;
}
.carousel__track {
	display: flex;
	gap: 0;
	touch-action: pan-y;
}
.carousel__slide {
	flex: 0 0 100%;
	padding-inline: 20px;
	margin: 0 !important;
}
@media (min-width: 768px) { .carousel__slide { flex-basis: 50%; } }
@media (min-width: 1025px) { .carousel__slide { flex-basis: 33.333%; } }
.carousel__slide p { margin: 0 0 16px; }
.testimonial-name { font-style: italic; margin-top: 24px !important; margin-bottom: 0 !important; }
.carousel__arrow {
	position: absolute;
	z-index: 1;
	top: 40%;
	width: 40px;
	height: 40px;
	border: 0;
	background: none;
	cursor: pointer;
	color: var(--wp--preset--color--contrast);
}
.carousel__arrow::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	margin: auto;
	border: solid currentColor;
	border-width: 0 3px 3px 0;
}
.carousel__arrow--prev { left: 0; }
.carousel__arrow--prev::before { transform: rotate(135deg); }
.carousel__arrow--next { right: 0; }
.carousel__arrow--next::before { transform: rotate(-45deg); }
.carousel__arrow:hover { color: var(--wp--preset--color--accent); }
.carousel__dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 30px;
}
.carousel__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--contrast);
	cursor: pointer;
}
.carousel__dots button.is-active { background: var(--wp--preset--color--accent); }
@media (max-width: 599px) {
	.carousel { padding-inline: 30px; }
}

.wp-block-details.faq-item.is-compact summary {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
}
