.rse-widget {
	--rse-accent: #F2951C;
	--rse-avatar: 58px;
	--rse-border: 3px;
	--rse-arrow-offset: 20px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	padding: 6px 20px 0;
	background: #fff;
	overflow: hidden;
}

.rse-widget *,
.rse-widget *::before,
.rse-widget *::after {
	box-sizing: border-box;
}

.rse-heading-wrap {
	text-align: center;
	margin: 0 auto 20px;
}

.rse-heading {
	margin: 0;
	padding: 0;
	color: #111;
	font-size: 42px;
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.rse-heading .rse-accent,
.rse-accent {
	color: var(--rse-accent);
}

.rse-avatars-wrap {
	width: 100%;
	display: flex;
	justify-content: center;
	overflow: visible;
	padding: 8px 0 18px;
}

.rse-avatars {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: calc(var(--rse-avatar) + 28px);
	flex-wrap: nowrap;
}

.rse-avatar {
	display: block;
	flex: 0 0 var(--rse-avatar);
	width: var(--rse-avatar);
	height: var(--rse-avatar);
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	opacity: .48;
	transform: translateY(0) scale(.88);
	transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

.rse-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	border: var(--rse-border) solid transparent;
	transition: border-color .3s ease, box-shadow .3s ease;
}

.rse-avatar:hover,
.rse-avatar:focus-visible {
	opacity: .78;
	transform: translateY(-1px) scale(.92);
}

.rse-avatar.is-active {
	opacity: 1;
	transform: translateY(-8px) scale(1.18);
	z-index: 2;
}

.rse-avatar.is-active img {
	border-color: var(--rse-accent);
	box-shadow: 0 5px 18px rgba(0,0,0,.12);
}

.rse-slider-area {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 4px 60px 16px;
}

.rse-testimonial-inner {
	position: relative;
	width: 100%;
	max-width: 850px;
}

.rse-testimonial-stage {
	position: relative;
	min-height: 128px;
}

.rse-testimonial {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .3s ease, transform .35s ease;
}

.rse-testimonial.is-active {
	position: relative;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.rse-quote {
	width: 100%;
	max-width: 850px;
	margin: 0 auto 10px;
	color: #555;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 400;
}

.rse-name {
	margin-top: 2px;
	color: var(--rse-accent);
	font-size: 12px;
	line-height: 1.35;
	font-weight: 700;
}

.rse-designation {
	margin-top: 2px;
	color: #111;
	font-size: 9px;
	line-height: 1.3;
	font-weight: 400;
}

.rse-arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--rse-accent);
	font-family: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: transform .2s ease, opacity .2s ease;
}

.rse-arrow:hover {
	opacity: .7;
}

.rse-arrow:focus-visible {
	outline: 2px solid var(--rse-accent);
	outline-offset: 4px;
	border-radius: 4px;
}

.rse-arrow-prev {
	left: var(--rse-arrow-offset);
}

.rse-arrow-next {
	right: var(--rse-arrow-offset);
}

.rse-arrow-prev:hover {
	transform: translate(-3px, -50%);
}

.rse-arrow-next:hover {
	transform: translate(3px, -50%);
}

.rse-bottom-bar {
	width: calc(100% - 4px);
	height: 6px;
	margin: 0 auto;
	background: var(--rse-accent);
	border-radius: 12px 12px 0 0;
}

.rse-empty {
	padding: 30px;
	text-align: center;
	border: 1px dashed #ccc;
	color: #666;
}

@media (max-width: 767px) {
	.rse-widget {
		padding-left: 10px;
		padding-right: 10px;
	}

	.rse-heading {
		font-size: 30px;
	}

	.rse-heading-wrap {
		margin-bottom: 14px;
	}

	.rse-avatars {
		gap: 4px;
	}

	.rse-avatars-wrap {
		padding-bottom: 12px;
	}

	.rse-avatar {
		flex-basis: 46px;
		width: 46px;
		height: 46px;
	}

	.rse-avatar.is-active {
		transform: translateY(-6px) scale(1.13);
	}

	.rse-slider-area {
		padding-left: 40px;
		padding-right: 40px;
		min-height: 170px;
	}

	.rse-testimonial-stage {
		min-height: 145px;
	}

	.rse-quote {
		font-size: 12px;
		line-height: 1.55;
	}

	.rse-name {
		font-size: 11px;
	}

	.rse-designation {
		font-size: 9px;
	}

	.rse-arrow {
		width: 30px;
		height: 30px;
		font-size: 18px;
	}

	.rse-arrow-prev {
		left: 2px;
	}

	.rse-arrow-next {
		right: 2px;
	}
}

@media (max-width: 420px) {
	.rse-heading {
		font-size: 26px;
	}

	.rse-avatars {
		gap: 2px;
	}

	.rse-avatar {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}

	.rse-slider-area {
		padding-left: 32px;
		padding-right: 32px;
	}

	.rse-quote {
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rse-avatar,
	.rse-avatar img,
	.rse-testimonial,
	.rse-arrow {
		transition: none !important;
	}
}
