/* News Hero Carousel */
.news-hero {
  margin-top: var(--header-height);
  position: relative;
  min-height: 120px;
}
.news-hero-swiper {
  position: relative;
  overflow: hidden;
}
.news-hero .swiper-slide {
  position: relative;
}
.news-hero-bg {
  display: block;
  width: 100%;
  height: auto;
}
.news-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0, 72, 204, 0.5) 0%, rgba(0, 64, 180, 0.15) 45%, rgba(0, 60, 170, 0) 65%);
}
.news-hero .container {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  width: auto;
}
.news-hero-inner {
  max-width: 40%;
  padding: 28px 0 28px 1vw;
}
.news-hero-prev .dots-next-icon{transform: rotate(180deg);}
.news-hero-content h1 {
  font-size: var(--mid-font-size); font-weight: 700;
  color: white; margin-bottom: 16px; line-height: 1.3;
}
.news-hero-content p {
  font-size: var(--small-font-size); color: rgba(255,255,255,0.9);
  line-height: 1.7; margin-bottom: 28px;
}


.news-hero-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 8px;
  font-size: 15px;
  width: fit-content;
  transition: all 0.3s ease;
  
}
.news-hero-btn .cta-btn-txt{
  padding: 12px 20px;
}
.news-hero-btn .jt-bg{
  padding: 12px 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-hero-btn .jt-bg .dots-next-icon{
  color: #fff;
}

.news-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
} 

/* Arrows */
.news-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease;
}
.news-hero-nav:hover {
  background: rgba(255,255,255,0.32);
}
.news-hero-prev { left: 4%; }
.news-hero-next { right: 4%; }

/* Pagination bars */
.news-hero-pagination {
  position: absolute;
  right: 5%;
  bottom: 28px;
  z-index: 10;
  display: flex;
  /* flex-direction: column; */
  align-items: stretch;
  gap: 8px;
}
.news-hero-bullet {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: all 0.3s ease;
}
.news-hero-bullet:hover {
  background: rgba(255,255,255,0.85);
}
.news-hero-bullet.active {
  background: #fff;
}

/* Swiper fade 缺失样式：无此规则时 slide 过渡属性不含 opacity，
   transitionend 不触发 → animating 卡死 → 箭头/自动轮播只切一次 */
.swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity;
}
.swiper-fade .swiper-slide-active,
.swiper-fade .swiper-slide-prev,
.swiper-fade .swiper-slide-next {
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .news-hero-swiper {
    background: #0B4FC0;
  }
  .news-hero .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .news-hero-bg {
    width: 100%;
    height: auto;
  }
  .news-hero-overlay {
    display: none;
  }
  /* .news-hero .container {
    position: relative;
    display: block;
    flex: 1;
    width: 100%;
    max-width: none;
    padding: 0;
    background: linear-gradient(180deg, #1668DC 0%, #0B4FC0 100%);
  } */
  .news-hero-inner {
    max-width: none;
    padding: 26px 0 34px;
  }
  .news-hero-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .news-hero-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .news-hero-nav {
    display: none;
  }
  .news-hero-pagination {
    right: 5%;
    bottom: 10px;
  }
  .news-hero-bullet {
    width: 24px;
    height: 3px;
    background: rgba(255,255,255,0.55);
  }
  .news-hero-bullet.active {
    background: #fff;
  }
}

@media (max-width: 768px){
  .news-hero-bullet {
    width: 24px;
  }
.news-hero-btn .cta-btn-txt{padding: 0 12px;}
}
