.weiyou-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #04070c;
  font-family: var(--font-family);
}

.weiyou-banner-swiper,
.weiyou-banner .swiper-slide {
  width: 100%;
}

.weiyou-banner-slide {
  position: relative;
  overflow: hidden;
}

.weiyou-banner-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 840;
  overflow: hidden;
  background: #04070c;
}

/* .weiyou-banner-media::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 50%;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
} */

.weiyou-banner-img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.weiyou-banner-img--mobile {
  display: none;
}

.weiyou-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.weiyou-banner-content .container {
  position: relative;
  height: 100%;
}

.weiyou-banner-copy {
  --weiyou-banner-content-top: 187px;
  --weiyou-banner-content-bottom: 86px;
  --weiyou-banner-content-width: 795px;

  position: absolute;
  top: min(var(--weiyou-banner-content-top), 23%);
  bottom: min(var(--weiyou-banner-content-bottom), 12%);
  left: 0;
  width: min(var(--weiyou-banner-content-width), 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: auto;
}

.weiyou-banner-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-family);
  font-size: var(--font-56);
  font-weight: 800;
  line-height: normal;
  text-transform: uppercase;
}

.weiyou-banner-title-highlight {
  color: #fe5a1a;
}

.weiyou-banner-subtitle {
  /* width: min(748px, 100%); */
  margin: var(--gap-50) 0 0;
  color: #fff;
  font-family: var(--font-family);
  font-size: var(--font-32);
  font-weight: 400;
  line-height: normal;
  white-space: break-spaces;
}

.weiyou-banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: var(--gap-70);
}

.weiyou-banner-btn {
  min-height: 57px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 5px;
  box-sizing: border-box;
  font-family: var(--font-family);
  font-size: var(--font-16);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.weiyou-banner-btn--primary {
  min-width: 255px;
  background: linear-gradient(307deg, #ff9d00 -56.72%, #fe5a1a 100%);
  color: #fff;
}

.weiyou-banner-btn--secondary {
  min-width: 273px;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.weiyou-banner-btn:hover,
.weiyou-banner-btn:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.weiyou-banner-btn--secondary:hover,
.weiyou-banner-btn--secondary:focus-visible {
  border-color: #fe5a1a;
  background: rgba(254, 90, 26, 0.16);
}

@media screen and (max-width: 1200px) {
  .weiyou-banner-title {
    font-size: 30px;
  }

  .weiyou-banner-subtitle {
    font-size: 24px;
  }
}

@media screen and (max-width: 992px) {
  .weiyou-banner-title {
    font-size: 20px;
  }

  .weiyou-banner-subtitle {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .weiyou-banner-img--pc {
    display: none;
  }

  .weiyou-banner-img--mobile {
    display: block;
    aspect-ratio: 5/7;
  }

  .weiyou-banner-media{
    aspect-ratio: 5/7;
  }

  .weiyou-banner-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
  }

  .weiyou-banner-btn {
    min-height: auto;
    min-width: auto;
    padding: 10px;
    font-size: 14px;
  }
  .weiyou-banner-title{
    font-size: 16px;
  }
  .weiyou-banner-subtitle{
    font-size: 14px;
    margin: 10px 0 0;
  }
}
