/* theme-a.css — 方向 A「智庫典藏」語義層 + 組件（依 DESIGN.md §4.2 A 欄 / §8.1）
   底色紙白 · 襯線 display · 藍主強調 · 首屏焦點=大標題 · 視頻=簡報行
   禁：深底、carousel、等大瓷磚、裝飾動效 */

.t-a {
  /* 語義 token（A） */
  --color-bg: #FFFFFF;
  --color-surface: #FBFCFD;
  --color-text: #2A2E33;
  --color-muted: #6B737A;
  --color-accent: var(--blue);
  --color-accent-2: var(--mint);
  --color-highlight: var(--gold);
  --color-video: var(--cyan);
  --color-line: #E4E9EA;
  --color-footer: var(--aub);
  --focus: var(--blue);

  --font-display: "Noto Serif TC", "Source Han Serif TC", "Songti TC", "PMingLiU", serif;
  --font-body: "Noto Sans TC", "Source Han Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Noto Sans TC", "Microsoft JhengHei", monospace;

  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* Script-aware site typography. Original content and media stay untouched. */
.t-a:lang(zh-Hans) {
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Noto Sans SC", "Microsoft YaHei", monospace;
}
.t-a:lang(en) {
  --font-display: Georgia, "Times New Roman", "Noto Serif TC", "PMingLiU", serif;
  --font-body: Arial, "Helvetica Neue", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Noto Sans TC", "Microsoft JhengHei", monospace;
}
.t-a :where(button, input, select, textarea) { font-family:var(--font-body); }

/* ── 報頭 masthead ─────────────────────────────────── */
.t-a .mh { background: var(--color-bg); border-bottom: 3px solid var(--ink); }
.t-a .mh-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding-block: var(--s3); }
.t-a .mh-brand img { height: 62px; width: auto; display: block; }
.t-a .mh-right { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s1); }
.t-a .mh-folio { display: flex; gap: var(--s5); font-size: 11px; letter-spacing: .18em; color: var(--color-muted); }
.t-a .mh-actions { display: flex; align-items: center; gap: var(--s4); font-size: 12px; }
.t-a .ask { color: var(--color-accent); text-decoration: none; border-bottom: 1px dotted var(--color-accent); padding-bottom: 1px; }
.t-a .ask:hover { border-bottom-style: solid; }
.t-a .lang { color: var(--color-muted); letter-spacing: .06em; }
.t-a .mh-nav { border-top: 1px solid var(--color-line); }
.t-a .mh-nav .wrap { display: flex; gap: var(--s6); overflow-x: auto; }
.t-a .mh-nav a { text-decoration: none; font-size: 15px; padding: var(--s3) 0; color: var(--color-text); white-space: nowrap; border-bottom: 2px solid transparent; }
.t-a .mh-nav a:hover { color: var(--color-accent); }
.t-a .mh-nav a.on { color: var(--color-accent); border-bottom-color: var(--color-accent); font-weight: 500; }

/* ── 首頁 hero（不對稱 60/40：左大標題 / 右視頻簡報海報） ── */
.t-a .hero { border-bottom: 1px solid var(--color-line); }
.t-a .hero-grid { display: grid; grid-template-columns: 3fr 2fr; gap: var(--s7); padding-block: var(--s7) var(--s6); align-items: center; }
.t-a .kicker { font-size: 11px; letter-spacing: .3em; color: var(--color-accent); font-weight: 500; margin-bottom: var(--s3); }
.t-a .hero-h { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.8vw, 42px); line-height: 1.32; margin: 0 0 var(--s4); }
.t-a .hero-dek { font-size: 16px; color: var(--color-muted); max-width: 34em; margin: 0 0 var(--s4); }
.t-a .hero-meta { font-size: 12px; color: var(--color-muted); display: flex; flex-direction: column; gap: var(--s2); align-items: flex-start; }
.t-a .hero-meta a { color: var(--color-accent); text-decoration: none; border-bottom: 1px solid transparent; }
.t-a .hero-meta a:hover { border-bottom-color: var(--color-accent); }
.t-a .hero-brief { text-decoration: none; color: inherit; display: block; }
.t-a .hb-poster { position: relative; border: 1px solid var(--color-line); }
.t-a .hb-poster img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.t-a .hb-play { position: absolute; inset: 0; display: grid; place-items: center; }
.t-a .hb-play svg { width: 64px; height: auto; opacity: .96; }
.t-a .hero-brief:hover .hb-play svg { opacity: 1; transform: scale(1.03); transition: transform var(--dur) var(--ease); }
.t-a .hb-cap { font-size: 11px; letter-spacing: .18em; color: var(--color-muted); border-top: 1px solid var(--color-line); margin-top: var(--s2); padding-top: var(--s2); }

