.pswp-gallery {
	display: flex;
	flex-wrap: wrap;
	margin: 0.2em;
	padding: 0;
	list-style-type: none;
}

.pswp-gallery::after {
	content: '';
	display: block;
	flex-grow: 10;
}

@media (max-aspect-ratio: 1 / 1) and (max-width: 480px) {
	.pswp-gallery {
		flex-direction: row;
	}
}

.pswp-gallery a {
	flex-grow: 1;
	height: 200px;
	margin: 0.2em;
}

@media (max-aspect-ratio: 1 / 1) {
	.pswp-gallery a {
		height: 30vh;
	}
}

@media (max-height: 480px) {
	.photogpswp-galleryallery a {
		height: 80vh;
	}
}

@media (max-aspect-ratio: 1 / 1) and (max-width: 480px) {
	.pswp-gallery a {
		height: auto;
		width: 100%;
	}
}

.pswp-gallery a img {
	min-width: 100%;
	height: 100%;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}

@media (max-aspect-ratio: 1 / 1) and (max-width: 480px) {
	.pswp-gallery a img {
		width: 100%;
		max-height: 75vh;
		min-width: 0;
	}
}
