:root {
	--grp-accent: #e9b44c;
	--grp-accent-strong: #d79b2e;
	--grp-accent-soft: rgba(233, 180, 76, .14);
	--grp-ink: #0e0f12;
	--grp-surface: #181b21;
	--grp-surface-2: #1f232b;
	--grp-line: rgba(255, 255, 255, .09);
	--grp-line-2: rgba(255, 255, 255, .16);
	--grp-text: #f3f1ec;
	--grp-muted: #9a9da4;
	--grp-paper: #faf9f6;
	--grp-card: #fff;
	--grp-light-text: #16181c;
	--grp-light-muted: #6c6e74;
	--grp-light-line: #e7e4dd;
	--grp-radius: 16px;
	--grp-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}

.grp-widget, .grp-badge, .grp-floating, .grp-popup {
	box-sizing: border-box;
	font-family: "Hanken Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.grp-widget *, .grp-badge *, .grp-floating *, .grp-popup * { box-sizing: border-box; }

.grp-widget {
	background: var(--grp-ink);
	color: var(--grp-text);
	margin: 28px auto;
	padding: clamp(24px, 4vw, 44px);
	border-radius: 4px;
}

.grp-widget--light {
	background: var(--grp-paper);
	color: var(--grp-light-text);
}

.grp-shell { width: 100%; }

.grp-top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 22px;
	margin-bottom: 26px;
}

