/* EHRYourWay Testimonials Carousel v1.2 */

.etc-wrap {
	background-color: #fff;
	padding: 80px;
	box-sizing: border-box;
	width: 100%;
}

.etc-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.etc-inner {
	flex: 1;
	max-width: 760px;
	overflow: hidden;
	min-width: 0;
}

.etc-track {
	display: flex;
	will-change: transform;
}

.etc-slide {
	flex: 0 0 100%;
	width: 100%;
	box-sizing: border-box;
	opacity: 0;
	transition: opacity 0.45s ease;
	pointer-events: none;
	text-align: center;
}

.etc-slide.on {
	opacity: 1;
	pointer-events: auto;
}

.etc-icon {
	display: block;
	text-align: center;
	color: #2e8b44;
	font-size: 48px;
	line-height: 1;
	margin-bottom: 20px;
}

.etc-icon svg {
	width: 1em;
	height: 0.8em;
	display: inline-block;
	vertical-align: middle;
}

.etc-quote {
	margin: 0 auto 28px;
	font-size: 17px;
	line-height: 1.78;
	color: #1a1a1a;
	text-align: center;
	font-style: normal;
}

.etc-author-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.etc-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.etc-author {
	font-size: 15px;
	color: #555;
	font-style: italic;
}

/* Arrows */
.etc-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background-color: #fff;
	border: 1px solid #ddd;
	color: #555;
	cursor: pointer;
	padding: 0;
	transition: background-color .2s, color .2s, border-color .2s;
}

.etc-prev { left: -60px; }
.etc-next { right: -60px; }

.etc-arrow svg {
	display: block;
	width: 14px;
	height: auto;
	pointer-events: none;
}

.etc-arrow:hover {
	background-color: #f5f5f5;
	border-color: #2e8b44;
	color: #2e8b44;
}

.etc-arrow:focus-visible {
	outline: 2px solid #2e8b44;
	outline-offset: 3px;
}

/* Dots */
.etc-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 32px;
	flex-wrap: wrap;
}

.etc-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background-color: #ccc;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background-color .25s, transform .25s;
}

.etc-dot.on {
	background-color: #2e8b44;
	transform: scale(1.35);
}

.etc-dot:focus-visible {
	outline: 2px solid #2e8b44;
	outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
	.etc-wrap { padding: 60px 40px; }
}

@media (max-width: 768px) {
	.etc-wrap { padding: 50px 24px; }
	.etc-prev { left: -26px; }
	.etc-next { right: -26px; }
	.etc-arrow { width: 36px; height: 36px; }
	.etc-arrow svg { width: 10px; }
	.etc-quote { font-size: 15px; }
	.etc-icon { font-size: 36px; }
}

@media (max-width: 480px) {
	.etc-wrap { padding: 40px 16px; }
	.etc-prev { left: -14px; }
	.etc-next { right: -14px; }
	.etc-arrow { width: 30px; height: 30px; }
	.etc-arrow svg { width: 8px; }
	.etc-quote { font-size: 14px; line-height: 1.7; }
}
