@charset "UTF-8";
.detail-container {
  margin: 0 auto;
  max-width: 1300px;
  padding: 90px 50px 100px;
}
@media all and (max-width: 991px) {
  .detail-container {
    padding: 50px 25px;
  }
}

.detail-wrap .article-info {
  color: #ABA07D;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media all and (max-width: 991px) {
  .detail-wrap .article-info {
    font-size: 15px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
.detail-wrap .article-title {
  font-family: "Scheherazade New", "Noto Serif TC", serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #C9C9C9;
  padding-bottom: 13px;
  margin-bottom: 30px;
}
@media all and (max-width: 991px) {
  .detail-wrap .article-title {
    font-size: 30px;
    padding-bottom: 10px;
    margin-bottom: 25px;
  }
}
.detail-wrap .editor_box {
  margin-bottom: 100px;
}
@media all and (max-width: 991px) {
  .detail-wrap .editor_box {
    margin-bottom: 50px;
  }
}
.detail-wrap .back-btn {
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 12px 43px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media all and (max-width: 991px) {
  .detail-wrap .back-btn {
    padding: 11px 40px;
  }
}

.detail-breadcrumb {
  margin-bottom: 7px;
}
.detail-breadcrumb .breadcrumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  text-decoration: underline;
  text-decoration-color: #ABA07D;
}
.detail-breadcrumb .breadcrumb .breadcrumb-item {
  position: relative;
  padding: 5px;
  -webkit-transition: color 0.4s ease;
  transition: color 0.4s ease;
}
.detail-breadcrumb .breadcrumb .breadcrumb-item:not(:last-child)::after {
  position: absolute;
  content: "";
  top: 50%;
  right: -10px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 4px;
  height: 10px;
  -webkit-mask: url(../images/common/arrow_right.svg) center/contain no-repeat;
          mask: url(../images/common/arrow_right.svg) center/contain no-repeat;
  background-color: #ABA07D;
}
@media all and (min-width: 992px) {
  .detail-breadcrumb .breadcrumb .breadcrumb-item:hover {
    color: #635947;
  }
}
@media all and (max-width: 991px) {
  .detail-breadcrumb .breadcrumb .breadcrumb-item {
    padding: 1px;
  }
}

.article-toc {
  font-family: "Scheherazade New", "Noto Serif TC", serif;
  padding: 42px 50px;
  background-color: #EFEDE6;
  margin-bottom: 30px;
}
@media all and (max-width: 991px) {
  .article-toc {
    padding: 21px 25px;
    margin-bottom: 15px;
  }
}
.article-toc .title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
@media all and (max-width: 991px) {
  .article-toc .title {
    font-size: 20px;
    line-height: 1;
  }
}
.article-toc .box {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-left: 0.5em;
  color: #635947;
}
.article-toc .box h2 .no, .article-toc .box h3 .no {
  font-size: 22px;
  font-weight: 500;
}
.article-toc .box h2:hover, .article-toc .box h3:hover {
  color: #ABA07D;
  cursor: pointer;
}
.article-toc .box h2 {
  padding-top: 10px;
}
.article-toc .box h2:has(+ h3) {
  margin-bottom: 0;
}
.article-toc .box h2:not(:has(+ h3)) {
  margin-bottom: 10px;
}
@media all and (max-width: 991px) {
  .article-toc .box h2 {
    padding-top: 5px;
  }
  .article-toc .box h2:has(+ h3) {
    margin-bottom: 0;
  }
  .article-toc .box h2:not(:has(+ h3)) {
    margin-bottom: 10px;
  }
}
.article-toc .box h2:not(:first-of-type) {
  position: relative;
}
.article-toc .box h2:not(:first-of-type)::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  background-image: repeating-linear-gradient(to right, #c9c9c9 0, #c9c9c9 2px, transparent 2px, transparent 4px);
}
.article-toc .box h3 {
  margin-left: 1.8em;
}
@media all and (max-width: 991px) {
  .article-toc .box h3 {
    margin-top: -5px;
    margin-left: 1.7em;
  }
}
.article-toc .box h3:has(+ h2), .article-toc .box h3:last-of-type {
  margin-bottom: 10px;
}
@media all and (max-width: 991px) {
  .article-toc .box h3:has(+ h2), .article-toc .box h3:last-of-type {
    margin-bottom: 5px;
  }
}

.related-article {
  position: relative;
  background-color: #EFEDE6;
}
.related-article::before {
  position: absolute;
  left: -25px;
  bottom: -13px;
  content: "ARTICLES";
  font-family: "Scheherazade New", "Noto Serif TC", serif;
  -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
          writing-mode: vertical-lr;
  font-size: 134px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #fff;
}
@media all and (max-width: 991px) {
  .related-article::before {
    display: none;
  }
}

.related-article-wrap {
  margin: 0 auto;
  max-width: 1300px;
  padding: 94px 50px 70px;
}
@media all and (max-width: 991px) {
  .related-article-wrap {
    padding: 43px 25px 21px;
  }
}
.related-article-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 60px;
}
@media all and (max-width: 991px) {
  .related-article-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 50px;
  }
}
.related-article-wrap .related-article-content {
  width: 100%;
}
.related-article-wrap .title-wrap {
  font-family: "Scheherazade New", "Noto Serif TC", serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 18px;
}
@media all and (max-width: 991px) {
  .related-article-wrap .title-wrap {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 14px;
  }
}
.related-article-wrap .title-wrap .title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
}
.related-article-wrap .related-article-list {
  border-top: 1px solid #C9C9C9;
}
.related-article-wrap .related-article-list li {
  position: relative;
  padding: 30px 0;
}
@media all and (max-width: 991px) {
  .related-article-wrap .related-article-list li {
    padding: 24px 0;
  }
}
.related-article-wrap .related-article-list li::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-image: repeating-linear-gradient(to right, #c9c9c9 0, #c9c9c9 2px, transparent 2px, transparent 4px);
}
.related-article-wrap .related-article-list li:last-child::after {
  display: none;
}
.related-article-wrap .card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media all and (max-width: 991px) {
  .related-article-wrap .card {
    gap: 15px;
  }
}
.related-article-wrap .card .img-wrap {
  width: 200px;
  height: auto;
  aspect-ratio: 1;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  overflow: hidden;
  background: url("../images/common/default.webp") center/cover no-repeat;
}
@media all and (max-width: 991px) {
  .related-article-wrap .card .img-wrap {
    width: 151px;
  }
}
.related-article-wrap .card .img-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}
.related-article-wrap .card .img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}
.related-article-wrap .card .card-content {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}
.related-article-wrap .card .card-content .card-content-wrap {
  width: 100%;
}
.related-article-wrap .card .card-btn {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: relative;
  margin: auto 13px auto 0;
  width: 30px;
  height: 30px;
  overflow: hidden;
}
.related-article-wrap .card .card-btn::before, .related-article-wrap .card .card-btn::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 30px;
  aspect-ratio: 1;
  -webkit-mask: url("../images/common/arrow.svg") center/contain no-repeat;
          mask: url("../images/common/arrow.svg") center/contain no-repeat;
  background-color: #343434;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}
