/* ===================================================================
   css/pages/table-typography-20261203.css
   醫療內容表格字級下限：內文最小 16px（2026-12-03）

   為什麼需要：
   依劉醫師手機版要求「內文最小 16 px，重點資訊 18 px 以上」，
   實測全站含表格頁面，21 個表格的字級落在 13.1～15.2px，低於下限。

   為什麼不改 styles.css / styles-20261015.css：
   - styles.css 全站沒有任何頁面載入（0 頁）
   - styles-20261015.css 有 58 頁載入 → 直接改會影響全站所有表格，
     且該檔沒有 .table-scroll-wrapper 降級規則，屬高風險全站改動。
   - 因此改為「頁面專屬 opt-in」：需修正的頁面引入本檔並在 table 上加 class。

   套用方式：
     <link rel="stylesheet" href="/css/pages/table-typography-20261203.css?v=20261203a" />
     <table class="mtt"> ... </table>

   .mtt = medical table typography
   =================================================================== */

/* ---------- 字級下限 + 行距 ---------- */
.mtt th,
.mtt td {
  font-size: 1rem;        /* 16px */
  line-height: 1.7;
  /* 長網址／地址不得撐破格子（overflow-wrap） */
  overflow-wrap: break-word;
  word-break: break-word;
}

/* 第一欄（項目名稱）：字級放大後容易變窄，給最小寬度 */
.mtt th:first-child,
.mtt td:first-child {
  min-width: 92px;
}

/* td 內的 inline 連結（地址、電話、URL）也必須能斷行，
   否則長連結會撐破格子（inline 元素不吃 overflow-wrap） */
.mtt td a,
.mtt td a:link,
.mtt td a:visited {
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

/* 表頭本來就該是重點資訊 → 17px */
.mtt th {
  font-size: 1.0625rem;   /* 17px */
  line-height: 1.6;
}

/* ---------- 手機版 ---------- */
@media (max-width: 768px) {
  .mtt th,
  .mtt td {
    font-size: 1rem;
    line-height: 1.75;
    padding: 0.7rem 0.75rem;
  }

  .mtt th {
    font-size: 1.0625rem;
  }
}
