@charset "UTF-8";
/*--------------------*/
/* $Catalog
/*--------------------*/
/**
 * Utility
 * Components
 * Index
 * About
 * Service
 * Course
 * News
 * Books
 * Partner
 * Contact
 * privacy
**/
/*--------------------*/
/* $Utility
/*--------------------*/
:root {
  --bg-color: #faf9f4;
  --text-color: #000;
  --text-secondary: #5a5a5a;
  --text-link-gold: #a5936d;
  --gold-light: #beaa80;
  --gold-saturation: #c8952a;
  --accent-red: #c7171e;
  --footer-bg: #c1ad83;
}

::-moz-selection {
  /* Code for Firefox */
  background: #fdd0d1;
  color: #3a3a3a;
}

::selection {
  background: #fdd0d1;
  color: #3a3a3a;
}

body {
  position: relative;
  font-family: "Noto Sans TC", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}
@media (max-width: 576.98px) {
  body {
    max-width: 100vw;
  }
}

a.block {
  display: block;
  text-decoration: none;
  color: var(--text-color);
}

.course-intro a,
.course-sidebar a,
.article-detail a,
.books a {
  display: inline-block;
  margin: 0 2px;
  border-bottom: 1px solid transparent;
  color: var(--text-link-gold);
  color: var(--accent-red);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.course-intro a:hover,
.course-sidebar a:hover,
.article-detail a:hover,
.books a:hover {
  color: var(--accent-red);
  filter: brightness(1.1);
  border-color: #db1e25;
}

.serif-font {
  font-family: "Noto Serif TC", serif;
}

.color-accent-red {
  color: var(--accent-red);
}

.color-gold {
  color: #86744e;
}

.btn-gold {
  background-color: #b69a6d;
  color: #fff;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.btn-gold:hover {
  background-color: #a5936d;
  color: #fff;
}
.btn-gold:focus {
  box-shadow: 0 0 0 0.25rem rgba(182, 154, 109, 0.27);
}
.btn-gold .fas {
  font-size: 12px;
  vertical-align: middle;
  margin-left: 8px;
}

@media (min-width: 768px) {
  .fs-md-5 {
    font-size: 1.25em;
  }
}

.container {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

/*--------------------*/
/* $Components
/*--------------------*/
.navbar {
  padding: 48px 0;
  background-color: var(--bg-color);
  border-bottom: 1px solid #efefef;
}
@media (max-width: 991.98px) {
  .navbar {
    padding: 4px 0;
    position: relative;
    z-index: 1000; /* 確保導航欄在其他元素之上 */
  }
}
@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    position: absolute;
    top: 100%; /* 從導航欄底部開始 */
    left: 0;
    right: 0;
    margin-top: 1px;
    background-color: var(--bg-color);
    padding: 10px 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }
  .navbar .navbar-collapse .navbar-nav {
    align-items: center;
  }
  .navbar .navbar-collapse .nav-item {
    width: 100%;
    max-width: 380px;
  }
  .navbar .navbar-collapse .nav-link {
    margin-bottom: 8px;
    padding: 1rem;
    background: #d6c396;
    text-align: center;
    border-radius: 8px;
  }
  .navbar .navbar-collapse .nav-link span {
    display: inline-block;
    min-width: 4em;
    text-align: left;
  }
}

.navbar-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}
@media (max-width: 991.98px) {
  .navbar-brand {
    position: relative;
    left: 0;
    transform: none;
  }
}
.navbar-brand img {
  width: 104px;
  height: auto;
}
@media (max-width: 991.98px) {
  .navbar-brand img {
    width: 64px;
  }
}

.navbar-expand-lg .navbar-collapse {
  justify-content: center;
}

