/* Gallery Shortcode CSS */
.overflow-hide{
	overflow: hidden;
}

.filter-tabs {
	display: flex;
	list-style: none;
	padding: 10px 0;
	justify-content: start;
}

.filter-tabs li {
	background-color: #F1F1F1;
	color: #333;
	cursor: pointer;
	transition: 0.3s;
	padding: 1em 1.5em;
	flex: 1 1 auto;
	text-align: center;
}

.filter-tabs li.active, .filter-tabs li:hover {
	background-color: #3E1A57;
	color: #fff;
}

.gallery-items {
	display: grid;
	grid-template-columns: repeat(1, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.gallery-item {
	background: #fff;
	/* border-radius: 8px; */
	overflow: hidden;
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.gallery-item .info {
	padding: 15px;
	background: #f9f5f9;
	height: 100% !important;
}

.gallery-item .info h3 {
	font-size: 18px;
	margin-bottom: 8px;
}

.gallery-item .info p {
	font-size: 14px;
	color: #333;
	margin-bottom: 5px;
}

.pagination-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.pagination {
	margin-top: 20px;
	text-align: center;
}

.pagination-btn {
	color: #893B67 !important;
	border: none !important;
	cursor: pointer !important;
	background: none !important;
	border: none !important;
	font-size: 25px !important;
	font-weight: 600 !important;
}
.pagination-btn.active {
	color: #333 !important;
}

.pagination-btn:disabled {
	color: #333 !important;
	cursor: not-allowed !important;
}


/* ✅ Full-Screen Loader Styling */
.big-loader {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50% , -50%);
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.loader-spinner {
	width: 60px;
	height: 60px;
	border: 5px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

/* ✅ Spinner Animation */
@keyframes spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}


.gallery-wrapper   {
	min-height:200px !important;
	position: relative;
	height: fit-content !important;
}

.filter-tabs {
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
}
.gallery-modal.active-modal {
	display: flex !important;
	overflow: auto;
}
.gallery-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	flex-direction: column;
	align-items: center;
}

.modal-content {
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	max-width: 90%;
	text-align: center;
	position: relative;
	margin: auto;
}

.modal-content img {
	max-width: 700px;
	height: auto;
	width: 100%;
	min-width: 700px;
}

.modal-content p {
	text-align: left !important;
	padding: 0 !important;
	margin: 0 !important;
}

.close-modal {
	position: absolute;
	top: 10px;
	right: 10px;
	font-size: 24px;
	cursor: pointer;
	color: #333;
}


@media only screen and (min-width: 600px) {
	.gallery-items {
		grid-template-columns: repeat(2, minmax(300px, 1fr));
	}
}

@media only screen and (min-width: 1024px) {
	.gallery-items {
		grid-template-columns: repeat(3, minmax(300px, 1fr));
	}
}
