/* ==========================================================================
   KU REVIEWS / TESTIMONIALS WIDGET STYLES
   ========================================================================== */

/* Section Outer wrapper */
.ku-reviews {
	background-color: #ffffff;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

@media (max-width: 768px) {
	.ku-reviews {
		padding: 60px 0;
	}
}

/* Header Container */
.ku-reviews__header {
	margin-bottom: 48px;
	text-align: center;
}

.ku-reviews__badge {
	color: var(--primary, #EC008C);
	font-weight: 600;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	margin-bottom: 8px;
}

.ku-reviews__title {
	font-size: 2.25rem;
	font-weight: 700;
	color: #111827;
	margin: 0;
	line-height: 1.25;
}

@media (max-width: 768px) {
	.ku-reviews__title {
		font-size: 1.75rem;
	}
}

.ku-reviews__desc {
	color: #9ca3af;
	font-size: 1rem;
	font-weight: 300;
	margin-top: 12px;
	margin-bottom: 0;
	max-w: 480px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

/* Swiper Outer Viewport */
.ku-reviews__swiper {
	overflow: visible; /* To allow shadow clipping prevention */
	padding: 12px 4px 24px 4px;
	margin: -12px -4px -24px -4px;
}

.ku-reviews__swiper .swiper-slide {
	height: auto;
}

.ku-reviews__swiper .swiper-wrapper {
	align-items: stretch;
	display: flex;
}

/* Card Base Structure */
.ku-reviews__card {
	position: relative;
	background-color: var(--ep-rev-bg, #f9fafb);
	border-radius: 16px;
	padding: 32px 28px;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border: 1px solid transparent;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
	
	/* Rich modern transitions */
	transform: translateY(0);
	transition: 
		transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
		box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
		background-color 0.3s ease, 
		border-color 0.3s ease;
}

/* Float-Up Hover Elevator */
.ku-reviews__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Floating Quotes Decoration */
.ku-reviews__quote-icon {
	position: absolute;
	top: 24px;
	right: 24px;
	color: rgba(236, 0, 140, 0.08);
	font-size: 3rem;
	pointer-events: none;
	line-height: 1;
	transform: scale(1) rotate(0deg);
	transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

/* Scaling / Rotating decorative quote micro-animation */
.ku-reviews__card:hover .ku-reviews__quote-icon {
	transform: scale(1.15) rotate(8deg);
	color: rgba(236, 0, 140, 0.15);
}

/* Rating Stars Container */
.ku-reviews__stars {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 16px;
}

/* Star base sizes & colors */
.ku-reviews__star {
	font-size: 1rem;
	line-height: 1;
}

.ku-reviews__star--active {
	color: #fbbf24;
}

.ku-reviews__star--empty {
	color: #d1d5db;
}

/* Review Main Text */
.ku-reviews__text {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #6b7280;
	font-style: italic;
	font-weight: 300;
	margin: 0 0 24px 0;
	flex-grow: 1;
}

/* Reviewer Meta Block */
.ku-reviews__meta {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* Avatar Frame & Fallbacks */
.ku-reviews__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: linear-gradient(135deg, var(--primary, #EC008C), var(--secondary, #8E2BAF));
	color: #ffffff;
	flex-shrink: 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ku-reviews__avatar-img {
	width: 100%;
	height: 100%;
	object-fit: var(--avatar-img-fit, cover);
	object-position: var(--avatar-img-x, 50%) var(--avatar-img-y, 50%);
}

.ku-reviews__avatar-text {
	font-weight: 700;
	font-size: 0.9375rem;
	text-transform: uppercase;
}

/* Reviewer Info details */
.ku-reviews__author {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ku-reviews__name {
	font-weight: 600;
	font-size: 0.875rem;
	color: #1f2937;
	margin: 0;
	line-height: 1.25;
}

.ku-reviews__verified {
	font-size: 0.75rem;
	color: #9ca3af;
	font-weight: 300;
	line-height: 1;
}

/* Pagination Dots */
.ku-reviews__pagination {
	margin-top: 32px !important;
	position: relative !important;
	bottom: 0 !important;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
}

.ku-reviews__pagination .swiper-pagination-bullet {
	background-color: rgba(0, 0, 0, 0.15);
	opacity: 0.5;
	width: 8px;
	height: 8px;
	margin: 0 !important;
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ku-reviews__pagination .swiper-pagination-bullet-active {
	background-color: var(--primary, #EC008C);
	width: 20px !important;
	border-radius: 4px !important;
	opacity: 1 !important;
}

/* Navigation Arrow Block */
.ku-reviews__navigation {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
}

.ku-reviews__button {
	position: relative !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	margin: 0 !important;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid #e5e7eb;
	background-color: transparent;
	color: #6b7280;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	outline: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ku-reviews__button i {
	font-size: 1.25rem;
	line-height: 1;
}

/* Swiper default pseudo element overrides */
.ku-reviews__button::after {
	display: none !important;
}

/* Navigation Hover Effects */
.ku-reviews__button:hover {
	color: #ffffff;
	background-color: var(--primary, #EC008C);
	border-color: var(--primary, #EC008C);
	box-shadow: 0 4px 12px rgba(236, 0, 140, 0.2);
}

.ku-reviews__button:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
}
