.testimonial-slider {
	padding: 96px 24px;
	background: var(--wp--preset--color--primary-50);
}

.testimonial-slider__inner {
	width: min(1160px, 100%);
	max-width: 1160px !important;
	margin: 0 auto;
	position: relative;
	display: grid;
	grid-template-columns: 280px minmax(0, 650px);
	column-gap: 80px;
	justify-content: center;
}

.testimonial-slider__viewport {
	grid-column: 1 / -1;
	overflow: hidden;
	width: 100%;
}

.testimonial-slider__track {
	display: flex !important;
	flex-wrap: nowrap !important;
	width: 100%;
	margin: 0 !important;
	transition: transform 0.4s ease;
	will-change: transform;
}

.testimonial-slide {
	display: grid !important;
	grid-template-columns: 280px minmax(0, 650px);
	align-items: center;
	justify-content: center;
	column-gap: 80px;
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	margin: 0 !important;
}

.testimonial-slide__media,
.testimonial-slide__content {
	margin: 0 !important;
	min-width: 0;
}

.testimonial-slide__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 280px;
	height: 252px;
}

.testimonial-slide__image {
	width: 280px;
	height: 252px;
	aspect-ratio: 71 / 64;
	margin: 0;
}

.testimonial-slide__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	aspect-ratio: 71 / 64;
}

.testimonial-slide__content {
	max-width: 650px;
	align-self: center;
}

.testimonial-slide__quote {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

.testimonial-slide__quote p {
	margin: 0;
	color: var(--wp--preset--color--black);
	font-size: 23px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.46px;
	text-transform: capitalize;
}

.testimonial-slide__name {
	margin: 0 0 8px !important;
	color: var(--wp--preset--color--black);
	font-size: 15px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0.03px;
}

.testimonial-slide__role {
	margin: 0 !important;
	color: var(--wp--preset--color--black);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.testimonial-slider__controls {
	grid-column: 2;
	display: flex !important;
	justify-content: flex-start;
	gap: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.testimonial-slider__controls .wp-block-button {
	margin: 0 !important;
}

.testimonial-slider__controls .wp-block-button__link {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 48px !important;
	height: 48px !important;
	padding: 0 !important;
	border-radius: 4px !important;
	background: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--black) !important;
	border: 1px solid var(--wp--preset--color--primary-100) !important;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	cursor: pointer;
}

.testimonial-slider__prev.is-disabled,
.testimonial-slider__next.is-disabled {
	opacity: 0.4;
	pointer-events: none;
}

.testimonial-slider--disabled .testimonial-slider__controls {
	display: none !important;
}

.testimonial-slider--disabled .testimonial-slider__track {
	transform: translateX(0) !important;
}

@media (max-width: 990px) {

	.testimonial-slider {
		padding: 96px 40px;
	}

	.testimonial-slider__inner {
		display: block;
	}

	.testimonial-slide {
		grid-template-columns: 1fr;
		row-gap: 24px;
		justify-content: start;
	}

	.testimonial-slide__media,
	.testimonial-slide__image {
		width: min(200px, 100%);
		height: auto;
		aspect-ratio: 10 / 9;
	}

	.testimonial-slide__image img {
		width: 100%;
		height: 100%;
	}

	.testimonial-slide__content {
		max-width: 100%;
	}

	.testimonial-slider__controls {
		padding-left: 0;
		margin-top: 24px !important;
	}
}

@media (max-width: 767px) {

	.testimonial-slider {
		padding: 48px 16px;
	}

	.testimonial-slide {
		row-gap: 20px;
	}

	.testimonial-slide__media,
	.testimonial-slide__image {
		width: min(100px, 100%);
		height: auto;
		aspect-ratio: 10 / 9;
	}

	.testimonial-slide__quote {
		margin: 0 0 16px;
	}

	.testimonial-slide__quote p {
		font-size: 20px;
		line-height: 28px;
		letter-spacing: -0.4px;
	}

	.testimonial-slide__name {
		font-size: 15px;
		line-height: 24px;
	}

	.testimonial-slider__controls {
		margin-top: 24px !important;
	}
}

/* ==========================
 * Editor Styles
 ========================= */
.editor-styles-wrapper .testimonial-slider {
	padding: 96px 24px;
	background: var(--wp--preset--color--primary-50);
}

.editor-styles-wrapper .testimonial-slider__inner {
	width: min(1160px, 100%);
	margin: 0 auto;
	position: relative;
	display: grid;
	grid-template-columns: 280px minmax(0, 650px);
	column-gap: 80px;
	justify-content: center;
}

.editor-styles-wrapper .testimonial-slider__viewport {
	grid-column: 1 / -1;
	overflow: hidden;
	width: 100%;
}

.editor-styles-wrapper .testimonial-slider__track {
	display: flex !important;
	flex-wrap: nowrap !important;
	width: 100%;
	margin: 0 !important;
	transform: none !important;
}

.editor-styles-wrapper .testimonial-slide {
	display: grid !important;
	grid-template-columns: 280px minmax(0, 650px);
	align-items: center;
	justify-content: center;
	column-gap: 80px;
	flex: 0 0 100%;
	width: 100%;
	min-width: 100%;
	margin: 0 !important;
}

.editor-styles-wrapper .testimonial-slide:not(:first-child) {
	display: none !important;
}

.editor-styles-wrapper .testimonial-slide__media,
.editor-styles-wrapper .testimonial-slide__content {
	margin: 0 !important;
	min-width: 0;
}

.editor-styles-wrapper .testimonial-slide__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 280px;
	height: 252px;
}

.editor-styles-wrapper .testimonial-slide__image {
	width: 280px;
	height: 252px;
	aspect-ratio: 71 / 64;
	margin: 0;
}

.editor-styles-wrapper .testimonial-slide__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	aspect-ratio: 71 / 64;
}

