.gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.gallery-filter {
	border: 1px solid rgba(215, 155, 53, 0.45);
	background: #fff;
	color: #4a2c0a;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.9rem;
}

.gallery-filter.active,
.gallery-filter:hover {
	background: var(--maroon, #5c1a1a);
	border-color: var(--maroon, #5c1a1a);
	color: #fff;
}

.gallery-category {
	margin-bottom: 2.5rem;
}

.gallery-category h2 {
	margin-top: 0;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.9rem;
}

.gallery-item {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(215, 155, 53, 0.3);
	aspect-ratio: 4 / 3;
	background: #1a120c;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
}

.gallery-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.45rem 0.6rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
	color: #fff;
	font-size: 0.8rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 576px) {
	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
