/* ==========================================================================
   Patient Care Home BD - Google Customer Reviews Section & Carousel (Trustindex Style)
   ========================================================================== */

.pch-reviews-section {
	width: 100%;
	background-color: #f8fbfd;
	padding: clamp(50px, 6.5vw, 85px) 0;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.pch-reviews-section * {
	box-sizing: border-box;
}

.pch-reviews-container {
	max-width: 1340px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 3.5vw, 28px);
	padding-right: clamp(16px, 3.5vw, 28px);
	display: flex;
	align-items: stretch;
	gap: clamp(18px, 2.2vw, 30px);
}

/* --------------------------------------------------------------------------
   Left Column: Summary Badge Card
   -------------------------------------------------------------------------- */
.pch-reviews-summary-card {
	flex: 0 0 clamp(200px, 18vw, 250px);
	background-color: #ffffff;
	border-radius: 18px;
	padding: clamp(22px, 2.5vw, 30px) 18px;
	border: 1px solid rgba(11, 21, 39, 0.08);
	box-shadow: 0 6px 24px rgba(11, 21, 39, 0.05);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pch-reviews-summary-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(11, 21, 39, 0.09);
}

.pch-reviews-summary-title {
	font-family: inherit;
	font-size: 19px;
	font-weight: 800;
	color: #0b1527;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	margin: 0 0 8px 0;
	line-height: 1.1;
}

.pch-reviews-summary-stars {
	display: flex;
	gap: 3px;
	color: #f59e0b;
	margin-bottom: 8px;
}

.pch-reviews-summary-stars svg {
	width: 22px;
	height: 22px;
	fill: #f59e0b;
}

.pch-reviews-summary-count {
	font-family: inherit;
	font-size: 13.5px;
	color: #64748b;
	margin: 0 0 16px 0;
	font-weight: 500;
	line-height: 1.2;
}

.pch-reviews-summary-count strong {
	color: #0b1527;
	font-weight: 700;
}

.pch-reviews-google-logo {
	display: inline-flex;
	align-items: center;
	height: 24px;
	width: auto;
}

/* --------------------------------------------------------------------------
   Right Column: Reviews Carousel & Navigation
   -------------------------------------------------------------------------- */
.pch-reviews-carousel-wrap {
	flex: 1;
	min-width: 0;
	position: relative;
	display: flex;
	align-items: center;
}

.pch-reviews-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 8px 4px 16px 4px;
	width: 100%;
}

.pch-reviews-track::-webkit-scrollbar {
	display: none;
}

/* Navigation Arrow Buttons */
.pch-reviews-nav-btn {
	position: absolute;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #ffffff;
	border: 1px solid rgba(11, 21, 39, 0.12);
	box-shadow: 0 4px 12px rgba(11, 21, 39, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	color: #0b1527;
	padding: 0;
	top: 50%;
	transform: translateY(-50%);
}

.pch-reviews-nav-btn.prev {
	left: -14px;
}

.pch-reviews-nav-btn.next {
	right: -14px;
}

.pch-reviews-nav-btn:hover {
	background-color: #0b1527;
	color: #ffffff;
	transform: translateY(-50%) scale(1.06);
	box-shadow: 0 6px 16px rgba(11, 21, 39, 0.18);
}

.pch-reviews-nav-btn:focus-visible {
	outline: 2px solid #0284c7;
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Individual Review Card
   -------------------------------------------------------------------------- */
.pch-review-card {
	flex: 0 0 calc(33.333% - 11px);
	min-width: 270px;
	max-width: 350px;
	background-color: #ffffff;
	border-radius: 16px;
	padding: 20px 20px 16px 20px;
	border: 1px solid rgba(11, 21, 39, 0.08);
	box-shadow: 0 4px 16px rgba(11, 21, 39, 0.03);
	display: flex;
	flex-direction: column;
	transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s ease;
}

.pch-review-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(11, 21, 39, 0.08);
}

/* Header: Avatar, Name, Time, Google G */
.pch-review-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.pch-review-author-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.pch-review-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #2563eb;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
	flex-shrink: 0;
	overflow: hidden;
}

.pch-review-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pch-review-author-info {
	min-width: 0;
}

.pch-review-name {
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	color: #0b1527;
	line-height: 1.2;
	margin: 0 0 3px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.pch-review-time {
	font-family: inherit;
	font-size: 11.5px;
	color: #94a3b8;
	line-height: 1;
	margin: 0;
	display: block;
}

.pch-review-google-g {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Stars & Verified Badge */
.pch-review-stars-wrap {
	display: flex;
	align-items: center;
	gap: 3px;
	margin-bottom: 10px;
}

.pch-review-stars {
	display: flex;
	gap: 2px;
	color: #f59e0b;
}

.pch-review-stars svg {
	width: 15px;
	height: 15px;
	fill: #f59e0b;
}

.pch-review-verified-badge {
	display: inline-flex;
	align-items: center;
	color: #2563eb;
	margin-left: 2px;
}

.pch-review-verified-badge svg {
	width: 14px;
	height: 14px;
}

/* Review Text */
.pch-review-text {
	font-family: inherit;
	font-size: 13px;
	color: #334155;
	line-height: 1.5;
	margin: 0 0 8px 0;
	flex-grow: 1;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pch-review-text.is-expanded {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.pch-review-read-more {
	background: none;
	border: none;
	padding: 0;
	color: #64748b;
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	text-decoration: underline;
	text-align: left;
	transition: color 0.2s ease;
	display: inline-block;
	margin-top: auto;
}

.pch-review-read-more:hover {
	color: #0b1527;
}

/* --------------------------------------------------------------------------
   Empty State (When No Reviews Found)
   -------------------------------------------------------------------------- */
.pch-reviews-track.pch-reviews-track-empty {
	overflow: visible;
	justify-content: center;
}

.pch-no-reviews-box {
	width: 100%;
	background-color: #ffffff;
	border-radius: 16px;
	padding: 38px 24px;
	border: 1px dashed rgba(11, 21, 39, 0.15);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(11, 21, 39, 0.02);
}

.pch-no-reviews-icon {
	color: #94a3b8;
	margin-bottom: 12px;
}

.pch-no-reviews-title {
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 6px 0;
}

.pch-no-reviews-desc {
	font-size: 13.5px;
	color: #64748b;
	margin: 0;
	max-width: 440px;
	line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.pch-reviews-container {
		flex-direction: column;
		align-items: center;
	}

	.pch-reviews-summary-card {
		width: 100%;
		max-width: 360px;
	}

	.pch-reviews-carousel-wrap {
		width: 100%;
	}

	.pch-review-card {
		flex: 0 0 calc(50% - 8px);
	}
}

@media (max-width: 640px) {
	.pch-review-card {
		flex: 0 0 85%;
		min-width: 250px;
	}

	.pch-reviews-nav-btn.prev {
		left: -4px;
	}

	.pch-reviews-nav-btn.next {
		right: -4px;
	}
}
