/* Structural thresholds follow the assigned widget width. */
.elementor-widget-noise-testimonials {
	container: ndw-testimonials / inline-size;
	/* Supply a preferred width when Elementor asks for intrinsic (auto) sizing. */
	contain-intrinsic-inline-size: 1140px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.ndw-testimonials,
.ndw-testimonials__inner {
	width: 100%;
}

.ndw-testimonials__inner {
	max-width: 920px;
	margin-inline: auto;
}

.ndw-testimonials--orbit {
	padding: 48px 24px;
}

.ndw-testimonials__stage {
	--ndw-orbit-avatar-size: 76px;
	position: relative;
	display: grid;
	align-items: center;
	width: 100%;
	max-width: 1280px;
	min-height: 620px;
	margin-inline: auto;
}

.ndw-testimonials--orbit .ndw-testimonials__inner {
	position: relative;
	z-index: 2;
	width: min(100%, 720px);
}

.ndw-testimonials--orbit .ndw-carousel {
	padding-bottom: 72px;
}

.ndw-testimonials--orbit .ndw-carousel__button {
	top: auto;
	bottom: 0;
	width: 52px;
	height: 42px;
	border: 1px solid rgb(20 28 38 / 12%);
	border-radius: 6px;
	translate: 0;
}

.ndw-testimonials--orbit .ndw-carousel__button--previous {
	right: calc(50% + 58px);
	left: auto;
}

.ndw-testimonials--orbit .ndw-carousel__button--next {
	right: auto;
	left: calc(50% + 58px);
}

.ndw-testimonials--orbit .ndw-carousel__pagination {
	position: absolute;
	right: 62px;
	bottom: 11px;
	left: 62px;
	/* Swiper sizes horizontal bullets with `width: 100%`, which overrides the
	   right inset: the row was pushed 62px past the widget and off-centre. */
	width: auto;
	margin: 0;
	pointer-events: none;
}

.ndw-testimonials--orbit .ndw-carousel__pagination .swiper-pagination-bullet-active {
	width: 24px;
	border-radius: 4px;
}

.ndw-testimonials__orbit {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.ndw-testimonials__orbit-ring {
	position: absolute;
	border: 1px dashed rgb(75 85 99 / 18%);
	border-radius: 50%;
}

.ndw-testimonials__orbit-ring--outer {
	inset: 7% 1%;
}

.ndw-testimonials__orbit-ring--inner {
	inset: 20% 9%;
}

.ndw-testimonials__orbit--no-rings .ndw-testimonials__orbit-ring {
	display: none;
}

.ndw-testimonials__orbit-avatar {
	position: absolute;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #e6ecea;
	box-shadow: 0 8px 24px rgb(20 28 38 / 12%);
	pointer-events: auto;
	width: var(--ndw-orbit-avatar-size);
	height: var(--ndw-orbit-avatar-size);
	transform-origin: center;
	transition: scale 280ms ease, box-shadow 280ms ease;
}

.ndw-testimonials__orbit-avatar:hover {
	z-index: 3;
	box-shadow: 0 12px 30px rgb(20 28 38 / 18%);
	scale: 1.06;
}

.ndw-testimonials__orbit-avatar.ndw-testimonials__orbit-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ndw-testimonials__orbit-initials {
	color: #15191e;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.ndw-testimonials__orbit-avatar--1 {
	top: 2%;
	left: 3%;
	scale: 1.12;
}

.ndw-testimonials__orbit-avatar--2 {
	top: 26%;
	left: 13%;
	scale: 0.86;
}

.ndw-testimonials__orbit-avatar--3 {
	top: 54%;
	left: 1%;
	scale: 1.08;
}

.ndw-testimonials__orbit-avatar--4 {
	bottom: 3%;
	left: 12%;
	scale: 0.78;
}

.ndw-testimonials__orbit-avatar--5 {
	top: 3%;
	right: 11%;
	scale: 0.92;
}

.ndw-testimonials__orbit-avatar--6 {
	top: 25%;
	right: 2%;
	scale: 1.18;
}

.ndw-testimonials__orbit-avatar--7 {
	top: 56%;
	right: 12%;
	scale: 0.84;
}

.ndw-testimonials__orbit-avatar--8 {
	right: 2%;
	bottom: 4%;
	scale: 1.05;
}

.ndw-testimonials__orbit-avatar--9 {
	top: 42%;
	left: 21%;
	scale: 0.7;
}

.ndw-testimonials__orbit-avatar--10 {
	top: 42%;
	right: 21%;
	scale: 0.74;
}

.ndw-testimonial {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	margin: 0;
	border: 1px solid rgb(20 28 38 / 12%);
	border-radius: 8px;
	background: #f4f7f6;
	padding: 48px;
	text-align: center;
}

.ndw-testimonials--orbit .ndw-testimonial {
	align-items: flex-start;
	min-height: 360px;
	border-color: rgb(31 118 103 / 22%);
	background: #fff;
	text-align: left;
}

.ndw-testimonials--card .ndw-testimonial {
	align-items: flex-start;
	text-align: left;
}

.ndw-testimonial__mark {
	height: 44px;
	color: var(--e-global-color-accent, #1f7667);
	font-size: 64px;
	line-height: 1;
}

.ndw-testimonial__quote {
	margin: 0;
	color: var(--e-global-color-text, #15191e);
	font-size: 28px;
	font-weight: 600;
	line-height: 1.4;
}

.ndw-testimonial__quote p {
	margin: 0;
}

.ndw-testimonial__author {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 28px;
	gap: 14px;
}

.ndw-testimonials--card .ndw-testimonial__author {
	justify-content: flex-start;
}

.ndw-testimonials--orbit .ndw-testimonial__author {
	justify-content: flex-start;
	width: 100%;
	padding-top: 22px;
	border-top: 1px solid rgb(20 28 38 / 12%);
}

.ndw-testimonial__photo {
	display: inline-flex;
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 50%;
	background: #e6ecea;
}

.ndw-testimonial__photo.ndw-testimonial__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ndw-testimonial__identity {
	display: grid;
	text-align: left;
}

.ndw-testimonial__name {
	color: #15191e;
	font-size: 15px;
	font-weight: 700;
}

.ndw-testimonial__meta {
	margin-top: 3px;
	color: #4b5563;
	font-size: 13px;
}

/* The orbit arrows sit 58px either side of centre, so they need about 220px of
   stage. Below that they were pushed out of the widget; pin them to the stage
   edges instead and let the bullets use what is left between them. */
@container ndw-testimonials (max-width: 300px) {
	.ndw-testimonials--orbit .ndw-carousel__button {
		width: 40px;
	}

	.ndw-testimonials--orbit .ndw-carousel__button--previous {
		right: auto;
		left: 0;
	}

	.ndw-testimonials--orbit .ndw-carousel__button--next {
		right: 0;
		left: auto;
	}

	.ndw-testimonials--orbit .ndw-carousel__pagination {
		right: 44px;
		left: 44px;
	}
}

@container ndw-testimonials (max-width: 767px) {
	.ndw-testimonials--orbit {
		padding: 28px 16px;
	}

	.ndw-testimonials__stage {
		display: block;
		min-height: auto !important;
	}

	.ndw-testimonials__orbit {
		position: relative;
		height: 188px;
		margin-bottom: 20px;
	}

	.ndw-testimonials__orbit-ring {
		display: none;
	}

	.ndw-testimonials__orbit-avatar {
		width: var(--ndw-orbit-avatar-size, 58px);
		height: var(--ndw-orbit-avatar-size, 58px);
		border-width: 3px;
	}

	.ndw-testimonials__orbit-avatar--1 {
		top: 0;
		left: 2%;
	}

	.ndw-testimonials__orbit-avatar--2 {
		top: 62px;
		left: 19%;
	}

	.ndw-testimonials__orbit-avatar--3 {
		top: 124px;
		left: 3%;
	}

	.ndw-testimonials__orbit-avatar--4 {
		top: 20px;
		bottom: auto;
		left: 39%;
	}

	.ndw-testimonials__orbit-avatar--5 {
		top: 0;
		right: 18%;
	}

	.ndw-testimonials__orbit-avatar--6 {
		top: 64px;
		right: 1%;
	}

	.ndw-testimonials__orbit-avatar--7 {
		top: 126px;
		right: 20%;
	}

	.ndw-testimonials__orbit-avatar--8 {
		top: 110px;
		right: 42%;
		bottom: auto;
	}

	.ndw-testimonials__orbit-avatar--9,
	.ndw-testimonials__orbit-avatar--10 {
		display: none;
	}

	.ndw-testimonial {
		padding: 30px 24px;
	}

	.ndw-testimonials--orbit .ndw-testimonial {
		min-height: 0;
	}

	.ndw-testimonial__quote {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ndw-testimonials__orbit-avatar {
		transition: none;
	}
}
