/**
 * Testimonials Slider block styles - Figma Pixel Perfect
 *
 * @package NexioEducation
 */

.testimonials-slider-wrapper {
	background: #FFFEFA;
	padding: 120px max(142px, calc((100% - 1156px) / 2)) 240px;
	min-height: auto;
	box-sizing: border-box;
	overflow: hidden;
}

.testimonials-slider-title {
	font-family: var(--wp--preset--font-family--body, 'Manrope', sans-serif);
	font-size: 48px;
	font-weight: 800;
	line-height: 58px;
	color: var(--wp--preset--color--blue, #064d8e);
	margin: 0 0 64px;
}

.testimonials-divider {
	border: none;
	border-top: 1px solid var(--wp--preset--color--blue, #064d8e);
	margin: 0 0 48px;
}

.testimonials-slider {
	position: relative;
}

.testimonial-slide {
	list-style: none;
}

.testimonial-content {
	display: flex;
	gap: 263px;
	align-items: flex-start;
}

.testimonial-author {
	flex: 0 0 212px;
	max-width: 212px;
}

.testimonial-name {
	font-family: var(--wp--preset--font-family--heading, 'Apris Trial', serif);
	font-size: 48px;
	font-weight: 300;
	line-height: normal;
	color: var(--wp--preset--color--blue, #064d8e);
	margin: 0 0 8px;
}

.testimonial-subtitle {
	font-family: var(--wp--preset--font-family--body, 'Manrope', sans-serif);
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
	color: #000000;
	margin: 0;
}

.testimonial-quote-wrapper {
	flex: 1;
	max-width: 684px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
}

.testimonial-quote {
	font-family: var(--wp--preset--font-family--heading, 'Apris Trial', serif);
	font-size: 24px;
	font-weight: 300;
	line-height: 32px;
	color: var(--wp--preset--color--blue, #064d8e);
	margin: 0;
	padding: 0;
	border: none;
}

.testimonial-quote::before {
	content: '"';
}

.testimonial-quote::after {
	content: '"';
}

.testimonial-quote strong {
	font-family: var(--wp--preset--font-family--heading, 'Apris Trial', serif);
	font-weight: 500;
}

.testimonial-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border: 1px solid rgba(6, 77, 142, 0.5);
	border-radius: 33px;
	padding: 8px 32px;
	font-family: var(--wp--preset--font-family--body, 'Manrope', sans-serif);
	font-size: 14px;
	font-weight: 700;
	line-height: 16.8px;
	color: var(--wp--preset--color--blue, #064d8e);
	text-decoration: none;
}

.testimonial-link:hover {
	background: rgba(6, 77, 142, 0.05);
}

/* Splide arrows */
.testimonials-slider .splide__arrows {
	position: absolute;
	bottom: -144px;
	left: 47px;
	display: flex;
	gap: 24px;
	z-index: 2;
}

.testimonials-slider .splide__arrow {
	position: static;
	background: var(--wp--preset--color--white, #fffefa);
	border: 1px solid rgba(6, 77, 142, 0.5);
	border-radius: 30px;
	width: 48px;
	height: 40px;
	opacity: 1;
	padding: 8px 12px;
}

.testimonials-slider .splide__arrow svg {
	fill: var(--wp--preset--color--blue, #064d8e);
	width: 12px;
	height: 10px;
}

.testimonials-slider .splide__arrow:hover {
	background: #e8f0f7;
}

.testimonials-slider .splide__arrow--prev {
	order: 1;
	transform: rotate(180deg);
}

.testimonials-slider .splide__arrow--next {
	order: 2;
}

/* Bottom line */
.testimonials-slider::after {
	content: "";
	position: absolute;
	bottom: -123px;
	left: 0;
	right: 0;
	height: 1px;
	background-color: var(--wp--preset--color--blue, #064d8e);
}

/* Responsive */
@media (max-width: 1200px) {
	.testimonials-slider-wrapper {
		padding: 80px 80px 200px;
		min-height: auto;
	}

	.testimonial-content {
		gap: 80px;
	}

	.testimonial-name {
		font-size: 36px;
	}

	.testimonial-quote {
		font-size: 20px;
		line-height: 28px;
	}
}

@media (max-width: 900px) {
	.testimonials-slider-wrapper {
		padding: 60px 24px 180px 24px;
	}

	.testimonials-slider-title {
		font-size: 32px;
		line-height: 40px;
		margin-bottom: 32px;
	}

	.testimonial-content {
		flex-direction: column;
		gap: 32px;
	}

	.testimonial-author {
		flex: unset;
		max-width: 100%;
		width: 100%;
	}

	.testimonial-name {
		font-size: 28px;
	}

	.testimonial-quote-wrapper {
		max-width: 100%;
		align-items: flex-start;
	}

	.testimonial-quote {
		font-size: 18px;
		line-height: 26px;
	}

	.testimonials-slider .splide__arrows {
		gap: 16px;
	}
}
