.raoa-testimonials-carousel .raoa-testimonials-carousel-track {
	display: flex;
	align-items: stretch;
	grid-template-columns: none;
	gap: 0 !important;
	padding-block: 2px;
}

.raoa-testimonials-carousel .raoa-testimonials-carousel-slide {
	height: auto;
	min-width: 0;
}

.raoa-testimonials-carousel .raoa-testimonials-carousel-slide .rt-item {
	width: 100%;
	min-width: 0;
	height: 100%;
}

.raoa-testimonials-carousel .raoa-testimonials-carousel-slide:nth-child(4n+1) .rt-item {
	--rt-item-accent: var(--rt-c1);
}

.raoa-testimonials-carousel .raoa-testimonials-carousel-slide:nth-child(4n+2) .rt-item {
	--rt-item-accent: var(--rt-c2);
}

.raoa-testimonials-carousel .raoa-testimonials-carousel-slide:nth-child(4n+3) .rt-item {
	--rt-item-accent: var(--rt-c3);
}

.raoa-testimonials-carousel .raoa-testimonials-carousel-slide:nth-child(4n+4) .rt-item {
	--rt-item-accent: var(--rt-c4);
}

/* ==========================================================================
   Style 2 — Featured Split
   ========================================================================== */

.raoa-tc-featured-layout {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.raoa-tc-featured {
	--raoa-tc-panel: #f4f4f5;
	--raoa-tc-quote: #18181b;
	--raoa-tc-mark: #d1d5db;
	--raoa-tc-star: #f5a623;
	--raoa-tc-star-empty: #d1d5db;
	--raoa-tc-cta-bg: #111827;
	--raoa-tc-cta-text: #ffffff;
	--raoa-tc-cta-hover-bg: #09090b;
	--raoa-tc-cta-hover-text: #ffffff;
	--raoa-tc-name: #ffffff;
	--raoa-tc-role: #ffffff;
	--raoa-tc-label: #71717a;
	--raoa-tc-counter: #18181b;
	--raoa-tc-progress-track: #e4e4e7;
	--raoa-tc-progress-fill: #18181b;
	--raoa-tc-nav-border: #18181b;
	--raoa-tc-arrow-bg: #ffffff;
	--raoa-tc-arrow-color: #18181b;
	--raoa-tc-arrow-hover-bg: #18181b;
	--raoa-tc-arrow-hover-color: #ffffff;
	--raoa-tc-media-h: 504px;
	--raoa-tc-portrait-w: 300px;
	--raoa-tc-aside-w: 180px;
}

.raoa-tc-featured *,
.raoa-tc-featured *::before,
.raoa-tc-featured *::after {
	box-sizing: border-box;
}

.raoa-tc-stage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--raoa-tc-aside-w);
	gap: 32px;
	align-items: start;
	width: 100%;
	max-width: 100%;
}

.raoa-tc-slider.swiper {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: var(--raoa-tc-media-h);
	max-height: var(--raoa-tc-media-h);
	overflow: hidden;
	margin: 0;
}

.raoa-tc-slider .swiper-wrapper {
	display: flex;
	align-items: stretch;
	height: 100%;
	box-sizing: border-box;
}

.raoa-tc-slider .swiper-slide {
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	max-height: var(--raoa-tc-media-h);
	overflow: hidden;
	box-sizing: border-box;
}

/* Prevent stacked slides before / without Swiper init (was causing multi-million px height). */
.raoa-tc-slider:not(.swiper-initialized) .swiper-slide:not(:first-child) {
	display: none;
}

.raoa-tc-slide-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--raoa-tc-portrait-w);
	gap: 48px;
	align-items: stretch;
	width: 100%;
	height: 100%;
	max-height: var(--raoa-tc-media-h);
	overflow: hidden;
}

.raoa-tc-quote-col {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 0;
	min-width: 0;
	min-height: 0;
	height: 100%;
	padding: 4px 12px 4px 0;
	overflow: hidden;
}

.raoa-tc-quote-body {
	position: relative;
}

.raoa-tc-quote-mark {
	display: block;
	width: 65px;
	margin-bottom: 32px;
	color: var(--raoa-tc-mark, #D4D4D8);
}

span.raoa-tc-quote-mark.raoa-tc-quote-mark-close {
	margin: 0;
}

.raoa-tc-quote-mark .rt-quote-icon,
.raoa-tc-quote-mark svg {
	display: block;
	width: 100%;
	height: auto;
}

.raoa-tc-quote-mark .rt-quote-icon i {
	display: block;
	line-height: 1;
}


.raoa-tc-quote-mark-close {
	margin-left: auto;
	transform: rotate(180deg);
}

.raoa-tc-quote-text {
	margin: 0;
	color: var(--raoa-tc-quote);
	text-align: justify;
	font-size: 24px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 1.2px;
}

/* Rating (left) + closing quote (right) share one baseline. */
.raoa-tc-quote-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	margin-top: 8px;
}

