/* ===============================
   Testimonial Grid
================================= */
.hc-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	width: 100%;
}

/* ===============================
   Testimonial Slider Wrapper
================================= */
.hc-testimonial-slider {
	position: relative;
	width: 100%;
	max-width: 100%;
	padding-bottom: 42px;
	overflow: hidden;
	box-sizing: border-box;
}

.hc-testimonial-slider.swiper {
	width: 100%;
	overflow: hidden;
}

.hc-testimonial-slider .swiper-wrapper {
	align-items: stretch;
}

.hc-testimonial-slider .swiper-slide {
	height: auto;
	display: flex;
	box-sizing: border-box;
	min-width: 0;
}

.hc-testimonial-slider .swiper-slide > * {
	width: 100%;
}

/* ===============================
   Testimonial Card
================================= */
.hc-testimonial-card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	min-height: 260px;
	padding: 28px;
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
	box-sizing: border-box;
	overflow: hidden;
}

/* ===============================
   Stars
================================= */
.hc-testimonial-card__stars {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 18px;
	line-height: 1;
	flex-wrap: wrap;
}

.hc-testimonial-star-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}

/* ===============================
   Quote
================================= */
.hc-testimonial-card__quote {
	margin-bottom: 20px;
	color: #374b63;
	font-size: 20px;
	line-height: 1.75;
	font-style: italic;
	word-break: break-word;
	overflow-wrap: break-word;
}

/* ===============================
   Meta
================================= */
.hc-testimonial-card__meta {
	margin-top: auto;
}

.hc-testimonial-card__name {
	margin-bottom: 4px;
	color: #0b4e81;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	word-break: break-word;
}

.hc-testimonial-card__location {
	color: #6b7280;
	font-size: 16px;
	line-height: 1.4;
	word-break: break-word;
}

/* ===============================
   Pagination
================================= */
.hc-testimonial-slider .swiper-pagination {
	position: static;
	margin-top: 18px;
	text-align: center;
}

.hc-testimonial-slider .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	opacity: 1;
	background: #bfc7cf;
}

.hc-testimonial-slider .swiper-pagination-bullet-active {
	background: #55c3e6;
}

/* ===============================
   Navigation Arrows
================================= */
.hc-swiper-button {
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	z-index: 5;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #0b4e81;
	user-select: none;
}

.hc-swiper-button-prev {
	left: -16px;
}

.hc-swiper-button-next {
	right: -16px;
}

.hc-swiper-button span {
	font-size: 18px;
	line-height: 1;
}

/* ===============================
   Tablet
================================= */
@media (max-width: 1024px) {
	.hc-testimonial-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.hc-testimonial-card {
		padding: 24px;
		min-height: 240px;
	}

	.hc-testimonial-card__quote {
		font-size: 18px;
		line-height: 1.7;
	}

	.hc-testimonial-card__name {
		font-size: 20px;
	}

	.hc-testimonial-card__location {
		font-size: 15px;
	}
}

/* ===============================
   Mobile
================================= */
@media (max-width: 767px) {
	.hc-testimonial-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.hc-testimonial-slider {
		width: 100%;
		max-width: 100%;
		padding-bottom: 34px;
		overflow: hidden;
	}

	.hc-testimonial-slider .swiper-wrapper {
		align-items: stretch;
	}

	.hc-testimonial-slider .swiper-slide {
		width: 100% !important;
		max-width: 100%;
		flex-shrink: 0;
		box-sizing: border-box;
	}

	.hc-testimonial-card {
		width: 100%;
		max-width: 100%;
		min-height: auto;
		padding: 22px;
		border-radius: 14px;
	}

	.hc-testimonial-card__stars {
		margin-bottom: 14px;
		gap: 5px;
	}

	.hc-testimonial-star-icon {
		width: 18px;
		height: 18px;
		flex: 0 0 18px;
	}

	.hc-testimonial-card__quote {
		font-size: 16px;
		line-height: 1.65;
		margin-bottom: 18px;
	}

	.hc-testimonial-card__name {
		font-size: 18px;
	}

	.hc-testimonial-card__location {
		font-size: 14px;
	}

	.hc-swiper-button {
		display: none;
	}
}