.ggr-wrap {
	font-family: inherit;
	color: #1f2937;
	max-width: 100%;
}

.ggr-header {
	text-align: center;
	margin-bottom: 32px;
}

.ggr-aggregate {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}

.ggr-aggregate-rating {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
	color: #1f2937;
}

.ggr-aggregate-total {
	font-size: 0.95rem;
	color: #6b7280;
}

.ggr-google-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.9rem;
	text-decoration: none;
	color: #1a73e8;
}

.ggr-google-link:hover {
	text-decoration: underline;
}

.ggr-stars {
	display: inline-flex;
	gap: 2px;
	font-size: 1.2em;
	line-height: 1;
}

.ggr-star {
	color: #fbbc04;
}

.ggr-star-empty {
	color: #d1d5db;
}

.ggr-star-half {
	background: linear-gradient(90deg, #fbbc04 50%, #d1d5db 50%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* True grid: rows align, columns equal width. Cards in the same row are equal height. */
.ggr-reviews {
	display: grid;
	grid-template-columns: repeat(var(--ggr-cols, 3), minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

@media (max-width: 1024px) {
	.ggr-reviews {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ggr-reviews {
		grid-template-columns: 1fr;
	}
}

.ggr-review {
	background: #ffffff;
	border-radius: 8px;
	padding: 28px 30px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	box-sizing: border-box;
}

.ggr-review-body {
	font-size: 0.95rem;
	line-height: 1.65;
	color: #2d3748;
	overflow-wrap: break-word;
}

.ggr-review-body p {
	margin: 0 0 10px 0;
}

.ggr-review-body p:last-child {
	margin-bottom: 0;
}

.ggr-review-author {
	font-size: 0.82rem;
	font-weight: 500;
	color: #6b7280;
	letter-spacing: 0.01em;
}

.ggr-empty {
	padding: 24px;
	text-align: center;
	color: #6b7280;
	background: #f9fafb;
	border-radius: 8px;
}
