/*
 * SSK Mechanics — Google Reviews carousel
 * Mobile: horizontal snap-scroll (native touch feel, no JS needed).
 * Desktop/tablet: even card grid with a soft hover lift.
 */

.ssk-greviews {
	max-width: 1100px;
	margin: 32px auto;
	padding: 0 16px;
}

.ssk-greviews__head {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.ssk-greviews__glogo {
	flex-shrink: 0;
	display: inline-flex;
	width: 28px;
	height: 28px;
}

.ssk-greviews__glogo svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ssk-greviews__rating {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 800;
	color: #16181d;
}

.ssk-greviews__stars {
	color: #f4b400;
	font-size: 16px;
	letter-spacing: 1px;
	margin: 0 6px;
}

.ssk-greviews__count {
	font-size: 13px;
	color: #5a6473;
}

.ssk-greviews__cta {
	margin-left: auto;
	font-size: 13px;
	font-weight: 700;
	color: #d6001c;
	text-decoration: none;
	white-space: nowrap;
}

.ssk-greviews__cta:hover {
	text-decoration: underline;
}

.ssk-greviews__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 1fr);
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding: 4px 4px 14px;
	scrollbar-width: thin;
	grid-auto-rows: 1fr;
}

.ssk-greviews__track::-webkit-scrollbar {
	height: 6px;
}

.ssk-greviews__track::-webkit-scrollbar-thumb {
	background: #e3e7ee;
	border-radius: 100px;
}

.ssk-greviews__card {
	scroll-snap-align: start;
	background: #fff;
	border: 1.5px solid #e3e7ee;
	border-radius: 14px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	min-width: 0;
}

@media (hover: hover) {
	.ssk-greviews__card:hover {
		transform: translateY(-3px);
		box-shadow: 0 12px 24px rgba(22, 24, 29, 0.08);
		border-color: #d6001c;
	}
}

.ssk-greviews__card-top {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ssk-greviews__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.ssk-greviews__avatar--fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #16181d;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
}

.ssk-greviews__author {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #16181d;
	line-height: 1.3;
}

.ssk-greviews__meta {
	display: block;
	font-size: 11px;
	color: #94a0b3;
}

.ssk-greviews__card-stars {
	color: #f4b400;
	font-size: 14px;
	letter-spacing: 1px;
}

.ssk-greviews__text {
	font-size: 13px;
	line-height: 1.6;
	color: #3a4150;
	margin: 0;
	/* Fluid clamp keeps card heights sane without hard-cutting mid-word on
	   narrow viewports. */
	font-size: clamp(12.5px, 1.6vw, 13.5px);
}

.ssk-greviews__more {
	justify-content: center;
	align-items: flex-start;
	background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
	color: #16181d;
	text-decoration: none;
}

.ssk-greviews__more-mark {
	display: inline-flex;
	width: 34px;
	height: 34px;
	margin-bottom: 4px;
}

.ssk-greviews__more-mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ssk-greviews__more-kicker {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5a6473;
}

.ssk-greviews__more-title {
	font-size: 18px;
	line-height: 1.25;
	color: #16181d;
}

.ssk-greviews__more-copy {
	font-size: 13px;
	line-height: 1.55;
	color: #5a6473;
}

.ssk-greviews__more-cta {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	margin-top: 6px;
	padding: 8px 14px;
	border-radius: 8px;
	background: #d6001c;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.ssk-greviews__attribution {
	font-size: 11px;
	color: #94a0b3;
	text-align: center;
	margin: 4px 0 0;
}

.ssk-greviews__attribution a {
	color: #5a6473;
	text-decoration: underline;
}

/* Tablet: six equal tiles in a 2 x 3 grid. The sixth tile is an honest link
   to the complete Google history, not a duplicated or fabricated review. */
@media (min-width: 700px) {
	.ssk-greviews__track {
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow-x: visible;
		scroll-snap-type: none;
		padding-bottom: 4px;
	}
}

/* Laptop and desktop: an exact 3 x 2 composition at every wide viewport. */
@media (min-width: 1000px) {
	.ssk-greviews__track {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.ssk-greviews__head {
		gap: 8px;
	}
	.ssk-greviews__cta {
		margin-left: 0;
		width: 100%;
	}
}
