.cch-review-gallery {
	--cch-gallery-border: #d7dde5;
	--cch-gallery-gold: #e5b445;
	--cch-gallery-ink: #071a33;
	margin: 24px 0;
	overflow: hidden;
}

.cch-review-gallery__header {
	align-items: end;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin-bottom: 16px;
	padding: 0 28px;
}

.cch-review-gallery__header h2 {
	color: var(--cch-gallery-ink);
	font-family: "Playfair Display", Georgia, serif;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.16;
	margin: 8px 0 0;
}

.cch-review-gallery__controls {
	display: flex;
	flex: 0 0 auto;
	gap: 10px;
}

.cch-review-gallery__arrow {
	align-items: center;
	background: #fff;
	border: 1px solid var(--cch-gallery-border);
	border-radius: 8px;
	color: var(--cch-gallery-ink);
	cursor: pointer;
	display: flex;
	font-size: 22px;
	height: 48px;
	justify-content: center;
	line-height: 1;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
	width: 48px;
}

.cch-review-gallery__arrow:hover:not(:disabled),
.cch-review-gallery__arrow:focus-visible {
	background: var(--cch-gallery-ink);
	border-color: var(--cch-gallery-ink);
	color: #fff;
}

.cch-review-gallery__arrow:disabled {
	cursor: default;
	opacity: .35;
}

.cch-review-gallery__body {
	align-items: start;
	display: grid;
	gap: clamp(14px, 2vw, 24px);
	grid-template-columns: minmax(220px, 282px) minmax(0, 1fr);
}

.cch-review-gallery__pinned {
	aspect-ratio: 1;
	min-width: 0;
	position: relative;
}

.cch-review-gallery__viewport {
	min-width: 0;
	overflow: hidden;
}

.cch-review-gallery__track {
	display: flex;
	gap: clamp(14px, 2vw, 22px);
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 10px;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-color: #8793a3 transparent;
	scrollbar-width: thin;
}

.cch-review-gallery__track:focus-visible {
	outline: 2px solid var(--cch-gallery-gold);
	outline-offset: 3px;
}

.cch-review-gallery__slide {
	flex: 0 0 clamp(260px, 36vw, 390px);
	min-width: 0;
	scroll-snap-align: start;
}

.cch-review-gallery__image-link {
	background: #eef1f5;
	border: 1px solid var(--cch-gallery-border);
	border-radius: 12px;
	box-sizing: border-box;
	display: block;
	height: 100%;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.cch-review-gallery__pinned .cch-review-gallery__image-link {
	background: #171717;
	border-color: #26364a;
}

.cch-review-gallery__image {
	display: block;
	height: 100%;
	object-fit: contain;
	transition: transform .25s ease;
	width: 100%;
}

.cch-review-gallery__image.is-pinned {
	padding: clamp(24px, 3vw, 42px) clamp(28px, 4vw, 48px) clamp(98px, 9vw, 112px);
}

.cch-review-gallery__cta {
	align-items: center;
	background: linear-gradient(90deg, #ff9d00 0%, #ff6a00 100%);
	border-radius: 10px;
	bottom: clamp(20px, 2.2vw, 28px);
	box-shadow: 0 8px 20px rgba(255, 115, 0, .35);
	color: #ff155f;
	display: flex;
	font-size: 16px;
	font-weight: 800;
	height: 52px;
	justify-content: center;
	left: 50%;
	line-height: 1;
	max-width: 220px;
	padding: 0 24px;
	position: absolute;
	text-align: center;
	text-decoration: underline;
	text-transform: uppercase;
	transform: translateX(-50%);
	transition: box-shadow .2s ease, transform .2s ease;
	width: calc(100% - 54px);
	z-index: 3;
}

.cch-review-gallery__cta:hover,
.cch-review-gallery__cta:focus-visible {
	box-shadow: 0 10px 26px rgba(255, 115, 0, .52);
	color: #ff155f;
	transform: translate(-50%, -2px);
}

.cch-review-gallery__cta:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.cch-review-gallery__slide .cch-review-gallery__image-link {
	aspect-ratio: 4 / 3;
}

.cch-review-gallery__image-link:hover .cch-review-gallery__image,
.cch-review-gallery__image-link:focus-visible .cch-review-gallery__image {
	transform: scale(1.025);
}

.cch-review-gallery__image-link:focus-visible {
	outline: 3px solid var(--cch-gallery-gold);
	outline-offset: 2px;
}

.cch-review-gallery__expand {
	align-items: center;
	background: rgba(255, 255, 255, .94);
	border-radius: 7px;
	color: var(--cch-gallery-ink);
	display: flex;
	font-family: Arial, sans-serif;
	font-size: 21px;
	height: 40px;
	justify-content: center;
	position: absolute;
	right: 10px;
	top: 10px;
	width: 40px;
}

.cch-review-gallery__dialog {
	background: transparent;
	border: 0;
	box-sizing: border-box;
	max-height: 94vh;
	max-width: 94vw;
	overflow: visible;
	padding: 0;
	width: auto;
}

.cch-review-gallery__dialog::backdrop {
	background: rgba(2, 12, 27, .88);
}

.cch-review-gallery__dialog img {
	background: #fff;
	border-radius: 10px;
	display: block;
	max-height: 90vh;
	max-width: 90vw;
	object-fit: contain;
}

.cch-review-gallery__dialog-close {
	align-items: center;
	background: #fff;
	border: 0;
	border-radius: 50%;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .28);
	color: var(--cch-gallery-ink);
	cursor: pointer;
	display: flex;
	font-size: 30px;
	height: 44px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 4px;
	position: absolute;
	right: -14px;
	top: -14px;
	width: 44px;
	z-index: 2;
}

@media (max-width: 760px) {
	.cch-review-gallery__header {
		align-items: flex-start;
		padding: 0 18px;
	}

	.cch-review-gallery__header h2 {
		font-size: 32px;
	}

	.cch-review-gallery__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.cch-review-gallery__pinned {
		max-width: 240px;
	}

	.cch-review-gallery__slide {
		flex-basis: min(84vw, 340px);
	}

	.cch-review-gallery__dialog-close {
		right: 4px;
		top: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cch-review-gallery__track {
		scroll-behavior: auto;
	}

	.cch-review-gallery__image {
		transition: none;
	}
}
