.gallery {
	background: var(--color-white);
	padding-block: 0;
	width: 100%;
}

.gallery__inner {
	position: relative;
	width: 100%;
}

.gallery__grid {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.gallery__item {
	margin: 0;
}

.gallery__trigger {
	appearance: none;
	background: var(--color-black);
	border: 0;
	cursor: zoom-in;
	display: block;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.gallery__trigger:focus-visible {
	outline: 2px solid var(--color-green);
	outline-offset: -2px;
	z-index: 1;
}

.gallery__image {
	aspect-ratio: 1 / 1;
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease, opacity 0.35s ease;
	width: 100%;
}

.gallery__trigger:hover .gallery__image,
.gallery__trigger:focus-visible .gallery__image {
	opacity: 0.82;
	transform: scale(1.05);
}

.gallery__placeholder {
	aspect-ratio: 1 / 1;
	background:
		linear-gradient(145deg, rgba(48, 96, 44, 0.18), rgba(13, 13, 13, 0.08)),
		var(--color-border);
	display: block;
}

.gallery__badge {
	align-items: center;
	background: var(--color-white);
	border-radius: 50%;
	box-shadow: 0 0.5rem 1.5rem rgba(13, 13, 13, 0.18);
	color: var(--color-black);
	display: flex;
	height: 4.5rem;
	justify-content: center;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
	width: 4.5rem;
	z-index: 2;
}

.gallery__badge:hover,
.gallery__badge:focus-visible {
	background: var(--color-green);
	color: var(--color-white);
	transform: translate(-50%, -50%) scale(1.06);
}

.gallery__badge:focus-visible {
	outline: 2px solid var(--color-green);
	outline-offset: 3px;
}

.gallery__badge-icon {
	display: block;
}

@media (min-width: 48rem) {
	.gallery__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gallery__badge {
		height: 5.25rem;
		width: 5.25rem;
	}
}

@media (min-width: 64rem) {
	.gallery__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}
