/* =========================================================
   Media Scroll Gallery — auto-scrolling photo/video marquee
   ========================================================= */

.cpg-scroll-wrap {
	--cpg-scroll-duration: 35s;
	--cpg-scroll-gap: 16px;
	--cpg-tile-height: 420px;
	--cpg-tile-radius: 0px;

	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
}

.cpg-scroll-track {
	display: flex;
	align-items: flex-start;
	gap: var(--cpg-scroll-gap);
	width: max-content;
	animation: cpgScrollLeft var(--cpg-scroll-duration) linear infinite;
}

.cpg-scroll-track[data-direction="right"] {
	animation-name: cpgScrollRight;
}

.cpg-scroll-pausable:hover .cpg-scroll-track {
	animation-play-state: paused;
}

@keyframes cpgScrollLeft {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@keyframes cpgScrollRight {
	from { transform: translateX(-50%); }
	to   { transform: translateX(0); }
}

.cpg-scroll-tile {
	flex: 0 0 auto;
	height: var(--cpg-tile-height);
	width: calc(var(--cpg-tile-height) * 0.78);
	border-radius: var(--cpg-tile-radius);
	overflow: hidden;
	background: #e6e6e6;
}

.cpg-scroll-tile--wide {
	width: calc(var(--cpg-tile-height) * 1.35);
}

.cpg-scroll-tile a {
	display: block;
	width: 100%;
	height: 100%;
}

.cpg-scroll-tile img,
.cpg-scroll-tile video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cpg-scroll-placeholder {
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, #e6e6e6, #e6e6e6 10px, #dedede 10px, #dedede 20px);
}

/* ---------------- Reviews trust block ---------------- */

.cpg-reviews-block {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
	max-width: 640px;
	margin: 32px auto 0;
	padding: 0 20px;
	text-align: left;
	box-sizing: border-box;
}

.cpg-reviews-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 10px;
}

.cpg-reviews-quote {
	font-size: 34px;
	font-weight: 700;
	color: #111111;
	line-height: 1.1;
}

.cpg-reviews-stars {
	color: #111111;
	font-size: 20px;
	letter-spacing: 3px;
}

.cpg-reviews-summary {
	font-size: 17px;
	color: #333333;
	margin: 0 0 10px;
}

.cpg-reviews-summary strong,
.cpg-reviews-summary b {
	font-weight: 700;
}

.cpg-reviews-source {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 600;
	color: #111111;
	margin: 0;
	letter-spacing: 0.3px;
}

.cpg-reviews-source-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #111111;
	color: #ffffff;
	font-size: 11px;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 767px) {
	.cpg-scroll-wrap {
		--cpg-tile-height: 260px;
	}
	.cpg-reviews-quote {
		font-size: 26px;
	}
	.cpg-reviews-summary {
		font-size: 15px;
	}
}

/* Respect reduced-motion preference: stop the marquee for users who
   have asked their OS/browser to minimize animation. */
@media (prefers-reduced-motion: reduce) {
	.cpg-scroll-track {
		animation: none;
	}
}