.related-article-wrap .card .card-btn::after {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
.related-article-wrap .card .card-btn::before {
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
}
@media all and (max-width: 991px) {
  .related-article-wrap .card .card-btn {
    display: none;
  }
}
.related-article-wrap .card .card-title {
  font-family: "Scheherazade New", "Noto Serif TC", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  height: 3em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 第幾行要顯示點點點 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  height: unset;
  margin-bottom: 15px;
}
@media all and (max-width: 991px) {
  .related-article-wrap .card .card-title {
    margin-bottom: 5px;
  }
}
.related-article-wrap .card .card-text {
  height: 3.6em;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 第幾行要顯示點點點 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  height: unset;
  margin-bottom: 20px;
}
@media all and (max-width: 991px) {
  .related-article-wrap .card .card-text {
    font-size: 15px;
    line-height: 1.6;
    height: 3.2em;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 第幾行要顯示點點點 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    height: unset;
    margin-bottom: 15px;
  }
}
.related-article-wrap .card .card-info {
  color: #ABA07D;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  row-gap: 0.5em;
}
@media all and (max-width: 991px) {
  .related-article-wrap .card .card-info {
    font-size: 15px;
  }
}
.related-article-wrap .card .card-info .card-category {
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  padding-right: 0.5em;
  border-right: 1px solid #ABA07D;
  margin-right: 0.5em;
}
@media all and (max-width: 991px) {
  .related-article-wrap .card .card-info .card-category {
    padding-right: 0.3em;
    margin-right: 0.3em;
  }
}
@media all and (max-width: 991px) {
  .related-article-wrap .card .card-info .card-date {
    line-height: 1.5;
  }
}
@media all and (min-width: 992px) {
  .related-article-wrap .card:hover .img-wrap img {
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
  }
  .related-article-wrap .card:hover .card-title {
    text-decoration: underline;
  }
  .related-article-wrap .card:hover .card-btn::after {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  .related-article-wrap .card:hover .card-btn::before {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}