@charset "UTF-8";
.page-banner picture::after {
  opacity: 1;
}
@media all and (min-width: 992px) {
  .page-banner picture::after {
    background-image: linear-gradient(111.5deg, rgba(96, 70, 224, 0.4) 14%, rgba(255, 255, 255, 0) 100%), linear-gradient(to right, rgba(45, 45, 56, 0.87) 0%, rgba(100, 100, 107, 0.59) 30%, rgba(136, 136, 143, 0.4) 50%, rgba(174, 174, 178, 0.22) 70%, rgba(217, 217, 217, 0) 93.75%);
  }
}
@media all and (max-width: 991px) {
  .page-banner picture::after {
    background-image: linear-gradient(106.3deg, rgba(96, 70, 224, 0.4) 28.118%, rgba(255, 255, 255, 0) 97.147%), linear-gradient(to right, rgba(45, 45, 56, 0.87) 0%, rgba(100, 100, 107, 0.59) 30%, rgba(136, 136, 143, 0.4) 50%, rgba(174, 174, 178, 0.22) 70%, rgba(217, 217, 217, 0) 93.75%);
  }
}
@media all and (max-width: 991px) {
  .page-banner .grad {
    bottom: -3.39vw;
    height: 75px;
  }
  .page-banner .blur-grad {
    bottom: -0.78vw;
    height: 73px;
  }
}
@media all and (max-width: 991px) {
  .page-banner .breadcrumb::before {
    top: 2px;
    left: 0;
  }
}

@media all and (min-width: 992px) {
  .videos {
    padding-top: 95px;
    padding-bottom: 201px;
  }
}
@media all and (max-width: 991px) {
  .videos {
    padding-top: 43px;
    padding-bottom: 116px;
  }
}

.video-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media all and (min-width: 992px) {
  .video-list {
    gap: 100px 30px;
  }
  .video-list li {
    width: calc((100% - 60px) / 3);
  }
}
@media all and (min-width: 768px) and (max-width: 991px) {
  .video-list {
    gap: 40px 15px;
  }
  .video-list li {
    width: calc((100% - 15px) / 2);
  }
}
@media all and (max-width: 767px) {
  .video-list {
    gap: 40px;
  }
  .video-list li {
    width: 100%;
  }
}

.video-card {
  display: block;
}
.video-card .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: url("../images/common/default_en_1.webp") center/cover no-repeat;
  overflow: hidden;
}
@media all and (min-width: 992px) {
  .video-card .video-frame {
    border-radius: 10px;
  }
}
@media all and (max-width: 991px) {
  .video-card .video-frame {
    border-radius: 5px;
  }
}
.video-card .video-img {
  width: 100%;
  height: 100%;
}
.video-card .video-img::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(97, 86, 163, 0.5);
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}
@media all and (max-width: 991px) {
  .video-card .video-img::after {
    display: none;
  }
}
.video-card .video-img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  -webkit-transform: scale(1.03);
          transform: scale(1.03);
}
.video-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 60px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("../images/common/btn_play.svg") center/contain no-repeat;
  z-index: 1;
}
@media all and (max-width: 991px) {
  .video-card .play-btn {
    width: 50px;
  }
}
.video-card .play-btn::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: url("../images/common/btn_play_hover.svg") center/contain no-repeat;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}
.video-card .card-title {
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  text-align: justify;
  -webkit-transition: color 0.4s ease;
  transition: color 0.4s ease;
}
@media all and (min-width: 992px) {
  .video-card .card-title {
    margin-top: 21px;
    font-size: 20px;
    height: 2.8em;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 第幾行要顯示點點點 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    height: auto;
    max-height: 2.8em;
  }
  .video-card:hover .video-img::after,
  .video-card:hover .play-btn::after {
    opacity: 1;
  }
  .video-card:hover .card-title {
    color: #6156A3;
  }
}
@media all and (max-width: 991px) {
  .video-card .card-title {
    margin-top: 19px;
    font-size: 18px;
  }
}

.lang_en .video-card .card-title {
  line-height: 1.2;
  letter-spacing: -0.01em;
}
@media all and (min-width: 992px) {
  .lang_en .video-card .card-title {
    height: 2.4em;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 第幾行要顯示點點點 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    height: auto;
    max-height: 2.4em;
  }
}

.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 100;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media all and (min-width: 992px) {
  .video-modal {
    padding-top: 60px;
  }
}
.video-modal.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.video-modal .modal {
  position: relative;
}
@media all and (min-width: 992px) {
  .video-modal .modal {
    width: calc(100% - 100px);
    max-width: 800px;
  }
}
@media all and (max-width: 991px) {
  .video-modal .modal {
    width: min(100%, (100vh - 80px) * 16 / 9);
    width: min(100%, (100dvh - 80px) * 16 / 9);
  }
}
.video-modal .video-modal-close {
  position: absolute;
  top: -38px;
  right: -42px;
  cursor: pointer;
  width: 40px;
  height: 40px;
}
@media all and (max-width: 991px) {
  .video-modal .video-modal-close {
    top: auto;
    right: 0;
    bottom: 100%;
    width: 30px;
    height: 30px;
  }
}
.video-modal .video-modal-close .close {
  position: relative;
  width: 100%;
  height: 100%;
}
.video-modal .video-modal-close .close::before, .video-modal .video-modal-close .close::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 2px;
  background-color: #fff;
  top: 50%;
  left: 50%;
}
@media all and (max-width: 991px) {
  .video-modal .video-modal-close .close::before, .video-modal .video-modal-close .close::after {
    width: 22px;
    height: 1px;
  }
}
.video-modal .video-modal-close .close::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}
.video-modal .video-modal-close .close::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
.video-modal .modal-content {
  width: 100%;
  overflow: hidden;
}
@media all and (min-width: 992px) {
  .video-modal .modal-content {
    border-radius: 10px;
  }
}
.video-modal .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1/0.5625;
}
.video-modal .video-frame .video-img {
  width: 100%;
  height: 100%;
}
.video-modal .video-frame .video-img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  -webkit-transform: scale(1.03);
          transform: scale(1.03);
}
.video-modal .video-frame .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("../images/common/btn_play.svg") center/contain no-repeat;
  cursor: pointer;
  z-index: 1;
}
@media all and (max-width: 991px) {
  .video-modal .video-frame .play-btn {
    width: 60px;
  }
}
.video-modal .video-frame .play-btn::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: url("../images/common/btn_play_hover.svg") center/contain no-repeat;
  opacity: 0;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}
@media all and (min-width: 992px) {
  .video-modal .video-frame .play-btn:hover::after {
    opacity: 1;
  }
}
.video-modal .video-frame #modalIframe {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: calc(100% + 2px);
  border: none;
  display: none;
}
.video-modal .video-card-body {
  display: none;
}

@media all and (min-width: 992px) {
  .page-wrap {
    margin-top: 100px;
  }
}
@media all and (max-width: 991px) {
  .page-wrap {
    margin-top: 55px;
  }
}