/* Clean tile grid — no pseudo overlays, no animations */
.tilesnoanimation {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	margin: -2.5em 0 0 -2.5em;
}

.tilesnoanimation article {
	position: relative;
	width: calc(33.33333% - 2.5em);
	margin: 2.5em 0 0 2.5em;
}

.tilesnoanimation article > .image {
	display: block;
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
}

.tilesnoanimation article > .image img {
	display: block;
	width: 100%;
}

.tilesnoanimation article > .image:before,
.tilesnoanimation article > .image:after {
	display: none;
}

.tilesnoanimation article > a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 1em;
	border-radius: 4px;
	border-bottom: 0;
	color: #ffffff;
	text-align: center;
	text-decoration: none;
	z-index: 3;
}

.tilesnoanimation article > a h2 {
	margin: 0;
}

.tilesnoanimation article > a .content {
	width: 100%;
	margin-top: 0.35em;
	opacity: 1;
}

@media screen and (max-width: 980px) {
	.tilesnoanimation article {
		width: calc(50% - 2.5em);
	}
}

@media screen and (max-width: 480px) {
	.tilesnoanimation article {
		width: calc(100% - 2.5em);
	}
}

/* Remove tile hover effects */

/* No scale-up on image */
body:not(.is-touch) .tiles article:hover > .image {
	transform: none;
}

/* No overlay color change on hover */
body:not(.is-touch) .tiles article:hover > .image:before {
	background-color: inherit;
	opacity: 0.8;
}

/* Remove the X pattern entirely */
.tiles article > .image:after {
	display: none;
}

/* Always show the content text (was only visible on hover) */
.tiles article > a .content {
	max-height: none;
	opacity: 1;
}

/* No content reveal animation on hover */
body:not(.is-touch) .tiles article:hover .content {
	max-height: none;
	opacity: 1;
}