.navbar-nav.left-nav {
  margin-right: 122px;
}
.navbar-nav.right-nav {
  margin-left: 122px;
}
@media (max-width: 991.98px) {
  .navbar-nav.left-nav, .navbar-nav.right-nav {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: #000;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link .navbar-light .navbar-nav .show > .nav-link {
  color: #c7171e;
}
.navbar-light .navbar-nav .nav-link .show > .nav-link {
  color: #c7171e;
}

.navbar-nav .nav-link {
  color: var(--text-color);
  margin: 0 12px;
  position: relative;
}
.navbar-nav .nav-link.active {
  font-weight: 500;
}
.navbar-nav .nav-link img {
  margin-right: 5px;
  vertical-align: sub;
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0;
  }
  .navbar-toggler:focus {
    box-shadow: none;
  }
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .navbar-toggler[aria-expanded=true] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M5 5l20 20M25 5L5 25'/%3e%3c/svg%3e");
  }
}
.main-content {
  padding-top: 60px;
}
@media (max-width: 991.98px) {
  .main-content {
    padding-top: 40px;
  }
}
.main-content > .container {
  min-height: calc(100vh - 300px);
}

/* 頁面標題區域 */
.page-title {
  padding-bottom: 30px;
}
@media (max-width: 991.98px) {
  .page-title {
    padding-bottom: 20px;
  }
}
.page-title h1 {
  font-size: 60px;
  font-weight: 900;
  margin-bottom: 10px;
}
@media (max-width: 991.98px) {
  .page-title h1 {
    font-size: 2.5rem;
  }
}
.page-title h2,
.page-title .subtitle {
  font-size: 28px;
  color: var(--gold-light);
  font-weight: 600;
}
@media (max-width: 991.98px) {
  .page-title h2,
  .page-title .subtitle {
    font-size: 1.5rem;
  }
}

/* 頁面介紹文字 */
.intro-text {
  line-height: 1.5;
  font-size: 22px;
  margin-bottom: 60px;
}
@media (max-width: 991.98px) {
  .intro-text {
    font-size: 18px;
  }
}

/* 背景裝飾元素 */
.bg-decoration {
  position: absolute;
  z-index: -1;
}
@media (max-width: 991.98px) {
  .bg-decoration {
    transform: scale(50%);
  }
}

.circles-decoration {
  top: 0px;
  left: 100px;
}
@media (max-width: 991.98px) {
  .circles-decoration {
    left: auto;
    top: -6%;
    top: -1%;
    right: -75px;
  }
}

.doc-decoration {
  right: 0;
  top: 40%;
}
@media (max-width: 991.98px) {
  .doc-decoration {
    display: none;
  }
}

.balance-decoration {
  left: -50px;
  bottom: 150px;
}
@media (max-width: 991.98px) {
  .balance-decoration {
    left: -100px;
    bottom: 9%;
    bottom: 6%;
  }
}

.wave-decoration {
  top: 40px;
  left: -64px;
}
@media (max-width: 991.98px) {
  .wave-decoration {
    transform: scale(90%);
    top: -40px;
    left: -20px;
  }
}

/*** 浮動區塊 ***/
.float-area {
  position: sticky;
  width: 95px;
  bottom: 30px;
  padding-right: 24px;
  margin-left: auto;
  text-align: right;
  z-index: 10;
}
@media (max-width: 797.98px) {
  .float-area {
    width: 84px;
    bottom: 16px;
    padding-right: 12px;
  }
}
.float-area a {
  background-color: var(--gold-saturation);
  background-color: var(--accent-red);
  color: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease !important;
  cursor: pointer;
  z-index: 1;
}
.float-area a:hover {
  filter: brightness(1.1);
  color: white;
  transform: translateY(-5px);
}

#toTopBtn {
  width: 70px;
  bottom: 116px;
  transition: opacity 0.3s ease;
  pointer-events: none;
  margin-bottom: 12px;
  padding-top: 12px;
  background-color: var(--gold-saturation);
  text-align: center;
  text-decoration: none;
  opacity: 0;
}
#toTopBtn span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  top: 18px;
  transform: rotate(-45deg);
}

#toTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}

/* 頁腳樣式 */
footer {
  background-color: var(--footer-bg);
  color: white;
  padding: 30px 0;
  margin-top: 48px;
}

