.banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* 高度：桌機 70vh，最小 420px，手機 56vw */
  height: clamp(420px, 70vh, 900px);
  background: #111;
  user-select: none;
  
}
 

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}
 

.banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: default;
}
.banner-slide.fake-link { cursor: pointer; }
 

.banner-overlay {
  position: absolute;
  inset: 0;
  /*
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0.05) 100%
  );
  */
  pointer-events: none;
}
 

.banner-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 6% 8%;
  pointer-events: none;
}
.banner-caption-inner { max-width: 560px; }
 
.banner-time {
  margin: 0 0 8px;
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.05em;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.banner-subtitle {
  margin: 0 0 10px;
  font-size: clamp(18px, 2.8vw, 30px);
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.banner-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 48px);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
 

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  z-index: 10;
  outline: none;
}
.banner-nav:hover { background: rgba(255,255,255,0.35); }
.banner-nav:focus-visible { outline: 2px solid rgba(255,255,255,0.8); outline-offset: 2px; }
.banner-prev { left: 20px; }
.banner-next { right: 20px; }

.banner-nav.hidden,
.banner-dots.hidden { display: none; }
 

.banner-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
  outline: none;
}
.banner-dot.active {
  background: #fff;
  transform: scale(1.35);
}
.banner-dot:focus-visible { outline: 2px solid rgba(255,255,255,0.8); outline-offset: 2px; }
 

@media (max-width: 768px) {
  .banner-section { height: clamp(280px, 56vw, 480px); }
  .banner-caption { padding: 0 5% 7%; }
  .banner-nav { width: 36px; height: 36px; }
  .banner-prev { left: 10px; }
  .banner-next { right: 10px; }
}
 

@media (prefers-reduced-motion: reduce) {
  .banner-track { transition: none; }
}

@media screen and (min-width: 992px){
  .banner-section{
    margin-top: 5rem;
  }
}