:root {
  --ink: #14213d;
  --purple: #6d4bd8;
  --blue: #2678f3;
  --teal: #16aab1;
  --green: #48ad63;
  --cream: #d6d0c2;
  --muted: #657084;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: #fff;
}
.preserve-linebreaks {
  white-space: pre-wrap;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.55;
}
a {
  text-decoration: none;
  color: inherit;
}
.section {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(214, 208, 194, 0.98);
  box-shadow: 0 1px 8px rgba(20, 33, 61, 0.08);
}
.nav-wrap {
  width: min(1240px, calc(100% - 36px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.brand h2 {
  font-size: 25px;
  color: #fff;
  letter-spacing: 0.02em;
}
.brand-title {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.brand-title small {
  margin-top: 1px;
  color: #fff;
  font-size: 10.5px;
  line-height: 1.25;
  letter-spacing: .035em;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
}
.nav-link,
.nav-trigger {
  height: 78px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}
.nav-link:hover,
.nav-trigger:hover {
  background: rgba(255, 255, 255, 0.17);
}
.nav-dropdown {
  position: relative;
}
.arrow {
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.nav-dropdown:hover .arrow {
  transform: rotate(45deg) translateY(1px);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 150px;
  transform: translate(-50%, 8px);
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 25px rgba(20, 33, 61, 0.16);
  transition: 0.2s;
  overflow: hidden;
}
.nav-dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}
.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  text-align: center;
  color: #4b5568;
  font-weight: 700;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  color: var(--purple);
  background: #f6f4fb;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
  padding-block: 58px 38px;
}
.hero-copy h1 {
  font-size: clamp(30px, 3.1vw, 47px);
  letter-spacing: 0.04em;
}
.hero-copy h1:nth-child(2) {
  color: var(--purple);
}
.hero-copy > p:first-child {
  margin-bottom: .5em;
}
.hero-copy > p:nth-child(2) {
  margin-top: 0;
}
.short-line {
  width: 48px;
  height: 4px;
  background: var(--purple);
  margin: 20px 0;
}
.hero-copy h5 {
  font-size: 18px;
  line-height: 2;
  color: #566070;
  font-weight: 600;
}
.carousel {
  position: relative;
  height: 480px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 14px 35px rgba(20, 33, 61, 0.12);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
}
.slide.active {
  opacity: 1;
}
.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 30px;
  color: #526078;
  cursor: pointer;
}
.prev {
  left: 14px;
}
.next {
  right: 14px;
}
.dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0.55;
  padding: 0;
}
.dot.active {
  opacity: 1;
  transform: scale(1.25);
}
.news-section {
  padding-block: 20px 65px;
}
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.title-with-icon {
  display: flex;
  align-items: center;
  gap: 14px;
}
.title-with-icon span {
  font-size: 32px;
  color: var(--purple);
}
.title-with-icon > img {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  object-fit: contain;
}
.title-with-icon h2 {
  font-size: 27px;
}
.title-with-icon small {
  font-size: 14px;
  color: #7b8495;
}
.view-more {
  font-size: 14px;
  color: var(--purple);
  font-weight: 800;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.news-card {
  position: relative;
  min-height: 142px;
  padding: 20px 44px 18px 20px;
  border: 1px solid #e7e9ef;
  border-radius: 10px;
  box-shadow: 0 7px 20px rgba(33, 52, 88, 0.07);
}
.news-meta {
  display: flex;
  justify-content: space-between;
  color: var(--purple);
}
.news-meta h6:nth-child(2) {
  padding: 2px 8px;
  background: #f1edff;
  border-radius: 10px;
}
.news-card h3 {
  margin: 5px 0;
  color: #296ef0;
}
.news-card h5 {
  font-size: 15px;
}
.circle-arrow {
  position: absolute;
  right: 14px;
  bottom: 18px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple);
}
.heading {
  text-align: center;
}
.heading h2 {
  font-size: 40px;
  letter-spacing: 0.08em;
}
.heading h4 {
  color: #566070;
  font-weight: 500;
}
.title-line {
  width: 50px;
  height: 4px;
  background: var(--purple);
  margin: 8px auto 14px;
}
.core-section {
  padding: 34px 0 80px;
  background: linear-gradient(180deg, #fff 0%, #fbf9fd 100%);
}
.core-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 82px;
}
.core-card {
  position: relative;
  min-height: 320px;
  padding: 106px 25px 28px;
  text-align: center;
  border: 1px solid #e8e3ef;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 28px rgba(38, 38, 76, 0.04);
}
.icon-ring {
  position: absolute;
  top: -65px;
  left: 50%;
  width: 140px;
  height: 140px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border: 3px solid #a78ae6;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 25px rgba(109, 75, 216, 0.12);
}
.icon-ring img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.core-card:nth-child(2) .icon-ring {
  border-color: #80c78d;
}
.core-card:nth-child(3) .icon-ring {
  border-color: #6aa7f5;
}
.core-card:nth-child(4) .icon-ring {
  border-color: #f08aa8;
}
.core-card h3 {
  font-size: 27px;
  color: var(--purple);
  margin-bottom: 14px;
}
.core-card:nth-child(2) h3 {
  color: #259b45;
}
.core-card:nth-child(3) h3 {
  color: #2678df;
}
.core-card:nth-child(4) h3 {
  color: #e74a79;
}
.core-card h5 {
  font-size: 16px;
  color: #525c6c;
  line-height: 1.9;
}
.fields-section {
  padding: 65px 0 85px;
  background: #f7f9fc;
}
.color-line {
  display: flex;
  width: 250px;
  margin: 12px auto 44px;
}
.color-line i {
  position: relative;
  flex: 1;
  height: 3px;
  background: #4186f4;
}
.color-line i:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: inherit;
}
.color-line i:nth-child(2) {
  background: #7056db;
}
.color-line i:nth-child(3) {
  background: #1ba7af;
}
.color-line i:nth-child(4) {
  background: #4eac62;
}
.fields-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.field-card {
  padding: 25px 22px 30px;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(27, 49, 83, 0.1);
}
.field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.field-head h2 {
  font-size: 40px;
  color: #2e7df5;
}
.field-head img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.field-card:nth-child(2) .field-head h2,
.field-card:nth-child(2) h3 {
  color: #745add;
}
.field-card:nth-child(3) .field-head h2,
.field-card:nth-child(3) h3 {
  color: #0da6ae;
}
.field-card:nth-child(4) .field-head h2,
.field-card:nth-child(4) h3 {
  color: #4cac61;
}
.field-card h3 {
  font-size: 26px;
  color: #2e7df5;
  margin: 16px 0 14px;
}
.field-card h3:after {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  margin-top: 8px;
  background: currentColor;
}
.field-card h5 {
  font-size: 16px;
  color: #505b6b;
  line-height: 1.9;
}
.site-footer {
  padding: 25px 0;
  background: var(--cream);
  color: #fff;
}
.footer-grid {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 00px;
}
.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 10px; /* icon 跟文字的距離 */
}
.contact-info > i {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info h5,
.contact-info h6 {
  margin: 0;
}

.contact-info h6 {
  margin-top: 6px; /* 第一、二行的距離 */
  white-space: nowrap; /* 地址不要亂斷行 */
}

.empty-page {
  min-height: calc(100vh - 78px - 113px);
}
@media (max-width: 900px) {
  .nav-wrap {
    min-height: 68px;
  }
  .brand img {
    width: 45px;
    height: 45px;
  }
  .brand h2 {
    font-size: 20px;
  }
  .brand-title small {
    font-size: 9px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
  }
  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    align-items: stretch;
    flex-direction: column;
    background: #d6d0c2;
    padding: 8px 18px 18px;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-link,
  .nav-trigger {
    width: 100%;
    height: 48px;
    padding: 0 12px;
  }
  .nav-dropdown:hover .dropdown-menu {
    visibility: hidden;
    opacity: 0;
  }
  .nav-dropdown.mobile-open .dropdown-menu {
    position: static;
    transform: none;
    visibility: visible;
    opacity: 1;
    margin-bottom: 8px;
  }
  .nav-dropdown.mobile-open .arrow {
    transform: rotate(225deg) translate(-2px, -1px);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .carousel {
    height: 390px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .core-grid,
  .fields-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .core-grid {
    row-gap: 90px;
  }
  .heading h2 {
    font-size: 33px;
  }
}
@media (max-width: 560px) {
  .section {
    width: min(100% - 30px, 1180px);
  }
  .brand h2 {
    font-size: 17px;
  }
  .brand-title small {
    font-size: 8px;
    letter-spacing: 0;
  }
  .brand {
    gap: 7px;
  }
  .hero {
    padding-top: 35px;
  }
  .hero-copy h1 {
    font-size: 28px;
  }
  .hero-copy h5 {
    font-size: 16px;
  }
  .carousel {
    height: 260px;
  }
  .section-title-row {
    align-items: flex-end;
  }
  .title-with-icon h2 {
    font-size: 23px;
  }
  .news-grid,
  .core-grid,
  .fields-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    gap: 12px;
  }
  .core-grid {
    row-gap: 86px;
  }
  .heading h2 {
    font-size: 29px;
  }
  .heading h4 {
    font-size: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .empty-page {
    min-height: 65vh;
  }
}

/* 人物專訪 */
.interview-breadcrumb {
  padding-block: 25px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #687287;
  font-size: 15px;
}
.interview-breadcrumb a:hover {
  color: var(--purple);
}
.interview-list {
  padding-bottom: 55px;
}
.interview-series {
  --series-color: #6446c9;
  margin-bottom: 32px;
}
.interview-series[hidden] {
  display: none;
}
.interview-series-title {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--series-color);
  font-size: 22px;
  line-height: 1.35;
}
.interview-series-title span {
  width: 5px;
  height: 25px;
  flex: 0 0 auto;
  background: var(--series-color);
}
.interview-series.series-color-1 { --series-color: #1789a6; }
.interview-series.series-color-2 { --series-color: #31965a; }
.interview-series.series-color-3 { --series-color: #db7b25; }
.interview-series.series-color-4 { --series-color: #d24c7d; }
.interview-series.series-color-5 { --series-color: #3878c7; }
.interview-list > header {
  text-align: center;
  margin-bottom: 22px;
}
.interview-list > header h1 {
  font-size: 29px;
}
.interview-list > header h4 {
  margin-top: 9px;
  color: #687287;
  font-size: 16px;
  font-weight: 500;
}
.interview-items {
  display: grid;
  gap: 18px;
}
.interview-card {
  min-height: 205px;
  padding: 8px;
  display: grid;
  grid-template-columns: 390px 1fr;
  border: 1px solid #dfe2e8;
  background: #fff;
}
.interview-card[hidden] {
  display: none;
}
.interview-thumb {
  position: relative;
  overflow: hidden;
}
.interview-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.interview-thumb i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 55px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 9px;
  background: #e62117;
  color: #fff;
  font-size: 27px;
}
.interview-card-body {
  position: relative;
  padding: 12px 18px;
}
.interview-card-body > h5 {
  color: var(--purple);
}
.interview-card-body h2 {
  margin: 4px 0;
  font-size: 23px;
}
.interview-card-body h4 {
  color: #657086;
  font-size: 15px;
  font-weight: 500;
}
.interview-card-body p {
  max-width: 90%;
  margin-top: 10px;
  color: #566175;
  font-size: 15px;
  line-height: 1.7;
}
.interview-card-body > span {
  position: absolute;
  right: 16px;
  bottom: 12px;
  padding: 8px 15px;
  border: 1px solid var(--purple);
  color: var(--purple);
  font-size: 14px;
  font-weight: 700;
}
.interview-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.interview-pagination button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f0edf8;
  color: var(--purple);
  font-weight: 700;
}
.interview-pagination button.active {
  background: var(--purple);
  color: #fff;
}
.interview-detail {
  padding: 22px 0 55px;
}
.interview-detail > h5 {
  color: var(--purple);
  font-size: 18px;
}
.interview-detail > h1 {
  margin: 12px 0 15px;
  font-size: clamp(29px, 3vw, 40px);
}
.interview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 24px;
}
.interview-meta h4 {
  color: #626d82;
  font-size: 15px;
  font-weight: 500;
}
.interview-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: stretch;
  gap: 28px;
}
.interview-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.youtube-frame {
  position: relative;
  padding-top: 56.25%;
  background: #111;
}
.youtube-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.company-intro,
.interview-summary {
  padding: 24px;
  border: 1px solid #e1e3e8;
  background: #fff;
}
.company-intro h2,
.interview-summary h2 {
  margin-bottom: 13px;
  font-size: 21px;
}
.company-intro h2:after,
.interview-summary h2:after {
  content: "";
  display: block;
  width: 35px;
  height: 2px;
  margin-top: 7px;
  background: var(--purple);
}
.company-intro h3 {
  margin-bottom: 10px;
  font-size: 20px;
}
.company-intro p,
.interview-summary p {
  color: #505b70;
  font-size: 17px;
  line-height: 1.9;
}
.interview-summary p {
  text-align: justify;
  text-justify: inter-ideograph;
}
.interview-summary {
  min-height: 100%;
  background: #f8f6f1;
}
@media (max-width: 850px) {
  .interview-card {
    grid-template-columns: 310px 1fr;
  }
  .interview-detail-grid {
    grid-template-columns: 1fr;
  }
  .interview-summary {
    min-height: 0;
  }
}
@media (max-width: 650px) {
  .interview-card {
    grid-template-columns: 1fr;
  }
  .interview-thumb {
    height: 210px;
  }
  .interview-card-body {
    padding-bottom: 55px;
  }
  .interview-card-body p {
    max-width: none;
  }
  .interview-meta {
    flex-direction: column;
    gap: 7px;
  }
}

/* 會員服務說明 */
.member-breadcrumb {
  padding-block: 25px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #687287;
  font-size: 15px;
}
.member-breadcrumb a:hover {
  color: var(--purple);
}
.member-content {
  padding-bottom: 60px;
}
.member-page-heading {
  text-align: center;
  padding: 8px 0 38px;
}
.member-page-heading h1 {
  font-size: 32px;
}
.member-page-heading h4 {
  margin-top: 8px;
  color: #687287;
  font-size: 16px;
  font-weight: 500;
}
.member-block {
  padding: 36px 0;
  border-top: 1px solid #e3e4e8;
}
.member-block-title {
  text-align: center;
  margin-bottom: 25px;
}
.member-block-title h2 {
  font-size: 27px;
}
.member-block-title h2:after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 7px auto;
  background: var(--purple);
}
.member-block-title h5 {
  color: #717a8c;
  font-weight: 500;
}
.member-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.member-type-card {
  padding: 25px 20px;
  text-align: center;
  border: 1px solid #dfe2e8;
  background: #fff;
}
.member-type-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}
.member-type-card h3 {
  margin: 14px 0 7px;
  font-size: 21px;
}
.member-type-card h5 {
  color: #616c80;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}
.member-flow {
  background: #f8f7f4;
  padding-inline: 28px;
}
.member-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.member-step {
  position: relative;
  text-align: center;
}
.member-step > h4 {
  position: absolute;
  left: 8px;
  top: 0;
  color: #b9b1d4;
  font-size: 29px;
}
.member-step img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.member-step h3 {
  margin: 10px 0 5px;
}
.member-step h5 {
  color: #657084;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.application-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: #f1eff8;
}
.application-download > img {
  width: 115px;
  height: 115px;
  object-fit: contain;
}
.application-download h2 {
  font-size: 26px;
}
.application-download h4 {
  margin: 6px 0 15px;
  color: #606b7e;
  font-size: 16px;
  font-weight: 500;
}
.application-download button {
  padding: 10px 18px;
  border: 0;
  background: #bbb4cf;
  color: #fff;
  font-weight: 700;
}
.submission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.submission-grid article {
  padding: 24px;
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  border: 1px solid #e0e2e7;
}
.submission-grid img {
  width: 68px;
  height: 68px;
  grid-row: 1/3;
  object-fit: contain;
}
.submission-grid h3 {
  font-size: 20px;
}
.submission-grid h5 {
  color: #626d81;
  font-size: 15px;
  font-weight: 500;
}
.member-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.member-contact-grid article {
  text-align: center;
  padding: 22px 16px;
  background: #f8f7f4;
}
.member-contact-grid img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.member-contact-grid h3 {
  margin: 10px 0 6px;
}
.member-contact-grid h5 {
  color: #5e697c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
@media (max-width: 850px) {
  .member-type-grid,
  .member-step-grid,
  .member-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .member-type-grid,
  .member-step-grid,
  .member-contact-grid,
  .submission-grid {
    grid-template-columns: 1fr;
  }
  .member-flow {
    padding-inline: 18px;
  }
  .application-download {
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .submission-grid article {
    grid-template-columns: 65px 1fr;
  }
}

/* 讓內容不足一個畫面時，頁尾仍然緊貼視窗最底部。 */
html {
  min-height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main {
  flex: 1;
}
.site-footer {
  flex-shrink: 0;
}
.inner-page .empty-page {
  min-height: 0;
}

/* 會員服務說明改版：表格、四步驟流程與三欄資訊面板 */
.member-service-page .member-content {
  max-width: 1120px;
  padding-top: 4px;
  padding-bottom: 72px;
}
.member-service-page .member-page-heading {
  padding: 8px 0 48px;
}
.member-section {
  margin-bottom: 48px;
}
.member-section-title {
  margin: 0 0 18px;
  color: #34209d;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
}
.member-section-title b {
  font-weight: inherit;
}
.member-table-wrap {
  overflow: hidden;
  border: 1px solid #e5e3ef;
  border-radius: 11px;
  background: #fff;
}
.member-type-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  color: #202338;
  font-size: 16px;
}
.member-type-table th,
.member-type-table td {
  padding: 20px 22px;
  border-right: 1px solid #e5e3ef;
  border-bottom: 1px solid #e5e3ef;
  text-align: left;
  vertical-align: middle;
  line-height: 1.7;
}
.member-type-table tr > :last-child {
  border-right: 0;
}
.member-type-table tbody tr:last-child > * {
  border-bottom: 0;
}
.member-type-table thead th {
  padding-block: 15px;
  color: #4a34ad;
  background: linear-gradient(180deg, #f8f7fd, #f2f0f9);
  font-weight: 800;
}
.member-type-table thead th:first-child,
.member-type-table tbody th {
  width: 17%;
  text-align: center;
}
.member-type-table thead th:nth-child(2) {
  width: 50%;
}
.member-type-table tbody th {
  font-size: 17px;
  white-space: nowrap;
}
.member-type-table td:last-child {
  color: #202338;
  font-size: 15px;
}
.member-type-table th,
.member-type-table td,
.member-type-table li {
  text-align: center;
  text-align-last: center;
}
.member-type-table tbody td:nth-child(2) {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
  vertical-align: middle;
}
.member-type-table .member-fee-cell {
  text-align: center;
  text-align-last: center;
}
.member-type-table .member-fee-list {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  text-align-last: left;
}
.member-type-table .member-fee-list li {
  margin-bottom: 6px;
  text-align: left;
  text-align-last: left;
}
.member-type-table .member-fee-list li:last-child {
  margin-bottom: 0;
}
.table-dot {
  color: #4931bb;
  font-size: 20px;
}
.member-table-note {
  margin: 0;
  padding: 16px 22px;
  border-top: 1px solid #e5e3ef;
  color: #888d9b;
  font-size: 15px;
}
.member-process-section {
  padding-top: 2px;
}
.member-service-page .member-step-grid {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 22px 0;
}
.member-service-page .member-step {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.member-service-page .step-number {
  align-self: flex-start;
  margin-left: 20px;
  color: #3c24ae;
  font-size: 26px;
  font-weight: 800;
}
.member-service-page .member-step img {
  width: 75px;
  height: 75px;
  margin: 3px 0 8px;
  object-fit: contain;
}
.member-service-page .member-step h3 {
  margin: 0 0 8px;
  color: #22263a;
  font-size: 17px;
}
.member-service-page .member-step p {
  max-width: 160px;
  margin: 0;
  color: #62697a;
  font-size: 14px;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-ideograph;
}
.step-arrow {
  margin-top: 82px;
  color: #a9afbd;
  font-size: 29px;
  text-align: center;
}
.member-info-panel {
  display: grid;
  grid-template-columns: .9fr 1.12fr 1.35fr;
  overflow: hidden;
  border: 1px solid #e3e3eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 36px rgba(63, 54, 105, .04);
}
.member-info-column {
  min-width: 0;
  padding: 31px 34px 35px;
  border-right: 1px solid #e3e3eb;
}
.member-info-column:last-child {
  border-right: 0;
}
.member-info-column > p,
.member-info-item p {
  margin: 0;
  color: #535a6d;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.download-column > p {
  min-height: 72px;
  padding-top: 13px;
  font-size: 16px;
  text-align: justify;
  text-justify: inter-ideograph;
}
.download-column .download-button {
  display: inline-block;
  margin-top: 23px;
  padding: 11px 17px;
  border: 1px solid #5b3bd0;
  border-radius: 5px;
  color: #4c2dc2;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease, background-color .2s ease;
}
.download-column .download-button:hover {
  color: #fff;
  background: #5b3bd0;
}
.download-column .download-button i {
  margin-right: 7px;
}
.member-info-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
}
.member-info-item + .member-info-item {
  border-top: 1px solid #ececf1;
}
.member-info-item img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}
.member-info-item h3 {
  margin: 0 0 3px;
  color: #4730b2;
  font-size: 16px;
}
.contact-column .member-info-item {
  padding-block: 8px;
}

@media (max-width: 900px) {
  .member-info-panel {
    grid-template-columns: 1fr 1fr;
  }
  .member-info-column:nth-child(2) {
    border-right: 0;
  }
  .contact-column {
    grid-column: 1 / -1;
    border-top: 1px solid #e3e3eb;
  }
  .contact-column .member-info-item {
    display: inline-grid;
    width: calc(50% - 3px);
    vertical-align: top;
  }
  .contact-column .member-info-item + .member-info-item {
    border-top: 0;
  }
}

@media (max-width: 700px) {
  .member-table-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .member-type-table {
    width: 760px;
    min-width: 760px;
    table-layout: fixed;
  }
  .member-type-table thead th:last-child,
  .member-type-table td:last-child {
    display: table-cell;
  }
  .member-type-table thead th:first-child,
  .member-type-table tbody th {
    width: 18%;
  }
  .member-type-table th,
  .member-type-table td {
    padding: 15px 13px;
  }
  .member-service-page .member-step-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 18px;
    padding-inline: 0;
  }
  .step-arrow {
    display: none;
  }
  .member-service-page .step-number {
    align-self: center;
    margin-left: -82px;
  }
}

@media (max-width: 560px) {
  .member-service-page .member-page-heading {
    padding-bottom: 36px;
  }
  .member-section-title {
    font-size: 20px;
  }
  .member-type-table {
    font-size: 15px;
  }
  .member-type-table tbody th {
    font-size: 15px;
  }
  .member-info-panel {
    grid-template-columns: 1fr;
  }
  .member-info-column,
  .member-info-column:nth-child(2) {
    padding: 28px 25px;
    border-right: 0;
    border-bottom: 1px solid #e3e3eb;
  }
  .member-info-column:last-child {
    border-bottom: 0;
  }
  .contact-column {
    grid-column: auto;
    border-top: 0;
  }
  .contact-column .member-info-item {
    display: grid;
    width: 100%;
  }
  .contact-column .member-info-item + .member-info-item {
    border-top: 1px solid #ececf1;
  }
  .download-column > p {
    min-height: 0;
  }
}

/* 最新消息頁 */
.news-banner {
  position: relative;
  overflow: hidden;
  padding: 44px 0 42px;
  background: linear-gradient(120deg, #f8f7ff 0%, #fff 48%, #f1efff 100%);
}
.news-banner:after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -95px;
  width: 52%;
  height: 190px;
  border-radius: 50%;
  border-top: 2px solid rgba(109, 75, 216, 0.12);
  box-shadow:
    0 -18px 0 rgba(109, 75, 216, 0.035),
    0 -36px 0 rgba(109, 75, 216, 0.03),
    0 -54px 0 rgba(109, 75, 216, 0.025);
}
.news-banner-content {
  position: relative;
  z-index: 1;
}
.news-banner h1 {
  font-size: 38px;
}
.news-banner h1 small {
  font-size: 18px;
}
.banner-line {
  display: block;
  width: 38px;
  height: 4px;
  margin: 7px 0 13px;
  background: var(--purple);
}
.news-banner h4 {
  font-size: 17px;
  color: #505a70;
  font-weight: 500;
}
.news-browser {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 34px;
  padding-block: 42px 58px;
}
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.filter-box {
  overflow: hidden;
  border: 1px solid #e3e5ed;
  border-radius: 9px;
  background: #fff;
}
.filter-box > h3 {
  padding: 16px 17px;
  font-size: 18px;
}
.category-box > h3 {
  padding-bottom: 7px;
}
.category-filter {
  width: 100%;
  padding: 13px 17px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 0;
  background: #fff;
  color: #3d4860;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.category-filter:hover {
  background: #f7f4ff;
}
.category-filter.active {
  margin: 4px;
  width: calc(100% - 8px);
  border-radius: 6px;
  background: linear-gradient(135deg, #7448df, #5831ce);
  color: #fff;
}
.tag-box h3 span {
  color: var(--purple);
  margin-right: 8px;
}
.tag-list {
  padding: 14px 16px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list button {
  padding: 7px 10px;
  border: 0;
  border-radius: 17px;
  background: #f0edfa;
  color: #6954bf;
  cursor: pointer;
}
.tag-list button.active {
  background: var(--purple);
  color: #fff;
}
.news-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.news-search {
  height: 46px;
  max-width: 520px;
  flex: 1;
  display: flex;
  align-items: center;
  border: 1px solid #d9deea;
  border-radius: 8px;
  background: #fff;
}
.news-search span {
  padding-left: 14px;
  font-size: 24px;
  color: #596783;
}
.news-search input {
  width: 100%;
  height: 100%;
  padding: 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}
.display-controls {
  display: flex;
  gap: 12px;
}
.sort-select {
  height: 46px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9deea;
  border-radius: 8px;
}
.sort-select span {
  font-size: 14px;
  color: #7b8495;
}
.sort-select select {
  border: 0;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.view-switch {
  display: flex;
  padding: 4px;
  border-radius: 8px;
  background: #f1eff8;
}
.view-switch button {
  width: 38px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #65708a;
  font-size: 22px;
  cursor: pointer;
}
.view-switch button.active {
  background: var(--purple);
  color: #fff;
}
.news-items {
  display: grid;
  gap: 18px;
}
.news-items[data-view-mode="grid"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.news-entry {
  min-height: 158px;
  display: flex;
  overflow: hidden;
  border: 1px solid #e0e4ed;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(30, 45, 75, 0.05);
}
.news-entry[hidden] {
  display: none !important;
}
.news-entry > img {
  width: 38%;
  min-width: 150px;
  object-fit: contain;
  background: transparent;
}
.news-entry-body {
  position: relative;
  flex: 1;
  padding: 15px 18px 34px;
}
.entry-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.entry-meta h6:first-child {
  padding: 3px 10px;
  border-radius: 14px;
  background: #f0ebff;
  color: var(--purple);
}
.entry-meta h6:last-child {
  color: #6b758c;
  font-weight: 500;
}
.news-entry h3 {
  margin-top: 9px;
  font-size: 19px;
}
.news-entry h5 {
  margin-top: 7px;
  color: #647086;
  font-size: 14px;
  font-weight: 500;
}
.entry-arrow {
  position: absolute;
  right: 13px;
  bottom: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--purple);
  border-radius: 50%;
  color: var(--purple);
}
.news-items[data-view-mode="list"] {
  grid-template-columns: 1fr;
}
.news-items[data-view-mode="list"] .news-entry {
  min-height: 118px;
}
.news-items[data-view-mode="list"] .news-entry > img {
  display: none;
}
.news-items[data-view-mode="list"] .news-entry-body {
  padding: 16px 48px 20px 20px;
}
.news-empty {
  padding: 60px 20px;
  text-align: center;
  color: #778198;
}
.news-pagination {
  min-height: 36px;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 9px;
}
.news-pagination button {
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 7px;
  background: #f0eef7;
  color: #4b566e;
  font-weight: 700;
  cursor: pointer;
}
.news-pagination button.active {
  background: var(--purple);
  color: #fff;
}
@media (max-width: 1000px) {
  .news-browser {
    grid-template-columns: 180px 1fr;
    gap: 22px;
  }
  .news-items[data-view-mode="grid"] {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .news-banner {
    padding: 32px 0;
  }
  .news-banner h1 {
    font-size: 31px;
  }
  .news-browser {
    grid-template-columns: 1fr;
    padding-block: 28px;
  }
  .news-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .news-toolbar {
    flex-direction: column;
  }
  .news-search {
    max-width: none;
  }
  .display-controls {
    justify-content: space-between;
  }
  .news-entry > img {
    width: 35%;
    min-width: 115px;
  }
  .news-entry-body {
    padding: 12px 12px 34px;
  }
  .news-entry h3 {
    font-size: 17px;
  }
  .news-entry h5 {
    display: none;
  }
}

/* 產業新知 */
.insight-breadcrumb {
  padding-block: 25px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #687287;
  font-size: 15px;
}
.insight-breadcrumb a:hover {
  color: var(--purple);
}
.insight-section {
  padding-bottom: 55px;
}
.insight-list {
  display: grid;
  gap: 20px;
}
.insight-list-item {
  position: relative;
  min-height: 180px;
  padding: 30px 82px 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #dfe2e8;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.insight-list-item:hover {
  border-color: var(--purple);
  box-shadow: 0 7px 20px rgba(70, 52, 145, .08);
}
.insight-list-item time {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #718099;
  font-size: 14px;
}
.insight-list-item h2 {
  padding-right: 70px;
  font-size: 23px;
  line-height: 1.5;
}
.insight-list-item p {
  margin: 12px 0 0;
  color: #596478;
  font-size: 17px;
  line-height: 1.9;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}
.insight-list-item > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--purple);
  color: var(--purple);
}
.insight-heading {
  margin-bottom: 25px;
}
.insight-heading h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 31px;
}
.insight-heading h1 > span {
  width: 7px;
  height: 34px;
  background: var(--purple);
}
.insight-heading small {
  font-size: 17px;
}
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-card {
  overflow: hidden;
  border: 1px solid #dfe2e8;
  background: #fff;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.insight-card:hover {
  transform: translateY(-3px);
  border-color: #aaa0c9;
}
.insight-card > img {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}
.insight-card > div {
  min-height: 230px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}
.insight-card h2 {
  font-size: 22px;
  line-height: 1.5;
}
.insight-card h4 {
  margin-top: 10px;
  color: #596478;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}
.insight-card footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  color: var(--purple);
}
.insight-card footer h5 {
  font-size: 14px;
}
.insight-article {
  max-width: 1000px;
  padding: 35px 0 55px;
}
.insight-article > header > h1 {
  max-width: 760px;
  font-size: clamp(31px, 4vw, 44px);
  line-height: 1.4;
}
.insight-article > header > h3 {
  max-width: 760px;
  margin-top: 14px;
  color: #5c667a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}
.insight-meta {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}
.insight-meta > div {
  display: flex;
  align-items: center;
  gap: 24px;
}
.insight-meta h5 {
  color: #606b7f;
  font-weight: 500;
}
.insight-meta a,
.insight-meta button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eeeafd;
  color: var(--purple);
  font-weight: 800;
}
.insight-meta a:nth-of-type(1) {
  background: #e8eefb;
  color: #365db5;
}
.insight-meta a:nth-of-type(2) {
  background: #e6f8ea;
  color: #10a43a;
}
.insight-meta button {
  cursor: pointer;
}
.insight-cover {
  width: auto;
  height: auto;
  max-width: min(100%, 760px);
  max-height: 520px;
  margin: 25px auto 0;
  display: block;
  object-fit: contain;
}
.insight-body {
  padding: 20px 0;
}
.insight-body section {
  margin-bottom: 22px;
}
.insight-body h2 {
  margin-bottom: 7px;
  font-size: 22px;
}
.insight-body h4 {
  color: #465064;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
}
.insight-related {
  padding: 20px 24px;
  background: #f3f1f8;
}
.insight-related > h2 {
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 19px;
}
.insight-related > a {
  padding: 10px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #ded9eb;
}
.insight-related > a:last-child {
  border-bottom: 0;
}
.insight-related a:hover {
  color: var(--purple);
}
.insight-neighbors {
  margin-top: 35px;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e1e3e8;
}
.insight-neighbors > div:last-child {
  text-align: right;
}
.insight-neighbors h6 {
  color: #7c8494;
}
.insight-neighbors a {
  display: block;
  margin-top: 6px;
  font-weight: 600;
}
@media (max-width: 850px) {
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .insight-list-item {
    min-height: 0;
    padding: 58px 48px 25px 20px;
  }
  .insight-list-item time {
    top: 18px;
    right: 20px;
  }
  .insight-list-item h2 {
    padding-right: 0;
    font-size: 20px;
  }
  .insight-list-item p {
    font-size: 15px;
  }
  .insight-grid {
    grid-template-columns: 1fr;
  }
  .insight-cover {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 420px;
  }
  .insight-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .insight-neighbors {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .insight-neighbors > div:last-child {
    text-align: left;
  }
}

/* 好書推薦 */
.books-breadcrumb {
  padding-block: 25px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #677187;
  font-size: 15px;
}

.books-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.books-breadcrumb a:hover {
  color: var(--purple);
}

.books-list {
  padding-bottom: 52px;
}

.book-card {
  min-height: 315px;
  margin-bottom: 24px;
  padding: 22px 36px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 45px;
  border: 1px solid #dfe1e7;
  background: #fff;
}

.book-card[hidden] {
  display: none;
}

.book-cover {
  width: 190px;
  height: 265px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background: transparent;
  box-shadow: 0 7px 16px rgba(24, 32, 51, 0.13);
}

.book-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover h6 {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.book-cover h2 {
  margin-top: 12px;
  font-size: 26px;
  line-height: 1.35;
}

.book-cover span {
  width: 30px;
  height: 2px;
  margin: 20px auto;
  background: currentColor;
}

.book-cover h5 {
  font-size: 13px;
}

.book-cover-blue {
  background: #176b8b;
}
.book-cover-ivory {
  background: #e7e2d8;
  color: #3d4652;
}
.book-cover-green {
  background: #477c66;
}
.book-cover-orange {
  background: #b96839;
}
.book-cover-purple {
  background: #65518f;
}
.book-cover-teal {
  background: #287f83;
}

.book-info h1 {
  margin-bottom: 24px;
  font-size: 29px;
}

.book-summary {
  border: 1px solid #e1e2e8;
}

.book-summary button {
  width: 100%;
  padding: 17px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: #f1eff8;
  color: var(--purple);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.book-summary > div {
  padding: 17px 20px;
}

.book-summary h4 {
  color: #3f485b;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
  white-space: pre-line;
}

.books-pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.books-pagination button {
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 50%;
  background: #f1eff8;
  color: #66558e;
  font-weight: 700;
  cursor: pointer;
}

.books-pagination button.active {
  background: var(--purple);
  color: #fff;
}

.books-pagination button:disabled {
  cursor: default;
  opacity: 0.35;
}

@media (max-width: 700px) {
  .book-card {
    padding: 24px 20px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .book-cover {
    margin-inline: auto;
  }

  .book-info h1 {
    font-size: 24px;
    text-align: center;
  }
}

/* 理事長簡介 */
.chairperson-breadcrumb {
  padding-block: 25px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #647086;
  font-size: 15px;
}

.chairperson-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.chairperson-breadcrumb a:hover {
  color: var(--purple);
}

.chairperson-section {
  padding: 8px 0 46px;
}

.chairperson-card {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 32px 38px 38px;
  background: #f7f4ee;
}

.chairperson-intro-head {
  min-height: 0;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  align-items: stretch;
  gap: 72px;
}

.chairperson-profile {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chairperson-name {
  width: fit-content;
}

.chairperson-name h1 {
  font-size: 36px;
  white-space: nowrap;
}

.chairperson-name h1 small {
  margin-left: 12px;
  font-size: 28px;
}

.chairperson-name span {
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 6px;
  background: var(--purple);
}

.chairperson-intro-head img {
  width: 400px;
  height: 100%;
  min-height: 390px;
  margin: 0;
  display: block;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid #e1ddd5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(24, 32, 51, 0.08);
}
.chairperson-photo-placeholder {
  width: 400px;
  min-height: 390px;
  display: grid;
  place-items: center;
  border: 1px dashed #cfc9be;
  border-radius: 18px;
  color: #8b857c;
  background: #f1eee8;
  font-size: 15px;
}

.chairperson-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

.chairperson-card h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.chairperson-card ul {
  margin: 0;
  padding-left: 20px;
}

.chairperson-card li {
  margin: 6px 0;
  padding-left: 3px;
  color: #293246;
  font-size: 18px;
  line-height: 1.7;
}

.specialty-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
}

.chairperson-biography {
  margin-top: 25px;
}

.chairperson-biography p {
  margin: 0 0 12px;
  color: #30394b;
  font-size: 18px;
  font-weight: 500;
  line-height: 2;
  text-align: justify;
}

@media (max-width: 700px) {
  .chairperson-card {
    padding: 24px 22px;
  }

  .chairperson-intro-head {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .chairperson-profile {
    padding: 22px 24px;
  }

  .chairperson-intro-head img {
    width: min(100%, 340px);
    height: auto;
    aspect-ratio: 4 / 3;
    min-height: 0;
    margin-inline: auto;
  }
  .chairperson-photo-placeholder {
    width: min(100%, 340px);
    min-height: 260px;
    margin-inline: auto;
  }

  .chairperson-facts {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
}

@media (max-width: 440px) {
  .chairperson-breadcrumb span:nth-of-type(2),
  .chairperson-breadcrumb a:last-child {
    display: none;
  }

  .specialty-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .news-sidebar {
    grid-template-columns: 1fr;
  }
  .news-toolbar {
    gap: 12px;
  }
  .sort-select span {
    display: none;
  }
  .news-entry {
    min-height: 145px;
  }
  .news-entry > img {
    width: 36%;
    min-width: 105px;
  }
  .entry-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .entry-meta h6:last-child {
    font-size: 12px;
  }
  .news-entry h3 {
    margin-top: 5px;
  }
}

/* 熱門標籤與消息內文使用同一組固定配色。 */
.tag-list button {
  border: 1px solid transparent;
  transition:
    filter 0.2s,
    transform 0.2s;
}
.tag-list button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}
.tag-list button.active {
  box-shadow: 0 0 0 2px currentColor;
  font-weight: 800;
}
.tag-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(max-content, 1fr));
  align-items: center;
}
.tag-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
}
.tag-color-1 {
  color: #6550c9 !important;
  background: #eeeafd !important;
  border-color: #d9d0fa !important;
}
.tag-color-2 {
  color: #2676c8 !important;
  background: #e8f3ff !important;
  border-color: #cce4fa !important;
}
.tag-color-3 {
  color: #16878e !important;
  background: #e4f7f6 !important;
  border-color: #c4ece9 !important;
}
.tag-color-4 {
  color: #278c4a !important;
  background: #e7f7ec !important;
  border-color: #c7eace !important;
}
.tag-color-5 {
  color: #c06c18 !important;
  background: #fff2df !important;
  border-color: #f5d8ad !important;
}
.tag-color-6 {
  color: #bd4d72 !important;
  background: #ffebf1 !important;
  border-color: #f5cad8 !important;
}
.tag-color-7 {
  color: #8b5b22 !important;
  background: #f8eedf !important;
  border-color: #ead6b9 !important;
}
.tag-color-8 {
  color: #52677f !important;
  background: #eaf0f5 !important;
  border-color: #d3dfe9 !important;
}
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
.entry-tags h6 {
  padding: 2px 7px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}
.entry-tags + .news-entry h3,
.news-entry h3 {
  margin-top: 7px;
}

/* 最新消息閱讀全文 */
.news-entry {
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.news-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(30, 45, 75, 0.12);
}
.detail-breadcrumb {
  padding-block: 28px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #68738a;
  white-space: nowrap;
  overflow: hidden;
}
.detail-breadcrumb a {
  font-size: 15px;
}
.detail-breadcrumb h6 {
  font-weight: 500;
  text-overflow: ellipsis;
  overflow: hidden;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 54px;
  padding-block: 22px 55px;
}
.article-category {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 16px;
  background: #eee9ff;
  color: var(--purple);
}
.article-content > h1 {
  margin: 14px 0 20px;
  font-size: clamp(27px, 3vw, 38px);
}
.article-info {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.article-info > div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.article-info h5 {
  color: #657088;
  font-weight: 500;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 20px;
}
.article-tags a {
  padding: 5px 12px;
  border-radius: 16px;
  color: var(--purple);
  background: #f1eff8;
  font-size: 14px;
  font-weight: 700;
}
.article-tags a:hover {
  color: #fff;
  background: var(--purple);
}
.share-links a,
.share-links button {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #326fd8;
  color: #fff;
  font-weight: 800;
}
.share-links a:nth-of-type(2) {
  background: #2ab865;
}
.share-links button {
  background: var(--purple);
  cursor: pointer;
}
.article-cover {
  width: auto;
  height: auto;
  max-width: min(100%, 760px);
  max-height: 520px;
  margin: 24px auto 0;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}
.article-text {
  padding: 20px 0 25px;
  border-bottom: 1px solid #dde2ec;
}
.article-text h4 {
  margin-bottom: 13px;
  color: #344056;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}
.article-neighbors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding-top: 20px;
}
.article-neighbors > div:last-child {
  text-align: right;
}
.article-neighbors h6 {
  color: #7a8498;
}
.article-neighbors a {
  display: block;
  margin-top: 5px;
  color: #1f2a42;
  font-weight: 700;
}
.article-neighbors h5 {
  margin-top: 5px;
  color: #8b93a2;
}
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.detail-box {
  padding: 16px;
  border: 1px solid #dfe3ee;
  border-radius: 10px;
}
.detail-box > h3 {
  padding: 0 0 13px;
  border-left: 3px solid var(--purple);
  padding-left: 9px;
  font-size: 19px;
}
.detail-box > a {
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-radius: 6px;
  color: #4c5870;
  font-weight: 600;
}
.detail-box > a.active {
  background: #f1edff;
  color: var(--purple);
}
.related-box > a {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  border-radius: 0;
  border-bottom: 1px solid #e8eaf0;
  padding-inline: 0;
}
.related-box > a:last-child {
  border-bottom: 0;
}
.related-box img {
  width: 62px;
  height: 46px;
  border-radius: 5px;
  object-fit: contain;
  background: transparent;
}
.related-box h5 {
  font-size: 14px;
}
.related-box h6 {
  font-size: 12px;
  color: #778198;
  font-weight: 500;
}
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .detail-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .article-cover {
    max-height: 520px;
  }
}
@media (max-width: 600px) {
  .detail-breadcrumb h6:last-child {
    display: none;
  }
  .article-info {
    align-items: flex-start;
    gap: 12px;
  }
  .article-info > div:first-child {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
  .share-links {
    gap: 6px !important;
  }
  .share-links > h5 {
    display: none;
  }
  .article-neighbors {
    grid-template-columns: 1fr;
  }
  .article-neighbors > div:last-child {
    text-align: left;
  }
  .detail-sidebar {
    grid-template-columns: 1fr;
  }
  .article-text h4 {
    font-size: 16px;
  }
}

/* 麵包屑項目統一對齊，並提供完整連結互動。 */
.detail-breadcrumb a,
.detail-breadcrumb span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
}
.detail-breadcrumb a {
  transition: color 0.2s;
}
.detail-breadcrumb a:hover {
  color: var(--purple);
  text-decoration: underline;
}
.detail-breadcrumb .current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #53617a;
}
@media (max-width: 600px) {
  .detail-breadcrumb .current {
    display: none;
  }
}

/* 2026 visual refinement — restrained editorial system */
:root {
  --ink: #182033;
  --purple: #5b46b2;
  --cream: #d4cec1;
  --line: #e2e4e9;
  --paper: #fff;
  --wash: #f6f5f2;
}
body {
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0.01em;
}
.site-header {
  background: #d1cabc;
  box-shadow: none;
  border-bottom: 1px solid rgba(24, 32, 51, 0.08);
}
.nav-link,
.nav-trigger {
  font-weight: 600;
}
.nav-link:hover,
.nav-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
}
.dropdown-menu {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  box-shadow: 0 8px 18px rgba(24, 32, 51, 0.08);
}
.dropdown-menu a {
  font-weight: 600;
}
.dropdown-menu a:hover {
  background: #f5f3ef;
  color: var(--purple);
}
.hero {
  gap: 72px;
  padding-block: 72px 55px;
}
.hero-copy h1 {
  letter-spacing: 0.02em;
}
.hero-copy h5 {
  color: #596171;
  font-weight: 500;
}
.short-line {
  width: 34px;
  height: 3px;
  margin: 18px 0 22px;
}
.carousel {
  border-radius: 3px;
  box-shadow: none;
}
.prev,
.next {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(24, 32, 51, 0.12);
  box-shadow: none;
}
.news-section {
  padding-block: 26px 74px;
}
.section-title-row {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.title-with-icon span {
  font-size: 27px;
}
.view-more {
  letter-spacing: 0.08em;
}
.news-grid {
  gap: 18px 14px;
}
.news-card {
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.news-card:hover {
  border-color: #a99dce;
  transform: translateY(-2px);
}
.news-meta h6:nth-child(2) {
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
}
.circle-arrow {
  border-radius: 0;
}
.core-section {
  padding: 48px 0 92px;
  background: #f7f6f3;
}
.heading h2 {
  font-size: 36px;
  letter-spacing: 0.05em;
}
.title-line {
  width: 34px;
  height: 3px;
}
.core-grid {
  gap: 18px;
  margin-top: 76px;
}
.core-card {
  min-height: 305px;
  padding: 96px 28px 30px;
  border: 1px solid #dedbd5;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}
.icon-ring {
  top: -52px;
  width: 116px;
  height: 116px;
  border-width: 1px;
  background: transparent;
  box-shadow: none;
}
.icon-ring img {
  width: 82px;
  height: 82px;
}
.core-card h3 {
  font-size: 24px;
}
.core-card h5 {
  font-weight: 500;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}
.fields-section {
  padding: 72px 0 92px;
  background: #fff;
  border-top: 1px solid #eceae6;
}
.color-line {
  width: 190px;
  margin-bottom: 42px;
}
.color-line i:before {
  width: 8px;
  height: 8px;
}
.fields-grid {
  gap: 16px;
}
.field-card {
  padding: 28px 24px 32px;
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
}
.field-head h2 {
  font-size: 36px;
  font-weight: 500;
}
.field-head img {
  width: 57px;
  height: 57px;
}
.field-card h3 {
  font-size: 23px;
}
.field-card h5 {
  font-weight: 500;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
}
.site-footer {
  padding: 28px 0;
  background: #d1cabc;
  border-top: 1px solid rgba(24, 32, 51, 0.08);
}
.news-banner {
  padding: 48px 0;
  background: #f6f5f2;
  border-bottom: 1px solid var(--line);
}
.news-banner:after {
  display: none;
}
.news-banner h1 {
  font-size: 36px;
  letter-spacing: 0.03em;
}
.banner-line {
  width: 32px;
  height: 3px;
}
.news-banner h4 {
  color: #596171;
}
.news-browser {
  gap: 38px;
  padding-block: 48px 70px;
}
.filter-box {
  border-color: var(--line);
  border-radius: 2px;
}
.filter-box > h3 {
  border-bottom: 1px solid #ececef;
}
.category-filter {
  border-left: 3px solid transparent;
  font-weight: 600;
}
.category-filter:hover {
  background: #f7f6f3;
}
.category-filter.active {
  margin: 0;
  width: 100%;
  border-left-color: var(--purple);
  border-radius: 0;
  background: #f0edf8;
  color: var(--purple);
}
.tag-list button {
  border-radius: 2px;
  transform: none !important;
}
.tag-list button:hover {
  filter: none;
  border-color: currentColor;
}
.tag-list button.active {
  box-shadow: inset 0 -2px 0 currentColor;
}
.news-search,
.sort-select {
  border-radius: 2px;
}
.view-switch {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #f7f6f3;
}
.view-switch button {
  border-radius: 0;
}
.view-switch button.active {
  background: var(--purple);
}
.news-items {
  gap: 16px;
}
.news-entry {
  border-color: var(--line);
  border-radius: 2px;
  box-shadow: none;
}
.news-entry:hover {
  border-color: #aaa0c9;
  box-shadow: none;
  transform: translateY(-2px);
}
.entry-meta h6:first-child,
.entry-tags h6 {
  border-radius: 2px;
}
.entry-arrow {
  border-radius: 0;
}
.news-pagination button {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}
.news-pagination button.active {
  border-color: var(--purple);
  background: var(--purple);
}
.detail-breadcrumb {
  padding-block: 30px 17px;
  border-bottom: 1px solid #eeeef1;
}
.detail-layout {
  gap: 60px;
  padding-top: 32px;
}
.article-category {
  border-radius: 2px;
  background: #efecf7;
}
.article-content > h1 {
  max-width: 850px;
  letter-spacing: 0.015em;
}
.article-cover {
  border-radius: 2px;
}
.share-links a,
.share-links button {
  border-radius: 2px;
}
.detail-box {
  border-color: var(--line);
  border-radius: 2px;
}
.detail-box > a {
  border-radius: 0;
}
.detail-box > a.active {
  background: #f0edf8;
}
.related-box img {
  border-radius: 1px;
}
.article-text h4 {
  color: #384052;
}
.article-neighbors a:hover {
  color: var(--purple);
}
@media (max-width: 900px) {
  .hero {
    gap: 38px;
    padding-block: 48px;
  }
  .core-card {
    padding-inline: 22px;
  }
  .news-browser {
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .hero {
    padding-block: 38px;
  }
  .news-banner {
    padding: 34px 0;
  }
  .core-section,
  .fields-section {
    padding-block: 58px;
  }
  .news-card {
    min-height: 130px;
  }
}

/* 非首頁共用子橫幅 */
.sub-banner {
  min-height: 145px;
  display: flex;
  align-items: center;
  background: #f9f9fc url("../images/subpage-banner-bg.png") center/cover
    no-repeat;
  border-bottom: 1px solid #ececf2;
}
.sub-banner-content {
  position: relative;
  z-index: 1;
  padding-block: 24px;
}
.sub-banner h1 {
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0.04em;
}
.sub-banner h1 small {
  font-size: 16px;
  letter-spacing: 0;
}
.sub-banner-line {
  display: block;
  width: 34px;
  height: 3px;
  margin: 7px 0 9px;
  background: var(--purple);
}
@media (max-width: 700px) {
  .sub-banner {
    min-height: 135px;
    background-position: 62% center;
  }
  .sub-banner h1 {
    font-size: 29px;
  }
}

/* 理監事介紹 */
.directors-section {
  padding-block: 28px 42px;
}
.directors-panel {
  padding: 24px;
  border: 1px solid #e4e5e8;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24, 32, 51, 0.05);
}
.directors-heading {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 18px;
}
.directors-heading h2 {
  font-size: 20px;
}
.directors-heading h2 span {
  color: var(--purple);
}
.directors-heading h5 {
  color: #59647a;
  font-size: 14px;
  font-weight: 500;
}
.directors-heading h5 span {
  margin-right: 6px;
  color: var(--purple);
}
.directors-table-wrap {
  overflow-x: auto;
  border: 1px solid #dfe1e6;
}
.directors-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #20283a;
}
.directors-table th,
.directors-table td {
  padding: 8px 14px;
  border-right: 1px solid #dfe1e6;
  border-bottom: 1px solid #e5e6e9;
  line-height: 1.35;
}
.directors-table th:last-child,
.directors-table td:last-child {
  border-right: 0;
}
.directors-table tbody tr:last-child td {
  border-bottom: 0;
}
.directors-table th {
  background: #eee8df;
  font-size: 16px;
  text-align: center;
}
.directors-table td {
  font-size: 15px;
}
.directors-table td:nth-child(1),
.directors-table td:nth-child(2),
.directors-table td:nth-child(4) {
  text-align: center;
}
.directors-table th:nth-child(1) {
  width: 15%;
}
.directors-table th:nth-child(2) {
  width: 18%;
}
.directors-table th:nth-child(3) {
  width: 37%;
}
.directors-table th:nth-child(4) {
  width: 30%;
}
.directors-table tbody tr:nth-child(even) {
  background: #f7f7f7;
}
.directors-table tbody tr:hover {
  background: #f1eff7;
}
@media (max-width: 700px) {
  .directors-section {
    padding-block: 20px 30px;
  }
  .directors-panel {
    padding: 15px;
  }
  .directors-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
  .directors-table th,
  .directors-table td {
    padding: 8px 10px;
  }
}

/* 組織章程 */
.charter-tools {
  padding-block: 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.charter-tools nav {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #667187;
  font-size: 15px;
}
.charter-tools nav a:hover {
  color: var(--purple);
}
.pdf-download {
  padding: 10px 15px;
  border: 1px solid #cfc7ee;
  color: var(--purple);
  font-size: 15px;
  font-weight: 700;
}
.pdf-download:hover {
  background: #f3f0fb;
}
.application-downloads { display: grid; gap: 10px; align-items: start; }
.application-downloads .download-button { width: fit-content; }
.application-downloads .download-button.unavailable { cursor: default; opacity: .58; }
.charter-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 48px;
}
.charter-sidebar {
  position: sticky;
  top: 98px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.charter-nav,
.join-box {
  border: 1px solid #dfe1e7;
  background: #fff;
}
.charter-nav h3 {
  padding: 17px 16px;
  font-size: 17px;
}
.charter-nav > a {
  padding: 11px 17px;
  display: block;
  border-left: 3px solid transparent;
  color: #566177;
  font-size: 15px;
}
.charter-nav > a:hover {
  background: #f7f6f3;
}
.charter-nav > a.active {
  border-left-color: var(--purple);
  background: #f0edf8;
  color: var(--purple);
  font-weight: 700;
}
.join-box {
  padding: 17px;
  text-align: center;
}
.join-box h3 {
  font-size: 16px;
}
.join-box h5 {
  margin: 10px 0 14px;
  color: #647086;
  font-size: 13px;
  font-weight: 500;
}
.join-box a {
  padding: 8px;
  display: block;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.charter-content {
  padding: 24px 28px;
  border: 1px solid #dfe1e7;
  background: #fff;
}
.charter-content > h1 {
  text-align: center;
  font-size: 26px;
}
.charter-filing {
  margin: 4px 0 22px;
  text-align: center;
  color: #778196;
  font-size: 13px;
  font-weight: 500;
}
.charter-chapter {
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e1e3e8;
}
.charter-chapter h2 {
  margin-bottom: 13px;
  color: var(--purple);
  font-size: 21px;
}
.charter-chapter h2:after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 5px;
  background: var(--purple);
}
.charter-article {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 8px;
  margin: 9px 0;
}
.charter-article h4 {
  font-size: 15px;
}
.charter-article h5 {
  color: #505b70;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
}
.charter-load {
  margin: 2px auto 0;
  padding: 10px 18px;
  display: block;
  border: 1px solid #bfb3e9;
  background: #fff;
  color: var(--purple);
  font-weight: 700;
  cursor: pointer;
}
.charter-load:hover {
  background: #f3f0fb;
}
@media (max-width: 750px) {
  .charter-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .charter-layout {
    grid-template-columns: 1fr;
  }
  .charter-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .charter-content {
    padding: 20px;
  }
  .charter-article {
    grid-template-columns: 60px 1fr;
  }
}
@media (max-width: 500px) {
  .charter-tools nav {
    gap: 6px;
    font-size: 13px;
  }
  .charter-sidebar {
    grid-template-columns: 1fr;
  }
  .charter-content {
    padding: 17px 14px;
  }
  .charter-content > h1 {
    font-size: 22px;
  }
  .charter-article {
    display: block;
  }
  .charter-article h4 {
    margin-bottom: 3px;
  }
}

/* 組織章程 PDF 文字自動同步 */
.charter-document {
  min-width: 0;
  padding: 28px 34px;
  border: 1px solid #dfe1e7;
  background: #fff;
  font-family: "標楷體", "DFKai-SB", "BiauKai", "KaiTi TC", "KaiTi", "AR PL UKai TW", serif;
}

.charter-document h1,
.charter-document h2,
.charter-document h3,
.charter-document h4,
.charter-document h5,
.charter-document h6,
.charter-document p,
.charter-document div {
  font-family: inherit;
}

.charter-document-head {
  padding-bottom: 22px;
  text-align: center;
}

.charter-document-head h1 {
  font-size: 30px;
  letter-spacing: 0.12em;
}

.charter-document-head h5 {
  margin-top: 5px;
  color: #687287;
  font-size: 16px;
  font-weight: 500;
}

.charter-pdf-chapter {
  padding: 24px 0;
  border-top: 1px solid #e1e3e8;
  scroll-margin-top: 100px;
}

.charter-pdf-chapter h2 {
  width: fit-content;
  margin: 0 auto 14px;
  color: #111;
  font-size: 20px;
  font-weight: 500;
}

.charter-pdf-chapter h2::after {
  display: none;
}

.charter-pdf-article {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 22px;
  margin: 8px 0;
}

.charter-pdf-article > h4 {
  color: #111;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  white-space: nowrap;
  text-align: justify;
  text-align-last: justify;
}

.charter-pdf-article h5 {
  margin: 0;
  color: #111;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-character;
}

@media (max-width: 500px) {
  .charter-document {
    padding: 20px 16px;
  }

  .charter-document-head h1 {
    font-size: 22px;
  }

  .charter-pdf-article {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 10px;
  }

  .charter-pdf-article > h4,
  .charter-pdf-article h5 {
    font-size: 16px;
  }
}

/* 共用頁尾 */
.site-footer {
  position: relative;
  padding: 24px 0 14px;
  border-top: 1px solid #e7e4de;
  background: #faf9f6;
  color: #273044;
}

.site-footer .footer-grid {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.site-footer .contact-info {
  min-height: 48px;
  padding: 0 28px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border-right: 0;
}

.site-footer .contact-info:first-child {
  padding-left: 0;
}

.site-footer .contact-info:last-child {
  border-right: 0;
}

.site-footer .contact-info > i {
  flex-shrink: 0;
  margin-top: 1px;
  color: #4f596b;
  font-size: 18px;
}

.site-footer .contact-info h5 {
  color: #20283a;
  font-size: 17px;
  font-weight: 700;
}

.site-footer .contact-info h6 {
  margin-top: 7px;
  color: #596274;
  font-size: 15px;
  font-weight: 500;
}

.footer-copyright {
  margin-top: 18px;
  color: #8a8f99;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.back-to-top {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 18px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #e4e2dd;
  border-radius: 50%;
  background: #fff;
  color: #283247;
  box-shadow: 0 3px 10px rgba(24, 32, 51, 0.08);
}

.back-to-top:hover {
  border-color: #bcb4d5;
  color: var(--purple);
}

@media (max-width: 700px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-footer .contact-info,
  .site-footer .contact-info:first-child {
    min-height: 0;
    padding: 0;
    border-right: 0;
  }

  .footer-copyright {
    max-width: calc(100% - 70px);
    margin-inline: auto;
    text-align: left;
  }
}

/* 最新消息卡片：列表僅顯示由 content 自動產生的摘要。 */
.news-items[data-view-mode="grid"] .news-entry {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 0;
  border-color: #ddd9ea;
  background: #fff;
}

.news-items[data-view-mode="grid"] .news-entry > img {
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: transparent;
}

.news-items[data-view-mode="grid"] .news-entry-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 18px 20px 48px;
}

.news-entry h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.55;
}

.news-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: #5f687b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-items[data-view-mode="list"] .news-entry {
  min-height: 145px;
}

.news-items[data-view-mode="list"] .news-entry-body {
  padding: 18px 52px 22px 22px;
}

.news-items[data-view-mode="list"] .news-summary {
  -webkit-line-clamp: 2;
}

@media (max-width: 700px) {
  .news-items[data-view-mode="grid"] .news-entry-body {
    padding: 16px 17px 44px;
  }

  .news-summary {
    display: -webkit-box;
    font-size: 14px;
    -webkit-line-clamp: 3;
  }
}
