.project-gallery-slider {
	width: 100%;
	height: var(--juts-pgs-height, 90vh);
	display: flex;
	flex-direction: column;
}

.project-gallery-slider__swiper {
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
}

.project-gallery-slider__slide {
	text-align: center;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-gallery-slider__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: 100%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	object-fit: contain;
	-webkit-user-drag: none;
	user-select: none;
	touch-action: pan-y;
}

.project-gallery-slider__swiper .swiper-wrapper {
	height: 100%;
}

.project-gallery-slider__swiper .swiper-slide {
	height: 100%;
	width: auto;
	flex: 0 0 auto;
}

.project-gallery-slider__pagination {
	position: static;
	flex: 0 0 auto;
	margin-top: 32px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	z-index: 1;
}

.project-gallery-slider__pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	border-radius: 0;
	margin: 0 !important;
	opacity: 1;
	background: var(--juts-pgs-bullet, #d9d9d9);
}

.project-gallery-slider__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: var(--juts-pgs-bullet-active, #ea7c13);
}

/* Modal backdrop and popup (full-size image) */
.project-gallery-slider-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	padding: 20px;
	box-sizing: border-box;
}

.project-gallery-slider-modal-backdrop.active {
	display: flex;
	opacity: 1;
}

.project-gallery-slider-modal {
	position: relative;
	max-width: 90vw;
	max-height: 100vh;
	background-color: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-gallery-slider-modal__content {
	max-width: 100%;
	max-height: 100vh;
}

.project-gallery-slider-modal__image {
	display: block;
	max-width: 100%;
	max-height: 100vh;
	width: auto;
	height: 100vh;
	object-fit: contain;
}

.project-gallery-slider-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10000;
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-gallery-slider-modal__close span {
	display: block;
	line-height: 1;
}

.project-gallery-slider-modal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10000;
	background: rgba(0, 0, 0, 0.4);
	border: none;
	color: #ffffff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-gallery-slider-modal__nav span {
	display: block;
	line-height: 1;
}

.project-gallery-slider-modal__nav--prev {
	left: 10px;
}

.project-gallery-slider-modal__nav--next {
	right: 10px;
}

@media (prefers-reduced-motion: reduce) {
	.project-gallery-slider-modal-backdrop,
	.project-gallery-slider-modal,
	.project-gallery-slider-modal__close {
		transition: none;
	}
}

