.cgm-tabs {
	margin-bottom: 20px;
}
.cgm-tab-buttons {
	display: flex;
	list-style: none;
	margin-bottom: 20px;
	gap: 10px;
	justify-content: space-between;
	padding: 0;
}
.cgm-tab-buttons li {
	padding: 10px 20px;
	background: #eee;
	cursor: pointer;
}
.cgm-tab-buttons li.active {
	background: #ccc;
	font-weight: bold;
}
.cgm-tab-content {
	display: none;
}
.cgm-tab-content.active {
	display: block;
}
.cgm-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	list-style: none;
	padding: 25px 0 0 0;
}
.cgm-item {
	position: relative;
	width: 300px;
}
@media (max-width: 768px) {
	.cgm-item {
		width: 100%;
	}
}
.cgm-item img {
	width: 100%;
	display: block;
}
.cgm-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px 15px;
	text-align: left;
	font-weight: 900;
	font-size: 1.7rem;
	text-shadow: 1px 1px 0 rgb(255, 255, 255), -1px -1px 0 rgb(255, 255, 255), 1px -1px 0 rgb(255, 255, 255), -1px 1px 0 rgb(255, 255, 255), 3px 3px 5px #333;
	color: black;
	background: rgba(0, 0, 0, 0); /* fond transparent */
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s ease;
	pointer-events: none;
}
.cgm-item:hover .cgm-overlay {
	opacity: 1;
	transform: translateY(0);
}
.cgm-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}
.cgm-filters button {
	padding: 10px 20px;
	cursor: pointer;
}
