.dwc-grm {
	--dwc-grm-gap: 16px;
	--dwc-grm-visible-mobile: 1;
	--dwc-grm-visible-tablet: 2;
	--dwc-grm-visible-desktop: 3;
	color: #202124;
	font-family: inherit;
	padding: 0;
	width: 100%;
}

.dwc-grm__summary {
	align-items: flex-start;
	display: flex;
	gap: 22px;
	justify-content: space-between;
	margin-bottom: 16px;
}

.dwc-grm__eyebrow {
	color: #5f6368;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.dwc-grm__title {
	font-size: 21px;
	line-height: 1.2;
	margin: 0;
}

.dwc-grm__rating {
	text-align: right;
}

.dwc-grm__score {
	display: block;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
}

.dwc-grm__stars {
	display: inline-flex;
	gap: 1px;
	line-height: 1;
	white-space: nowrap;
}

.dwc-grm__star {
	color: #dadce0;
	font-size: 13px;
}

.dwc-grm__star.is-filled {
	color: #fbbc04;
}

.dwc-grm__count,
.dwc-grm__date {
	color: #7a7d81;
	font-size: 12px;
}

.dwc-grm__reviews {
	display: grid;
	gap: var(--dwc-grm-gap);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
}

.dwc-grm__slider {
	position: relative;
}

.dwc-grm--slider .dwc-grm__reviews {
	display: flex;
	gap: var(--dwc-grm-gap);
	-ms-overflow-style: none;
	overflow-x: auto;
	padding: 1px 1px 12px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.dwc-grm--slider .dwc-grm__reviews::-webkit-scrollbar {
	display: none;
}

.dwc-grm__slider-controls[hidden] {
	display: none;
}

.dwc-grm__slider-controls {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.dwc-grm__nav {
	align-items: center;
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(60, 64, 67, 0.18);
	color: #3c4043;
	cursor: pointer;
	display: inline-flex;
	font-size: 28px;
	font-weight: 600;
	height: 42px;
	justify-content: center;
	line-height: 1;
	pointer-events: auto;
	padding: 0 0 2px;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
	width: 32px;
	width: 42px;
}

.dwc-grm__nav--prev {
	left: 12px;
}

.dwc-grm__nav--next {
	right: 12px;
}

.dwc-grm__nav:hover,
.dwc-grm__nav:focus {
	background: #f8f9fa;
	border-color: #c6c9cc;
	box-shadow: 0 6px 18px rgba(60, 64, 67, 0.22);
	color: #1a73e8;
	outline: none;
}

.dwc-grm--slider .dwc-grm__card {
	flex: 0 0 calc((100% - ((var(--dwc-grm-visible-mobile) - 1) * var(--dwc-grm-gap))) / var(--dwc-grm-visible-mobile));
	scroll-snap-align: start;
}

@media (min-width: 768px) {
	.dwc-grm--slider .dwc-grm__card {
		flex-basis: calc((100% - ((var(--dwc-grm-visible-tablet) - 1) * var(--dwc-grm-gap))) / var(--dwc-grm-visible-tablet));
	}
}

@media (min-width: 1080px) {
	.dwc-grm--slider .dwc-grm__card {
		flex-basis: calc((100% - ((var(--dwc-grm-visible-desktop) - 1) * var(--dwc-grm-gap))) / var(--dwc-grm-visible-desktop));
	}
}

.dwc-grm__card {
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 8px;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08);
	display: flex;
	flex-direction: column;
	min-height: 178px;
	min-width: 0;
	padding: 14px;
}

.dwc-grm__card-header {
	align-items: flex-start;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	margin-bottom: 8px;
}

.dwc-grm__author-wrap {
	align-items: center;
	display: flex;
	gap: 8px;
	min-width: 0;
}

.dwc-grm__avatar {
	border-radius: 50%;
	flex: 0 0 28px;
	height: 28px;
	object-fit: cover;
	width: 28px;
}

.dwc-grm__avatar--initial {
	align-items: center;
	background: #f1eeeb;
	color: #4f4b47;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	justify-content: center;
}

.dwc-grm__card-header strong {
	display: block;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.15;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dwc-grm__author-wrap > div {
	min-width: 0;
}

.dwc-grm__date {
	display: block;
	line-height: 1.25;
	margin-top: 2px;
}

.dwc-grm__source {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	text-decoration: none;
}

.dwc-grm__source:hover {
	text-decoration: none;
}

.dwc-grm__google-mark {
	align-items: center;
	display: inline-flex;
	height: 18px;
	justify-content: center;
	line-height: 1;
	width: 18px;
}

.dwc-grm__google-mark svg {
	display: block;
	height: 18px;
	width: 18px;
}

.dwc-grm__review-rating {
	align-items: center;
	display: flex;
	gap: 4px;
	margin-bottom: 7px;
}

.dwc-grm__review-rating .dwc-grm__stars {
	display: inline-flex;
}

.dwc-grm__verified {
	align-items: center;
	background: #4285f4;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	font-size: 8px;
	font-weight: 800;
	height: 12px;
	justify-content: center;
	line-height: 1;
	width: 12px;
}

.dwc-grm__card p {
	color: #202124;
	display: -webkit-box;
	font-size: 14px;
	line-height: 1.42;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}

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

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

@media (max-width: 640px) {
	.dwc-grm__summary {
		display: block;
	}

	.dwc-grm__rating {
		margin-top: 12px;
		text-align: left;
	}

	.dwc-grm__reviews {
		grid-template-columns: 1fr;
	}

	.dwc-grm--slider .dwc-grm__card {
		flex-basis: 100%;
	}

	.dwc-grm__card {
		min-height: 150px;
	}

	.dwc-grm__nav {
		font-size: 24px;
		height: 36px;
		width: 36px;
	}

	.dwc-grm__nav--prev {
		left: 8px;
	}

	.dwc-grm__nav--next {
		right: 8px;
	}
}