@media (max-width: 991.98px) {
  .footer-content {
    text-align: center;
  }
}
.footer-content .footer-company {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 8px;
}
@media (max-width: 767.98px) {
  .footer-content .footer-company {
    font-size: 22px;
  }
}
.footer-content .footer-social a {
  display: inline-block;
  margin-left: 12px;
  font-size: 1.2rem;
  opacity: 0.9;
  transition: all 0.2s;
}
.footer-content .footer-social a:hover {
  opacity: 1;
}

.copyright {
  text-align: right;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 8px;
}
@media (max-width: 991.98px) {
  .copyright {
    text-align: center;
  }
}

.privacy-btn {
  display: inline-block;
  border: 1px solid white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: white;
  text-decoration: none;
  margin: 8px 0;
  transition: all 0.3s;
}
.privacy-btn:hover {
  background-color: white;
  color: var(--gold-saturation);
}

/* Modal */
@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 1.25rem;
  }
}

/* 作者介紹 */
.author-info {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.author-info .author-photo {
  flex: 0 0 90px;
  text-align: center;
}
.author-info .author-photo .author-img {
  width: 90px;
  height: 90px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.author-info .author-photo .author-name {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  color: var(--text-secondary);
}
.author-info .author-details {
  flex: 1;
}
.author-info .author-details p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.5rem;
}
.author-info .author-details .author-list {
  list-style: none;
  padding: 0;
}
.author-info .author-details .author-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: #555;
  margin: 1rem 0;
}
.author-info .author-details .author-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background-color: #d42f2f;
  border-radius: 2.5px;
  transform: rotate(45deg);
}

/* 區塊小標 ( 金字金底線 ) */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #a5936d;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #beaa80;
}

