

.article-p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.infoBtm {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*切換上下頁*/
.tabChangeBox {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 3rem;
}

.tabChangeBtn {
  background: inherit;
  border: none;
  font-size: 2rem
}

@media (max-width: 600px) {
  .tabChangeBox button {
    font-size: 0.9rem;
  }
}

.searchResult {
  margin-top: 1.5rem;
  padding-top: 1rem;
  position: relative;
}

.searchResult .gridChange {
  top: 20px;
}

@media(max-width: 600px) {
  .flexBox {
    position: relative;
  }

  .gridChange {
    right: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 10%;
  }

  .infoBtm .btnStyle--sm {
    width: 40%;
    padding: 3px;
    font-size: 1rem;
    margin-bottom: 0;
  }

  .tags a {
    font-size: 0.8rem;
  }
}

.caseContent__inner .txt img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.otherZone {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgb(123 137 159 / 50%);
}

/*避免tinyMCE 的圖片跟 文字超出頁面*/
.txt {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.txt img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

[role="tabpanel"].is-hidden {
  display: none;
}

@media (max-width: 600px) {
  .caseTop {
    flex-direction: column
  }

  .caseName {
    font-size: 2rem
  }

  .other {
    margin-top: 5%
  }

  .caseIntro {
    padding: 10px;
  }

  .caseLeft {
    padding-right: 10px;
    width: 60%;
  }

  .caseRight {
    width: 40%;
  }

  .caseIntro .bigTxt {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  .caseIntro .txt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: 100%;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .caseList li {
    width: 100%;
    font-size: 0.8rem;
  }

  .caseLeft .tags {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topPic {
    flex-direction: column;
  }

  .topPic figure {
    width: 100%;
  }

  .topPic figure:first-child img {
    border-radius: 24px;
  }

  .topPic figure:last-child img {
    border-radius: 24px;
  }
}

/*分享按鈕*/
.share-icons {
  display: none;
  position: absolute;
  width: 160px;
  text-align: center;
  padding: 3px;
  background-color: #f1f1f1;
  border-radius: 8px;
}

.share:hover,
.download:hover,
.print:hover {
  opacity: 0.5;
}

.share-icon-image {
  width: 30px;
  object-fit: cover;
}

.x-twitter {
  border-radius: 50%;
}

/*tab切換*/
.caseTabList {
  list-style: none;
  padding-left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.caseTab__item {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  height: 50px;
  line-height: 50px;
  padding: 0px 20px;
  border: 1px solid rgb(61 68 79 / 20%);
  margin-left: -1px;
  font-weight: 600;
}

.caseTabList li:first-child .caseTab__item {
  border-radius: 24px 0px 0px 24px
}

.caseTabList li:last-child .caseTab__item {
  border-radius: 0px 24px 24px 0px;
}

.caseTab__item[aria-selected="true"] {
  background: var(--main-color)
}

.caseTabContent .txt {
  max-width: 650px;
  margin: 0 auto;
}

.caseTabContent .txt figure {
  overflow: hidden
}

.caseTabContent .txt figure img {
  border-radius: 24px;
  border: 1px solid rgb(148 163 185 / 50%);
  overflow: hidden;
  padding: 10px;
  cursor: pointer;
  transition: all .5s;
}

.caseTabContent .txt figure:hover img {
  box-shadow: 0px 0px 10px rgb(0 0 0 / 20%)
}

figcaption {
  margin-top: .5rem;
  text-align: center;
}

@media (max-width: 600px) {
  .caseTab__item {
    font-size: 1rem;
    white-space: nowrap;
    padding: 0px 5px;
  }
}

/*複製成功的alert*/
#notification {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: rgba(128, 128, 128, 0.2);
  padding: 16px;
  border-radius: 24px;
  z-index: 9999;
  opacity: 0;
}

/*關於本站列表：版面與顏色皆由 Bootstrap class 控制，此處僅補齊字級與分隔線色*/
.about-nav-link {
  font-size: 1.25rem;
  border-color: rgb(148 163 185 / 50%) !important;
}

.about-nav-link:hover {
  color: #6868AC !important;
}
