/* =====================================================
   Swiper Full-width Flexible Height Layout
   ===================================================== */

/* Swiper 外層容器：滿版寬度、相對定位 */
.swiper-container,
.swiper {
  width: 100vw;              /* 滿版寬度 */
  max-width: 100%;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  background: #fff;
}

/* 每個 slide：置中對齊、不限制高度 */
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #fff;
  overflow: hidden;
}

/* 讓圖片不被裁切，按比例縮放 */
.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;              /* 高度自適應，不固定 */
  object-fit: contain;       /* 圖片完整顯示（不裁切） */
  object-position: center;   /* 置中顯示 */
}

/* 讓箭頭與 pagination 在滿版上可見 */
.swiper-button-next,
.swiper-button-prev {
  color: #444;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255,255,255,1);
  color: #000;
}

/* pagination 底部圓點樣式 */
.swiper-pagination-bullets {
  bottom: 10px !important;
}
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 0.6;
  transition: all 0.2s ease;
}
.swiper-pagination-bullet-active {
  background: #4E7A94;
  opacity: 1;
}

/* =====================================================
   RWD 調整
   ===================================================== */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
  }
}
