/* ==========================================
   碧春 Slide Banner 样式
   ========================================== */

.bichun-slide-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 600;
    background: #f3f8fe;
  overflow: hidden;
  min-height: 300px;
}

.bichun-slide-banner-container {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.bichun-slide-banner .banner-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 0;
  /* Mask image 遮罩效果 */
  -webkit-mask-image: url('https://okki-shop.oss-cn-hangzhou.aliyuncs.com/templates/shop-default/d42ed09f-d4e9-46ba-baa7-50ecdbc38cf8-r%202111.png');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('https://okki-shop.oss-cn-hangzhou.aliyuncs.com/templates/shop-default/d42ed09f-d4e9-46ba-baa7-50ecdbc38cf8-r%202111.png');
  mask-size: 100% 100%;
  mask-position: center bottom;
  mask-repeat: no-repeat;
}

.banner-content-wrap {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.banner-content-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(13, 76, 145, 0.6) 0%,
    rgba(13, 76, 145, 0) 100%
  );
  z-index: 0;
  -webkit-mask-image: url('https://okki-shop.oss-cn-hangzhou.aliyuncs.com/templates/shop-default/d42ed09f-d4e9-46ba-baa7-50ecdbc38cf8-r%202111.png');
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center bottom;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('https://okki-shop.oss-cn-hangzhou.aliyuncs.com/templates/shop-default/d42ed09f-d4e9-46ba-baa7-50ecdbc38cf8-r%202111.png');
  mask-size: 100% 100%;
  mask-position: center bottom;
  mask-repeat: no-repeat;
}

.banner-content-wrap .container {
  padding-top: 1rem;
  position: relative;
  z-index: 1;
}

.banner-content-wrap-title {
  color: #fff;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: max(3.75rem, 36px);
  line-height: 1.3618;
}

@media screen and (max-width: 1024px) {
  .bichun-slide-banner .banner-bg {
    mask: none !important;
    -webkit-mask: none !important;
  }

  .banner-content-wrap::before {
    mask: none !important;
    -webkit-mask: none !important;
  }

  .banner-content-wrap-title {
    font-size: 40px;
  }
}

@media screen and (max-width: 768px) {
  .banner-content-wrap-title {
    font-size: 28px;
  }
}