/* ── 首欄結構：左索引欄 + 主欄 ─────────────────────── */
.t-a .cols { display: grid; grid-template-columns: 260px 1fr; gap: var(--s7); padding-block: var(--s6); }
.t-a .rail-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; font-weight: 500; color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: var(--s2); margin: 0 0 var(--s3); }
.t-a .rail section + section { margin-top: var(--s6); }
.t-a .rail-ix, .t-a .rail-tp { list-style: none; margin: 0; padding: 0; }
.t-a .rail-ix a { display: grid; grid-template-columns: 26px 1fr auto; gap: var(--s2); align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--color-line); text-decoration: none; font-size: 13.5px; line-height: 1.5; }
.t-a .rail-ix .rfolio, .t-a .rail-ix .rdate { font-size: 11px; color: var(--color-muted); }
.t-a .rail-ix a:hover span:nth-child(2) { color: var(--color-accent); }
.t-a .rail-tp a { display: block; padding: 9px 0; border-bottom: 1px solid var(--color-line); text-decoration: none; font-family: var(--font-display); font-size: 15px; }
.t-a .rail-tp a:hover { color: var(--color-accent); }

/* ── 區塊標題（欄線） ──────────────────────────────── */
.t-a .sec + .sec { margin-top: var(--s7); }
.t-a .sec-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: var(--s3); margin-bottom: var(--s1); }
.t-a .sec-head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0; }
.t-a .sec-more { font-family: var(--font-mono); font-size: 12px; color: var(--color-accent); text-decoration: none; }
.t-a .sec-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── 文章索引行（頁碼 + 日期 + 標題，欄線分隔） ────── */
.t-a .ixrow { display: grid; grid-template-columns: 44px 100px 1fr; gap: var(--s3); align-items: baseline; padding: var(--s4) 0; border-bottom: 1px solid var(--color-line); text-decoration: none; color: inherit; }
.t-a .ixrow .folio { font-size: 12px; color: var(--color-muted); }
.t-a .ixrow .ix-date { font-size: 12px; color: var(--color-muted); }
.t-a .ixrow h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: 0 0 var(--s1); line-height: 1.5; }
.t-a .ixrow .ix-tags { font-size: 11px; letter-spacing: .1em; color: var(--color-muted); }
.t-a .ixrow:hover h3 { color: var(--color-accent); }

/* ── 視頻簡報行（海報 + 信息，非縮略圖瓷磚） ────────── */
.t-a .brief { display: grid; grid-template-columns: 280px 1fr; gap: var(--s5); padding: var(--s4) 0; border-bottom: 1px solid var(--color-line); text-decoration: none; color: inherit; align-items: center; }
.t-a .brief .kicker { margin-bottom: var(--s2); }
.t-a .b-poster { position: relative; border: 1px solid var(--color-line); }
.t-a .b-poster img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.t-a .b-play { position: absolute; inset: 0; display: grid; place-items: center; }
.t-a .b-play svg { width: 44px; height: auto; opacity: .95; }
.t-a .brief h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 var(--s2); line-height: 1.5; }
.t-a .b-meta { font-size: 11px; letter-spacing: .15em; color: var(--color-muted); }
.t-a .brief:hover h3 { color: var(--color-accent); }
.t-a .brief.hidden { display: none; }

/* ── 列表頁（視頻/文章） ───────────────────────────── */
.t-a .page { max-width: 920px; padding-block: var(--s7) var(--s8); }
.t-a .page-h { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 36px); font-weight: 700; margin: 0 0 var(--s2); }
.t-a .page-sub { font-size: 12px; color: var(--color-muted); margin-bottom: var(--s5); }
.t-a .tabs { display: flex; flex-wrap: wrap; gap: 0 var(--s4); font-size: 12px; border-bottom: 1px solid var(--color-line); margin-bottom: var(--s4); }
.t-a .tabs button { appearance: none; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: var(--s2) 0; margin-right: var(--s3); font: inherit; color: var(--color-muted); cursor: pointer; }
.t-a .tabs button:hover { color: var(--color-text); }
.t-a .tabs button.on { color: var(--color-accent); border-bottom-color: var(--color-accent); font-weight: 500; }
.t-a .page .tabs + .tabs { margin-top: calc(-1 * var(--s3)); }

/* ── 分頁 ──────────────────────────────────────────── */
.t-a .pager { display: flex; flex-wrap: wrap; gap: var(--s2); padding-top: var(--s5); font-size: 12px; }
.t-a .pager button { appearance: none; background: none; border: 1px solid var(--color-line); border-radius: var(--r-btn); padding: 4px 10px; font: inherit; color: var(--color-muted); cursor: pointer; }
.t-a .pager button:hover:not(:disabled) { color: var(--color-accent); border-color: var(--color-accent); }
.t-a .pager button:disabled { opacity: .45; cursor: default; }
.t-a .pager .cur { color: var(--color-accent); border-color: var(--color-accent); }

