/* v1：母版 — 輕微圓角 6px */
/* ── Banners 共享基礎 — 被各版本 vN.less 引用 ── */
.banner-section {
  width: 100%;
  margin-bottom: 60px;
}
@media screen and (max-width: 1024px) {
  .banner-section {
    margin-bottom: 0;
  }
}
.banner-section .banner-viewport {
  touch-action: pan-y;
  overflow: hidden;
  width: 100%;
  padding: 30px 0;
  box-sizing: border-box;
  opacity: 1;
}
@media screen and (max-width: 1024px) {
  .banner-section .banner-viewport {
    padding: 20px 0 30px;
  }
}
.banner-section.is-visible .banner-viewport,
.banner-section.banner--swiper.is-visible {
  opacity: 1;
}
.banner-section.banner--swiper {
  overflow: hidden;
  padding: 30px 0;
  box-sizing: border-box;
}
.banner-section.banner--swiper .swiper-wrapper.homebanner {
  display: flex;
  align-items: stretch;
}
.banner-section.banner--swiper .swiper-slide {
  width: min(75%, 720px);
  height: auto;
  flex-shrink: 0;
}
.banner-section.banner--swiper .homebanner .banner {
  display: block;
  width: 100%;
}
.banner-section.banner--swiper .homebanner {
  gap: 0;
  transform: none;
}
.banner-section .homebanner {
  display: flex;
  width: 100%;
  gap: 2%;
  transform: translateX(2%);
  will-change: transform;
  transition: transform 1s ease;
}
.banner-section .homebanner.has-multiple {
  transform: translateX(calc(-1 * min(75%, 720px)));
}
.banner-section .homebanner .banner {
  position: relative;
  width: min(75%, 720px);
  height: auto;
  aspect-ratio: 600 / 272;
  flex-shrink: 0;
  background-color: #f7f7f7;
  overflow: visible;
  border: none;
  box-sizing: border-box;
}
.banner-section .homebanner .banner > a,
.banner-section .homebanner .banner > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  overflow: hidden;
}
.banner-section .homebanner .banner > a {
  border-radius: inherit;
}
.banner-section .homebanner .banner .contact {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 10px;
}
@media screen and (max-width: 768px) {
  .banner-section .homebanner .banner .contact {
    bottom: 2px;
    left: 6px;
  }
}
.banner-section .homebanner .banner .contact .qrcode-box {
  width: 90px;
  height: 90px;
  padding: 4px;
  background-color: #fff;
  border-radius: 10px;
}
.banner-section .homebanner .banner .contact .qrcode-box img {
  width: 100%;
}
@media screen and (max-width: 768px) {
  .banner-section .homebanner .banner .contact .qrcode-box {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    padding: 2px;
  }
}
.banner-section .homebanner .banner .contact .line {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
@media screen and (max-width: 768px) {
  .banner-section .homebanner .banner .contact .line {
    font-size: 16px;
  }
}
/* Preview bar shared */
.banner-section.banner-list-page .banner-viewport {
  padding: 0 0 30px;
}
.banner-section.banner-list-page.banner--swiper {
  padding: 0 0 30px;
}
.banner--v1 .banner {
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
