/* Guest reviews (home page): posters pegged on a twine line */
.vs-reviews {
	position: relative;
	padding: 84px 0 72px;
	background:
		radial-gradient(1200px 420px at 15% -10%, rgba(184, 134, 59, 0.18), transparent 60%),
		radial-gradient(900px 380px at 95% 110%, rgba(74, 107, 71, 0.45), transparent 60%),
		var(--vs-green-900, #1f3320);
	color: #e9efe6;
	overflow: hidden;
}
.vs-reviews__head { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.vs-reviews .vs-eyebrow { color: #d9b77a; justify-content: center; }
.vs-reviews h2 { color: #fff; margin: 6px 0 12px; font-size: clamp(30px, 2.2vw + 18px, 44px); }
.vs-reviews__lead { color: rgba(233, 239, 230, 0.82); font-size: 17px; margin: 0; }

.vs-reviews__viewport { position: relative; }

/* The track scrolls; the twine is painted on its scrollable content so it moves with the posters. */
.vs-reviews__track {
	--rope-y: 30px;
	list-style: none;
	margin: 0 -15px;
	padding: 52px 30px 34px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 292px;
	gap: 34px;
	align-items: start;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding: 0 30px;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
	-webkit-overflow-scrolling: touch;
	background:
		linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)) 0 calc(var(--rope-y) + 3px) / 100% 1px no-repeat local,
		repeating-linear-gradient(90deg, #c8a26a 0 6px, #a9824c 6px 9px) 0 var(--rope-y) / 100% 2px no-repeat local;
	-webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 80px), transparent 100%);
	mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 80px), transparent 100%);
}
.vs-reviews__track.is-end { -webkit-mask-image: none; mask-image: none; }
.vs-reviews__track:focus-visible { outline: 2px solid #d9b77a; outline-offset: 4px; border-radius: 12px; }
.vs-reviews__track::-webkit-scrollbar { height: 6px; }
.vs-reviews__track::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.22); border-radius: 6px; }

.vs-review { scroll-snap-align: start; --tilt: -1.6deg; }
.vs-review:nth-child(4n + 2) { --tilt: 1.2deg; }
.vs-review:nth-child(4n + 3) { --tilt: -0.6deg; }
.vs-review:nth-child(4n + 4) { --tilt: 2deg; }
.vs-review:nth-child(3n + 1) .vs-review__card { margin-top: 6px; }

.vs-review__card {
	position: relative;
	margin: 0;
	padding: 22px 22px 18px;
	color: var(--vs-text, #3d403a);
	border-radius: 4px;
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.7), transparent 60%),
		radial-gradient(90% 70% at 100% 100%, rgba(214, 196, 160, 0.25), transparent 70%),
		#fbf7ee;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.6) inset,
		0 2px 4px rgba(0, 0, 0, 0.18),
		0 18px 30px -12px rgba(0, 0, 0, 0.5);
	transform: rotate(var(--tilt));
	transform-origin: 50% -22px;
	transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1.2), box-shadow 0.3s ease;
}
/* Wooden peg */
.vs-review__card::before {
	content: "";
	position: absolute;
	top: -26px;
	left: 50%;
	width: 12px;
	height: 40px;
	margin-left: -6px;
	border-radius: 3px;
	background: linear-gradient(90deg, #8a6236 0, #c99a5e 45%, #a87a45 55%, #7c5630 100%);
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}
.vs-review__card::after {
	content: "";
	position: absolute;
	top: -14px;
	left: 50%;
	width: 16px;
	height: 3px;
	margin-left: -8px;
	border-radius: 2px;
	background: #6d6a63;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
.vs-review__card:hover,
.vs-review:focus-within .vs-review__card {
	transform: rotate(0deg) translateY(-3px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.6) inset,
		0 4px 8px rgba(0, 0, 0, 0.18),
		0 26px 40px -14px rgba(0, 0, 0, 0.55);
}

.vs-review__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.vs-review__score {
	display: inline-flex;
	align-items: baseline;
	gap: 1px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--vs-green-800, #2d452c);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
}
.vs-review__score small { font-size: 13px; opacity: 0.75; font-weight: 500; }
.vs-review__brand { height: 24px; width: auto; opacity: 0.85; }

.vs-review__title {
	font-family: var(--vs-font-display, Georgia, serif);
	font-weight: 600;
	font-size: 19px;
	line-height: 1.28;
	color: var(--vs-ink, #2a2c28);
	margin: 0 0 8px;
}
.vs-review__title::before {
	content: "\201C";
	color: var(--vs-ochre, #b8863b);
	margin-right: 2px;
}
.vs-review__text { margin: 0 0 6px; padding: 0; border: 0; }
.vs-review__text p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--vs-text, #3d403a);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	line-clamp: 7;
	overflow: hidden;
}
.vs-review.is-open .vs-review__text p { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.vs-review__more {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin: -6px 0 -2px;
	padding: 10px 0;
	border: 0;
	background: none;
	color: var(--vs-green-600, #4a6b47);
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.vs-review__more:hover, .vs-review__more:focus-visible { color: var(--vs-ochre-dark, #94692a); }

.vs-review__by {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed rgba(45, 69, 44, 0.22);
}
.vs-review__avatar {
	flex: 0 0 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, #d9b77a, var(--vs-ochre, #b8863b));
	color: #fff;
	font-family: var(--vs-font-display, Georgia, serif);
	font-weight: 600;
	font-size: 16px;
}
.vs-review__who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.vs-review__who strong { font-weight: 600; color: var(--vs-ink, #2a2c28); }
.vs-review__who span { font-size: 14px; color: var(--vs-muted, #6b7066); }
.vs-review__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0 0;
	font-size: 14px;
	color: var(--vs-muted, #6b7066);
}
.vs-review__meta .vs-icon { color: var(--vs-green-600, #4a6b47); flex: 0 0 auto; }
.vs-review__meta-room { color: var(--vs-ink, #2a2c28); font-weight: 500; }
.vs-review__meta-room::after { content: "\00B7"; margin: 0 6px; color: var(--vs-muted, #6b7066); font-weight: 400; }

.vs-reviews__controls { display: flex; justify-content: center; gap: 12px; margin-top: 4px; }
.vs-reviews__btn {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}
.vs-reviews__btn[data-dir="-1"] .vs-icon { transform: rotate(180deg); }
.vs-reviews__btn:hover:not(:disabled) { background: var(--vs-ochre, #b8863b); border-color: var(--vs-ochre, #b8863b); }
.vs-reviews__btn:focus-visible { outline: 2px solid #d9b77a; outline-offset: 3px; }
.vs-reviews__btn:disabled { opacity: 0.35; cursor: default; }

.vs-reviews__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; margin-top: 28px; }
.vs-reviews__foot .btn_1 { background: var(--vs-ochre-dark, #94692a); }
.vs-reviews__foot .btn_1:hover { background: #fff; color: var(--vs-green-900, #1f3320); }

@media (max-width: 767px) {
	.vs-reviews { padding: 60px 0 52px; }
	.vs-reviews__track {
		grid-auto-columns: 78%;
		gap: 22px;
		padding: 48px 20px 28px;
		-webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
		mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
	}
	.vs-review__card { padding: 20px 18px 16px; }
	.vs-review__title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.vs-review__card, .vs-reviews__btn { transition: none; }
}