/*--------------------*/
/* $Index
/*--------------------*/
.homepage-carousel {
  position: relative;
}
.homepage-carousel .carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.homepage-carousel .carousel-item {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 31.25%;
  background-color: #f3f3f3;
}
@media (max-width: 991.98px) {
  .homepage-carousel .carousel-item {
    padding-bottom: 60%;
  }
}
.homepage-carousel .carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.homepage-carousel .carousel-control-prev,
.homepage-carousel .carousel-control-next {
  width: 5%;
  filter: brightness(0.9);
  transition: all 0.3s;
}
.homepage-carousel .carousel-control-prev:hover,
.homepage-carousel .carousel-control-next:hover {
  filter: brightness(1.2);
}
.homepage-carousel .carousel-control-prev-icon,
.homepage-carousel .carousel-control-next-icon {
  background-size: 100% 100%;
  background-image: none;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #7b7059;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}
.homepage-carousel .carousel-control-prev-icon {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 18 9 12 15 6'/></svg>");
}
.homepage-carousel .carousel-control-next-icon {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
}

.main-content.homepage {
  text-align: center;
}
@media (min-width: 1200px) {
  .main-content.homepage {
    padding-top: 120px;
  }
}
.main-content.homepage section {
  margin-bottom: 120px;
}
@media (max-width: 767.98px) {
  .main-content.homepage section {
    margin-bottom: 80px;
  }
}
.main-content.homepage .section-title {
  display: inline-block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 48px;
  font-weight: 900;
  color: #111;
  border-bottom: 0;
}
@media (max-width: 991.98px) {
  .main-content.homepage .section-title {
    font-size: 40px;
  }
}
@media (max-width: 575.98px) {
  .main-content.homepage .section-title {
    font-size: 32px;
  }
}
.main-content.homepage .subtitle {
  margin-bottom: 32px;
  color: #beaa80;
  font-size: 18px;
  font-weight: bold;
}
@media (max-width: 767.98px) {
  .main-content.homepage .subtitle {
    margin-bottom: 24px;
  }
}
@media (max-width: 575.98px) {
  .main-content.homepage .subtitle {
    font-size: 16px;
  }
}
.main-content.homepage .more-btn {
  position: relative;
  display: inline-block;
  margin-top: 24px;
  padding: 6px 28px;
  background-color: #d6c396;
  color: #000;
  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.main-content.homepage .more-btn::before {
  content: "";
  position: absolute;
  right: -12px;
  margin-top: 4px;
  height: 8px;
  width: 32px;
  transform: skewX(55deg);
  border-right: 2px solid #000;
  border-bottom: 1px solid #000;
  transition: all 0.3s;
}
.main-content.homepage .more-btn:hover {
  background-color: #ebd59f;
}
.main-content.homepage .more-btn:hover::before {
  right: -20px;
  width: 40px;
}
.main-content.homepage .more-btn-dark {
  background-color: #000;
  color: #e6ddc8;
}
.main-content.homepage .more-btn-dark::before {
  border-color: #9f803d;
}
.main-content.homepage .more-btn-dark:hover {
  color: #f8eac9;
  background-color: #222;
}
.main-content.homepage .section-about .intro {
  font-size: 18px;
  line-height: 1.8em;
}
@media (min-width: 992px) {
  .main-content.homepage .section-about .intro {
    text-align: left;
  }
}
.main-content.homepage .section-about .intro .points {
  font-weight: bold;
}
.main-content.homepage .section-about .intro .points span {
  position: relative;
  display: inline-block;
  padding-right: 16px;
  margin-right: 12px;
}
.main-content.homepage .section-about .intro .points span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: -4px;
  top: 13px;
  background: var(--accent-red);
  transform: rotate(45deg);
  border-radius: 2px;
}
.main-content.homepage .section-about .intro .points span:last-child::after {
  display: none;
}
.main-content.homepage .section-pubs-articles .section-title-area {
  margin-bottom: 12px;
  text-align: left;
  border-bottom: 1px solid #c6b89c;
}
.main-content.homepage .section-pubs-articles .section-title {
  font-size: 40px;
  vertical-align: middle;
}
@media (max-width: 575.98px) {
  .main-content.homepage .section-pubs-articles .section-title {
    font-size: 32px;
  }
}
.main-content.homepage .section-pubs-articles .subtitle {
  display: inline-block;
  margin-bottom: 0;
  margin-left: 4px;
}
.main-content.homepage .section-pubs-articles .section-books,
.main-content.homepage .section-pubs-articles .section-news {
  margin: 0 20px;
  padding: 32px 48px;
  height: 100%;
  border-radius: 8px;
  text-align: left;
}
@media (max-width: 1199.98px) {
  .main-content.homepage .section-pubs-articles .section-books,
  .main-content.homepage .section-pubs-articles .section-news {
    margin: 0;
    padding: 24px 32px;
  }
}
@media (max-width: 575.98px) {
  .main-content.homepage .section-pubs-articles .section-books,
  .main-content.homepage .section-pubs-articles .section-news {
    padding: 24px 16px;
  }
}
@media (max-width: 575.98px) {
  .main-content.homepage .section-pubs-articles .section-books .more-btn,
  .main-content.homepage .section-pubs-articles .section-news .more-btn {
    margin-right: 12px;
  }
}
.main-content.homepage .section-pubs-articles .section-books {
  background-color: #fff;
  border: 1px solid #d3c6ab;
}
.main-content.homepage .section-pubs-articles .section-books .article-list .article-card {
  background-color: #fff;
  border-color: transparent;
}
.main-content.homepage .section-pubs-articles .section-books .article-list .article-card:hover {
  border-color: rgba(198, 184, 156, 0.4);
}
.main-content.homepage .section-pubs-articles .section-news {
  background-color: #e7ddc8;
}
.main-content.homepage .section-pubs-articles .section-news .article-list .article-card {
  background-color: #faf9f4;
}
.main-content.homepage .section-pubs-articles .section-news .article-list .article-card:hover {
  background-color: #fff;
}

.section-services {
  position: relative;
}
.section-services .item {
  position: relative;
}
.section-services .item a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
  z-index: 1;
}
.section-services .item:hover .service-title {
  color: var(--accent-red);
}
.section-services .item:hover .service-img-wrapper::after {
  border-color: var(--accent-red);
}
.section-services .service-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}
.section-services .service-img-wrapper::after {
  content: "";
  position: absolute;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  left: -8px;
  top: -8px;
  border: 1px solid rgba(190, 170, 128, 0.4);
  border-radius: 200px;
  transition: all 0.3s;
}
.section-services .service-img-wrapper .service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}
.section-services .service-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.5em;
  margin-top: 0.75em;
  transition: all 0.3s;
}
.section-services .service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}

