
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
	width: 100%;
	max-width: 900px;
	margin-top: 15px;
}

.gallery-item {
	background: var(--terminal-bg);
	border: 1px solid var(--terminal-border);
	padding: 12px;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.gallery-item:hover {
	border-color: var(--accent-orange);
}

.gallery-item .image-frame {
	width: 100%;
	height: 220px;
	border: 1px solid #444;
	background: #000;
	overflow: hidden;
	margin-bottom: 8px;
}

.gallery-item .image-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(30%) contrast(110%);
	transition: filter 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .image-frame img {
	filter: grayscale(0%) contrast(100%);
	transform: scale(1.03);
}

.gallery-caption {
	font-size: 1rem;
	color: #888;
	text-align: center;
	letter-spacing: 1px;
}

@media (max-width: 600px) {
	.gallery-grid {
		grid-template-columns: 1fr;
	}
}

.gallery-link {
	display: block;
	text-decoration: none;
	cursor: pointer;
}




