.image-gallery--row {
	font-size: 5px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin: 0 -1em 1em;
}

.image-gallery--column {
	min-height: 1px;
	width: 50%;
	padding: 1em;
}

.image-gallery--image {
	position: relative;
}

.image-gallery--image:before {
	content: "";
	display: block;
	padding-bottom: 100%;
}

.image-gallery--image img {
	position: absolute;
	top: 0;
	left: 0;
}

.style-one .image-gallery--column:nth-child(10n + 5),
.style-one .image-gallery--column:nth-child(10n + 6) {
	width: 100%;
}

.style-one .image-gallery--column:nth-child(10n + 5) .image-gallery--image:before {padding-bottom: 50%;}
.style-one .image-gallery--column:nth-child(10n + 6) .image-gallery--image:before {padding-bottom: 50%;}

@media (min-width: 768px) {
	.style-one .image-gallery--column {
		width: 25%;
	}
	
	.style-one .image-gallery--column:nth-child(10n + 5),
	.style-one .image-gallery--column:nth-child(10n + 6) {
		width: 50%;
	}
}

.style-two .image-gallery--column:nth-child(5n + 3) {
	width: 100%;
}

.style-two .image-gallery--column:nth-child(5n + 3) .image-gallery--image:before {padding-bottom: 50%;}