.gallery-section {
	background: #f3f3f0;
}
.gallery-status {
	margin: 1.5rem 0;
	font-size: 0.85rem;
	color: #555;
}
.photo-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}
.photo-grid figure {
	margin: 0;
	min-width: 0;
}
.photo-grid a {
	display: block;
	overflow: hidden;
	background: #ddd;
}
.photo-grid img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.25s;
}
.photo-grid a:hover img {
	transform: scale(1.025);
}
.photo-grid figcaption {
	padding-top: 0.8rem;
	font-size: 0.8rem;
	overflow-wrap: anywhere;
}
.gallery-placeholder {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
	background: #e0e0e0;
	color: #626262;
	aspect-ratio: 4 / 3;
	text-align: center;
	padding: 1rem;
	border: 1px dashed #aaa;
}
.gallery-placeholder strong {
	font: 600 1.5rem var(--head);
}
.gallery-placeholder span {
	font-size: 0.8rem;
}
.pswp {
	z-index: 2000;
}
.pswp__caption {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	max-height: 25vh;
	overflow: auto;
	padding: 18px 24px;
	text-align: center;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 0.9rem;
}
@media (max-width: 991px) {
	.photo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 575px) {
	.photo-grid {
		grid-template-columns: 1fr;
	}
}
@media (prefers-reduced-motion: reduce) {
	.photo-grid img {
		transition: none;
	}
}
