/* Google Reviews Slider - Polished Trustindex-style */

.grs-wrapper {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 10px 0;
	box-sizing: border-box;
}

.grs-container {
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
	align-items: center;
	overflow: hidden;
	gap: 18px;
	background: #f7f8fa;
	border-radius: 16px;
	padding: 28px 18px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ===== LEFT SUMMARY ===== */
.grs-summary {
	flex: 0 0 140px;
	text-align: center;
	padding: 10px 8px;
}

.grs-label {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.8px;
	color: #202124;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.grs-big-stars {
	margin-bottom: 8px;
}

.grs-stars {
	display: inline-flex;
	gap: 1px;
	line-height: 1;
}

.grs-star {
	color: #fbbc04;
	font-size: 16px;
}

.grs-stars-large .grs-star {
	font-size: 24px;
}

.grs-star-empty {
	color: #dadce0;
}

.grs-based {
	font-size: 13px;
	color: #5f6368;
	margin-bottom: 12px;
	line-height: 1.3;
}

.grs-google-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.5px;
	line-height: 1;
}

.grs-google-logo .grs-g  { color: #4285F4; }
.grs-google-logo .grs-o1 { color: #EA4335; }
.grs-google-logo .grs-o2 { color: #FBBC05; }
.grs-google-logo .grs-g2 { color: #4285F4; }
.grs-google-logo .grs-l  { color: #34A853; }
.grs-google-logo .grs-e  { color: #EA4335; }

/* ===== SLIDER ===== */
.grs-slider-wrapper {
	flex: 1;
	position: relative;
	overflow: hidden;
	min-width: 0;
}

.grs-slider {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 6px 4px 12px;
}

.grs-slider::-webkit-scrollbar {
	display: none;
}

/* ===== CARD ===== */
.grs-card {
	flex: 1 1 100%;
    max-width: 100%;
	background: #ffffff;
	border: 1px solid #e8c36a;
	border-radius: 12px;
	padding: 16px 16px 24px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 210px;
	transition: box-shadow 0.2s ease;
}

.grs-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.grs-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.grs-avatar {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
}

.grs-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.grs-initial {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
}

.grs-meta {
	flex: 1;
	min-width: 0;
}

.grs-author {
	font-weight: 600;
	font-size: 14px;
	color: #202124;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

.grs-time {
	font-size: 12px;
	color: #5f6368;
	margin-top: 1px;
}

.grs-google-icon {
	flex-shrink: 0;
	opacity: 0.9;
}

.grs-card-stars {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 8px;
}

.grs-card-stars .grs-star {
	font-size: 14px;
}

.grs-verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	background: #1a73e8;
	color: #fff;
	border-radius: 50%;
	font-size: 9px;
	font-weight: bold;
	line-height: 1;
}

.grs-text-wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.grs-text {
	font-size: 13.5px;
	line-height: 1.5;
	color: #3c4043;
}

.grs-text-full {
	display: none;
}

.grs-read-more {
	background: none !important;
	border: none !important;
	padding: 5px 0 0 !important;
	margin: 0 !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	color: #a67c22 !important;
	cursor: pointer !important;
	text-align: left !important;
	align-self: flex-start !important;
	line-height: 1.2 !important;
}

.grs-read-more:hover {
	color: #a67c22 !important;
	text-decoration: underline !important;
	background: none !important;
	border: none !important;
	padding: 5px 0 0 !important;
	margin: 0 !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	transition: none !important;
    border-radius: 0px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}


.grs-quote {
	position: absolute;
	bottom: 10px;
	right: 14px;
	font-size: 36px;
	line-height: 1;
	color: #e8c36a;
	font-family: Georgia, "Times New Roman", serif;
	opacity: 0.55;
	pointer-events: none;
}

/* ===== NAV BUTTONS ===== */
.grs-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #dadce0;
	background: #fff;
	color: #5f6368;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(0,0,0,0.1);
	transition: all 0.2s ease;
	padding: 0;
}

.grs-nav:hover {
	background: #f1f3f4;
	color: #202124;
	box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.grs-prev {
	left: 0;
}

.grs-next {
	right: 0;
}

.review-card {
    flex: 1 1 280px; /* Allows cards to shrink and wrap gracefully */
    max-width: 100%;
}

/* ===== ERROR / EMPTY ===== */
.grs-error {
	background: #fce8e6;
	color: #c5221f;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
}

.grs-no-reviews {
	padding: 40px;
	color: #5f6368;
	font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.grs-container {
		flex-direction: column;
		padding: 20px 12px;
	}

	.grs-summary {
		flex: none;
		width: 100%;
		padding-bottom: 12px;
		border-bottom: 1px solid #e8eaed;
		margin-bottom: 8px;
	}

	.grs-card {
		flex: 0 0 230px;
		max-width: 100%;
	}

	.grs-nav {
		width: 30px;
		height: 30px;
		font-size: 18px;
	}
}

@media (max-width: 480px) {
	.grs-card {
		flex: 0 0 210px;
		max-width: 100%;
	}

	.grs-label {
		font-size: 18px;
	}

	.grs-stars-large .grs-star {
		font-size: 22px;
	}
}
