/* 首页 Banner — 参考 r462 医疗模板布局，品牌色 #e70012 */
.wel-banner--hero {
  position: relative;
  overflow: hidden;
}

.wel-banner--hero .swiper-container {
  position: relative;
}

.wel-banner--hero .items {
  display: block;
  position: relative;
  overflow: hidden;
}

.wel-banner--hero .wel-banner-media {
  position: relative;
  width: 100%;
}

.wel-banner--hero .items--split .wel-banner-media {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.wel-banner--hero .wel-banner-media .images {
  height: 22rem;
  min-height: 420px;
  background-position: center center !important;
  background-size: cover !important;
}

.wel-banner--hero .wel-banner-shade {
  display: none;
}

.wel-banner--hero .items .words {
  padding-top: var(--hl-header-total-h, 144px);
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 3;
  color: #333;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.wel-banner--hero .items .text {
  padding-top: 0;
  padding-bottom: 4.5rem;
}

.wel-banner--hero .wel-banner-figure {
  position: absolute;
  right: 4%;
  top: var(--hl-header-total-h, 144px);
  bottom: 3.5rem;
  z-index: 4;
  width: auto;
  max-width: calc(50% - 2.5rem);
  padding-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  box-sizing: border-box;
}

.wel-banner--hero .wel-banner-figure img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 左 50% 文案 + 右 50% 配图，无渐变遮罩，仅背景图 */
.wel-banner--hero .items--split .words {
  width: 50%;
  left: 0;
  padding-left: 5%;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.wel-banner--hero .items--split .words .text {
  width: 100%;
  max-width: none;
  margin: 0;
}

.wel-banner--hero .items--split .wel-banner-figure {
  left: 50%;
  right: 0;
  width: 50%;
  max-width: none;
  padding: 0 1.5rem 0 0.75rem;
  justify-content: center;
}

.wel-banner--hero .wel-banner-kicker {
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 0.35rem;
}

.wel-banner--hero .wel-banner-headline .cn {
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: bold;
  margin-bottom: 0.35rem;
}

.wel-banner--hero .wel-banner-headline .rule {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  margin: 0.5rem 0 0.45rem;
}

.wel-banner--hero .wel-banner-headline .sub {
  font-size: .9rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  font-weight: normal;
}

.wel-banner--hero .wel-banner-desc {
  font-size: 0.45rem;
  line-height: 1.75;
  max-width: 18rem;
  margin: 0.65rem 0 0;
  opacity: 0.92;
}

.wel-banner--hero .wel-banner-cta {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.35rem 1.15rem;
  border: 1px solid #fff;
  color: #fff;
  font-size: 0.45rem;
  letter-spacing: 0.06em;
  transition: background 0.3s ease, color 0.3s ease;
}

.wel-banner--hero .items:hover .wel-banner-cta {
  background: #fff;
  color: #e70012;
}

.wel-banner--hero .wel-banner-nav__prev,
.wel-banner--hero .wel-banner-nav__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 2.2rem;
  height: 2.2rem;
  margin: 0;
  background: rgba(255, 255, 255, 0.35) url(../images/b0.png) no-repeat center;
  background-size: 0.55rem auto;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wel-banner--hero .wel-banner-nav__next {
  background-image: url(../images/b1.png);
}

.wel-banner--hero .wel-banner-nav__prev:hover,
.wel-banner--hero .wel-banner-nav__next:hover {
  background-color: rgba(255, 255, 255, 0.55);
}

.wel-banner--hero .wel-banner-nav__prev {
  left: 0;
}

.wel-banner--hero .wel-banner-nav__next {
  right: 0;
}

.wel-banner--hero .wel-banner-thumbs {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 50px;
  z-index: 8;
  display: flex;
  gap: 0.35rem;
  pointer-events: auto;
}

.wel-banner--hero .wel-banner-thumb {
  width: 50px;
  height: 10px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background-color:rgba(255, 255, 255, 0.45);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  opacity: 0.75;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.wel-banner--hero .wel-banner-thumb.is-active {
  border-color: #fff;
  opacity: 1;
}

.wel-banner--hero .wel-banner-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wel-banner--hero .banner-buts {
  display: none;
}

@media (max-width: 1023px) {
  .wel-banner--hero .wel-banner-media .images {
    height: auto;
    min-height: 0;
  }

  /* 分栏 slide：上图下文 */
  .wel-banner--hero .items--split {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: transparent;
  }

  .wel-banner--hero .items--split .wel-banner-media {
    order: 1;
    width: 100%;
    flex: 0 0 auto;
    line-height: 0;
    min-height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wel-banner--hero .items--split .wel-banner-media .mbox {
    display: block;
    width: 100%;
    height: auto;
    max-height: 11rem;
    object-fit: contain;
    object-position: center;
    background: transparent;
  }

  .wel-banner--hero .items--split .words {
    order: 2;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    left: auto;
    top: auto;
    padding: 0.85rem 1rem 1.1rem;
    align-items: flex-start;
    justify-content: flex-start;
    background: #fff;
    color: #333;
  }

  .wel-banner--hero .items--split .words .text {
    width: 100%;
    padding-bottom: 0;
    margin: 0;
  }

  .wel-banner--hero .items--split .wel-banner-headline .cn {
    font-size: 0.58rem;
    line-height: 1.4;
  }

  .wel-banner--hero .items--split .wel-banner-headline .sub {
    font-size: 0.4rem;
    line-height: 1.55;
    opacity: 0.95;
  }

  .wel-banner--hero .items--split .wel-banner-figure {
    display: none;
  }

  .wel-banner--hero .items--split .wel-banner-cta {
    margin-top: 0.65rem;
    font-size: 0.4rem;
    padding: 0.28rem 0.9rem;
    border-color: #e70012;
    color: #e70012;
  }

  .wel-banner--hero .items--split:hover .wel-banner-cta {
    background: #e70012;
    color: #fff;
  }

  .wel-banner--hero .swiper-slide {
    height: auto !important;
  }

  .wel-banner--hero .wel-banner-nav__prev,
  .wel-banner--hero .wel-banner-nav__next {
    top: 5.5rem;
    transform: translateY(-50%);
  }

  .wel-banner--hero .items:not(.items--split) .words {
    align-items: flex-end;
    padding-bottom: 3.5rem;
  }

  .wel-banner--hero .items:not(.items--split) .text {
    padding-bottom: 0;
  }

  .wel-banner--hero .wel-banner-headline .cn {
    font-size: 0.9rem;
  }

  .wel-banner--hero .wel-banner-desc {
    font-size: 0.38rem;
    max-width: 100%;
  }

  .wel-banner--hero .wel-banner-thumbs {
    display: none;
  }

  .wel-banner--hero .items:not(.items--split) .wel-banner-figure {
    display: none;
  }

  .wel-banner--hero .wel-banner-nav__prev,
  .wel-banner--hero .wel-banner-nav__next {
    width: 1.6rem;
    height: 1.6rem;
    background-size: 0.45rem auto;
  }
}
