/* Equal-height items per row in the service and "Waarom" widgets. */
@media (min-width: 768px) {
	.acme-services .featured-entries-col,
	.acme-classes .featured-entries-col {
		display: flex;
		flex-wrap: wrap;
	}

	/* Bootstrap's clearfix pseudo-elements would become flex items. */
	.acme-services .featured-entries-col::before,
	.acme-services .featured-entries-col::after,
	.acme-classes .featured-entries-col::before,
	.acme-classes .featured-entries-col::after {
		display: none;
	}

	.acme-services .featured-entries-col > .single-list,
	.acme-classes .featured-entries-col > .single-list {
		display: flex;
		float: none;
	}

	.acme-services .single-item,
	.acme-classes .class-item {
		width: 100%;
	}
}

/* Same image shape on every "Waarom" card, so a tall photo does not stretch its row. */
.acme-classes .class-img-box img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Two items per row on tablet and small desktop (Bootstrap sm and md). */
@media (min-width: 768px) and (max-width: 1199px) {
	.acme-services .featured-entries-col > .single-list,
	.acme-classes .featured-entries-col > .single-list {
		width: 50%;
	}
}

/* Same image shape for the blog cards on the homepage (not the footer list). */
.acme-col-posts .single-list:not(.col-sm-12) .post-thumb img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/*
 * The theme's sticky-footer script reserves the footer height as margin under #page,
 * also when the footer is static (body.at-front-no-feature). That leaves an empty gap.
 */
.at-front-no-feature #page {
	margin-bottom: 0 !important;
}
