/* 修改后的CSS选择器 */

.custom-swiper {
  width: 100%;
  height: 83vh;
  position: relative;
}
.banner-text h3 {
    font-weight: 300;
    line-height: 1.2;
    font-size: calc(1.475rem + 2.5vw);
	 margin-bottom: 1.5rem !important;
	text-transform: uppercase;
}
.banner-text p {
    font-size: calc(1rem + 1vw);
	margin-bottom: 3rem !important;
}
.banner-text .banner-btn{
	    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    background-color: transparent;
    padding: 15px 50px;
	border: 1px solid #B88768;
    font-weight: 600;
    overflow: hidden;
    text-transform: uppercase;
}
.custom-caption {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  max-width:80%;
  margin: 0;
  padding: 0 15px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
@media (min-width:1260px) and (max-width: 1459px) {.custom-swiper {height: 70vh;}}
@media (min-width:992px) and (max-width: 1259px) {
	.custom-swiper {height: 65vh;}
	.banner-text .banner-btn{ padding: 12px 40px;}
}
	
@media (max-width: 991px) {
	.custom-swiper {height: 60vh;}
    .custom-caption {max-width:100%;}
	.banner-text .banner-btn{ padding: 10px 35px;font-size: 15px;}
}	
	
@media (max-width: 768px) {	.custom-swiper {height: 55vh;}.banner-text .banner-btn{ padding: 7px 25px;font-size: 13px;font-weight: 500;}}
@media (max-width: 560px) {.custom-swiper {height: 50vh;}}
.custom-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
	padding-bottom: 0px;
}

.custom-swiper .swiper-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient( to bottom right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100% );
  z-index: 1;
  pointer-events: none;
}

.custom-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.1);
  transition: all 1s ease;
  z-index: 0;
}

.custom-swiper .swiper-slide-active img {
  opacity: 1;
  transform: scale(1);
}

.custom-swiper-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}



.custom-swiper .swiper-slide-active .custom-caption {
  opacity: 1;
  transform: translateY(0);
}

.custom-caption h3 {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.4s;
}

.custom-caption p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.8s;
}

.custom-caption .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 1.2s;
}

.custom-swiper .swiper-slide-active .custom-caption h3, .custom-swiper .swiper-slide-active .custom-caption p, .custom-swiper .swiper-slide-active .custom-caption .btn {
  opacity: 1;
  transform: translateY(0);
}

.custom-swiper .swiper-pagination-bullet {
  width: 32px;
  height: 4px;
	border-radius: 0px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.custom-swiper .swiper-pagination-bullet-active {
  background: #B88768;
  transform: scale(1.2);
}

/* 更小的箭头配置 */

.custom-swiper .swiper-button-prev, .custom-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  background-size: 18px 18px;
  margin-top: -16px;
}

.custom-swiper .swiper-button-prev::after, .custom-swiper .swiper-button-next::after {
  font-size: 28px;
}

