.lps-gr {
	--lps-gr-star: #fbbc04;
	--lps-gr-card: var(--light, #fff);
	--lps-gr-text: var(--dark, #1f1f1f);
	--lps-gr-muted: color-mix(in srgb, var(--lps-gr-text) 65%, transparent);
	--lps-gr-gap: var(--space-m, 1.5rem);
	display: flex;
	flex-direction: column;
	gap: var(--lps-gr-gap);
	width: 100%;
	color: var(--lps-gr-text);
}

/* Visually hidden, still read by screen readers. */
.lps-gr__sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lps-gr a:focus-visible {
	outline: 2px solid var(--primary, currentColor);
	outline-offset: 2px;
	border-radius: 2px;
}

.lps-gr-section {
	padding-block: var(--space-3xl, 5rem);
}

.lps-gr-section__inner {
	width: var(--max-screen-width, 1200px);
	max-width: 100%;
}

.lps-gr__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-xs, 0.5rem) var(--lps-gr-gap);
}

.lps-gr__title {
	margin: 0;
	font-size: var(--text-2xl, 2rem);
	color: var(--primary, inherit);
}

.lps-gr__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-size: var(--text-m, 1rem);
}

.lps-gr__score {
	font-size: var(--text-xl, 1.5rem);
	font-weight: 800;
	line-height: 1;
}

.lps-gr__count {
	color: var(--lps-gr-muted);
}

.lps-gr__stars {
	position: relative;
	display: inline-block;
	font-size: 1.1em;
	line-height: 1;
	letter-spacing: 0.08em;
	color: color-mix(in srgb, var(--lps-gr-text) 18%, transparent);
	white-space: nowrap;
}

.lps-gr__stars-fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	color: var(--lps-gr-star);
}

/* Responsive grid: 3 columns on desktop, 2 on tablet, 1 on mobile (site's Bricks breakpoints). */
.lps-gr__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--lps-gr-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.lps-gr__card {
	display: flex;
	flex-direction: column;
	gap: var(--space-xs, 0.75rem);
	margin: 0;
	padding: var(--space-m, 1.5rem);
	background: var(--lps-gr-card);
	border-radius: var(--radius-m, 1rem);
	box-shadow: 0 0.25rem 1.25rem color-mix(in srgb, var(--lps-gr-text) 10%, transparent);
	min-width: 0;
	overflow-wrap: anywhere;
}

.lps-gr__author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.lps-gr__avatar {
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	object-fit: cover;
}

.lps-gr__name {
	display: block;
	font-weight: 700;
	color: inherit;
	text-decoration: none;
}

a.lps-gr__name:hover,
a.lps-gr__name:focus-visible {
	text-decoration: underline;
}

.lps-gr__date {
	display: block;
	font-size: var(--text-s, 0.875rem);
	color: var(--lps-gr-muted);
}

.lps-gr__text {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	line-clamp: 7;
	line-height: 1.6;
}

.lps-gr__more {
	margin-top: auto;
	font-size: var(--text-s, 0.875rem);
	font-weight: 600;
	color: var(--primary, inherit);
}

.lps-gr__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-xs, 0.5rem) var(--lps-gr-gap);
	font-size: var(--text-s, 0.875rem);
}

.lps-gr__google {
	font-weight: 700;
}

.lps-gr__links {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-s, 1rem);
}

.lps-gr__links a {
	font-weight: 600;
	color: var(--primary, inherit);
}

@media (max-width: 991px) {
	.lps-gr__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.lps-gr-section {
		padding-block: var(--space-2xl, 3.5rem);
	}

	.lps-gr__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.lps-gr__card {
		padding: var(--space-s, 1.25rem);
	}

	.lps-gr__text {
		-webkit-line-clamp: 6;
		line-clamp: 6;
	}

	.lps-gr__header,
	.lps-gr__footer {
		flex-direction: column;
		align-items: flex-start;
	}
}
