/* Team Image Gallery block (2.0.9): several photos in a row, wrapping on small screens. */
.team-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--team-gallery-gap, 1rem);
}
@media (min-width: 900px) {
	.team-gallery {
		grid-template-columns: repeat(min(var(--team-gallery-count, 3), 4), minmax(0, 1fr));
	}
}
.team-gallery__item {
	margin: 0;
}
.team-gallery__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
