/* Video Testimonials Slider styles */

.home .testimonials .testimonial-slide {
	display: none;
}

.home .testimonials .testimonial-slide.active {
	display: block;
}

.home .testimonials .testimonial-slide .wp-block-columns {
    column-gap: 66px;
}

.home .testimonials .video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
    border-radius: 16px;;
}

.home .testimonials .video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.home .testimonials .testimonial-text {
    margin-top: 16px;
    color: var(--wp--preset--color--custom-black-242424);
    font-size: var(--wp--preset--font-size--custom-3);
    font-weight: var(--wp--custom--font-weight--regular;
    line-height: 1.4;
    letter-spacing: -0.28px;
}

.home .testimonials .testimonial-divider {
	border: none;
	border-top: 1px solid var(--wp--preset--color--custom-div-trans-black-0-15-1);
	margin: 2rem 0 1rem;
}

/* Style the author and navigation layout */
.home .testimonials .author-navigation-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.home .testimonials .testimonial-author {
	flex: 1;
}
.home .testimonials .testimonial-author .name {
    font-size: var(--wp--preset--font-size--custom-3);
    font-weight: --wp--custom--font-weight--medium;
    line-height: 1.2;
    margin-block-start: 0;
    margin-block-end: 0;
    letter-spacing: -0.28px;
    color: var(--wp--preset--color--main);
}

.home .testimonials .testimonial-author .role {
    font-size: var(--wp--preset--font-size--base);
    font-weight: --wp--custom--font-weight--regular;
    line-height: 1.4;
    color: var(--wp--preset--color--custom-grey-524-e-4-c);
    margin-block-start: 0;
    margin-block-end: 0;
}


.home .testimonials .testimonial-navigation {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.home .testimonials .testimonial-navigation .wp-block-buttons {
	display: flex;
	gap: 0.5rem;
}

@media (max-width: 768px) {
	.home .testimonials .wp-block-columns {
		flex-wrap: wrap;
	}

	.home .testimonials .wp-block-column {
		flex-basis: 100% !important;
	}

	.home .testimonials .author-navigation-wrapper {
		flex-direction: column;
		align-items: flex-start;
	}

	.home .testimonials .testimonial-navigation {
		margin-top: 1rem;
		width: 100%;
		justify-content: flex-start;
	}
}