.grp-eyebrow {
	color: var(--grp-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.grp-widget h2 {
	color: inherit;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0;
}

.grp-summary, .grp-actions, .grp-foot {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.grp-summary { margin-top: 18px; color: var(--grp-muted); }
.grp-summary strong { color: var(--grp-accent); font-size: 24px; }
.grp-widget--light .grp-summary { color: var(--grp-light-muted); }

.grp-g {
	align-items: center;
	background: #fff;
	border-radius: 50%;
	color: #4285f4;
	display: inline-flex;
	flex: 0 0 auto;
	font-weight: 900;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.grp-btn {
	align-items: center;
	background: var(--grp-accent);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 8px 20px -8px var(--grp-accent);
	color: #1a1206;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 11px 20px;
	text-decoration: none;
	transition: background .16s ease, transform .16s ease;
}

.grp-btn:hover { background: var(--grp-accent-strong); color: #1a1206; transform: translateY(-1px); }

.grp-nav {
	background: transparent;
	border: 1px solid var(--grp-line-2);
	border-radius: 50%;
	color: inherit;
	cursor: pointer;
	font-size: 25px;
	height: 44px;
	line-height: 1;
	width: 44px;
}

.grp-nav:disabled {
	cursor: default;
	opacity: .38;
}

.grp-rail {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	padding: 0 4px 4px;
}

.grp-slide {
	min-width: 0;
}

.grp-slide[hidden] {
	display: none;
}

.grp-card {
	background: var(--grp-surface);
	border: 1px solid var(--grp-line);
	border-radius: var(--grp-radius);
	box-shadow: var(--grp-shadow);
	color: var(--grp-text);
	display: flex;
	flex-direction: column;
	gap: 13px;
	height: 100%;
	padding: 20px;
}

.grp-widget--light .grp-card, .grp-badge.grp-widget--light {
	background: var(--grp-card);
	border-color: var(--grp-light-line);
	box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 30px -12px rgba(0,0,0,.18);
	color: var(--grp-light-text);
}

.grp-card__head {
	align-items: center;
	display: flex;
	gap: 12px;
}

.grp-avatar {
	border-radius: 50%;
	flex: 0 0 44px;
	height: 44px;
	width: 44px;
}

.grp-avatar--initial {
	align-items: center;
	background: linear-gradient(150deg, #6d7078, #272b33);
	color: #fff;
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
}

.grp-card__author {
	flex: 1;
	min-width: 0;
}

.grp-card__author a, .grp-card__author strong {
	color: inherit;
	display: block;
	font-size: 14px;
	overflow: hidden;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.grp-card__author span {
	color: var(--grp-muted);
	display: block;
	font-size: 12px;
	margin-top: 2px;
}

.grp-widget--light .grp-card__author span { color: var(--grp-light-muted); }

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

.grp-stars svg { fill: rgba(255,255,255,.16); }
.grp-stars svg.is-filled { fill: var(--grp-accent); }
.grp-widget--light .grp-stars svg, .grp-badge.grp-widget--light .grp-stars svg { fill: rgba(0,0,0,.14); }
.grp-widget--light .grp-stars svg.is-filled, .grp-badge.grp-widget--light .grp-stars svg.is-filled { fill: var(--grp-accent); }

.grp-card__text {
	color: rgba(243,241,236,.82);
	font-size: 14px;
	line-height: 1.62;
	margin: 0;
}

.grp-widget--light .grp-card__text { color: var(--grp-light-muted); }

.grp-card__media {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: auto;
}

.grp-card__media a {
	display: block;
	min-width: 0;
}

.grp-card__media img {
	aspect-ratio: 25 / 16;
	border-radius: 8px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.grp-readmore {
	background: none;
	border: 0;
	color: var(--grp-accent);
	cursor: pointer;
	font-weight: 800;
	padding: 0;
}

.grp-foot {
	justify-content: space-between;
	margin-top: 18px;
}

.grp-foot a, .grp-link {
	color: var(--grp-accent);
	font-weight: 700;
	text-decoration: none;
}

.grp-verified {
	color: var(--grp-muted);
	font-size: 12px;
	font-weight: 700;
}

.grp-verified:before {
	color: #34a853;
	content: "✓";
	margin-right: 6px;
}

.grp-summary-layout {
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(230px, 300px) 1fr;
}

.grp-score {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.grp-score__value {
	color: var(--grp-accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 74px;
	line-height: .9;
}

.grp-summary-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grp-mosaic__intro {
	margin: 0 auto 30px;
	max-width: 660px;
	text-align: center;
}

.grp-mosaic__intro h2 span { color: var(--grp-accent); }
.grp-mosaic__intro p { color: var(--grp-muted); line-height: 1.6; }

.grp-masonry {
	column-count: var(--grp-cols, 3);
	column-gap: 16px;
}

.grp-masonry .grp-card {
	break-inside: avoid;
	margin-bottom: 16px;
}

.grp-center {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 28px;
}

.grp-badge {
	align-items: center;
	background: var(--grp-surface);
	border: 1px solid var(--grp-line);
	border-radius: 999px;
	box-shadow: var(--grp-shadow);
	color: var(--grp-text);
	display: inline-flex;
	gap: 12px;
	padding: 10px 16px 10px 12px;
	text-decoration: none;
}

.grp-badge__body {
	display: grid;
	gap: 2px;
}

.grp-badge__body small { color: var(--grp-muted); }

.grp-floating {
	align-items: center;
	backdrop-filter: blur(14px);
	background: rgba(18,20,25,.9);
	border-top: 1px solid var(--grp-line-2);
	bottom: 0;
	color: var(--grp-text);
	display: flex;
	gap: 12px;
	justify-content: center;
	left: 0;
	padding: 12px 18px;
	position: fixed;
	right: 0;
	z-index: 9998;
}

.grp-popup {
	bottom: 20px;
	left: 20px;
	max-width: min(340px, calc(100vw - 40px));
	position: fixed;
	z-index: 9999;
}

.grp-popup__close {
	background: var(--grp-surface-2);
	border: 1px solid var(--grp-line-2);
	border-radius: 50%;
	color: var(--grp-text);
	cursor: pointer;
	height: 28px;
	position: absolute;
	right: -8px;
	top: -8px;
	width: 28px;
	z-index: 2;
}

.grp-empty {
	border: 1px dashed var(--grp-line-2);
	border-radius: var(--grp-radius);
	color: var(--grp-muted);
	margin: 0;
	padding: 18px;
}

@media (max-width: 760px) {
	.grp-top, .grp-summary-layout { display: block; }
	.grp-actions { margin-top: 16px; }
	.grp-summary-grid { grid-template-columns: 1fr; margin-top: 20px; }
	.grp-masonry { column-count: 1; }
	.grp-rail { grid-template-columns: 1fr; }
	.grp-widget { padding: 24px 16px; }
	.grp-floating { align-items: flex-start; flex-direction: column; }
}

@media (min-width: 761px) and (max-width: 1180px) {
	.grp-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