.raoa-tc-rating {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
	margin: 0;
	color: var(--raoa-tc-star);
}

.raoa-tc-star {
	display: inline-flex;
	width: 20px;
	height: 20px;
}

.raoa-tc-star svg {
	display: block;
	width: 100%;
	height: 100%;
}

.raoa-tc-star-full svg path {
	fill: currentColor;
}

.raoa-tc-star-empty {
	color: var(--raoa-tc-star-empty);
}

.raoa-tc-star-empty svg path {
	fill: currentColor;
}

.raoa-tc-cta {
    margin-top: auto;
    padding: 12px 26px;
    border-radius: 10px;
    background-color: var(--raoa-tc-cta-bg);
    color: var(--raoa-tc-cta-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1.2px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.raoa-tc-cta:hover,
.raoa-tc-cta:focus {
	background-color: var(--raoa-tc-cta-hover-bg);
	color: var(--raoa-tc-cta-hover-text);
	text-decoration: none;
}

.raoa-tc-media-col {
	width: var(--raoa-tc-portrait-w);
	max-width: 100%;
	min-width: 0;
	min-height: 0;
	height: 100%;
	overflow: hidden;
}

/* Figma: div.div-div-div-testimonial-author-details · 300 × 504 */
.raoa-tc-portrait {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
	max-height: var(--raoa-tc-media-h);
	border-radius: 12px;
	background-color: #e5e7eb;
}

.raoa-tc-portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.raoa-tc-portrait-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	color: #ffffff;
	font-size: 42px;
	font-weight: 700;
	background: linear-gradient(135deg, #6b7280, #374151);
}

.raoa-tc-portrait-meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 40px 20px 20px;
	background: linear-gradient(180deg, rgba(24, 24, 27, 0) 0%, rgba(24, 24, 27, 0.82) 72%);
	color: #ffffff;
}

.raoa-tc-name {
	color: var(--raoa-tc-name);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.raoa-tc-role {
	margin-top: 4px;
	color: var(--raoa-tc-role);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.35;
	opacity: 0.9;
}

/* Figma aside column: next media 180×130 + label/counter + progress + nav @ bottom */
.raoa-tc-aside {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: var(--raoa-tc-aside-w);
	max-width: 100%;
	min-width: 0;
	height: var(--raoa-tc-media-h);
	max-height: var(--raoa-tc-media-h);
	overflow: hidden;
}

/* Figma: div.div-div-testimonial-media · 180 × 130, radius 8, gap 12 */
.raoa-tc-next-preview {
	position: relative;
	flex: 0 0 auto;
	overflow: hidden;
	width: 100%;
	height: 130px;
	border-radius: 8px;
	background-color: #e4e4e7;
	margin: 0 0 12px;
}

.raoa-tc-next-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.raoa-tc-next-preview .raoa-tc-portrait-fallback {
	font-size: 28px;
}

/* Figma: carousel-next-label + pagination counter */
.raoa-tc-progress-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex: 0 0 auto;
	width: 100%;
	margin: 0 0 8px;
	color: #71717a;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.raoa-tc-next-label {
	color: var(--raoa-tc-label);
}

.raoa-tc-counter {
	font-variant-numeric: tabular-nums;
	color: var(--raoa-tc-counter);
	font-weight: 500;
}

/* Figma: testimonial-slider-progress / slider-progress-control */
.raoa-tc-progress-track {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	height: 2px;
	margin: 0;
	border-radius: 999px;
	background-color: var(--raoa-tc-progress-track);
	overflow: hidden;
}

.raoa-tc-progress-fill {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background-color: var(--raoa-tc-progress-fill);
	transition: width 0.35s ease;
}

/* Figma: carousel-next-control — Icon/Arrow Left|Right/24 */
.raoa-tc-nav {
	display: inline-flex;
	align-self: flex-end;
	gap: 1px;
	margin-top: 24px;
	overflow: hidden;
	border: 1px solid #18181b;
	border-radius: 8px;
	background: #18181b;
}

.raoa-tc-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: #fff;
	color: #18181b;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
	border-radius: 0;
}

