/* Copyright (c) 2026-2027 Zach Metcalf. All Rights Reserved. */

.games-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

.games-gallery a {
	display: grid;
	gap: 0.75rem;
	color: inherit;
	text-decoration: none;
}

.games-gallery a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.games-gallery h2 {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.25;
}

.games-gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

@media (min-width: 40rem) {
	.games-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
