.grm-reviews {
	--grm-blue: #4093c2;
	--grm-star: #f7b500;
	--grm-border: #d9d9d9;
	--grm-text: #111;
	--grm-muted: #777;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 18px;
	font-family: Arial, Helvetica, sans-serif;
}

.grm-reviews *,
.grm-reviews *::before,
.grm-reviews *::after {
	box-sizing: border-box;
}

.grm-summary {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 25px 20px;
	min-width: 0;
}

.grm-summary-top {
	display: flex;
	align-items: center;
	gap: 14px;
}

.grm-summary-avatar {
	width: 64px;
	height: 64px;
	flex: 0 0 64px;
	background: #f1f4f7;
	overflow: hidden;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	color: #555;
}

.grm-summary-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.grm-summary-info {
	min-width: 0;
}

.grm-business-name {
	font-size: 17px;
	font-weight: 700;
	color: var(--grm-text);
	margin-bottom: 5px;
}

.grm-summary-rating {
	line-height: 1;
}

.grm-stars {
	color: var(--grm-star);
	letter-spacing: 1px;
	white-space: nowrap;
	font-size: 21px;
}

.grm-total {
	margin-top: 7px;
	font-size: 15px;
	color: #222;
}

.grm-write-review {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	margin: 14px 0 0 79px;
	padding: 8px 16px;
	border: 1px solid #777;
	border-radius: 4px;
	background: #fff;
	color: #111;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all .2s ease;
}

.grm-write-review:hover {
	background: #f4f4f4;
	color: #111;
}

.grm-slider-wrap {
	position: relative;
	min-width: 0;
	display: flex;
	align-items: center;
}

.grm-track-window {
	overflow: hidden;
	width: 100%;
}

.grm-track {
	display: flex;
	gap: 16px;
	transition: transform .45s ease;
	will-change: transform;
}

.grm-card {
	flex: 0 0 calc((100% - 32px) / 3);
	min-width: 0;
	min-height: 235px;
	border: 1px solid var(--grm-border);
	border-radius: 11px;
	background: #fff;
	padding: 20px;
	box-shadow: 0 1px 2px rgba(0,0,0,.02);
}

.grm-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.grm-reviewer {
	display: flex;
	align-items: center;
	gap: 11px;
	min-width: 0;
}

.grm-reviewer-image {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 50%;
	background: #ecedf0;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	color: #555;
}

.grm-reviewer-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.grm-reviewer-meta {
	min-width: 0;
}

.grm-reviewer-name {
	font-size: 15px;
	font-weight: 700;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.grm-review-date {
	font-size: 13px;
	color: #777;
	margin-top: 3px;
}

.grm-google-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 25px;
	width: 25px;
	height: 25px;
	font-size: 21px;
	font-weight: 800;
	font-family: Arial, sans-serif;
	text-decoration: none;
	background: linear-gradient(135deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.grm-card-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
}

.grm-card-rating .grm-stars {
	font-size: 20px;
}

.grm-verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #4285f4;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
}

.grm-card-text-wrap {
	margin-top: 11px;
}

.grm-card-text {
	color: #111;
	font-size: 15px;
	line-height: 1.45;
	max-height: calc(1.45em * 4);
	overflow: hidden;
	white-space: pre-line;
	transition: max-height .3s ease;
}

.grm-card-text-wrap.is-expanded .grm-card-text {
	max-height: 150px;
	overflow-y: auto;
	padding-right: 5px;
}

.grm-read-more {
	display: inline-flex;
	align-items: center;
	margin-top: 7px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1677b8;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	text-decoration: none;
}

.grm-read-more:hover,
.grm-read-more:focus {
	color: #0d5f96;
	text-decoration: underline;
	background: transparent;
	outline: none;
}

.grm-read-less-label {
	display: none;
}

.grm-card-text-wrap.is-expanded .grm-read-more-label {
	display: none;
}

.grm-card-text-wrap.is-expanded .grm-read-less-label {
	display: inline;
}

.grm-card-text-wrap.is-expanded .grm-read-more {
	margin-top: 8px;
}

.grm-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	color: #777;
	font-size: 27px;
	line-height: 25px;
	padding: 0;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.grm-arrow:hover {
	background: #f6f6f6;
}

.grm-prev {
	left: -16px;
}

.grm-next {
	right: -16px;
}

.grm-empty {
	padding: 20px;
	border: 1px solid #ddd;
	background: #fff;
	color: #555;
}

@media (max-width: 1000px) {
	.grm-reviews {
		grid-template-columns: 220px minmax(0, 1fr);
	}

	.grm-card {
		flex-basis: calc((100% - 16px) / 2);
	}

	.grm-write-review {
		margin-left: 0;
	}
}

@media (max-width: 700px) {
	.grm-reviews {
		display: block;
	}

	.grm-summary {
		padding: 10px 0 22px;
	}

	.grm-summary-top {
		justify-content: center;
	}

	.grm-write-review {
		margin: 14px auto 0;
	}

	.grm-card {
		flex-basis: 100%;
		min-height: 210px;
	}

	.grm-prev {
		left: -8px;
	}

	.grm-next {
		right: -8px;
	}
}
