@charset "UTF-8";
/*
	Photo gallery (modules/media/photo-gallery.php)
	As many thumbnails across as fit, each at least 60% of the gallery's
	thumbnail width (--photo-width, set by the module).
	In the modules layer that main.css declares, so main.css must load first.
*/
@layer modules {
	.photo-gallery {display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(var(--photo-width, 400px) * 0.6)), 1fr)); gap: 16px; margin: 0 0 1.5em;}
	.photo-item {display: block; overflow: hidden; border-radius: 8px;}
	.photo-item img {display: block; width: 100%; height: auto; transition: transform 0.3s;}
	.photo-item:hover img, .photo-item:focus-visible img {transform: scale(1.04);}
	@media (prefers-reduced-motion: reduce) {.photo-item img {transition: none;}}
}
