.adaptive_photo_layout ul {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	list-style: none;
}

.adaptive_photo_layout li {
	height: 40vh;
	flex-grow: 1;
}

.adaptive_photo_layout li:last-child {
	flex-grow: 10;
}

.adaptive_photo_layout img {
	max-height: 100%;
	min-width: 100%;
	object-fit: cover;
	vertical-align: bottom;
	width: auto;
	border-radius: 0;
}

@media (max-aspect-ratio: 1/1) {
	.adaptive_photo_layout li {
		height: 30vh;
	}
}

@media (max-height: 480px) {
	.adaptive_photo_layout li {
		height: 80vh;
	}
}

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

	.adaptive_photo_layout li {
		height: auto;
		width: 100%;
	}

	.adaptive_photo_layout img {
		width: 100%;
		max-height: 75vh;
		min-width: 0;
	}
}