/* ── 文章頁（襯線長文 + 首字下沉 + 引文） ───────────── */
.t-a .post { max-width: 720px; padding-block: var(--s6) var(--s8); }
.t-a .crumb { font-size: 11px; letter-spacing: .18em; color: var(--color-muted); margin-bottom: var(--s4); }
.t-a .crumb a { color: var(--color-muted); text-decoration: none; }
.t-a .crumb a:hover { color: var(--color-accent); }
.t-a .post-h { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.4; margin: 0 0 var(--s3); }
.t-a .post-meta { font-size: 12px; color: var(--color-muted); display: flex; flex-wrap: wrap; gap: var(--s2); }
.t-a .post-meta a { color: var(--color-accent); }
.t-a .rule { border: none; border-top: 2px solid var(--ink); margin: var(--s4) 0 var(--s5); }
.t-a .post-body { font-size: 17px; line-height: 1.9; }
.t-a .post-body p { margin: 0 0 1.3em; }
.t-a .post:not(.content-detail) .post-body > p:first-child::first-letter {
  font-family: var(--font-display); font-weight: 700; font-size: 3em;
  float: left; line-height: 1; padding: .06em .14em 0 0; color: var(--color-accent);
}
.t-a .post-body h2, .t-a .post-body h3, .t-a .post-body h4 { font-family: var(--font-display); line-height: 1.5; margin: 1.6em 0 .6em; }
.t-a .post-body h2 { font-size: 24px; } .t-a .post-body h3 { font-size: 20px; }
.t-a .post-body a { color: var(--color-accent); }
.t-a .post-body blockquote {
  margin: 1.8em 0; padding: var(--s3) var(--s4);
  border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line);
  font-family: var(--font-display); font-size: 1.06em; color: var(--ink);
}
.t-a .post-body img { display: block; margin: 1.5em auto; }
.t-a .pn { border-top: 1px solid var(--color-line); margin-top: var(--s7); padding-top: var(--s4); display: flex; flex-direction: column; gap: var(--s2); font-size: 13px; }
.t-a .pn a { color: var(--color-accent); text-decoration: none; }
.t-a .pn a:hover { text-decoration: underline; text-underline-offset: 3px; }
.t-a .ask-note { margin-top: var(--s7); border-top: 2px solid var(--ink); padding-top: var(--s4); }
.t-a .ask-note p { font-size: 15px; color: var(--color-muted); margin: var(--s2) 0 0; }

/* Video page layout; player details live in video-player.css. */
.t-a .watch { max-width: 1040px; padding-block: var(--s4) var(--s7); }
.t-a .vp-watch > .crumb { margin-bottom: var(--s3); }
.t-a .vp-details { margin-top: var(--s4); }

