@charset "UTF-8";
/* 外層主容器 */
.carousel-full-width-box {
  width: 100%;
  max-width: 1290px;
  padding: 0 40px;
  height: 440px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* 移動軌道 */
.carousel-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  position: absolute;
  left: 0;
  will-change: transform;
}

/* 【預設卡片狀態】 */
.card {
  /* width: 120px;  */
  width: 280px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  height: 360px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 24px;
  position: relative;
  -webkit-transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), border 0.5s, -webkit-box-shadow 0.5s;
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), border 0.5s, -webkit-box-shadow 0.5s;
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), border 0.5s, box-shadow 0.5s;
  transition: width 0.5s cubic-bezier(0.25, 1, 0.5, 1), border 0.5s, box-shadow 0.5s, -webkit-box-shadow 0.5s;
}
@media (max-width: 980px) {
  .card {
    -webkit-transition: none;
    transition: none;
  }
}
.card .block_box {
  display: block;
}
.card:nth-child(odd) {
  background: -webkit-gradient(linear, left top, left bottom, color-stop(-40%, transparent), to(#fff));
  background: linear-gradient(to bottom, transparent -40%, #fff 100%);
}
.card:nth-child(even) {
  background: -webkit-gradient(linear, left bottom, left top, color-stop(-40%, transparent), to(#fff));
  background: linear-gradient(to top, transparent -40%, #fff 100%);
}
@media (max-width: 980px) {
  .card:nth-child(odd) {
    background: -webkit-gradient(linear, left top, right top, color-stop(-40%, transparent), to(#fff));
    background: linear-gradient(to right, transparent -40%, #fff 100%);
  }
  .card:nth-child(even) {
    background: -webkit-gradient(linear, right top, left top, color-stop(-40%, transparent), to(#fff));
    background: linear-gradient(to left, transparent -40%, #fff 100%);
  }
}

/* @media (max-width: 980px) {
       .card {
         width: 140px;
       }
     } */
.card-title {
  font-size: 16px;
  color: #70a1ff;
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .card-title .block_box {
    display: unset;
  }
}

.card-body {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

/* 【中央展開狀態】 */
.card.active {
  /* width: 450px;  */
  width: 680px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: default;
  background: rgba(255, 255, 255, 0.75);
  padding-left: 55px;
  padding-right: 55px;
  position: relative;
}
@media (max-width: 980px) {
  .card.active {
    padding-left: 24px;
    padding-right: 24px;
  }
}
.card.active::before {
  content: "";
  width: 100%;
  height: 13px;
  background: -webkit-gradient(linear, left top, right top, from(#23305f), color-stop(73%, #243568), color-stop(110%, #8e72a8));
  background: linear-gradient(to right, #23305f 0%, #243568 73%, #8e72a8 110%);
  position: absolute;
  top: 0;
  left: 0;
}
.card.active::after {
  content: "";
  width: 100%;
  height: 13px;
  background: -webkit-gradient(linear, left top, right top, from(#23305f), color-stop(73%, #243568), color-stop(110%, #8e72a8));
  background: linear-gradient(to right, #23305f 0%, #243568 73%, #8e72a8 110%);
  position: absolute;
  bottom: 0;
  left: 0;
}
.card.active .block_box {
  display: unset;
}

/* @media (max-width: 980px) {
       .card.active {
         width: 350px;
       }
     } */
.card.active .card-title {
  width: 100%;
  color: #00367B;
  font-size: 22px;
  margin-bottom: 15px;
}
.card.active .card-title .card-title-icon {
  display: none;
}
@media (max-width: 980px) {
  .card.active .card-title .card-title-icon {
    display: block;
  }
}
.card.active .card-title .card-title-icon img {
  width: 25px;
}
.card.active .card-title .card-title-icon .open_m {
  display: none;
}
.card.active .card-title .card-title-icon .close_m {
  display: block;
}

.card.active .card-body {
  opacity: 1;
  visibility: visible;
  height: auto;
  color: #57606f;
  font-size: 14px;
  line-height: 1.6;
}

.more-link {
  display: inline-block;
  margin-top: 25px;
  color: #2f3542;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border-bottom: 1px solid #2f3542;
}

/* 【左右切換按鈕控制框】 */
.controls-anchor {
  position: absolute;
  width: min(680px, 100%);
  height: 360px;
  pointer-events: none;
  z-index: 100;
}

/* @media (max-width: 980px) {
       .controls-anchor {
         width: min(350px, 100%);
       }
     } */
.carousel-btn {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  pointer-events: auto;
}
.carousel-btn img {
  width: 20px;
}

.btn-prev {
  left: 8px;
}

.btn-next {
  right: 8px;
}

/* =========================
   <980 垂直靜態模式
========================= */
@media (max-width: 980px) {
  .carousel-full-width-box {
    height: auto;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding: 0 20px;
  }
  /* 只隱藏箭頭 */
  .carousel-btn {
    display: none;
  }
  /* 軌道改垂直 */
  .carousel-track {
    position: static;
    -webkit-transform: none !important;
            transform: none !important;
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 100%;
    gap: 0px;
  }
  .card {
    width: 100% !important;
    height: auto;
    min-height: 75px;
  }
  .card.active {
    width: 100% !important;
  }
}
/* 手機版隱藏輪播 clone 卡，只顯示原始 7 張 */
@media (max-width: 980px) {
  .carousel-track .clone-card {
    display: none;
  }
}