.ridest-reviews {
	position: relative;
	width: 100%;
	padding: 78px 0 88px;
	overflow: hidden;
	background: #f3f3f0;
	color: #111;
	box-sizing: border-box;
}

.ridest-reviews__inner {
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.ridest-reviews__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	margin-bottom: 42px;
}

.ridest-reviews__eyebrow {
	margin: 0 0 12px;
	color: #5f5f5f;
	font-family: "IBM Plex Mono", "Courier New", monospace;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 1.6px;
}

.ridest-reviews h2 {
	max-width: 680px;
	margin: 0;
	color: #111;
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: clamp(42px, 11vw, 58px);
	font-weight: 400;
	line-height: 0.96;
	letter-spacing: 0;
}

.ridest-reviews__summary {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	align-items: center;
	color: #111;
	font-family: "IBM Plex Mono", "Courier New", monospace;
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
}

.ridest-reviews__summary-score {
	font-size: 15px;
	font-weight: 500;
}

.ridest-reviews__summary-stars,
.ridest-review-card__stars {
	color: #e6a700;
	letter-spacing: 2px;
}

.ridest-reviews__summary-stars {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	letter-spacing: 1px;
}

.ridest-reviews__summary-count {
	color: #1769c2;
	font: inherit;
	text-decoration: none;
}

.ridest-reviews__summary-count:hover,
.ridest-reviews__summary-count:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ridest-reviews__controls {
	display: none;
}

.ridest-reviews__viewport {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ridest-reviews__viewport::-webkit-scrollbar {
	display: none;
}

.ridest-reviews__track {
	display: flex;
	gap: 16px;
	width: max-content;
	padding: 0 0 4px;
}

.ridest-review-card {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	width: min(82vw, 340px);
	min-height: 390px;
	padding: 26px 22px 24px;
	border: 1px solid #c9c9c4;
	border-radius: 5px;
	background: #fff;
	color: #111;
	box-sizing: border-box;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.ridest-review-card__stars {
	margin-bottom: 30px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 17px;
	line-height: 1;
}

.ridest-review-card__stars span:not(.is-filled) {
	color: #d5d5d0;
}

.ridest-review-card blockquote {
	margin: 0;
	color: #181818;
	font-family: "IBM Plex Sans", Arial, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.48;
}

.ridest-review-card footer {
	margin-top: auto;
	padding-top: 30px;
}

.ridest-review-card footer a,
.ridest-review-card footer > span {
	display: inline-flex;
	gap: 8px;
	align-items: baseline;
	color: #111;
	font-family: "IBM Plex Mono", "Courier New", monospace;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

.ridest-review-card footer > span,
.ridest-review-author-name {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ridest-external-arrow {
	display: inline-block;
	color: currentColor;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 1em;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	text-decoration: none !important;
}

.ridest-external-arrow::before {
	content: "\2197";
}

.ridest-reviews__footer {
	display: flex;
	justify-content: center;
	padding-top: 46px;
}

.ridest-reviews__google-link {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border: 1px solid #111;
	border-radius: 6px;
	background: #111;
	color: #fff;
	font-family: "IBM Plex Mono", "Courier New", monospace;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.ridest-reviews__google-link:hover,
.ridest-reviews__google-link:focus-visible {
	background: transparent;
	color: #111;
	transform: translateY(-2px);
}

@media (min-width: 768px) {
	.ridest-reviews {
		padding-top: 100px;
		padding-bottom: 108px;
	}

	.ridest-reviews__inner {
		padding-right: 36px;
		padding-left: 36px;
	}

	.ridest-reviews__track {
		gap: 22px;
	}

	.ridest-review-card {
		width: 380px;
		min-height: 400px;
		padding: 30px 28px 26px;
	}
}

@media (min-width: 1025px) {
	.ridest-reviews {
		padding-top: 120px;
		padding-bottom: 126px;
	}

	.ridest-reviews__inner {
		padding-right: 20px;
		padding-left: 20px;
	}

	.ridest-reviews__header {
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 36px;
		align-items: end;
		margin-bottom: 60px;
	}

	.ridest-reviews__eyebrow {
		font-size: 12px;
	}

	.ridest-reviews h2 {
		font-size: clamp(64px, 5vw, 76px);
	}

	.ridest-reviews__summary {
		justify-content: flex-end;
		padding-bottom: 12px;
		font-size: 13px;
	}

	.ridest-reviews__controls {
		display: flex;
		gap: 8px;
		padding-bottom: 1px;
	}

	.ridest-reviews button.ridest-reviews__control {
		display: inline-grid;
		width: 46px;
		height: 46px;
		padding: 0;
		place-items: center;
		border: 1px solid #111;
		border-radius: 50%;
		background: transparent;
		color: #111;
		font-family: "IBM Plex Mono", "Courier New", monospace;
		font-size: 18px;
		line-height: 1;
		cursor: pointer;
		transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
	}

	.ridest-reviews button.ridest-reviews__control:hover,
	.ridest-reviews button.ridest-reviews__control:focus-visible {
		background: #111;
		color: #fff;
	}

	.ridest-reviews button.ridest-reviews__control:disabled {
		opacity: 0.28;
		cursor: default;
	}

	.ridest-reviews button.ridest-reviews__control:disabled:hover {
		background: transparent;
		color: #111;
	}

	.ridest-reviews__track {
		gap: 24px;
	}

	.ridest-review-card {
		width: 400px;
		min-height: 410px;
		padding: 32px 30px 28px;
		transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), border-color 260ms ease;
	}

	.ridest-review-card:hover {
		border-color: #8e8e89;
		transform: translateY(-4px);
	}

	.ridest-review-card blockquote {
		font-size: 18px;
	}

	.ridest-reviews__footer {
		padding-top: 58px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ridest-review-card,
	.ridest-reviews__google-link {
		transition: none;
	}
}
