.bxb-image-stack-gallery {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.bxb-marquee-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.bxb-marquee {
	position: absolute;
	top: 50%;
	left: 0;
	white-space: nowrap;
	animation: marquee 400s linear infinite;
	font-size: 300px;
	line-height: 1;
	font-weight: 900;
	color: #fff;
	letter-spacing: -0.02em;
	user-select: none;
	transform: translateY(-50%);
	width: max-content;
}

.bxb-marquee span {
	padding-right: 100px;
	display: inline-block;
}

@keyframes marquee {
	0% {
		transform: translateX(0) translateY(-50%);
	}
	100% {
		transform: translateX(-50%) translateY(-50%);
	}
}

.bxb-image-stack-gallery .swiper {
	width: 100%;
	height: 800px;
	position: relative;
	z-index: 1;
}

.bxb-image-stack-gallery .swiper-slide {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	position: relative;
}

.bxb-image-stack-gallery .slide-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	position: relative;
	z-index: 2;
}

.bxb-image-stack-gallery .collection-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.bxb-image-stack-gallery .image-stack {
	position: relative;
	width: 600px;
	height: 500px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
}

.bxb-image-stack-gallery .collection-link:hover .image-stack {
	transform: scale(1.02);
}

.bxb-image-stack-gallery .stack-item {
	position: absolute;
	cursor: pointer;
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	left: 50%;
	top: 50%;
	width: 320px;
	height: 400px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.bxb-image-stack-gallery .stack-item.custom-size {
	width: auto;
	height: auto;
}

.bxb-image-stack-gallery .collection-link:hover .stack-item {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.bxb-image-stack-gallery .collection-caption {
	width: 100%;
	max-width: 600px;
	text-align: center;
	transition: opacity 0.3s ease;
	opacity: 0.9;
	position: relative;
	z-index: 2;
}

.bxb-image-stack-gallery .collection-caption:hover,
.bxb-image-stack-gallery .collection-link:hover .collection-caption {
	opacity: 1;
}

.bxb-image-stack-gallery .collection-caption p {
	font-size: 14px;
	font-weight: 300;
	line-height: 1.6;
	letter-spacing: 0.5px;
	margin: 0;
	text-align: left;
}

.bxb-image-stack-gallery .gallery-title {
	text-align: center;
	font-size: 120px;
	margin-bottom: 80px;
	font-weight: 100;
	letter-spacing: -5px;
}

.bxb-image-stack-gallery .attribution {
	position: absolute;
	bottom: 20px;
	font-size: 10px;
	opacity: 0.4;
	text-transform: uppercase;
	letter-spacing: 2px;
	width: 100%;
	text-align: center;
	z-index: 2;
}

.bxb-image-stack-gallery .swiper-button-next,
.bxb-image-stack-gallery .swiper-button-prev {
	display: none !important;
}

.bxb-image-stack-gallery .swiper-pagination {
	bottom: 60px;
	z-index: 10;
}

.bxb-image-stack-gallery .swiper-pagination-bullet {
	background: rgba(0, 0, 0, 0.3);
	opacity: 1;
	width: 8px;
	height: 8px;
	margin: 0 4px;
}

.bxb-image-stack-gallery .swiper-pagination-bullet-active {
	background: #000;
}

@media (max-width: 1200px) {
	.bxb-marquee {
		font-size: 200px;
	}
	
	.bxb-image-stack-gallery .gallery-title {
		font-size: 80px;
		margin-bottom: 60px;
	}
	
	.bxb-image-stack-gallery .image-stack {
		width: 500px;
		height: 450px;
		margin-bottom: 15px;
	}
	
	.bxb-image-stack-gallery .stack-item {
		width: 260px;
		height: 340px;
	}
}

@media (max-width: 768px) {
	.bxb-marquee {
		font-size: 120px;
	}
	
	.bxb-marquee span {
		padding-right: 50px;
	}
	
	.bxb-image-stack-gallery .swiper {
		height: 600px;
	}
	
	.bxb-image-stack-gallery .gallery-title {
		font-size: 60px;
		margin-bottom: 40px;
	}
	
	.bxb-image-stack-gallery .image-stack {
		width: 380px;
		height: 400px;
		margin-bottom: 10px;
	}
	
	.bxb-image-stack-gallery .stack-item {
		width: 220px;
		height: 280px;
	}
	
	.bxb-image-stack-gallery .attribution {
		font-size: 9px;
	}
}