.containerBG {
  background-image: url("../img/news/news-bg.webp");
}

.swiper-pagination-bullet{
  background: #fff;
  opacity: 1;
  border-radius: 10px;
  transition: all 0.5s;
}

.swiper-pagination-bullet-active{
  background: #fff;
  width: 30px;
}

.swiper-pagination{
  position: relative;
  bottom: 0;
  margin-top: 1vw;
}

.allNewsDiv {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}

.s2 {
  padding-bottom: 10vh;
}

.newsCard {
  margin-bottom: 5vh;
}

.newsCard p.name{
  width: auto;
}

.newsCard .dateDiv {
  width: 15%;
  height: 25%;
  padding-bottom: 2%;
  justify-content: flex-end;
}

.newsCard .imgDiv{
  height: 13.5vw;
  width: 20vw;
}

.page {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.page a {
  font-size: 1vw;
  color: #fff;
  margin-left: 1em;
  margin-right: 1em;
  font-family: "Noto Serif TC", serif;
  opacity: 0.3;
  position: relative;
  transition: all 0.5s;
}

.page a.active {
  opacity: 1;
}

.page a::after {
  content: " ";
  position: absolute;
  background-color: #fff;
  left: 0em;
  right: 0.2em;
  bottom: -0.5em;
  height: 1px;
  opacity: 0;
}

.page a.active::after {
  opacity: 1;
}

.page a:hover {
  opacity: 0.8;
}

/* å…§é é–‹å§‹ */

.news-inner-page .containerBG {
  background-image: url("../img/news/innerPage-BG.webp");
}

.news-inner-page .s1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-inner-page .s1 .title {
  margin-top: 10vh;
  display: inline;
  color: #fff;
  position: relative;
  padding: 1em 0em;
}

.news-inner-page .s1 .title::before,
.news-inner-page .s1 .title::after {
  position: absolute;
  top: 0px;
  content: " ";
  height: 1px;
  background-color: #fff;
  left: 0px;
  right: 0px;
  opacity: 0.5;
}

.news-inner-page .s1 .title::after {
  top: auto;
  bottom: 0px;
}

.news-inner-page .innerContainer::before {
  opacity: 0.2;
}

.news-inner-page .innerContainer.move::before {
  opacity: 0.8;
}

.news-inner-page .s2 {
  position: relative;
  display: flex;
  /* align-items: center; */
  justify-content: center;
}

.news-inner-page .s2 .imgDiv,
.news-inner-page .s2 .infoDiv {
  width: 50%;
}

.news-inner-page .s2 .imgDiv {
  padding-left: 7vw;
  padding-right: 7vw;
  /* padding-left: 10vw;
  padding-right: 10vw; */
}

.news-inner-page .s2 .infoDiv {
  padding-left: 5vw;
  padding-right: 5vw;
}

.post-date {
  font-size: 0.75vw;
  margin-bottom: 3vh;
}

.poster {
  margin-top: 3vh;
}

.news-inner-page .shareDiv {
  margin-top: 10vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.news-inner-page .shareDiv::before,
.news-inner-page .shareDiv::after {
  position: absolute;
  top: 0px;
  content: " ";
  height: 1px;
  background-color: #fff;
  left: 0px;
  right: 0px;
  opacity: 0.5;
}

.news-inner-page .shareDiv::after {
  top: auto;
  bottom: 0px;
}

.news-inner-page .infoDiv .shareDiv p {
  margin-top: 2vh;
  margin-bottom: 2vh;
  margin-right: 1em;
}

.shareDiv .iconDiv {
  width: 2vw;
  margin-left: 1.5vw;
  position: relative;
}

.shareDiv .iconDiv img {
  position: relative;
  z-index: 10;
}

.shareDiv .iconDiv::before {
  border-radius: 50%;
  transition: all 0.3s;
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 100%;
  content: " ";
  top: 0px;
  background: linear-gradient(top, #b08551 0%, #866d3f 100%);
  background: -webkit-linear-gradient(top, #b08551 0%, #866d3f 100%);
  opacity: 0;
}

.shareDiv .iconDiv:hover::before {
  opacity: 0.9;
}

.backBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin-top: 8vh;
  border: 1px solid #ffffff55;
  padding: 0.4em 1em;
  position: relative;
  overflow: hidden;
}

.backBtn::before {
  transition: all 0.5s ease-out;
  position: absolute;
  z-index: 5;
  width: 0%;
  height: 150%;
  content: " ";
  top: -25%;
  background: linear-gradient(top, #b08551 0%, #866d3f 100%);
  background: -webkit-linear-gradient(top, #b08551 0%, #866d3f 100%);
  opacity: 0;
}

.backBtn:hover::before {
  width: 200%;
  height: 150%;
  border-radius: 100%;
  opacity: 1;
}

.backBtn p {
  margin-bottom: 0px;
  position: relative;
  z-index: 10;
}

.backBtn .iconDiv {
  width: 1.2em;
  margin-right: 0.5em;
  position: relative;
  z-index: 10;
}

.news-inner-page-2 .containerBG {
  background-image: url("../img/news/innerPage-BG2.png");
}

@media (max-width: 1023px) {
  .post-date {
    font-size: 12px;
  }
  .page a {
    font-size: 14px;
  }

  .allNewsDiv {
    margin-bottom: 3vh;
  }

  .newsCard {
    width: 30vw;
    margin-bottom: 0px;
  }

  .newsCard .dateDiv {
    width: auto;
    height: auto;
    padding-top: 10%;
    padding-bottom: 2%;
  }

  .newsCard .imgDiv {
      height: 20vw;
      width: 30vw;
  }

  .newsCard p.name {
    margin-top: 2vh;
    margin-bottom: 2vh;
  }


  /* å…§é é–‹å§‹ */
  .news-inner-page .s2 {
    flex-direction: column;
  }

  .news-inner-page .s2 .imgDiv {
    width: 70%;
    padding-left: 0px;
    padding-right: 0px;
  }

  .news-inner-page .s2 .infoDiv {
    margin-top: 5vh;
    width: 70%;
    padding-left: 0px;
    padding-right: 0px;
  }

  .news-inner-page .shareDiv {
    margin-top: 5vh;
  }

  .backDiv {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .backBtn {
    margin-top: 5vh;
  }
}

@media (max-width: 500px) {
  .news-page .containerBG {
    background-position: 13% center;
  }
  .subTitleDiv {
    padding-top: 5vh;
    padding-bottom: 5vh;
  }
  .newsCard {
    width: 80vw;
  }
  .shareDiv .iconDiv {
    width: 12vw;
    padding: 2vw;
  }
  .backDiv {
    justify-content: flex-start;
  }

  .newsCard .imgDiv {
    height: 56vw;
    width: 85vw;
  }

  .news-inner-page .s2 .imgDiv {
    width: 100%;
  }

  .news-inner-page .s2 .infoDiv {
    width: 100%;
  }
}
