.gallery-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	background: #f7f7f7;
	cursor: pointer;
}

.gallery-full-row {
	grid-column: span 2;
}

.gallery-link {
	display: block;
	width: 100%;
}

.gallery-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	overflow: hidden;
	transition: transform 0.4s ease;
}

.gallery-info {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 24px;
	text-align: center;
	color: #fff;
	background: rgba(0, 0, 0, 0.65);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-info > p {
	color: #ffffff;
	font-size: 14px;
}

.gallery-item:hover .gallery-info {
	opacity: 1;
}

.gallery-item:hover .gallery-image {
	transform: scale(1.03);
}

@media (max-width: 600px) {
	.gallery {
		gap: 10px;
	}

	.gallery-item {
		aspect-ratio: 3 / 4;
	}
}