/*--------------------*/
/* $About
/*--------------------*/
.about-us .case-section .case-box {
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  background-color: #fdfdfb;
  border-radius: 24px 8px 8px 8px;
  box-shadow: 0 5px 16px rgba(134, 116, 78, 0.08);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.about-us .case-section .case-box .highlight-part {
  color: #86744e;
  border-top: 1px solid #d4c5a5;
  border-bottom: 1px solid #d4c5a5;
  padding: 12px 16px;
  margin: 24px 0;
}
.about-us .case-section .case-box .case-content {
  overflow: hidden;
  transition: max-height 0.5s ease;
  max-height: 150px;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
}
.about-us .case-section .case-box.expanded .case-content {
  max-height: 1000px;
}
.about-us .case-section .case-box .read-more-btn-block {
  position: relative;
  text-align: right;
  padding: 0;
}
.about-us .case-section .case-box .read-more-btn-block::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 32px;
  top: -32px;
  left: 0;
  background: #fdfdfb;
  background: linear-gradient(180deg, rgba(253, 253, 251, 0) 0%, rgb(253, 253, 251) 100%);
}
.about-us .case-section .case-box .read-more-btn {
  font-size: 0.9rem;
  border-radius: 8px 0 8px 0;
}
.about-us .case-section .case-box .read-more-btn:focus {
  box-shadow: none;
}
@media (min-width: 992px) {
  .about-us .case-section .case-box .case-content {
    max-height: none !important;
    overflow: visible !important;
  }
  .about-us .case-section .case-box .read-more-btn-block {
    display: none;
  }
}
.about-us .about-paragraph {
  margin-top: 2rem;
  font-size: 22px;
  line-height: 1.8;
}

.section-chief {
  margin-top: 5rem;
  margin-bottom: 5rem;
  background-color: #fff;
  background-color: #fdfdfb;
  border-radius: 24px 8px 8px 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 16px rgba(134, 116, 78, 0.08);
  overflow: hidden;
}
.section-chief .chief-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px 16px;
  background: rgba(193, 173, 131, 0.43);
  border-bottom: 1px solid rgba(193, 173, 131, 0.43);
}
.section-chief .chief-header .chief-img {
  width: 120px;
  height: 120px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  border: 2px solid #c6aa7d;
}
.section-chief .chief-header .chief-name {
  font-size: 24px;
  font-weight: 700;
  color: #1e1e1e;
}
.section-chief .chief-content {
  padding: 24px;
}
.section-chief .chief-content .item-title {
  position: relative;
  font-size: 19px;
  margin: 1rem 0 0.5rem;
  padding-left: 1em;
}
.section-chief .chief-content .item-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background-color: #d42f2f;
  border-radius: 2.5px;
  transform: rotate(45deg);
}
.section-chief .chief-content .item-content {
  margin-bottom: 1em;
  padding-left: 20px;
  color: #5a5a5a;
}
.section-chief .chief-content ul,
.section-chief .chief-content ol {
  padding-left: 1.25rem;
}
.section-chief .chief-content ul li,
.section-chief .chief-content ol li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.section-chief .chief-content ul li strong,
.section-chief .chief-content ol li strong {
  color: #a58c5f;
  font-weight: 600;
}
@media (max-width: 767.98px) {
  .section-chief .chief-box {
    padding: 2rem 1.5rem;
  }
  .section-chief .chief-header .chief-img {
    width: 90px;
    height: 90px;
  }
  .section-chief .chief-name {
    font-size: 1.2rem;
  }
  .section-chief .chief-content ul li,
  .section-chief .chief-content ol li {
    font-size: 0.95rem;
  }
}

