.gallery-custom-ac {
	display: grid;
	grid-template-columns: repeat(2, 50%);
}

.gallery-custom-ac a {
	line-height: 0;
	font-size: 0;
	padding-top: 100%;
	position: relative;
}

.gallery-custom-ac figure {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	top: 0;
	left: 0;
}

.custom-ac-gallery h2 {
	font-family: 'Rubik', sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 28px;
	line-height: 30px;
	text-align: center;
	letter-spacing: -0.03em;
	color: #242424;
	padding: 80px 0;
}

@media screen and (min-width: 576px) {
	.gallery-custom-ac {
		grid-template-columns: repeat(3, 33.33%);
	}
}

@media screen and (min-width: 768px) {
	.gallery-custom-ac {
		grid-template-columns: repeat(4, 25%);
	}
	.custom-ac-gallery h2 {
		font-size: 40px;
		line-height: 46px;
	}
}