/* School-service albums: balanced rows with naturally proportioned photos. */
.sa-detail-section > .sa-service-album.alignwide {
	box-sizing: border-box;
	width: 100%;
	max-width: 1160px;
	min-width: 0;
	margin: 2.75rem auto 0;
	padding: clamp(1.1rem, 3vw, 2.25rem);
	border: 1px solid rgba(89, 108, 81, .14);
	border-top: 3px solid #95a38b;
	background: #e5ebdf;
}
.sa-detail-section > .sa-service-album.sa-service-album--sand { background: #eee7dd; border-top-color: #b5a189; }
.sa-detail-section > .sa-service-album.sa-service-album--sky { background: #e1e8e7; border-top-color: #91a7a2; }
.sa-service-album > .sa-service-album__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: none;
	margin: 0 0 1.5rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid rgba(89, 108, 81, .18);
}
.sa-service-album__header > p { max-width: none; margin: 0 !important; }
.sa-service-album__label { color: #43523e; font-size: .85rem; font-weight: 600; letter-spacing: .1em; line-height: 1.6; }
.sa-service-album__count { flex: 0 0 auto; color: #606b5b; font-size: .75rem; line-height: 1.6; white-space: nowrap; }
.sa-service-album > .sa-service-album__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: 1.5rem;
	max-width: none;
	margin: 0;
	padding: 0;
}
.sa-service-album__grid > .sa-service-album__photo {
	box-sizing: border-box;
	display: block;
	flex: 0 0 calc((100% - 1.5rem) / 2);
	width: calc((100% - 1.5rem) / 2);
	max-width: none;
	min-width: 0;
	margin: 0 !important;
	padding: .65rem;
	border: 1px solid rgba(63, 66, 61, .1);
	background: #fffdf9;
}
.sa-service-album .sa-service-album__photo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	background: transparent;
}
.sa-service-album .sa-service-album__photo figcaption {
	margin: .75rem .25rem .2rem;
	color: #60685e;
	font-size: .82rem;
	line-height: 1.65;
	text-align: center;
}
@media (min-width: 1024px) {
	.sa-service-album > .sa-service-album__grid:has(> .sa-service-album__photo:nth-child(3)) > .sa-service-album__photo {
		flex-basis: calc((100% - 3rem) / 3);
		width: calc((100% - 3rem) / 3);
	}
}
@media (max-width: 599px) {
	.sa-detail-section > .sa-service-album.alignwide { margin-top: 2rem; padding: 1rem; }
	.sa-service-album > .sa-service-album__grid { gap: 1rem; }
	.sa-service-album__grid > .sa-service-album__photo { flex-basis: 100%; width: 100%; padding: .5rem; }
	.sa-service-album > .sa-service-album__header { margin-bottom: 1rem; }
	.sa-service-album__label { font-size: .8rem; letter-spacing: .06em; }
}