/* ── 頁腳（深紫灰，欄線收口） ───────────────────────── */
.t-a .ft { background: var(--color-footer); color: #C9C6D4; }
.t-a .ft-in { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); padding-block: var(--s6); flex-wrap: wrap; }
.t-a .ft-brand strong { font-family: var(--font-display); font-size: 18px; color: #F5F3FA; font-weight: 700; }
.t-a .ft-brand span { margin-left: var(--s4); font-size: 12px; color: #9A93AA; }
.t-a .ft-note { font-size: 11px; color: #9A93AA; }
.t-a .ft-note a { color: #9A93AA; }
.t-a .ft-note a:hover { color: #F5F3FA; }

/* ── 動效層（DESIGN.md D-P1-3：A 簽名=欄線繪製；僅進門與瀏覽，閱讀/播放頁零 data-rv） ── */
html.js .t-a [data-rv] {
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
html.js .t-a [data-rv].rv-in { opacity: 1; transform: none; transition-delay: var(--rvd, 0s); }
html.js .t-a [data-rv].rv-done { transition-delay: 0s; }  /* 入場後清錯峰延遲，hover 不遲滯 */

/* 欄線繪製：帶 draw-rule 的標題欄，底線從左向右畫出（無 JS 時保留靜態底線） */
html.js .t-a .draw-rule[data-rv] { position: relative; border-bottom-color: transparent; }
html.js .t-a .draw-rule[data-rv]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left center;
  transition: transform .6s var(--ease); transition-delay: calc(var(--rvd, 0s) + .08s);
}
html.js .t-a .draw-rule[data-rv].rv-in::after { transform: scaleX(1); }
html.js .t-a .draw-rule[data-rv].rv-done::after { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html.js .t-a [data-rv] { opacity: 1; transform: none; transition: none; }
  html.js .t-a .draw-rule[data-rv] { border-bottom-color: var(--ink); }
  html.js .t-a .draw-rule[data-rv]::after { content: none; }
}

/* ── 響應式 ────────────────────────────────────────── */
@media (max-width: 980px) {
  .t-a .hero-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .t-a .cols { grid-template-columns: 1fr; gap: var(--s6); }
  .t-a .rail { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .t-a .brief { grid-template-columns: 220px 1fr; }
}
@media (max-width: 640px) {
  .t-a .mh-top { flex-wrap: wrap; }
  .t-a .mh-brand img { height: 48px; }
  .t-a .mh-folio span:first-child { display: none; }
  .t-a .rail { grid-template-columns: 1fr; }
  .t-a .ixrow { grid-template-columns: 40px 1fr; row-gap: 2px; }
  .t-a .ixrow .ix-date { grid-column: 2; }
  .t-a .ixrow .ix-main { grid-column: 2; }
  .t-a .brief { grid-template-columns: 1fr; gap: var(--s3); }
  .t-a .b-poster { max-width: 420px; }
  .t-a .ft-in { flex-direction: column; gap: var(--s2); }
}

/* ══════════════════════════════════════════════════════════
   v2：廣告牌 / 板塊卡 / YouTube 式視頻 / 會員區 / 三語
   ══════════════════════════════════════════════════════════ */

/* ── 語言佔位提示 ─────────────────────────────────── */
.t-a .lang-notice {
  background: #FDF3E2; color: #8A5A12; border-bottom: 1px solid #EBD9B4;
  font-size: 12px; letter-spacing: .02em; text-align: center; padding: 6px 12px;
}

/* Homepage slides show the image before any caption. */
.t-a .billboard {
  position: relative; overflow: hidden; background: #F4F6F7;
  height: 430px; height: clamp(270px, 42vw, 510px);
  touch-action: pan-y;
}
.t-a .bb-track { list-style: none; margin: 0; padding: 0; height: calc(100% - 56px); position: relative; }
.t-a .bb-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease); pointer-events: none;
}
.t-a .bb-slide.on { opacity: 1; pointer-events: auto; visibility: visible; z-index: 1; }
.t-a .bb-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.t-a .bb-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(to top, rgba(18,16,28,.88), rgba(18,16,28,0) 80%);
  transition: opacity .2s ease;
}
.t-a .bb-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; pointer-events: none;
  padding: var(--s4) max(60px, var(--s5)); color: #fff; opacity: 0; visibility: hidden;
  transition: opacity .2s ease;
}
.t-a .bb-k { font-size: 11px; letter-spacing: .2em; color: var(--mint); margin-bottom: var(--s1); }
.t-a .bb-cap h3 { font-family: var(--font-display); font-size: clamp(18px,2.6vw,32px); font-weight: 700; line-height: 1.35; margin: 0; color: #fff; }
.t-a .billboard.info-open .bb-slide.on::after,
.t-a .billboard.keyboard-focus .bb-slide.on::after { opacity: 1; }
.t-a .billboard.info-open .bb-slide.on .bb-cap,
.t-a .billboard.keyboard-focus .bb-slide.on .bb-cap { opacity: 1; visibility: visible; }
@media (hover: hover) {
  .t-a .billboard:hover .bb-slide.on::after { opacity: 1; }
  .t-a .billboard:hover .bb-slide.on .bb-cap { opacity: 1; visibility: visible; }
}
.t-a .bb-link { position: absolute; inset: 0; z-index: 3; }
.t-a .bb-link:focus-visible { outline: 3px solid var(--color-accent); outline-offset: -4px; }
.t-a .bb-arrow, .t-a .bb-tools, .t-a .bb-dots { display: none; }
.t-a .bb-ready .bb-arrow { display: block; }
.t-a .bb-ready .bb-tools, .t-a .bb-ready .bb-dots { display: flex; }
.t-a .bb-arrow {
  position: absolute; top: calc(50% - 28px); transform: translateY(-50%); z-index: 4;
  appearance: none; border: 1px solid rgba(255,255,255,.7); background: rgba(18,16,28,.55);
  color: #fff; width: 44px; height: 44px; font-size: 24px; line-height: 1; cursor: pointer;
}
.t-a .bb-arrow:hover { background: var(--blue); }
.t-a .bb-arrow.prev { left: var(--s2); }
.t-a .bb-arrow.next { right: var(--s2); }
.t-a .bb-tools { position: absolute; left: var(--s3); bottom: 6px; z-index: 4; gap: 4px; }
.t-a .bb-tools button {
  appearance: none; min-width: 44px; height: 44px; border: 1px solid var(--color-line);
  background: #fff; color: var(--color-text); cursor: pointer; font: inherit; font-size: 13px; padding: 4px 10px;
}
.t-a .bb-info { font-size: 22px !important; }
.t-a .bb-tools button:hover { color: var(--color-accent); border-color: var(--color-accent); }
.t-a .bb-dots { position: absolute; right: var(--s3); bottom: 6px; z-index: 4; gap: 0; }
.t-a .bb-dot { appearance: none; width: 28px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; position: relative; }
.t-a .bb-dot::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 4px; background: #ABB4BA; }
.t-a .bb-dot:hover::after, .t-a .bb-dot.on::after { background: var(--color-accent); }
.t-a .billboard button:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .t-a .bb-slide, .t-a .bb-cap, .t-a .bb-slide::after { transition: none; }
}

/* ── 智庫定位帶 ──────────────────────────────────── */
.t-a .honor { padding-block: var(--s6) var(--s5); border-bottom: 1px solid var(--color-line); }
.t-a .honor-row { display: grid; grid-template-columns: 1fr 300px; gap: var(--s7); align-items: end; }
.t-a .honor-lead h1 {
  font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700; line-height: 1.35; margin: var(--s2) 0 var(--s3);
}
.t-a .honor-lead p { font-size: 16px; color: var(--color-muted); max-width: 60ch; margin: 0; }
.t-a .honor-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.t-a .honor-stats div {
  border-top: 2px solid var(--ink); padding-top: var(--s2); text-align: right;
}
.t-a .honor-stats b { display: block; font-size: 26px; color: var(--color-accent); line-height: 1.2; }
.t-a .honor-stats span { font-size: 11px; letter-spacing: .14em; color: var(--color-muted); }

/* ── 關注議題 chips ──────────────────────────────── */
.t-a .tchips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.t-a .tchip {
  display: inline-block; text-decoration: none; color: var(--color-text);
  font-family: var(--font-display); font-size: 16px; padding: var(--s2) var(--s4);
  border: 1px solid var(--color-line); background: var(--color-surface);
}
.t-a .tchip:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ── 活動／建議／新聞稿卡片 ──────────────────────── */
.t-a .icards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s5) var(--s4); }
.t-a .icard { display: block; text-decoration: none; color: inherit; border-top: 3px solid var(--ink); padding-top: var(--s3); }
.t-a .icard:hover { border-top-color: var(--color-accent); }
.t-a .ic-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-100); margin-bottom: var(--s3); }
.t-a .ic-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.t-a .icard:hover .ic-img img { transform: scale(1.04); }
.t-a .ic-img.noimg { display: grid; place-items: center; color: var(--grey-500); letter-spacing: .3em; }
.t-a .ic-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); margin-bottom: var(--s2); }
.t-a .ic-kind { font-size: 10px; letter-spacing: .18em; color: var(--color-accent); border: 1px solid var(--color-line); padding: 1px 6px; }
.t-a .ic-date { font-size: 11px; color: var(--color-muted); }
.t-a .ic-body h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.5; margin: 0 0 var(--s2); }
.t-a .icard:hover h3 { color: var(--color-accent); }
.t-a .ic-body p { font-size: 13.5px; color: var(--color-muted); margin: 0; }

