/* Sluder Ring Gallery */

.srg-grid {
	display: grid;
	grid-template-columns: repeat(var(--srg-cols, 3), 1fr);
	gap: 0;
	width: 100%;
	background: #fff;
}

.srg-item {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #fff;
	cursor: pointer;
	z-index: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover: lift the grid box above its neighbours so it reads as prominent. */
.srg-item:hover {
	transform: scale(1.04);
	z-index: 2;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Honour reduced-motion: keep the shadow cue, drop the scale animation. */
@media (prefers-reduced-motion: reduce) {
	.srg-item {
		transition: box-shadow 0.25s ease;
	}

	.srg-item:hover {
		transform: none;
	}
}

.srg-video,
.srg-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #fff;
}

/* Responsive: tighten columns on smaller screens. */
@media (max-width: 1024px) {
	.srg-grid {
		grid-template-columns: repeat(min(var(--srg-cols, 3), 2), 1fr);
	}
}

@media (max-width: 600px) {
	.srg-grid {
		grid-template-columns: 1fr;
	}
}
