/* Sri Customer Gallery — homepage square grid */
.sri-cg {
	--sri-cg-forest: #123b2a;
	--sri-cg-gold: #b89555;
	--sri-cg-cream: #f7f3ea;
	--sri-cg-muted: #6f7872;
	position: relative;
	padding: 4.25rem 0 4.5rem;
	overflow: hidden;
	font-family: var(--sri-sans, "Manrope", system-ui, sans-serif);
	color: #1d2721;
	background: linear-gradient(180deg, #fbf9f4 0%, #f3efe6 55%, #fbf9f4 100%);
}

.sri-cg__bg {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(ellipse 70% 50% at 10% 0%, rgba(184, 149, 85, 0.12), transparent 55%),
		radial-gradient(ellipse 60% 45% at 90% 100%, rgba(18, 59, 42, 0.08), transparent 50%);
	pointer-events: none;
}

.sri-cg__shell {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 2rem));
	margin: 0 auto;
}

.sri-cg__intro {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto 2.35rem;
}

.sri-cg__eyebrow {
	display: inline-block;
	margin-bottom: 0.6rem;
	padding: 0.2rem 0.7rem;
	border: 1px solid rgba(184, 149, 85, 0.45);
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sri-cg-gold);
	background: rgba(255, 255, 255, 0.65);
}

.sri-cg__title {
	margin: 0 0 0.7rem;
	font-family: var(--sri-serif, "Cormorant Garamond", Georgia, serif);
	font-size: clamp(2rem, 4vw, 2.85rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--sri-cg-forest);
}

.sri-cg__lead {
	margin: 0;
	color: var(--sri-cg-muted);
	line-height: 1.65;
	font-size: 1.02rem;
}

.sri-cg__empty {
	margin: 0 auto;
	max-width: 36rem;
	text-align: center;
	padding: 1.5rem 1.25rem;
	border-radius: 16px;
	border: 1px dashed rgba(18, 59, 42, 0.22);
	background: rgba(255, 255, 255, 0.75);
	color: var(--sri-cg-muted);
	line-height: 1.6;
}

.sri-cg__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.95rem;
}

.sri-cg__item {
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(18, 59, 42, 0.09);
	box-shadow: 0 10px 28px rgba(18, 59, 42, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sri-cg__item:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(18, 59, 42, 0.1);
}

.sri-cg__frame {
	position: relative;
	aspect-ratio: 1 / 1;
	background: #e8eee8;
	overflow: hidden;
}

.sri-cg__img,
.sri-cg__video,
.sri-cg__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
	background: #0f2f22;
}

.sri-cg__item.is-playing .sri-cg__video {
	object-fit: contain;
	background: #0a1f16;
}

.sri-cg__ph {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(145deg, #eef2e9, #dce6dc);
}

.sri-cg__play {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	cursor: pointer;
	background: rgba(18, 59, 42, 0.22);
	color: #fff;
	transition: background 0.2s ease;
}

.sri-cg__play:hover,
.sri-cg__play:focus-visible {
	background: rgba(18, 59, 42, 0.38);
	outline: none;
}

.sri-cg__play--embed {
	background: transparent;
}

.sri-cg__play--embed .sri-cg__img,
.sri-cg__play--embed .sri-cg__ph {
	z-index: 0;
}

.sri-cg__play--embed::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(18, 59, 42, 0.22);
	z-index: 1;
	pointer-events: none;
}

.sri-cg__play-ico {
	position: relative;
	z-index: 2;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: linear-gradient(160deg, #e4c890 0%, #b89555 100%);
	box-shadow: 0 10px 24px rgba(18, 59, 42, 0.28);
	display: grid;
	place-items: center;
}

.sri-cg__play-ico::before {
	content: "";
	width: 0;
	height: 0;
	margin-left: 3px;
	border-style: solid;
	border-width: 8px 0 8px 14px;
	border-color: transparent transparent transparent #123b2a;
}

.sri-cg__item.is-playing .sri-cg__play:not(.sri-cg__play--embed) {
	display: none;
}

.sri-cg__cap {
	padding: 0.7rem 0.85rem;
	font-size: 0.84rem;
	line-height: 1.4;
	color: #5a655c;
	background: #fff;
}

.sri-cg__more-wrap {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.sri-cg__more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 1.6rem;
	border: 1px solid rgba(18, 59, 42, 0.18);
	border-radius: 999px;
	background: #fff;
	color: var(--sri-cg-forest);
	font: inherit;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(18, 59, 42, 0.06);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sri-cg__more:hover,
.sri-cg__more:focus-visible {
	background: var(--sri-cg-forest);
	color: #fff;
	border-color: var(--sri-cg-forest);
	outline: none;
	transform: translateY(-1px);
}

.sri-cg__more.is-loading {
	opacity: 0.65;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.sri-cg__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.sri-cg {
		padding: 3.25rem 0 3.5rem;
	}
	.sri-cg__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.7rem;
	}
	.sri-cg__play-ico {
		width: 46px;
		height: 46px;
	}
	.sri-cg__item {
		border-radius: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sri-cg__item,
	.sri-cg__more {
		transition: none;
	}
	.sri-cg__item:hover {
		transform: none;
	}
}
