.noto-sans-regular {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 400;
}

.noto-sans-medium {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
}

.noto-sans-semibold {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 600;
}

.noto-sans-bold {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
}

.noto-sans-black {
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 900;
}

.noto-serif-regular {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 300;
}

.noto-serif-medium {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 500;
}

.noto-serif-semibold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 600;
}

.noto-serif-bold {
  font-family: "Noto Serif TC", sans-serif;
  font-weight: 700;
}

.lora-regular {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.fade {
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
.fade:hover {
  -webkit-transition: all linear 0.2s;
  transition: all linear 0.2s;
}

@-webkit-keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeOutAnimation {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(0, 4px);
            transform: translate(0, 4px);
  }
  100% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
}
@keyframes pulse {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  50% {
    -webkit-transform: translate(0, 4px);
            transform: translate(0, 4px);
  }
  100% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
}
:root {
  --hot-block-title-t: 4vmin;
  --hot-block-title-r: 6vmin;
  --card-swiper-ratio: 840 / 1390;
  --card-swiper-w: 72.4vw;
  --card-project-wrap-max-w: 330px;
  --project-content-mb: 6vmin;
  --project-name-mr: -1vmin;
  --project-name-font-size: 3.9vmin;
  --project-name-letter-spacing: 1.5vmin;
  --project-name-en-ml: 0;
  --project-name-en-letter-spacing: 4px;
}

.page-hot .img-bg-box {
  background-image: url(../images/hot/banner.webp);
}

.page-hot .main {
  background: none;
  background-color: #17587A;
}

.hot .container {
  max-width: initial;
  width: 100%;
}
.hot .block-title-lg {
  position: absolute;
  top: var(--hot-block-title-t);
  right: var(--hot-block-title-r);
  z-index: 1;
}

.card .project-wrap {
  background-image: url(../images/hot/project-wrap-bg.webp);
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
}
.card .project-wrap > div {
  max-width: var(--card-project-wrap-max-w);
}
.card .project__name {
  text-align: right;
}
.card .project__name .name {
  position: relative;
  margin-right: var(--project-name-mr);
}

@media (max-width: 1400px) {
  :root {
    --card-swiper-w: 66vw;
    --card-project-wrap-max-w: auto;
  }
}
@media screen and (max-width: 767px), screen and (orientation: portrait) {
  :root {
    --card-project-wrap-max-w: 665px;
    --card-swiper-w: 100vw;
    --card-swiper-ratio: 300 / 375;
    --project-name-mr: -0.5vmin;
    --project-name-font-size: 3.5vmin;
    --project-name-letter-spacing: 1vmin;
    --project-wrap-py: 4vmin;
  }
  .card {
    padding-top: 0;
  }
  .card .project-wrap {
    position: relative;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .card .project__name {
    position: absolute;
    z-index: 2;
    width: auto;
    right: 4vw;
    bottom: calc(100% + 1px);
    text-shadow: 0.4vmin 0.6vmin 0.4vmin rgba(0, 0, 0, 0.7);
  }
  .card .project__name .en {
    font-size: calc(var(--project-name-font-size) * 0.68);
  }
  .hot .block-title-lg {
    display: none;
  }
}
@media (max-width: 540px) {
  .card .project-wrap > div {
    width: 94%;
  }
}
@media (orientation: landscape) and (max-height: 550px) {
  .card .project__footer {
    display: block;
  }
}