
/* Gallery Section Styles */
.gallery-filters {
	margin-bottom: 2rem;
}
.gallery-filters .btn {
	min-width: 100px;
	margin: 0 5px;
	transition: background 0.2s, color 0.2s;
}
.gallery-filters .btn.active {
	background: #007bff;
	color: #fff;
	border-color: #007bff;
}
.gallery-cat-filters .form-check-label:hover {
	color: #007bff;
}
.gallery-list {
	display: block;
	column-width: 300px;
	column-gap: 1.5rem;
}
.gallery-item {
	display: inline-block;
	width: 100%;
	margin-bottom: 1.5rem;
	break-inside: avoid;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.group-hover-trigger:hover .overlay-icon {
	opacity: 1;
}
.overlay-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 2rem;
	opacity: 0;
	transition: opacity 0.3s;
	background: rgba(0,0,0,0.4);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.gallery-item img, .gallery-item video, .gallery-item iframe {
	width: 100%;
	height: auto;
	display: block;
}
@media (max-width: 576px) {
	.gallery-list {
		column-count: 1;
		column-width: auto;
		gap: 1rem;
	}
}

/* Lightbox arrows override */
.mfp-arrow {
	opacity: 1 !important;
	color: #fff !important;
	font-size: 28px !important;
	font-weight: 700;
	width: 52px;
	height: 52px;
	background: rgba(0,0,0,0.55);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-indent: 0 !important;
}
.mfp-arrow:before, .mfp-arrow:after {
	content: '';
	border: none !important;
}

/* Fix: reset global input min-height for checkboxes/radios inside gallery filters */
.gallery-cat-filters input[type="checkbox"],
.gallery-cat-filters input[type="radio"],
.gallery-cat-filters .form-check-input {
	cursor: pointer;
	min-height: 0 !important;
	height: 1em !important;
	width: 1em !important;
	vertical-align: middle;
}

.cursor-pointer {
	cursor: pointer;
}

@media (max-width: 768px) {
    #gallery-filter-container {
        display: none;
    }
}

/* Responsive Breadcrumb: mostra desktop su schermi grandi, mobile su piccoli */
.breadcrumb-mobile {
  display: none;
}

@media (max-width: 768px) {
  .breadcrumb-desktop {
    display: none;
  }
  .breadcrumb-mobile {
    display: block;
  }
}