


.gallery-masonry {
	column-count: 3;
	column-gap: 12px;
}

.gallery-masonry .item {
	position: relative;
	break-inside: avoid;
	margin-bottom: 12px;
	overflow: hidden;
	border-radius: 12px;
}

.gallery-masonry .glightbox {
	display: block;
	position: relative;
}


.gallery-masonry img {
	width: 100%;
	display: block;
	border-radius: 12px;
	transition: transform 0.35s ease;
}

.gallery-masonry .item:hover img {
	transform: scale(1.03);
}

.gallery-masonry .overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px 12px;
	background: rgba(0,0,0,0.55);
	color: white;
	font-size: 14px;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	z-index: 2;
}

.gallery-masonry .item:hover .overlay {
	transform: translateY(0);
}


.full-link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.item .glightbox {
	display: block;
}



@media (max-width: 992px) {
	.gallery-masonry {
		column-count: 2;
	}
}

@media (max-width: 576px) {
	.gallery-masonry {
		column-count: 1;
	}
}

.document-card__icon_download {

	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	z-index: 3;

	color: #fff;
	position: relative;
}
.document-card__icon_download svg {
	height: 1.25rem;
	width: auto;
}
.document-card__icon_download::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2px;
}
.document-card__icon_view.glightbox {
	display: inline-block !important;
	align-items: center !important;
	justify-content: center !important;
	padding-top: 0.5rem !important;
	padding-bottom: 0.5rem !important;
	padding-right: 0.5rem !important;

	color: #fff;
	position: relative !important;
}

.gslide-description {
	background: rgba(0,0,0,0.75);
	padding: 12px 16px;
	border-radius: 10px;
	color: white;
	font-size: 14px;
}

.gclose {
	background: rgba(0,0,0,0.6);
	border-radius: 50%;
	width: 42px;
	height: 42px;
	padding: 10px;
}

.gclose svg {
	width: 18px;
	height: 18px;
}
.gclose,
.gnext,
.gprev {
	display: block !important;
	opacity: 1 !important;
}

@media (max-width: 576px) {
	.gclose {
		top: 10px !important;
		right: 10px !important;
	}
}

.page-link {
    font-weight: 600;
    padding: 0.625em 0.75em;
    color: var(--text-quaternary-500);
}
.page-link:hover {
	color: var(--text-tertiary-hover) !important;
	background: var(--bg-secondary) !important;
}
.page-item.disabled > .page-link {
	background: var(--bg-secondary) !important;
}
.page-item.active > .page-link {
	background-color: black !important;
    border-color: black !important;
	color: white !important;
}

.form-select:disabled {
	color: rgb(84, 84, 84) !important;
}