.kgr-widget {
	--kgr-accent: #596646;
	--kgr-card-width: 430px;
	--kgr-link-color: #596646;
	--kgr-link-hover-color: #3f4932;
	--kgr-surface: #fafbf8;
	--kgr-columns: 3;
	color: #263023;
	font-family: inherit;
	line-height: 1.55;
	margin: 2rem auto;
	max-width: 1400px;
	border-radius: 20px;
}

.kgr-header {
	align-items: center;
	background: #f6f7f3;
	border-radius: 12px;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 20px;
	padding: 20px 24px;
}

.kgr-title {
	color: #263023;
	font-size: clamp(1.35rem, 2.5vw, 2rem);
	line-height: 1.2;
	margin: 0 0 6px;
}

.kgr-summary {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kgr-stars {
	color: #f6a800;
	font-size: 1.08rem;
	letter-spacing: 1px;
	white-space: nowrap;
}

.kgr-button {
	background: var(--kgr-accent);
	border-radius: 999px;
	color: #fff !important;
	display: inline-flex;
	font-weight: 700;
	padding: 11px 18px;
	text-decoration: none;
	white-space: nowrap;
}

.kgr-button:hover,
.kgr-button:focus {
	filter: brightness(.9);
}

.kgr-reviews {
	display: grid;
	gap: 24px;
}

.kgr-layout-grid .kgr-reviews {
	grid-template-columns: repeat(var(--kgr-columns), minmax(0, 1fr));
}

.kgr-layout-grid .kgr-card {
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.kgr-layout-grid .kgr-text,
.kgr-layout-slider .kgr-text {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	display: -webkit-box;
	line-clamp: 3;
	margin: 12px 0;
	overflow: hidden;
}

.kgr-layout-list .kgr-reviews {
	grid-template-columns: 1fr;
}

.kgr-layout-slider .kgr-reviews {
	grid-auto-columns: min(86vw, var(--kgr-card-width));
	grid-auto-flow: column;
	overflow-x: auto;
	padding: 2px 2px 14px;
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--kgr-accent) #e8ebe4;
}

.kgr-layout-slider .kgr-card {
	scroll-snap-align: start;
}

.kgr-card {
	background: var(--kgr-surface);
	border: 1px solid rgba(89, 102, 70, .16);
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(38, 48, 35, .07);
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 22px;
}

.kgr-author {
	align-items: center;
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}

.kgr-author strong {
	color: #263023;
}

.kgr-widget .kgr-author a {
	color: var(--kgr-link-color);
	text-decoration: none;
}

.kgr-widget .kgr-author a:hover,
.kgr-widget .kgr-author a:focus,
.kgr-widget a.kgr-source:hover,
.kgr-widget a.kgr-source:focus {
	color: var(--kgr-link-hover-color);
}

.kgr-avatar {
	border-radius: 50%;
	display: block;
	flex: 0 0 44px;
	height: 44px;
	object-fit: cover;
	width: 44px;
}

.kgr-date {
	color: #667060;
	display: block;
	font-size: .84rem;
}

.kgr-text {
	margin: 14px 0;
	overflow-wrap: anywhere;
}

.kgr-widget a.kgr-source {
	align-items: center;
	align-self: flex-start;
	color: var(--kgr-link-color);
	display: inline-flex;
	font-size: .88rem;
	font-weight: 700;
	margin-top: auto;
	min-height: 44px;
}

.kgr-visit {
	color: #667060;
	font-size: .82rem;
	margin: 0 0 10px;
}

.kgr-disclosure {
	align-items: center;
	color: #667060;
	display: flex;
	flex-wrap: wrap;
	font-size: .76rem;
	gap: 8px;
	margin: 14px 2px 0;
}

.kgr-google-maps {
	color: #5e5e5e;
	font-family: Roboto, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: normal;
	white-space: nowrap;
}

.kgr-notice {
	background: #f6f7f3;
	border-left: 4px solid #596646;
	padding: 12px 16px;
}

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

@media (max-width: 620px) {
	.kgr-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.kgr-layout-grid .kgr-reviews {
		grid-template-columns: 1fr;
	}

	.kgr-layout-grid .kgr-card {
		aspect-ratio: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kgr-layout-slider .kgr-reviews {
		scroll-behavior: auto;
	}
}