.editor-styles-wrapper .testimonial-slide__content {
	max-width: 650px;
	align-self: center;
}

.editor-styles-wrapper .testimonial-slide__quote {
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

.editor-styles-wrapper .testimonial-slide__quote p {
	margin: 0;
	color: var(--wp--preset--color--black);
	font-size: 23px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.46px;
	text-transform: capitalize;
}

.editor-styles-wrapper .testimonial-slide__name {
	margin: 0 0 8px !important;
	color: var(--wp--preset--color--black);
	font-size: 15px;
	font-weight: 700;
	line-height: 28px;
	letter-spacing: 0.03px;
}

.editor-styles-wrapper .testimonial-slide__role {
	margin: 0 !important;
	color: var(--wp--preset--color--black);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}

.editor-styles-wrapper .testimonial-slider__controls {
	grid-column: 2;
	display: flex !important;
	justify-content: flex-start;
	gap: 16px !important;
	margin: 0 !important;
	padding: 0 !important;
}

.editor-styles-wrapper .testimonial-slider__controls .wp-block-button {
	margin: 0 !important;
}

.editor-styles-wrapper .testimonial-slider__controls .wp-block-button__link {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 48px !important;
	height: 48px !important;
	padding: 0 !important;
	border-radius: 4px !important;
	background: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--black) !important;
	border: 1px solid var(--wp--preset--color--primary-100) !important;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none !important;
	cursor: default;
}

.editor-styles-wrapper .testimonial-slider__prev.is-disabled,
.editor-styles-wrapper .testimonial-slider__next.is-disabled {
	opacity: 0.4;
	pointer-events: none;
}

.editor-styles-wrapper .testimonial-slider--disabled .testimonial-slider__controls {
	display: none !important;
}

@media (max-width: 990px) {
	.editor-styles-wrapper .testimonial-slider {
		padding: 96px 40px;
	}

	.editor-styles-wrapper .testimonial-slider__inner {
		display: block;
	}

	.editor-styles-wrapper .testimonial-slide {
		grid-template-columns: 1fr;
		row-gap: 24px;
		justify-content: start;
	}

	.editor-styles-wrapper .testimonial-slide__media,
	.editor-styles-wrapper .testimonial-slide__image {
		width: min(200px, 100%);
		height: auto;
		aspect-ratio: 10 / 9;
	}

	.editor-styles-wrapper .testimonial-slide__image img {
		width: 100%;
		height: 100%;
	}

	.editor-styles-wrapper .testimonial-slide__content {
		max-width: 100%;
	}

	.editor-styles-wrapper .testimonial-slider__controls {
		padding-left: 0;
		margin-top: 24px !important;
	}
}

@media (max-width: 767px) {
	.editor-styles-wrapper .testimonial-slider {
		padding: 48px 16px;
	}

	.editor-styles-wrapper .testimonial-slide {
		row-gap: 20px;
	}

	.editor-styles-wrapper .testimonial-slide__media,
	.editor-styles-wrapper .testimonial-slide__image {
		width: min(100px, 100%);
		height: auto;
		aspect-ratio: 10 / 9;
	}

	.editor-styles-wrapper .testimonial-slide__quote {
		margin: 0 0 16px;
	}

	.editor-styles-wrapper .testimonial-slide__quote p {
		font-size: 20px;
		line-height: 28px;
		letter-spacing: -0.4px;
	}

	.editor-styles-wrapper .testimonial-slide__name {
		font-size: 15px;
		line-height: 24px;
	}

	.editor-styles-wrapper .testimonial-slider__controls {
		margin-top: 24px !important;
	}
}