/* =====================================================
   Lightbox Gallery - Swiper Icon Override
   ===================================================== */

/* Disable Swiper default font icons on navigation buttons */
.exat-lightbox-swiper .swiper-button-prev::after,
.exat-lightbox-swiper .swiper-button-next::after,
.exat-featured-carousel-swiper .swiper-button-prev::after,
.exat-featured-carousel-swiper .swiper-button-next::after,
#exat-gallery-modal .swiper-button-prev::after,
#exat-gallery-modal .swiper-button-next::after,
#single-gallery-modal .swiper-button-prev::after,
#single-gallery-modal .swiper-button-next::after {
	display: none !important;
	content: "" !important;
	font-size: 0 !important;
}

/* =====================================================
   Top Featured Carousel Swiper Styles
   ===================================================== */

.exat-featured-carousel-swiper {
	width: 100% !important;
	position: relative !important;
	overflow: hidden !important;
}

.exat-featured-carousel-swiper .swiper-slide {
	width: 100% !important;
	height: 100% !important;
}

.exat-featured-carousel-swiper .swiper-slide img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	display: block !important;
}

/* =====================================================
   Lightbox Gallery - Swiper Container & Layout Centering
   ===================================================== */

#exat-gallery-modal,
#single-gallery-modal {
	height: 100vh !important;
	width: 100vw !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

#exat-gallery-modal-wrap,
#single-gallery-modal-wrap {
	height: 85vh !important;
	max-height: 85vh !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* Force swiper container & wrapper to take full height and center slides vertically */
#exat-gallery-modal .exat-lightbox-swiper,
#single-gallery-modal .exat-lightbox-swiper,
#exat-gallery-modal .exat-gallery-swiper,
#single-gallery-modal .exat-gallery-swiper {
	overflow: hidden !important;
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

#exat-gallery-modal .swiper-wrapper,
#single-gallery-modal .swiper-wrapper {
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
}

/* =====================================================
   Lightbox Gallery - Slide Layout & Image Centering
   ===================================================== */

#exat-gallery-modal .swiper-slide,
#single-gallery-modal .swiper-slide {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
	flex-shrink: 0 !important;
	box-sizing: border-box !important;
}

#exat-gallery-modal .swiper-slide img,
#single-gallery-modal .swiper-slide img {
	display: block !important;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 80vh !important;
	object-fit: contain !important;
	border-radius: 12px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
	margin: auto !important;
}

/* =====================================================
   Lightbox Gallery - Navigation Buttons
   ===================================================== */

.exat-gallery-nav-prev,
.exat-gallery-nav-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	transition: background 0.2s ease;
	cursor: pointer;
	color: #ffffff;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	z-index: 30;
}

.exat-gallery-nav-prev {
	left: 12px;
}

.exat-gallery-nav-next {
	right: 12px;
}

.exat-gallery-nav-prev:hover,
.exat-gallery-nav-next:hover {
	background: rgba(255, 255, 255, 0.35);
}

/* SVG icon fill/stroke for nav buttons */
.exat-gallery-nav-prev svg,
.exat-gallery-nav-next svg,
.swiper-featured-prev svg,
.swiper-featured-next svg,
#single-gallery-prev-svg,
#single-gallery-next-svg,
#single-gallery-modal-prev-svg,
#single-gallery-modal-prev-svg {
	fill: transparent !important;
	stroke: #ffffff !important;
}