/*--------------------*/
/* $Service
/*--------------------*/
.service-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #d4c7a1;
  border-radius: 24px 8px 8px 8px;
  overflow: hidden;
  transition: all 0.3s;
}
@media (max-width: 767.98px) {
  .service-item {
    flex-direction: column;
  }
}
.service-item:hover {
  box-shadow: 0 5px 16px rgba(134, 116, 78, 0.16);
}
.service-item .service-img-wrapper {
  position: relative;
  width: 30%;
  padding-bottom: 20%;
  background: rgba(0, 0, 0, 0.3);
}
@media (max-width: 991.98px) {
  .service-item .service-img-wrapper {
    width: 40%;
    padding-bottom: 30%;
  }
}
@media (max-width: 767.98px) {
  .service-item .service-img-wrapper {
    width: 100%;
    padding-bottom: 50%;
  }
}
.service-item .service-img-wrapper .service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.service-item .service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 1em 0.5em 1em 2em;
}
@media (max-width: 767.98px) {
  .service-item .service-content {
    padding: 12px 16px 0;
  }
}
.service-item .service-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}
@media (max-width: 767.98px) {
  .service-item .service-title {
    margin-bottom: 12px;
  }
}
.service-item p {
  color: var(--text-secondary);
}
.service-item .service-btn {
  border-radius: 8px 0 0 0;
}
@media (min-width: 768px) {
  .service-item .service-btn {
    position: absolute;
    right: 0;
    bottom: 0;
  }
}
.service-item .service-btn:hover {
  background-color: #a5936d;
}
.service-item .service-btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(182, 154, 109, 0.27);
}
.service-item .service-btn .fas {
  font-size: 12px;
  vertical-align: middle;
  margin-left: 8px;
}
@media (min-width: 768px) {
  .service-item:nth-child(even) {
    flex-direction: row-reverse;
  }
  .service-item:nth-child(even) .service-btn {
    right: auto;
    left: 0;
    border-radius: 0 8px 0 0;
  }
}

.service-modal .modal-content {
  border: 1px solid #d3c6ab;
  border-radius: 8px;
  overflow: visible;
  color: var(--text-secondary);
}
.service-modal .modal-header {
  padding: 0;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}
.service-modal .modal-header .btn-close {
  position: absolute;
  background: #d3c6ab;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  opacity: 1;
  z-index: 2;
  transition: all 0.3s;
}
.service-modal .modal-header .btn-close:hover {
  filter: brightness(1.1);
}
.service-modal .modal-body {
  padding: 1.5em 2em 0 2em;
}
@media (max-width: 767.98px) {
  .service-modal .modal-body {
    padding: 1em 1em 0 1em;
  }
}
.service-modal .modal-body .top-area {
  padding-bottom: 0.5em;
  margin-bottom: 1.5em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}
.service-modal .modal-body .top-area .title {
  margin-bottom: 0.6em;
  color: #000;
  font-size: 22px;
  font-weight: 600;
}
.service-modal .modal-footer {
  padding: 0;
  border: 0;
}
.service-modal .modal-footer button {
  border-radius: 8px 0 8px 0;
  margin: 0;
}
.service-modal .service-img-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  background: rgba(0, 0, 0, 0.3);
}
.service-modal .service-img-wrapper .service-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*--------------------*/
/* $Course
/*--------------------*/
.course-img-wrapper {
  width: 100%;
  height: 0;
  padding-bottom: 45%;
  background: rgba(0, 0, 0, 0.3);
  position: relative;
}
.course-img-wrapper .course-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.course-label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  border-radius: 0 0 8px 0;
  z-index: 1;
}
.course-label.early-bird {
  background-color: var(--accent-red);
}
.course-label.open {
  background-color: #e09800;
}
.course-label.closed {
  background-color: #666;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  border-radius: 24px 8px 8px 8px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}
.course-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 16px 1px rgba(134, 116, 78, 0.16);
}
.course-card.disabled {
  opacity: 0.6;
  pointer-events: none;
}
.course-card .course-title {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  padding: 1rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 1rem;
  text-align: center;
}

.course-title {
  color: #222;
}

