.frame-type-r2_imagegallery header + *{ margin-top:calc(var(--gap)*2); }
	.frame-type-r2_imagegallery .grid{ display:grid; gap:calc(var(--gap)*2); align-items:center; justify-items:center; grid-template-columns:repeat(2, 1fr); }
@media screen and (min-width:400px){
.frame-type-r2_imagegallery .grid{ grid-template-columns:repeat(3, 1fr); }
}
@media screen and (min-width:500px){
.frame-type-r2_imagegallery .grid{ grid-template-columns:repeat(5, 1fr); }
}
@media screen and (min-width:900px){
	.frame-type-r2_imagegallery .grid.cols-8{ grid-template-columns:repeat(8, 1fr); }
	.frame-type-r2_imagegallery .grid.cols-5{ grid-template-columns:repeat(5, 1fr); }
}

		.frame-type-r2_imagegallery figure{ margin:0; aspect-ratio:3 / 2; display:block; text-align:center; width:100%; }
			.frame-type-r2_imagegallery .image{ width:100%; height:100%; }

				.frame-type-r2_imagegallery .image img{	max-width:100%; max-height:100%; object-fit:contain; width:100%; height:100%; display:block; margin: 0 auto; }


	    /*###
		//# Lightbox
		###*/

		.r2_imagegallery.glightbox-content .lightbox-grid{ display:grid; grid-template-columns:minmax(0, 200px) 1fr; gap:calc(var(--gap)*2); margin-bottom:2em; }
		.r2_imagegallery.glightbox-content h3{ font-weight:bold; }
	@media screen and (max-width:575px){
		.r2_imagegallery.glightbox-content .lightbox-grid{ grid-template-columns:1fr; }
			.r2_imagegallery.glightbox-content .lightbox-grid .image{ margin:0 auto 1em auto; max-width:200px; }
	}