@charset "UTF-8";
/* ──────────────────────────────────────────────────────────────
   BS3 body 還原（skin_html_only 舊版內頁預覽專用）

   背景：這些「保留舊版內頁設計」的預覽頁，為了新版 header/footer 另外載入了
   Bootstrap 5。但兩者有兩個衝突，讓 body 內容跟正式站（純 BS3）長得不一樣：

   1) bootstrap.css(BS3) 設 html{font-size:10px} 當 rem 基準。BS3 內文用「絕對 px」
      不受影響；但 BS5 typography 用 rem，於是 body=1rem=10px、h5=1.25rem=12.5px…
      全部縮成 62.5% → 裸元素（如 exam_download_index 的 <h5> 清單）字變很小。
   2) BS5 的 .table 用 CSS 變數＋box-shadow 重畫表格，蓋掉 BS3 邊框/斑馬紋與
      stylemy 的表頭底色（.user-table thead 等）→ 表格樣式跑掉。

   此檔在 BS5「之後」載入，把 BS3 的內文字級與表格外觀補回。
   ⚠️ 僅還原 body 會用到的裸元素與 .table*；nheader/nfooter 未使用 <table> 或
      裸 h1–h6，故不受影響。正式站只載 BS3、不會載此檔。
   ────────────────────────────────────────────────────────────── */

/* 0) body 內容字型還原為正式站 BS3 stack
   nstyle 的 * { font-family:"Noto Sans TC" } 會讓舊 body 的 CJK 也用 Noto，
   Noto 比正式站字型（微軟正黑體，走 Helvetica Neue fallback）寬，導致固定寬容器
   （如 .service-icon 260px）內的長標題＋「......more」被擠成兩行等版差。
   scope 到 .page_container（舊版內容外層）；nheader/nfooter/麵包屑在其外，保留 Noto。 */
.page_container,
.page_container * {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* 1) 內文字級（Bootstrap v3.3.1 預設，絕對 px，抵銷 BS5 rem 縮水） */
body { font-size: 14px; line-height: 1.42857143; }
h1, .h1 { font-size: 36px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 14px; }
h6, .h6 { font-size: 12px; }

/* 標題間距/行高（BS3）— 抵銷 BS5 reboot 的 margin-top:0 / margin-bottom:.5rem / line-height:1.2 */
h1, .h1, h2, .h2, h3, .h3 { margin-top: 20px; margin-bottom: 10px; }
h4, .h4, h5, .h5, h6, .h6 { margin-top: 10px; margin-bottom: 10px; }
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { line-height: 1.1; }

/* 2) 表格（Bootstrap v3.3.1）— 蓋回被 BS5 改掉的外觀 */
.table { width: 100%; max-width: 100%; margin-bottom: 20px; }
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
  background-color: transparent; /* 中和 BS5 的 cell 白底，讓 thead 底色/斑馬紋透出 */
  box-shadow: none;              /* 中和 BS5 用 box-shadow 上色/斑馬紋的機制 */
  color: inherit;                /* 中和 BS5 的 --bs-table-color 變數 */
}
.table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
}
.table > tbody + tbody { border-top: 2px solid #ddd; }

.table-bordered { border: 1px solid #ddd; }
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td { border: 1px solid #ddd; }
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td { border-bottom-width: 2px; }

/* 斑馬紋：BS3 設在 tr（底色由透明的 cell 透出） */
.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th { background-color: #f9f9f9; }