.course-detail .sticky-top {
  top: 16px;
  z-index: 1;
}
.course-detail .course-img-wrapper {
  border-radius: 24px 8px 8px 8px;
  overflow: hidden;
}
.course-detail .course-title {
  margin: 24px 0;
  font-weight: 900;
  font-size: 32px;
}
@media (max-width: 575.98px) {
  .course-detail .course-title {
    margin: 18px 0;
    font-size: 28px;
  }
}

.course-intro {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}
.course-intro ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style-type: none;
  padding-inline-start: 1em;
}
.course-intro ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.course-intro ul li::before {
  content: "▪";
  position: absolute;
  left: 0;
  top: 0;
  color: #d42f2f;
}

.course-sidebar {
  background: rgba(255, 255, 255, 0.6);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 16px rgba(134, 116, 78, 0.16);
}
.course-sidebar .sidebar-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #b03a3a;
  margin-bottom: 1rem;
}
.course-sidebar .author-info {
  flex-direction: column;
  gap: 0;
}
.course-sidebar .author-info .author-photo {
  display: flex;
  align-items: center;
  gap: 1em;
}
@media (max-width: 575.98px) {
  .course-sidebar .author-info .author-photo {
    gap: 0;
  }
}
.course-sidebar .instructor-info {
  display: flex;
  gap: 1rem;
}
.course-sidebar .instructor-info .instructor-img {
  width: 60px;
  height: 60px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.course-sidebar .registration-info {
  list-style: none;
  padding: 0;
  font-size: 1rem;
}
.course-sidebar .registration-info li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 1rem;
}
.course-sidebar .registration-info li .info-icon {
  width: 22px;
  margin-top: 2px;
  font-size: 1.2rem;
  color: var(--text-secondary);
}
.course-sidebar .registration-info li .info-content {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.course-sidebar .registration-info li .info-title {
  font-weight: 600;
  color: #444;
  min-width: 80px;
}
.course-sidebar .registration-info li .info-text {
  color: #555;
}
.course-sidebar .gold-text {
  color: #b69a6d;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 1rem;
}

/*--------------------*/
/* $News
/*--------------------*/
.article-list .article-card {
  border: 1px solid rgba(218, 205, 175, 0.4);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  gap: 1.2rem;
  padding: 1rem;
  background: #fff;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
  transition: all 0.3s;
}
.article-list .article-card:hover {
  box-shadow: 0 8px 16px 1px rgba(134, 116, 78, 0.16);
  border-color: rgb(218, 205, 175);
}
.article-list .article-card .article-img-wrap {
  flex: 0 0 160px;
  max-width: 160px;
}
@media (max-width: 991.98px) and (min-width: 768px) {
  .article-list .article-card .article-img-wrap {
    flex: 0 0 120px;
    max-width: 120px;
  }
}
@media (max-width: 575.98px) {
  .article-list .article-card .article-img-wrap {
    flex: 0 0 120px;
    max-width: 120px;
  }
}
.article-list .article-card .article-img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  -o-object-fit: cover;
     object-fit: cover;
}
.article-list .article-card .article-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-list .article-card .article-info .article-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制顯示兩行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-list .article-card .article-info .article-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0.3rem;
}
.article-list .article-card .article-info .article-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制顯示兩行 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination-wrapper .pagination,
.pagination-wrapper .pagination-arrows-mobile {
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
  align-items: center;
}
@media (max-width: 767.98px) {
  .pagination-wrapper .pagination,
  .pagination-wrapper .pagination-arrows-mobile {
    flex-wrap: wrap;
  }
}
.pagination-wrapper .pagination .page-link,
.pagination-wrapper .pagination-arrows-mobile .page-link {
  border: none;
  background: transparent;
  color: #b3b3b3;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.2s;
}
.pagination-wrapper .pagination .page-link:hover,
.pagination-wrapper .pagination-arrows-mobile .page-link:hover {
  color: #a0a0a0;
}
.pagination-wrapper .pagination .page-link.active,
.pagination-wrapper .pagination-arrows-mobile .page-link.active {
  color: #86744e;
  font-size: 1.3em;
}
.pagination-wrapper .pagination .page-link:focus,
.pagination-wrapper .pagination-arrows-mobile .page-link:focus {
  box-shadow: none;
}
.pagination-wrapper .pagination .page-link .arrow,
.pagination-wrapper .pagination-arrows-mobile .page-link .arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-color: #b3b3b3;
}
.pagination-wrapper .pagination .page-link .arrow.arrow-right,
.pagination-wrapper .pagination-arrows-mobile .page-link .arrow.arrow-right {
  border-top: 2px solid;
  border-right: 2px solid;
  transform: rotate(45deg) translateY(-2px);
}
.pagination-wrapper .pagination .page-link .arrow.arrow-left,
.pagination-wrapper .pagination-arrows-mobile .page-link .arrow.arrow-left {
  border-bottom: 2px solid;
  border-left: 2px solid;
  transform: rotate(45deg) translateY(-2px);
}
.pagination-wrapper .pagination .page-link .arrow:hover,
.pagination-wrapper .pagination-arrows-mobile .page-link .arrow:hover {
  border-color: #86744e;
}
.pagination-wrapper .pagination-arrows-mobile .page-link {
  font-weight: 500;
}
.pagination-wrapper .pagination-arrows-mobile .page-link .arrow-left {
  margin-right: 8px;
}
.pagination-wrapper .pagination-arrows-mobile .page-link .arrow-right {
  margin-left: 8px;
}

