.rr-testimonials {
	padding: 84px 24px 76px;
	background: #ffffff;
	color: #003055;
	font-family: 'Lato', Tahoma, sans-serif;
}

.rr-testimonials [hidden] {
	display: none !important;
}

.rr-testimonials__container {
	max-width: 1120px;
	margin: 0 auto;
}

.rr-testimonials__heading {
	margin-bottom: 44px;
	text-align: center;
}

.rr-testimonials__heading h2 {
	margin: 0;
	font-family: 'Butler', Georgia, serif;
	font-size: 34px;
	font-weight: 400;
	line-height: 1.25;
}

.rr-testimonials__carousel {
	position: relative;
	padding: 0 62px;
}

.rr-testimonials__track {
	display: grid;
	align-items: start;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rr-testimonials.is-ready .rr-testimonials__track {
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 24px) / 2);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.rr-testimonials__track::-webkit-scrollbar {
	display: none;
}

.rr-testimonials__card {
	box-sizing: border-box;
	min-width: 0;
	padding: 32px;
	border: 1px solid #dce5ec;
	border-radius: 6px;
	background: #fff;
	scroll-snap-align: start;
}

.rr-testimonials.is-ready .rr-testimonials__card {
	min-height: var(--rr-testimonials-card-min-height, 0px);
}

.rr-testimonials__card::before,
.rr-testimonials__card::after {
	display: none;
	content: none;
}

.rr-testimonials__review {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.rr-testimonials__patient {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 24px;
}

.rr-testimonials__patient > div {
	min-width: 0;
}

.rr-testimonials__avatar {
	display: flex;
	flex: 0 0 52px;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #e7eff5;
	color: #204567;
	font-size: 24px;
	font-weight: 400;
}

.rr-testimonials__name {
	display: block;
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
}

.rr-testimonials__stars {
	display: block;
	margin-top: 4px;
	color: #b58940;
	font-size: 17px;
	line-height: 1.2;
	letter-spacing: 3px;
}

.rr-testimonials__blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.rr-testimonials__quote {
	margin: 0;
	color: #405568;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	overflow-wrap: anywhere;
}

.rr-testimonials.is-ready .rr-testimonials__quote:not(.is-expanded) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	overflow: hidden;
}

.rr-testimonials__read-more {
	align-self: flex-start;
	min-height: 44px;
	margin-top: 12px;
	padding: 8px 0;
	border: 0;
	background: transparent;
	color: #204567;
	font: 700 14px 'Lato', Tahoma, sans-serif;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}

.rr-testimonials__arrow {
	position: absolute;
	top: var(--rr-testimonials-arrow-top, 160px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	transform: translateY(-50%);
	border: 1px solid #bdcdd9;
	border-radius: 50%;
	background: transparent;
	color: #204567;
	cursor: pointer;
}

.rr-testimonials__arrow--previous {
	left: 0;
}

.rr-testimonials__arrow--next {
	right: 0;
}

.rr-testimonials__arrow svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.rr-testimonials__arrow:hover {
	border-color: #204567;
	background: #204567;
	color: #fff;
}

.rr-testimonials__arrow:focus-visible,
.rr-testimonials__read-more:focus-visible,
.rr-testimonials__track:focus-visible {
	outline: 2px solid #204567;
	outline-offset: 3px;
}

.rr-testimonials__status {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 767px) {
	.rr-testimonials {
		padding: 60px 18px 48px;
	}

	.rr-testimonials__heading {
		margin-bottom: 30px;
	}

	.rr-testimonials__heading h2 {
		font-size: 28px;
	}

	.rr-testimonials__carousel {
		padding: 0;
	}

	.rr-testimonials.is-ready .rr-testimonials__carousel {
		padding-top: 64px;
	}

	.rr-testimonials__track {
		grid-template-columns: minmax(0, 1fr);
	}

	.rr-testimonials.is-ready .rr-testimonials__track {
		grid-auto-columns: 100%;
	}

	.rr-testimonials__card {
		padding: 26px 22px;
	}

	.rr-testimonials__arrow {
		top: 0;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rr-testimonials *,
	.rr-testimonials *::before {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
