@charset "UTF-8";
/* 【熱門城市】 */
/* Banner */
.Banner {
  margin-bottom: 5rem;
}

.Banner .container_full {
  width: 100%;
  height: 595px;
  background-image: url(../image/pop_cities/pop_city_background_cityscape-singapore-city-skyline.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Banner .container_full h2 {
  color: var(--white);
  text-shadow: 0 0.2rem 0.3rem rgba(0, 0, 0, 0.8);
}

.wrap h2 {
  text-align: left;
}

/* Swiper輪播 */
.swiper {
  width: 100%;
  height: 100%;
  margin-bottom: 4rem;
}

.swiper .swiper-pagination-bullet {
  background-color: var(--gray_3);
}

.swiper-slide {
  text-align: center;
  background: var(--white);
  /* Center slide text vertically */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* 標題 */
}

.swiper-slide .image-container {
  width: 100%;
  height: 360px;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  /* 漸層覆蓋 */
}

.swiper-slide .image-container .overlap {
  background: linear-gradient(transparent 60%, rgba(2, 32, 56, 0.761) 80%, rgba(2, 32, 56, 0.98) 100%);
  position: absolute;
  width: 100%;
  top: 0;
}

.swiper-slide .caption {
  width: 100%;
  height: 100%;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  /* 名稱 */
  /* 次標 */
}

.swiper-slide .caption h3 {
  text-align-last: left;
  color: var(--primary);
  margin: 0.5rem;
  z-index: 2;
}

.swiper-slide .caption .tag {
  text-align-last: left;
  display: flex;
}

.swiper-slide .caption .tag h4 {
  display: inline;
  color: var(--primary);
  margin: 0.5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--primary);
  border-radius: 1rem;
  z-index: 2;
}

.swiper-slide .caption p {
  margin-bottom: 2rem;
  text-align-last: left;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: 0.9s all;
}

.swiper-slide img:hover {
  transform: scale(1.1);
}

.carousel_actions {
  width: 100%;
  color: var(--primary);
  background-color: #fff;
  margin: auto;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  z-index: 5;
}

@media screen and (max-width: 768px) {
  /* 標題 */
  .caption {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    /* 名稱 */
    /* 次標 */
  }
  .caption h3 {
    text-align-last: left;
    color: var(--primary);
    margin: 0.5rem;
    z-index: 2;
  }
  .caption .tag {
    text-align-last: left;
    display: flex;
    flex-direction: column;
  }
  .caption .tag h4 {
    display: inline;
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--primary);
    border-radius: 1rem;
    margin: 0.5rem;
    z-index: 2;
  }
  .caption p {
    text-align-last: left;
  }
}

@media screen and (max-width: 425px) {
  .image-container {
    width: 100%;
    height: 140px;
  }
  /* 標題 */
  .caption {
    width: 100%;
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    align-items: center;
    /* 名稱 */
    /* 次標 */
  }
  .caption h3 {
    text-align-last: left;
    color: var(--primary);
    margin: 0.5rem;
    z-index: 2;
  }
  .caption .tag {
    text-align-last: left;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }
  .caption .tag h4 {
    display: inline;
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--primary);
    border-radius: 1rem;
    margin: 0.5rem;
    z-index: 2;
  }
  .caption p {
    text-align-last: center;
  }
}
/*# sourceMappingURL=popular_cities.css.map */