.m2gr {
	--m2gr-text: #111827;
	--m2gr-muted: #8a8f98;
	--m2gr-border: #edf0f4;
	--m2gr-star: #fbbc04;
	--m2gr-link: #8a8f98;
	background: #fff;
	border: 1px solid var(--m2gr-border);
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
	box-sizing: border-box;
	color: var(--m2gr-text);
	font-family: inherit;
	margin: 1.5rem 0;
	max-width: 360px;
	padding: 20px;
	position: relative;
}

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

.m2gr__header {
	border-bottom: 1px solid #eef0f3;
	margin-bottom: 12px;
	padding-bottom: 12px;
}

.m2gr__title {
	color: var(--m2gr-text);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 0 3px;
}

.m2gr__count {
	color: var(--m2gr-text);
	font-size: 15px;
	line-height: 1.35;
	margin: 0;
}

.m2gr__brand {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-top: 7px;
}

.m2gr__google-logo {
	display: block;
	flex: 0 0 40px;
	height: 40px;
	width: 40px;
}

.m2gr__stars {
	color: #d7d9dd;
	display: inline-block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 26px;
	letter-spacing: 0.01em;
	line-height: 1;
	position: relative;
	white-space: nowrap;
}

.m2gr__stars-fill {
	color: var(--m2gr-star);
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	white-space: nowrap;
}

.m2gr__slider {
	min-height: 176px;
	position: relative;
}

.m2gr__slides {
	position: relative;
}

.m2gr__review {
	display: none;
	margin: 0;
	min-height: 168px;
	padding: 0 0 54px;
}

.m2gr__review.is-active {
	animation: m2gr-fade 220ms ease;
	display: block;
}

.m2gr__text {
	color: var(--m2gr-text);
	font-size: 16px;
	line-height: 1.35;
	margin: 0;
	overflow-wrap: anywhere;
}

.m2gr__read-more {
	color: var(--m2gr-link) !important;
	display: inline-block;
	font-size: 14px;
	line-height: 1.35;
	margin-top: 8px;
	text-decoration: none !important;
}

.m2gr__read-more:hover,
.m2gr__read-more:focus-visible,
.m2gr__all-link:hover,
.m2gr__all-link:focus-visible {
	color: #4b5563 !important;
	text-decoration: underline !important;
}

.m2gr__review-footer {
	align-items: center;
	bottom: 0;
	display: flex;
	gap: 12px;
	left: 0;
	position: absolute;
	right: 90px;
}

.m2gr:not([data-m2gr-slider]) .m2gr__review-footer {
	right: 0;
}

.m2gr__avatar {
	align-items: center;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 40px;
	font-size: 20px;
	font-weight: 700;
	height: 40px;
	justify-content: center;
	line-height: 1;
	width: 40px;
}

.m2gr__avatar--0 {
	background: #f4511e;
}

.m2gr__avatar--1 {
	background: #6d5dfc;
}

.m2gr__avatar--2 {
	background: #0ea5e9;
}

.m2gr__avatar--3 {
	background: #16a34a;
}

.m2gr__avatar--4 {
	background: #db2777;
}

.m2gr__avatar--5 {
	background: #ea580c;
}

.m2gr__review-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.m2gr__author {
	color: var(--m2gr-text);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.m2gr__time {
	color: var(--m2gr-muted);
	font-size: 13px;
	line-height: 1.25;
	margin-top: 1px;
}

.m2gr__review-rating {
	line-height: 1;
	margin-top: 4px;
}

.m2gr__review-rating .m2gr__stars {
	font-size: 12px;
}

.m2gr__nav {
	align-items: center;
	bottom: 0;
	display: flex;
	gap: 6px;
	position: absolute;
	right: 0;
	z-index: 2;
}

.m2gr__nav-button {
	align-items: center;
	appearance: none;
	background: #fff;
	border: 1px solid #8b929d;
	border-radius: 999px;
	color: #5f6670;
	cursor: pointer;
	display: inline-flex;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 30px;
	height: 32px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0 0 3px;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
	width: 32px;
}

.m2gr__nav-button:hover,
.m2gr__nav-button:focus-visible {
	background: #f8fafc;
	border-color: #4b5563;
	color: #111827;
	transform: translateY(-1px);
}

.m2gr__nav-button:focus-visible,
.m2gr__read-more:focus-visible,
.m2gr__all-link:focus-visible {
	outline: 3px solid rgba(66, 133, 244, 0.25);
	outline-offset: 3px;
}

.m2gr__all-link {
	border-top: 1px solid #eef0f3;
	color: var(--m2gr-link) !important;
	display: block;
	font-size: 14px;
	line-height: 1.35;
	margin-top: 14px;
	padding-top: 13px;
	text-decoration: none !important;
}

.m2gr-unavailable {
	color: #5f6368;
}

@keyframes m2gr-fade {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 420px) {
	.m2gr {
		max-width: 100%;
		padding: 18px;
	}

	.m2gr__stars {
		font-size: 23px;
	}

	.m2gr__text {
		font-size: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.m2gr__review.is-active,
	.m2gr__nav-button {
		animation: none;
		transition: none;
	}
}
