/* Bambou Gallery — plain grid, same look as the bambou06 template. */
.bambougallery-category h1 {
	color: #7E0135;
	text-align: center;
	font-size: 24px;
}

.bambougallery-description {
	margin: 10px 0 20px;
}

.bambougallery-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.bambougallery-item {
	margin: 0;
	width: 120px;
	text-align: center;
}

.bambougallery-item img {
	display: block;
	width: 120px;
	height: 90px;
	object-fit: cover;
	border: 1px solid #BFC0BF;
}

.bambougallery-item figcaption {
	font-size: 12px;
	margin-top: 4px;
}

.bambougallery-count {
	text-align: center;
	color: #666;
	font-size: 13px;
	margin-top: 16px;
}

/* Lightbox */
.bambougallery-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

.bambougallery-lightbox[hidden] {
	display: none;
}

.bambougallery-lightbox img {
	max-width: 90vw;
	max-height: 88vh;
	border: 4px solid #fff;
}

.bambougallery-lightbox button {
	position: absolute;
	background: none;
	border: none;
	color: #fff;
	font-size: 48px;
	cursor: pointer;
	line-height: 1;
	padding: 10px;
}

.bambougallery-lightbox-close {
	top: 10px;
	right: 20px;
}

.bambougallery-lightbox-prev {
	left: 10px;
}

.bambougallery-lightbox-next {
	right: 10px;
}
