.banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner .swiper-slide,
.banner_list {
  position: relative;
  height: 100%;
}

.banner_list_img {
  height: 100%;
}

.banner_list_img img {
  width: 100%;
  height: calc(100vh);
  object-fit: cover;
  transition:
    transform 1.5s ease-out,
    opacity 1s ease-out;
}

.banner_list_txt {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-35%);
  padding-top: 80px;
}
.banner_list_txt .safe_width {
  display: flex;
  justify-content: space-between;
}
.banner-l p {
  font-family: PingFangSC-Semibold, PingFangSC-Semibold;
  font-weight: normal;
  font-size: 52px;
  color: #ffffff;
  margin-bottom: 17px;
}
.banner-l span {
  font-family: PingFangSC-Regular, PingFangSC-Regular;
  font-weight: normal;
  font-size: 20px;
  color: #ffffff;
  display: block;
}
.more-btn {
  width: auto;
  max-width: max-content;
  align-self: flex-start;
  /* width: 170px; */
  height: 55px;
  background: #c19a63;
  border-radius: 27px 27px 27px 27px;
  padding: 0 32px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}
.more-btn:hover {
  background: #b08a53;
}
.more-btn img {
  transition: transform 0.3s ease;
  vertical-align: middle;
  margin-top: 3px;
  margin-right: 8px;
}
.more-btn:hover img {
  transform: translateX(6px);
}
.more-btn span {
  font-family: PingFangSC-Regular, PingFangSC-Regular;
  font-weight: normal;
  font-size: 16px;
  color: #ffffff;
}
.banner-l .more-btn {
  margin-top: 45px;
}
.banner-in {
  position: relative;
  display: block;
  width: 255px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  transform-origin: center bottom;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.banner-in::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.75) 48%, transparent 72%);
  transform: translateX(-145%) skewX(-16deg);
  opacity: 0;
}
.banner-in::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 62px;
  height: 62px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(193, 154, 99, 0.65);
  border-radius: 50%;
  box-shadow:
    0 0 0 0 rgba(193, 154, 99, 0.32),
    inset 0 0 24px rgba(255, 255, 255, 0.62);
  opacity: 0;
}
.banner-in div {
  background: #fff;
  padding: 31px 26px;
  width: 255px;
}
.banner-in p {
  color: #6c6b6b;
  margin-bottom: 14px;
}
.banner-in span {
  color: #7b7b7b;
}
.banner-in img {
  width: 255px;
  display: block;
  transition: transform 0.45s ease;
}
.banner .swiper-slide.swiper-slide-active .banner-in {
  animation: newsBannerFloat 4.2s ease-in-out 0.4s infinite;
}
.banner .swiper-slide.swiper-slide-active .banner-in::before {
  animation: newsBannerShine 4.2s ease-in-out 0.8s infinite;
}
.banner .swiper-slide.swiper-slide-active .banner-in::after {
  animation: newsBannerPulse 2.6s ease-out 0.7s infinite;
}
.banner .swiper-slide.swiper-slide-active .banner-in:hover {
  animation-play-state: paused;
}
.banner .swiper-slide.swiper-slide-active .banner-in:hover::before,
.banner .swiper-slide.swiper-slide-active .banner-in:hover::after {
  animation-play-state: paused;
}
.banner-in:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}
.banner-in:hover img {
  transform: scale(1.05);
}

@keyframes newsBannerFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes newsBannerShine {
  0%,
  46% {
    opacity: 0;
    transform: translateX(-145%) skewX(-16deg);
  }
  58% {
    opacity: 0.85;
  }
  74%,
  100% {
    opacity: 0;
    transform: translateX(145%) skewX(-16deg);
  }
}

@keyframes newsBannerPulse {
  0% {
    opacity: 0;
    transform: scale(0.72);
    box-shadow:
      0 0 0 0 rgba(193, 154, 99, 0.32),
      inset 0 0 24px rgba(255, 255, 255, 0.62);
  }
  18% {
    opacity: 1;
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.45);
    box-shadow:
      0 0 0 18px rgba(193, 154, 99, 0),
      inset 0 0 24px rgba(255, 255, 255, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner .swiper-slide.swiper-slide-active .banner-in,
  .banner .swiper-slide.swiper-slide-active .banner-in::before,
  .banner .swiper-slide.swiper-slide-active .banner-in::after {
    animation: none;
  }
}

.banner .swiper-pagination {
  display: none;
  /* position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex !important;
  justify-content: center;
  gap: 15px; */
}

.banner .pagination-box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  z-index: 10;
  pointer-events: none;
}

.banner .pagination-box .swiper-pagination {
  pointer-events: auto;
}

.banner .swiper-pagination-bullet {
  width: 65px !important;
  height: 3px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 5px !important;
}

.banner .swiper-pagination-bullet-active {
  background: #ffffff !important;
}

.banner .pagination-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.banner .pagination-text {
  display: none;
}

.banner .pagination-bullets {
  display: flex;
  align-items: center;
}

.banner .swiper-pagination-bullet {
  font-size: 0;
}

.banner .swiper-slide {
  opacity: 0;
  transition: opacity 1.2s ease-out;
}

.banner .swiper-slide.swiper-slide-active {
  opacity: 1;
}

.banner .swiper-slide .banner_list_img img {
  transform: scale(1.1);
}

.banner .swiper-slide.swiper-slide-active .banner_list_img img {
  transform: scale(1);
}
