/* ============================================
   Banner 区域样式
   ============================================ */

:root {
  --banner-base-size: calc(100vw * (1 / 1675));
}

.banner {
  position: relative;
  overflow: hidden;
  height: 820px;
  display: flex;
  align-items: center;
  background: url(../public/banner.jpg) no-repeat center center;
  background-size: 100% 100%;
}

.banner_inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* TODO: 需要确定是否ui刻意设计成这样 */
  position: relative;
  width: 100%;
  align-items: center;
}

.banner_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7.202px;
}

.banner_title h1, .banner_title h2 {
  text-align: center;
  font-family: HYYakuHei;
  font-size: calc(var(--banner-base-size) * 72);
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 1.44px;
  background: linear-gradient(180deg, #3A4460 10.27%, #111721 88.7%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner_media_img {
  aspect-ratio: 763/534;
  max-width: 763px;
  width: 100%;
}

.banner_media {
  width: 51%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.banner_badges {
  display: flex;
  width: calc(var(--banner-base-size) * 468);
  height: calc(var(--banner-base-size) * 138);
  padding: 0 16px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid #fff;
  background: #f2f6ff;
  margin-top: calc(var(--banner-base-size) * 30);
}

.banner_badges ul {
  display: flex;
  justify-content: space-between;
}

.banner_badges li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.banner_badges .badge-icon {
  width: calc(var(--banner-base-size) * 46);
  height: calc(var(--banner-base-size) * 46);
}

.banner_badges .badge-text {
  color: #121212;
  text-align: center;
  font-family: "PingFang SC";
  font-size: calc(var(--banner-base-size) * 16);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  align-self: stretch;
}

.banner_actions {
  display: flex;
  align-items: center;
  margin-top: calc(var(--banner-base-size) * 50);
  gap: 18px;
}

.banner_actions a {
  width: calc(var(--banner-base-size) * 132);
  height: calc(var(--banner-base-size) * 40);
  flex-shrink: 0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  text-align: center;
  font-family: "PingFang SC";
  font-size: calc(var(--banner-base-size) * 16);
  font-style: normal;
  font-weight: 600;
  line-height: 18px;
  gap: 4px;
  background-image: url(../public/banner-btn-moren.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.banner_actions a:hover {
  background-image: url(../public/banner-btn-huaguo.png);
}

.banner_actions img {
  width: calc(var(--banner-base-size) * 26);
}

@media (min-width: 1675px) {
  :root {
    --banner-base-size: 1px;
  }
}

@media screen and (max-width: 1479px) {
  .banner {
    aspect-ratio: 1360/758;
    height: auto;
  }
}

@media screen and (max-width: 1023px) {
  .banner {
    aspect-ratio: 1024/570;
    height: auto;
  }
}

@media screen and (max-width: 1024px) {
  .banner_inner {
    padding-top: 30px !important;
  }


  .banner_badges {
    width: 334px;
    height: 110px;
    margin-top: 20px;
  }

  .banner_badges .badge-icon {
    width: 46px;
    height: 46px;
  }

  .banner_badges .badge-text {
    font-size: 16px;
  }

  .banner_actions {
    margin-top: 30px;
  }

  .banner_actions a {
    width: 108px;
    height: 36px;
    font-size: 14px;
  }

  .banner_actions a img {
    width: 26px;
  }
}


@media screen and (max-width: 768px) {
  .banner_inner {
    padding-top: 47px !important;
  }


  .banner_badges {
    width: 334px;
    height: 110px;
    margin-top: 20px;
  }

  .banner_badges .badge-icon {
    width: 46px;
    height: 46px;
  }

  .banner_badges .badge-text {
    font-size: 16px;
  }

  .banner_actions {
    margin-top: 30px;
  }

  .banner_actions a {
    width: 108px;
    height: 36px;
    font-size: 14px;
  }

  .banner_actions a img {
    width: 26px;
  }
}
