/**
 * added by CL 20261027 09:55:00 Column layout for project gallery images on the public page.
 */
.project-body .sh-image-gallery,
.project-single .sh-image-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.project-body .sh-image-gallery[data-columns="1"],
.project-single .sh-image-gallery[data-columns="1"] {
	grid-template-columns: minmax(0, 1fr);
}

.project-body .sh-image-gallery[data-columns="2"],
.project-single .sh-image-gallery[data-columns="2"] {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-body .sh-image-gallery[data-columns="4"],
.project-single .sh-image-gallery[data-columns="4"] {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-body .sh-image-gallery[data-columns="5"],
.project-single .sh-image-gallery[data-columns="5"] {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.project-body .sh-image-gallery-item img,
.project-single .sh-image-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 767px) {
	.project-body .sh-image-gallery,
	.project-single .sh-image-gallery,
	.project-body .sh-image-gallery[data-columns="2"],
	.project-single .sh-image-gallery[data-columns="2"],
	.project-body .sh-image-gallery[data-columns="4"],
	.project-single .sh-image-gallery[data-columns="4"],
	.project-body .sh-image-gallery[data-columns="5"],
	.project-single .sh-image-gallery[data-columns="5"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
