/* ============================================================
   Committee Section Styles — Foxconntech Design System v2.0
   basic-style token 已由 base.html 載入的 basic-style.css 提供
   此檔只包含本頁專屬樣式，請勿在此重複定義全站共用規則
   ============================================================ */

/* ── Tab 分頁標籤導航（對齊董事會樣式：經典文字標籤 ＋ 居中精緻小底線） ── */
.set-committee-tabs-title {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-bottom: 2px solid rgba(12, 35, 64, 0.08);
  margin-bottom: 2rem;
  padding: 0;
  background: transparent;
  position: relative;
  list-style: none;
}

.set-committee-tabs-title li {
  text-align: center;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem 1rem 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: -2px;
}

/* 移除老舊豎線 */
.set-committee-tabs-title li::after {
  display: none;
}

.set-committee-tabs-title li a {
  color: var(--color-text-muted, #5a6b7e);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 3.25rem;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.set-committee-tabs-title li a:focus,
.set-committee-tabs-title li a:hover {
  color: var(--color-accent, #1d8fe0);
  cursor: pointer;
}

.set-committee-tabs-title li.active a {
  color: var(--color-primary, #0c2340);
  font-weight: 700;
}

html[lang="en"] .set-committee-tabs-title li.active a {
  font-weight: 600;
  letter-spacing: -0.015rem;
}

/* 居中精緻小藍條指示線（52px），覆蓋融合於灰線上方 */
.set-committee-tabs-title li.active::before {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 3px;
  background-color: var(--color-accent, #1d8fe0);
  border-radius: 3px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(29, 143, 224, 0.45);
}

/* ── 委員會內容區段 ── */
.set-committee-inner {
  margin: 1rem;
}

/* 手機端提示滑動文字 */
.mobile-touch {
  display: none;
  font-weight: 600;
  color: var(--color-accent, #1d8fe0);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.committee-table-width {
  width: 60%;
}

@media (max-width: 600px) {
  .mobile-touch {
    display: block;
  }

  .mobile-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-wrapper::-webkit-scrollbar {
    display: none;
  }

  .set-committee-tabs-title {
    width: max-content;
    min-width: 100%;
    margin-bottom: 1.25rem;
  }

  .set-committee-tabs-title li {
    flex: 0 0 auto;
    padding: 0.625rem 0.875rem 0.75rem 0.875rem;
    max-width: 290px;
  }

  .set-committee-tabs-title li a {
    min-height: 2.75rem;
    line-height: 1.35;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
  }

  .mobile-table-width {
    width: 1024px;
  }

  .committee-table-width {
    width: 100%;
  }
}