/* ── 建議／新聞稿列 ──────────────────────────────── */
.t-a .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); }
.t-a .srow {
  display: grid; grid-template-columns: 92px 1fr; gap: var(--s3); align-items: baseline;
  padding: var(--s3) 0; border-bottom: 1px solid var(--color-line);
  text-decoration: none; color: inherit;
}
.t-a .s-date { font-size: 12px; color: var(--color-muted); }
.t-a .s-main h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 0 0 2px; line-height: 1.5; }
.t-a .srow:hover h3 { color: var(--color-accent); }
.t-a .s-ex { font-size: 11px; color: var(--color-muted); }

/* ── YouTube 式視頻網格（含滑鼠移入動態） ────────── */
.t-a .ygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s5) var(--s4); }
.t-a .ycard { display: block; text-decoration: none; color: inherit; }
.t-a .yc-thumb {
  position: relative; overflow: hidden; background: var(--grey-100); aspect-ratio: 16 / 9;
}
.t-a .yc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.t-a .yc-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.t-a .yc-badge {
  position: absolute; top: var(--s2); left: var(--s2);
  background: rgba(13, 103, 160, .92); color: #fff; font-size: 11px; padding: 2px 8px;
}
.t-a .yc-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: .92; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.t-a .yc-play svg { width: 52px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.t-a .ycard:hover .yc-thumb img { transform: scale(1.05); }
.t-a .ycard:hover .yc-play { transform: scale(1.12); opacity: 1; }
.t-a .yc-hint {
  position: absolute; right: var(--s2); bottom: var(--s2);
  background: rgba(18, 16, 28, .72); color: #fff; font-size: 10px; letter-spacing: .1em;
  padding: 2px 8px; opacity: 0; transition: opacity var(--dur) var(--ease);
}
.t-a .ycard:hover .yc-hint { opacity: 1; }
.t-a .yc-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.5;
  margin: var(--s3) 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.t-a .ycard:hover .yc-title { color: var(--color-accent); }
.t-a .yc-meta { font-size: 11px; color: var(--color-muted); }
.t-a .ycard.hidden { display: none; }
.t-a .yc-thumb.playing .yc-play, .t-a .yc-thumb.playing .yc-hint { opacity: 0; }

/* ── 會員專區（問智庫） ──────────────────────────── */
.t-a .member-box {
  display: grid; grid-template-columns: 1fr 280px; gap: var(--s6); align-items: center;
  border: 1px solid var(--color-line); border-top: 3px solid var(--ink);
  background: var(--color-surface); padding: var(--s5);
}
.t-a .member-box h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: var(--s2) 0 var(--s2); }
.t-a .member-box p { font-size: 14.5px; color: var(--color-muted); margin: 0; line-height: 1.8; }
.t-a .mb-right { display: flex; flex-direction: column; gap: var(--s2); align-items: flex-start; }
.t-a .btn-member {
  display: inline-block; background: var(--color-accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 20px; border-radius: var(--r-btn);
}
.t-a .btn-member:hover { background: #0A5382; }
.t-a .mb-note { font-size: 10.5px; color: var(--color-muted); }

/* ── 條目內容頁 ──────────────────────────────────── */
.t-a .item-hero { display: block; width: 100%; margin: 0 0 var(--s5); border: 1px solid var(--color-line); }

/* ── 聯絡資訊 ────────────────────────────────────── */
.t-a .contact-box {
  margin-top: var(--s7); border-top: 2px solid var(--ink); padding-top: var(--s4);
}
.t-a .ci-row { display: grid; grid-template-columns: 72px 1fr; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--color-line); }
.t-a .ci-row span { font-size: 11px; letter-spacing: .18em; color: var(--color-muted); }
.t-a .ci-row b { font-weight: 500; }
.t-a .contact-box .hint { margin-top: var(--s3); }

@media (max-width: 980px) {
  .t-a .honor-row { grid-template-columns: 1fr; gap: var(--s5); }
  .t-a .honor-stats { grid-template-columns: repeat(4, 1fr); }
  .t-a .two-col { grid-template-columns: 1fr; gap: var(--s6); }
  .t-a .member-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .t-a .billboard { height: 290px; height: clamp(250px, 74vw, 390px); }
  .t-a .bb-cap { padding: var(--s3) 56px; }
  .t-a .bb-cap h3 { font-size: 17px; }
  .t-a .bb-tools { left: var(--s2); }
  .t-a .bb-dots { right: var(--s2); }
  .t-a .honor-stats { grid-template-columns: repeat(2, 1fr); }
  .t-a .ygrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}


/* P1 count, original About layout and access semantics. */
.t-a .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.t-a .article-count { font-family: var(--font-body); display: inline-flex; align-items: baseline; }
.t-a .count-value { display: inline-block; min-width: 3ch; text-align: center; font-family: var(--font-display); font-size: 1.65em; font-weight: 700; font-variant-numeric: tabular-nums; color: #0D67A0; line-height: 1.3; }
.t-a .lang [aria-disabled="true"] { opacity: .45; }
.t-a .source-about-page { max-width: 960px; }
.t-a .source-about { overflow-wrap: anywhere; }
.t-a .source-about section + section { margin-top: var(--s7); }
.t-a .source-about h1, .t-a .source-about h2 { font-family: var(--font-display); line-height: 1.4; }
.t-a .source-about h1 { font-size: clamp(26px,4vw,36px); }
.t-a .source-about h2 { font-size: clamp(23px,3vw,30px); }
.t-a .source-about p { max-width: 72ch; line-height: 1.85; margin: 0 0 1.2em; }
.t-a .source-about table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.t-a .source-about td, .t-a .source-about th { vertical-align: top; padding: 12px; overflow-wrap: anywhere; }
.t-a .source-about img { max-width: 100%; height: auto; }
.t-a .source-about a { color: var(--color-accent); }
@media (max-width: 640px) {
  .t-a .source-about table, .t-a .source-about tbody, .t-a .source-about tr, .t-a .source-about td, .t-a .source-about th { display: block; width: auto; }
  .t-a .source-about td, .t-a .source-about th { padding-inline: 0; }
}

/* Unified content templates: filters are enhancements; all cards remain readable without JS. */
.t-a .bb-slide picture { display: block; width: 100%; height: 100%; }
/* Search shares the title row; its allocated slot does not resize on disclosure. */
.t-a .catalog-heading { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 40%); align-items: center; column-gap: 24px; min-height: 44px; margin-bottom: var(--s2); }
.t-a .catalog-heading .page-h { margin: 0; min-width: 0; }
.t-a .catalog-search { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 8px; width: 100%; height: 44px; margin: 0; }
.t-a .catalog-search-field { min-width: 0; height: 44px; visibility: hidden; opacity: 0; transition: opacity .16s ease; }
.t-a .catalog-search.is-open .catalog-search-field { visibility: visible; opacity: 1; }
.t-a .catalog-search input { box-sizing: border-box; width: 100%; min-width: 0; height: 44px; padding: 10px 16px; font: inherit; font-size: 16px; color: var(--ink); background: #F5F7F8; border: 1px solid #CAD4DA; border-radius: 22px; }
.t-a .catalog-search-toggle { width: 44px; height: 44px; padding: 10px; border: 1px solid #CAD4DA; border-radius: 50%; background: #fff; color: #0D67A0; cursor: pointer; }
.t-a .catalog-search-toggle:not([hidden]) { display: grid; place-items: center; }
.t-a .catalog-search-toggle:hover { background: #EDF5FA; border-color: #0D67A0; }
.t-a .catalog-search-toggle:focus-visible, .t-a .catalog-search input:focus-visible { outline: 2px solid #0D67A0; outline-offset: 3px; }
.t-a .catalog-search-toggle svg { grid-area: 1 / 1; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.t-a .catalog-search-toggle .search-close-icon, .t-a .catalog-search.is-open .search-open-icon { display: none; }
.t-a .catalog-search.is-open .search-close-icon { display: block; }
@media (max-width: 700px) {
  .t-a .catalog-heading { grid-template-columns: minmax(0, 1fr) 44px; column-gap: 12px; }
  .t-a .catalog-heading .catalog-search { display: block; width: 44px; }
  .t-a .catalog-heading .catalog-search-field { position: absolute; left: 0; right: 56px; top: 50%; transform: translateY(-50%); }
  .t-a .catalog-heading.search-open .page-h { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .t-a .catalog-search-field { transition: none; } }
.t-a [data-content-card][hidden] { display: none !important; }
.t-a [data-content-card] > .icard, .t-a [data-child-id] > .icard { height: 100%; }
.t-a .content-detail { overflow-wrap: anywhere; }
.t-a .content-detail .post-body img, .t-a .content-gallery img { max-width: 100%; height: auto; }
.t-a .content-detail .post-body table { display: block; max-width: 100%; overflow-x: auto; }
.t-a .content-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; margin: 32px 0; }
.t-a .content-gallery figure { margin: 0; }
.t-a .content-gallery figcaption { padding-top: 8px; font-size: 14px; line-height: 1.6; }
.t-a .collection-children { margin: 36px 0; }
.t-a .catalog-grid, .t-a .collection-children { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
/* Preserve original embedded event recordings at a usable responsive size. */
.t-a .content-detail .post-body iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 24px auto; border: 0; }
.t-a .content-detail [aria-disabled="true"][data-source-url] { cursor: default; color: inherit; }

/* A failed/slow next image never removes the current slide. */
.bb-status:not(:empty){position:absolute;left:50%;bottom:1rem;transform:translateX(-50%);z-index:5;padding:.35rem .65rem;background:rgba(255,255,255,.94);color:#273039;font-size:.85rem;pointer-events:none;}

/* Structured editor output; legacy article styling stays outside this wrapper. */
.sda-rich-content{min-width:0;overflow-wrap:anywhere}
.sda-rich-content img{max-width:100%;height:auto}
.sda-rich-content pre{max-width:100%;overflow-x:auto;white-space:pre}
.sda-rich-content iframe{display:block;width:100%;max-width:560px;height:auto;aspect-ratio:16/9;border:0}
.sda-rich-content table{display:block;max-width:100%;overflow-x:auto}

/* Preserve portrait cover artwork; the repeated background is decorative only. */
.t-a .yc-thumb{isolation:isolate}
.t-a .yc-thumb .yc-backdrop{position:absolute;inset:-10%;background-size:cover;background-position:center;filter:blur(14px) brightness(.65);pointer-events:none;display:none;z-index:-1}
.t-a .yc-thumb.is-portrait .yc-backdrop{display:block}
.t-a .yc-thumb img{position:relative;object-fit:contain}
.t-a .yc-thumb.is-landscape img{object-fit:cover}
.t-a .ycard:hover .yc-thumb.is-portrait img,.t-a .icard:hover .yc-thumb.is-portrait img{transform:none}

/* Native same-origin navigation: brief content-only dissolve, no delayed links.
   Unsupported browsers keep normal navigation; reduced motion opts out. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .t-a main { view-transition-name: page-content; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  ::view-transition-group(page-content) { animation-duration: 160ms; }
  ::view-transition-old(page-content) { animation: sda-page-out 120ms ease-out both; }
  ::view-transition-new(page-content) { animation: sda-page-in 160ms ease-out both; }
}
@keyframes sda-page-out { to { opacity: 0; } }
@keyframes sda-page-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* Approved multilingual About presentation */
/* Isolated About proposal. Existing copy and imagery are preserved. */

.about-preview { --about-display:var(--font-display); --about-navy:#17384a; --about-blue:#126b93; --about-gold:#bf9956; --about-paper:#f5f4ef; color:var(--about-navy); }
.about-preview * { box-sizing:border-box; }
.about-preview .about-width { width:min(1120px,calc(100% - 80px)); margin-inline:auto; }
.about-hero { background:var(--about-paper); padding:64px 0 44px; position:relative; overflow:hidden; }
.about-hero:after { content:''; position:absolute; right:-120px; top:-175px; width:520px; height:520px; border:1px solid #bf99562b; border-radius:50%; box-shadow:0 0 0 70px #bf995609,0 0 0 140px #bf995605; pointer-events:none; }
.about-hero .kicker { color:var(--about-blue); letter-spacing:.2em; margin:0 0 22px; text-transform:uppercase; }
.about-preview .about-hero h1 { font-family:var(--about-display); font-size:clamp(36px,4.6vw,62px); line-height:1.25; font-weight:600; letter-spacing:.035em; margin:0; position:relative; z-index:1; }
.about-hero .about-width:before { content:''; display:block; width:44px; height:3px; background:var(--about-gold); margin-bottom:28px; }
.about-nav { display:flex; gap:36px; margin-top:38px; padding-top:22px; border-top:1px solid #17384a23; position:relative; z-index:1; }
.about-nav a { color:var(--about-navy); text-decoration:none; font-size:15px; white-space:nowrap; padding:4px 0; border-bottom:1px solid transparent; }
.about-nav a:hover { border-color:var(--about-gold); }
.about-nav a:focus-visible { outline:2px solid var(--about-blue); outline-offset:6px; }
.about-chapter { padding:76px 0; scroll-margin-top:28px; }
.about-chapter-grid { display:grid; grid-template-columns:205px minmax(0,1fr); gap:64px; align-items:start; }
.about-section-title { margin:0; font-family:var(--about-display); font-size:29px; line-height:1.4; font-weight:600; position:sticky; top:28px; }
.about-section-title:before { content:''; display:block; height:2px; width:30px; background:var(--about-gold); margin-bottom:18px; }
.about-copy { min-width:0; max-width:790px; color:#35434a; font-size:17px; line-height:2; overflow-wrap:anywhere; }
.about-copy p { margin:0 0 22px; }
.about-copy p:last-child { margin-bottom:0; }
.about-intro .about-copy > p:first-child { font-size:23px; color:var(--about-navy); font-family:var(--about-display); margin-bottom:25px; }
.about-intro .about-copy > p:nth-child(2) { font-size:19px; line-height:1.9; color:var(--about-navy); padding-bottom:26px; border-bottom:1px solid #dce3e5; }
.about-message { background:#edf2f3; border-top:1px solid #e1e8e9; border-bottom:1px solid #e1e8e9; }
.about-message .about-copy > p:first-child { font-size:21px; line-height:1.85; color:var(--about-navy); font-family:var(--about-display); }
.about-signature { border-left:2px solid var(--about-gold); padding-left:24px; margin-top:34px; font-size:15px; line-height:1.9; }
.about-signature p { margin-bottom:14px; }
.about-people { padding-bottom:96px; }
.about-people .about-section-title { position:static; margin-bottom:40px; }
.about-team { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:54px; row-gap:0; }
.about-person { min-width:0; padding:30px 0 34px; border-top:1px solid #d5dfe3; display:grid; grid-template-columns:112px minmax(0,1fr); column-gap:24px; align-content:start; }
.about-person:first-child { grid-column:1/-1; grid-template-columns:150px minmax(0,1fr); column-gap:42px; padding-top:32px; padding-bottom:40px; border-top:2px solid var(--about-navy); }
.about-person:first-child .person-info { max-width:800px; }
.person-photo p { margin:0; }
.person-role { display:block; color:var(--about-blue); font-size:14px; margin:0 0 15px; letter-spacing:.06em; }
.person-photo img { width:112px; height:112px; max-width:100%; object-fit:contain; display:block; background:#f3f5f5; border-radius:2px; }
.about-person:first-child img { width:150px; height:150px; }
.person-info { padding-top:33px; min-width:0; }
.person-info > p:first-child { margin:0 0 18px; font-size:21px; line-height:1.65; font-family:var(--about-display); font-weight:600; }
.person-info ul { padding-left:1.15em; margin:0; font-size:15px; color:#52616a; line-height:1.85; }
.person-info li { margin-bottom:8px; padding-left:.15em; }
.person-info li::marker { color:#bba274; font-size:.7em; }
.about-preview a { text-underline-offset:4px; }
@media(min-width:1000px) { .about-person:first-child ul { columns:2; column-gap:40px; } .about-person:first-child li { break-inside:avoid; } }
@media(max-width:850px) { .about-preview .about-width { width:calc(100% - 44px); } .about-chapter-grid { grid-template-columns:1fr; gap:30px; } .about-section-title { position:static; } .about-chapter { padding:50px 0; } .about-team { column-gap:28px; } .about-person { grid-template-columns:88px minmax(0,1fr); gap:18px; } .person-photo img { width:88px; height:88px; } .person-info > p:first-child { font-size:19px; } }
@media(max-width:600px) { .about-preview .about-width { width:calc(100% - 40px); } .about-hero { padding:38px 0 25px; } .about-preview .about-hero h1 { font-size:35px; } .about-hero:after { width:300px; height:300px; right:-180px; } .about-nav { gap:26px; margin-top:28px; padding-top:18px; overflow-x:auto; } .about-nav a { font-size:14px; } .about-copy { font-size:16px; line-height:1.95; } .about-intro .about-copy > p:first-child { font-size:21px; } .about-intro .about-copy > p:nth-child(2),.about-message .about-copy > p:first-child { font-size:18px; } .about-section-title { font-size:26px; } .about-team { grid-template-columns:1fr; } .about-person,.about-person:first-child { grid-template-columns:92px minmax(0,1fr); gap:20px; padding:26px 0; } .about-person:first-child img,.person-photo img { width:92px; height:92px; } .person-info { padding-top:30px; } .person-info ul { font-size:14px; line-height:1.9; } .person-info > p:first-child { font-size:19px; } .about-signature { padding-left:18px; font-size:14px; } }


/* Three local subpages; original content remains intact within each panel. */
.about-hero .about-width:before { display:none; }
.about-preview [role="tabpanel"][hidden] { display:none !important; }
.about-nav a { padding:8px 0; border-bottom:2px solid transparent; }
.about-nav a[aria-selected="true"] { color:var(--about-blue); border-color:var(--about-blue); font-weight:600; }
.about-preview [role="tabpanel"]:focus-visible { outline:2px solid var(--about-blue); outline-offset:-4px; }
@media(prefers-reduced-motion:no-preference) { .about-preview [role="tabpanel"]:not([hidden]) { animation:about-panel-in 150ms ease-out; } }
@keyframes about-panel-in { from { opacity:.5; } to { opacity:1; } }

/* Match title top breathing room to its gap above the tab divider.
   clip prevents focus navigation from scrolling inside the decorative header. */
.about-preview .about-hero { padding-top:38px; overflow:clip; }
@media(max-width:600px) { .about-preview .about-hero { padding-top:28px; } }

.about-preview .person-photo > p:first-child { color:var(--about-blue); font-size:14px; margin:0 0 15px; letter-spacing:.06em; }
.about-preview .person-photo img { margin:0; }
.about-preview .about-message .about-copy > p:nth-last-child(-n+2) { border-left:2px solid var(--about-gold); padding-left:24px; font-size:15px; }
.about-preview .about-message .about-copy > p:nth-last-child(2) { margin-top:34px; }
.about-preview .about-nav { flex-wrap:wrap; gap:12px 36px; }
@media(max-width:600px) { .about-preview .about-nav { gap:8px 24px; } }

/* Section-aware return control; safe default href remains usable without JS. */
.content-back{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--line,#d8dfe2);border-radius:50%;color:inherit;text-decoration:none;vertical-align:middle;transition:background .16s ease,transform .16s ease}.content-back:hover,.content-back:focus-visible{background:#edf4f7;transform:translateX(-2px)}.content-back svg{display:block}@media(prefers-reduced-motion:reduce){.content-back{transition:none}.content-back:hover{transform:none}}