.article-detail .article-title,
.article-detail .book-title,
.books .article-title,
.books .book-title {
  font-size: 32px;
  font-weight: 900;
  color: #222;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.article-detail .article-date {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1.5rem;
}
.article-detail .image-caption {
  font-size: 0.8rem;
  color: #888;
}
.article-detail .article-body {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
}
.article-detail .article-body p {
  margin-bottom: 1rem;
}
.article-detail .article-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.article-detail .article-body ul li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.article-detail .article-body ul li strong {
  color: #444;
}

/*--------------------*/
/* $Books
/*--------------------*/
.books .section-title {
  margin-top: 48px;
}
.books .book-section {
  margin-bottom: 2rem;
}
.books .book-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.books .book-section .link-icon {
  margin: 0 4px;
}
.books img {
  max-width: 100%;
  border-radius: 12px;
}
.books .author-info {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

/*--------------------*/
/* $Partner
/*--------------------*/
.partner-item {
  text-align: center;
  margin-bottom: 40px;
}
.partner-item:hover {
  color: var(--accent-red);
}
.partner-item:hover .partner-circle {
  border-color: var(--accent-red);
}

.partner-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px;
  position: relative;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
}
@media (max-width: 1199.98px) {
  .partner-circle {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 575.98px) {
  .partner-circle {
    width: 100px;
    height: 100px;
  }
}
.partner-circle img {
  width: 100%;
}

.partner-name {
  font-size: 1rem;
  margin-top: 10px;
}

/*--------------------*/
/* $Contact
/*--------------------*/
.contact-links .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(134, 116, 78, 0.16);
  text-decoration: none;
  color: #000;
  transition: all 0.4s;
  font-size: 18px;
}
@media (min-width: 767.98px) {
  .contact-links .item {
    padding: 32px 16px;
  }
  .contact-links .item:hover {
    transform: translateY(-12px);
  }
  .contact-links .item img {
    width: 60px;
  }
}
.contact-links .item img {
  width: 80px;
}

/*--------------------*/
/* $Privacy
/*--------------------*/
.privacy h2 {
  font-size: 1.5em;
  color: #86744e;
  color: var(--text-color);
}
@media (max-width: 575.98px) {
  .privacy h2 {
    font-size: 1.25em;
    font-weight: 600;
  }
}
.privacy h2 span {
  display: inline-block;
  min-width: 1.25em;
}
.privacy .paragraph {
  margin-bottom: 2.5em;
  color: var(--text-secondary);
}
.privacy li {
  margin-bottom: 16px;
}/*# sourceMappingURL=style.css.map */
