/* =========================================================
   Ron Testimonials Carousel — Frontend Styles
   All selectors are prefixed with .ron_ / #ron_ to avoid
   conflicts with themes and other plugins.
   ========================================================= */

.ron_testimonials_wrapper {
	position: relative;
	--ron-columns: 3;
	--ron-space-between: 24px;
	padding: 10px 56px;
	box-sizing: border-box;
}

.ron_testimonials_wrapper * {
	box-sizing: border-box;
}

.ron_swiper {
	width: 100%;
	overflow: hidden;
	padding-bottom: 10px;
}

.ron_swiper_wrapper {
	align-items: stretch;
}

.ron_swiper_slide {
	height: auto;
	display: flex;
}

/* -------------------- Card -------------------- */

.ron_card {
	background-color: #ffffff;
	border-radius: 16px;
	padding: 32px 28px;
	width: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ron_avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 14px;
}

.ron_title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 600;
	color: #2e8b4f;
}

.ron_stars {
	display: flex;
	gap: 4px;
	margin-bottom: 14px;
}

.ron_star {
	font-size: 18px;
	line-height: 1;
	color: #e0e0e0;
}

.ron_star.ron_star_filled {
	color: #f5b301;
}

.ron_text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	font-style: italic;
	color: #5f6368;
	flex-grow: 1;
}

.ron_more_text {
	margin: 10px 0 0;
	font-size: 15px;
	line-height: 1.6;
	font-style: italic;
	color: #5f6368;
}

.ron_more_text.ron_hidden {
	display: none;
}

.ron_more_toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 10px 0 0;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 14px;
	color: #2e8b4f;
	font-family: inherit;
}

.ron_more_toggle_icon {
	display: inline-block;
	transition: transform 0.2s ease;
	font-size: 12px;
}

.ron_more_toggle.ron_more_open .ron_more_toggle_icon {
	transform: rotate(180deg);
}

.ron_author {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ron_name {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #2e8b4f;
}

.ron_location {
	font-size: 14px;
	color: #8a8f98;
}

/* -------------------- Arrows -------------------- */

.ron_arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	line-height: 44px;
	border-radius: 50%;
	background-color: #8a8f98;
	color: #ffffff;
	text-align: center;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease, opacity 0.2s ease;
	z-index: 2;
	user-select: none;
}

.ron_arrow:hover {
	background-color: #6d7178;
}

.ron_arrow_icon {
	font-size: 22px;
	line-height: 1;
}

.ron_arrow_prev {
	left: 0;
}

.ron_arrow_next {
	right: 0;
}

.ron_arrow.ron_arrow_disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

/* -------------------- Pagination Dots -------------------- */

.ron_pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;
}

.ron_pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #d6d9de;
	opacity: 1;
	margin: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.ron_pagination .swiper-pagination-bullet-active {
	background-color: #2b2f36;
	transform: scale(1.15);
}

/* -------------------- Responsive -------------------- */

@media (max-width: 1024px) {
	.ron_testimonials_wrapper {
		padding: 10px 48px;
	}
}

@media (max-width: 767px) {
	.ron_testimonials_wrapper {
		padding: 10px 40px;
	}

	.ron_arrow {
		width: 36px;
		height: 36px;
		line-height: 36px;
	}

	.ron_arrow_icon {
		font-size: 18px;
	}
}
