﻿@charset "UTF-8";
.slick-slide img {
  border-radius: 30px 30px 0 0;
}

.slick .slick-prev, .slick .slick-next {
  width: 45px;
  height: 45px;
}

.slick .slick-prev {
  left: 0%;
}

.slick .slick-next {
  right: 0%;
}

.home_Location {
  padding: 7% 0;
  background-color: #f0f4ff;
}
.home_Location .tab-content {
  width: 1320px;
  margin: 0 auto;
}
@media (max-width: 1400px) {
  .home_Location .tab-content {
    width: 95%;
  }
}
.home_Location h3 {
  text-align: center;
  font-size: 25px;
  margin-bottom: 1.5rem;
  color: #1c1c1c;
  font-weight: 700;
}
.home_Location .nav-pills {
  justify-content: center;
  margin-bottom: 20px;
}
.home_Location .nav-pills .nav-link {
  background-color: #fff;
  color: #cdad7d;
  border: 3px solid #cdad7d;
  font-size: 20px;
  font-weight: bold;
  padding: 10px 29px;
  border-radius: 30px;
  margin: 0 5px;
  position: relative;
  transition: all 0.5s;
}
.home_Location .nav-pills .nav-link.is-active {
  background-color: #cdad7d;
  color: #fff;
}
.home_Location .nav-pills .nav-link.is-active::before {
  bottom: -14px;
  opacity: 1;
}
.home_Location .nav-pills .nav-link::before {
  content: " ";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 18.5px 0 18.5px;
  border-color: #cdad7d transparent transparent transparent;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
  transition: all 0.3s;
  opacity: 0;
  z-index: -1;
}
.home_Location .h2 .txt-tw {
  background: url(../../../../images/templates/LocationTemplates/default/h_icon05.svg) no-repeat 20px center #60629b;
}
.home_Location .h2 .txt-en {
  color: #d2d5dd;
}
.home_Location .more_a a {
  color: #000;
}
.home_Location .more_a a:hover {
  color: #cdad7d;
}
.home_Location .item {
  position: relative;
  margin: 20px 20px;
  box-shadow: 0 0 18px rgba(205, 173, 125, 0.368627451);
  border-radius: 40px;
  transition: all 0.5s;
}
.home_Location .item:hover {
  transform: scale(1.02);
}
.home_Location .item:hover .pic img {
  opacity: 0.7;
}
.home_Location .item .fatured {
  font-size: 16px;
  color: #fff;
  background-color: #a9362e;
  position: absolute;
  text-align: center;
  padding: 3px 13px;
  display: table;
  z-index: 1;
  left: -19px;
  top: 25px;
}
.home_Location .item .fatured::before {
  content: " ";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 19px 8px 0;
  border-color: transparent #732823 transparent transparent;
  left: 0;
  bottom: -8px;
}
.home_Location .item .tit {
  padding: 20px;
  border-radius: 0 0 40px 40px;
  background-color: #fff;
  min-height: 142px;
}
.home_Location .item .tit .title {
  font-weight: bold;
  color: #090909;
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 5px;
}
.home_Location .item .tit .place {
  background: url("../../../../images/templates/locationtemplates/default/add.svg") no-repeat left center;
  padding-left: 15px;
  color: #222344;
  font-size: 15px;
  margin-bottom: 5px;
}
.home_Location .item .pic {
  border-radius: 40px 40px 0 0;
  position: relative;
  overflow: hidden;
}
.home_Location a {
  display: block;
}
.home_Location .central_box {
  background-color: #fff;
  box-shadow: 0 0 12px #cdad7d;
  margin: 20px 0;
  border-radius: 30px;
  padding: 30px 0;
}
.home_Location .central_box .vr_icon {
  transform: scale(0.85);
}
.home_Location .central_box span {
  font-size: 23px;
}
.home_Location .central_box ul {
  gap: 0 10px;
  flex-wrap: unset;
}
.home_Location .central_box ul li {
  position: relative;
  width: calc((100% - 20px) / 4);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 24px;
}
.home_Location .central_box ul li::before {
  content: " ";
  display: block;
  position: absolute;
  background-color: #6e6e6e;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 26px;
}
.home_Location .central_box ul li:last-child::before {
  display: none;
}

/* ---- RWD ---- */
@media (max-width: 1199px) {
  .home_Location .central_box {
    margin: 20px 15px;
    padding: 10px 0;
  }
  .home_Location .central_box .vr_icon {
    transform: scale(0.8);
  }
  .home_Location .central_box span {
    font-size: 20px;
  }
}
@media (max-width: 992px) {
  .home_Location .slick .slick-next {
    right: -10px;
  }
  .home_Location .slick .slick-prev {
    left: -10px;
  }
  .home_Location > .container {
    max-width: 100%;
  }
  .home_Location .central_box {
    margin: 20px 15px;
    padding: 10px 0;
  }
  .home_Location .central_box .vr_icon {
    transform: scale(0.8);
  }
  .home_Location .central_box span {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .home_Location {
    padding: 60px 0;
  }
  .home_Location .slick .slick-next,
  .home_Location .slick .slick-prev {
    top: 36%;
  }
  .home_Location .slick .slick-next:hover, .home_Location .slick .slick-next:focus,
  .home_Location .slick .slick-prev:hover,
  .home_Location .slick .slick-prev:focus {
    background-size: 25%;
  }
  .home_Location .item {
    margin: 20px 20px;
    border-radius: 30px;
  }
  .home_Location .item .pic {
    border-radius: 20px 20px 0 0;
  }
  .home_Location .item .tit {
    border-radius: 0 0 20px 20px;
    padding: 10px;
    min-height: auto;
  }
  .home_Location .item .fatured {
    font-size: 14px;
    padding: 3px 10px;
    left: -10px;
  }
  .home_Location .item .fatured::before {
    border-width: 0 10px 6px 0;
    bottom: -5px;
  }
  .home_Location .central_box {
    margin: 20px 20px;
  }
  .home_Location .central_box ul {
    flex-wrap: wrap;
  }
  .home_Location .central_box ul li {
    width: calc((100% - 20px) / 2);
    flex-direction: column;
    font-size: 18px;
  }
  .home_Location .central_box ul li img {
    width: 80%;
    margin: 0 auto 5px;
    display: table;
  }
  .home_Location .central_box ul li:nth-child(2)::before {
    display: none;
  }
  .home_Location .central_box ul li::before {
    height: 56px;
  }
  .home_Location .more_a {
    transform: translateY(20px) !important;
  }
}
@media (max-width: 575px) {
  .home_Location .nav-pills .nav-link {
    font-size: 16px;
    padding: 8px 15px;
    border-width: 2px;
  }
  .home_Location .nav-pills .nav-link::before {
    transform: scale(0.6);
  }
  .home_Location .nav-pills .nav-link.active::before {
    bottom: -14px;
  }
}
.wid-Location {
  opacity: 1;
  transition: opacity 0.2s ease; /* 要和 JS 的 200ms 對齊 */
}

.wid-Location.is-fading {
  opacity: 0;
}

/* slick 觸控滑動與頁面滾動共存 */
.wid-Location,
.wid-Location .slick-track {
  touch-action: pan-y !important; /* 允許垂直滾動，slick 只管水平 */
}

.wid-Location .slick-list {
  overflow: hidden;
}
