.grs {
	--grs-cols-max: 4;
	--grs-cols: var(--grs-cols-max);
	--grs-gap: 24px;
	position: relative;
	width: 100%;
	box-sizing: border-box;
}
.grs *, .grs *::before, .grs *::after { box-sizing: border-box; }

.grs__track {
	display: flex;
	gap: var(--grs-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding: 48px 12px 34px;
	align-items: stretch;
	scroll-behavior: smooth;
}
.grs__track::-webkit-scrollbar { display: none; }

.grs__card {
	position: relative;
	flex: 0 0 calc((100% - (var(--grs-cols) - 1) * var(--grs-gap)) / var(--grs-cols));
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	padding: 44px 20px 26px;
	min-height: 240px;
}
.grs__avatar {
	position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
	width: 60px; height: 60px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 32px; line-height: 1;
}
.grs__avatar img {
	position: absolute; inset: 0; width: 100%; height: 100%;
	border-radius: 50%; object-fit: cover; background: #eee;
}
.grs__g {
	position: absolute; right: -4px; bottom: -4px; width: 24px; height: 24px;
	padding: 3px; background: #fff; border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.grs__name { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: #21427b; }
.grs__time { margin-top: 2px; font-size: 14px; color: #6b6b6b; }
.grs__stars {
	display: flex; align-items: center; justify-content: center; gap: 1px;
	margin: 12px 0; font-size: 22px; line-height: 1;
}
.grs__stars > span { color: #d9d9d9; }
.grs__stars > span.is-on { color: #f4b92c; }
.grs__check { width: 20px; height: 20px; margin-left: 8px; flex: 0 0 auto; }
.grs__text {
	margin: 0; font-size: 16px; line-height: 1.55; color: #1a1a1a;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
	line-clamp: 4; overflow: hidden;
}
.grs__card.is-open .grs__text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.grs__more {
	margin-top: 12px; padding: 0; background: none; border: 0;
	font: inherit; font-size: 15px; color: #777; cursor: pointer;
}
.grs__more:hover { color: #111; text-decoration: underline; background: none; }

.grs__arrow {
	position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -10px;
	padding: 0; display: flex; align-items: center; justify-content: center;
	background: #fff; color: #222; border: 1px solid #ddd; border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); font-size: 30px; line-height: 1;
	cursor: pointer; z-index: 2;
}
.grs__arrow:hover { background: #f7f7f7; color: #222; }
.grs__arrow[hidden] { display: none; }
.grs__arrow--prev { left: -6px; }
.grs__arrow--next { right: -6px; }

.grs__google-link {
	--grs-accent: #ed1763;
	display: flex; align-items: center; gap: .7em;
	width: fit-content; max-width: 100%;
	margin: 8px auto 0; padding: .6em .6em .6em 1.15em;
	border: 1px solid #ececec; border-radius: 999px;
	background: #fff; color: #111 !important;
	font-family: inherit; font-size: clamp(11px, 3vw, 15px); font-weight: 500; line-height: 1.3;
	text-decoration: none !important; text-align: left;
	box-shadow: 0 2px 12px rgba(0,0,0,.07);
	transition: box-shadow .2s ease, transform .2s ease;
	box-sizing: border-box;
}
.grs__google-link--left { margin-left: 0; margin-right: auto; }
.grs__google-link--right { margin-left: auto; margin-right: 0; }
.grs__google-link:hover { color: #111 !important; box-shadow: 0 4px 16px rgba(0,0,0,.12); transform: translateY(-1px); }
.grs__google-link .grs__g {
	position: static; width: 1.25em; height: 1.25em; padding: 0;
	border-radius: 0; box-shadow: none; flex: 0 0 1.25em;
}
.grs__google-link-text { display: flex; flex-direction: column; min-width: 0; }
.grs__google-link-main { font-weight: 500; }
.grs__google-link-sub { margin-top: 1px; font-size: .88em; font-weight: 400; color: #555; }
.grs__google-link strong { font-weight: 700; white-space: nowrap; }
.grs__google-link-arrow {
	display: flex; align-items: center; justify-content: center;
	width: 1.6em; height: 1.6em; flex: 0 0 1.6em;
	margin-left: .1em; border-radius: 50%;
	background: var(--grs-accent, #ed1763);
}
.grs__google-link-arrow svg { width: .8em; height: .8em; display: block; }
/* Kop met score: erft lettertype en kleur van je thema */
.grs__head {
	display: flex; flex-direction: column; align-items: center;
	width: fit-content; max-width: 100%;
	margin: 0 auto 8px; padding: 0 12px;
	font-family: inherit; color: inherit; text-align: center;
}
.grs__head-top { display: flex; align-items: center; justify-content: center; gap: .55em; }
.grs__head-logo { flex: none; width: 2.6em; height: 2.24em; }
.grs__head-title { font-size: 1.7em; font-weight: 700; line-height: 1.15; }
.grs__rate {
	position: relative; display: inline-block; margin-top: .35em;
	font-size: 2.1em; line-height: 1; letter-spacing: .08em; white-space: nowrap;
}
.grs__rate-base { color: #d9d9d9; }
.grs__rate-fill {
	position: absolute; left: 0; top: 0; width: var(--grs-fill, 100%);
	overflow: hidden; color: #f4b92c;
}
.grs__head-meta { margin-top: .4em; font-size: 1.25em; line-height: 1.3; }
.grs__head-meta strong { font-weight: 700; }
.grs__head-sep { margin: 0 .35em; opacity: .7; }

@media (max-width: 1024px) {
	.grs { --grs-cols: 2; --grs-gap: 20px; }
}
@media (max-width: 640px) {
	.grs { --grs-cols: 1; --grs-gap: 16px; }
	.grs__track { padding: 42px 10px 28px; scroll-snap-type: x mandatory; }
	.grs__card { flex-basis: 88%; }
	.grs__arrow { display: none !important; }
	.grs__head { font-size: .9em; }
}
@media (prefers-reduced-motion: reduce) {
	.grs__track { scroll-behavior: auto; }
	.grs__google-link { transition: none; }
}