/* button.raoa-tc-arrow.raoa-tc-next {
    border-radius: 0 8px 8px 0 !important;
}
button.raoa-tc-arrow.raoa-tc-prev {
    border-radius: 8px 0 0 8px !important;
} */
.raoa-tc-arrow svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Normal: #18181b border + icon. Hover/active: filled #18181b + white icon. */
.raoa-tc-arrow:hover,
.raoa-tc-arrow:focus-visible,
.raoa-tc-arrow:focus,
.raoa-tc-arrow:active {
	background-color: #18181b;
	color: #fff;
}


.raoa-tc-arrow.swiper-button-disabled {
	opacity: 0.35;
	background: transparent;
	color: #18181b;
	cursor: default;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.raoa-tc-featured {
		--raoa-tc-media-h: auto;
		padding: 28px 24px;
	}

	.raoa-tc-stage {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.raoa-tc-slider.swiper {
		height: auto;
		max-height: none;
	}

	.raoa-tc-slider .swiper-wrapper,
	.raoa-tc-slider .swiper-slide,
	.raoa-tc-slide-grid {
		height: auto;
		max-height: none;
	}

	.raoa-tc-quote-col {
		height: auto;
		overflow: visible;
	}

	.raoa-tc-slide-grid {
		grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
		gap: 24px;
	}

	.raoa-tc-media-col {
		width: 100%;
	}

	.raoa-tc-media-col,
	.raoa-tc-portrait {
		height: 360px;
		max-height: 360px;
	}

	.raoa-tc-aside {
		gap: 12px 16px;
		align-items: center;
		width: 100%;
		flex-direction: row;
	}

	.raoa-tc-progress-area {
		width: stretch;
	}

	.raoa-tc-next-preview {
		width: 160px;
		height: auto;
		margin: 0;
	}

	.raoa-tc-nav {
		margin-top: 0;
		align-self: center;
		min-width: 83px;
	}
}

/* Figma Mobile — Cards/Testimonial (node 23817-23688) */
@media (max-width: 767px) {
	.raoa-tc-featured {
		--raoa-tc-media-h: auto;
		--raoa-tc-portrait-w: 100%;
		--raoa-tc-aside-w: 180px;
		padding: 16px;
		border-radius: 8px;
	}

	.raoa-tc-stage {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.raoa-tc-slider.swiper,
	.raoa-tc-slider .swiper-wrapper,
	.raoa-tc-slider .swiper-slide,
	.raoa-tc-slide-grid {
		height: auto;
		max-height: none;
	}

	.raoa-tc-slide-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.raoa-tc-quote-col {
		height: auto;
		padding: 0;
		overflow: visible;
	}

	/* Quote icons 39×24 (Figma svg.icon-quote-open/close) */
	.raoa-tc-quote-mark {
		width: 39px;
		height: 24px;
		margin-bottom: 20px;
	}

	.raoa-tc-quote-text {
		font-size: 18px;
		line-height: 28px;
		letter-spacing: 0.6px;
		-webkit-line-clamp: 10;
	}

	.raoa-tc-quote-meta {
		margin-top: 16px;
		min-height: 24px;
	}

	/* Stars 24×24 on mobile */
	.raoa-tc-star {
		width: 24px;
		height: 24px;
	}

	.raoa-tc-cta {
		margin-top: 20px;
		min-height: 44px;
		width: 100%;
		justify-content: center;
	}

	.raoa-tc-media-col {
		width: 100%;
	}

	.raoa-tc-media-col,
	.raoa-tc-portrait {
		width: 100%;
		height: 340px;
		max-height: 340px;
	}

	.raoa-tc-portrait {
		border-radius: 8px;
	}

	.raoa-tc-portrait-meta {
		padding: 24px 16px 16px;
	}

	.raoa-tc-name {
		font-size: 18px;
	}

	.raoa-tc-role {
		font-size: 13px;
	}

	/*
	 * Aside: same vertical column as desktop/tablet preference
	 * (preview → Next/counter → progress → nav), 180px wide.
	 */

	.raoa-tc-next-preview {
		grid-area: unset;
		width: 100%;
		height: 130px;
		margin: 0 0 12px;
		border-radius: 8px;
	}

	.raoa-tc-next-preview {
		width: 108px;
		height: auto;
	}

	.raoa-tc-progress-track {
		grid-area: unset;
		margin: 0;
	}

	/* Keep desktop arrow hit area; icons scale slightly for touch */
	.raoa-tc-arrow {
		width: 40px;
		height: 40px;
	}

	.raoa-tc-arrow svg {
		width: 20px;
		height: 20px;
	}
}