/* =============================================================
   JET OPTO — 內頁設計系統（閱讀主導 · 淺色）
   依賴：hero-review.css（tokens）+ home-base.css（nav/footer 基礎）+ nav-plus.css（升級選單）
   使用：body class="page-inner theme-light"，可加 data-line="ent|ckpt|safe" 取產品線色
   ============================================================= */

.page-inner { background: #f7f8fa; color: #10161e; }
.page-inner main { display: block; }

/* 產品線 / 章節 accent（預設冰藍） */
.page-inner { --page-rgb: var(--ckpt-rgb); --page: rgb(var(--page-rgb)); }
.page-inner[data-line="ent"]  { --page-rgb: 219, 39, 119; }   /* 淺色模式線條調 #DB2777 */
.page-inner[data-line="ckpt"] { --page-rgb: 2, 132, 199; }    /* #0284C7 */
.page-inner[data-line="safe"] { --page-rgb: 5, 150, 105; }    /* #059669 */

/* ---------- 頁首標題帶 ---------- */
.in-hero {
  position: relative; overflow: hidden;
  padding: calc(74px + clamp(56px, 9vh, 110px)) var(--gutter) clamp(48px, 7vh, 84px);
  background:
    radial-gradient(60% 120% at 85% -20%, rgba(var(--page-rgb), .1), transparent 60%),
    linear-gradient(180deg, #eef1f5, #f7f8fa);
}
.in-hero .wrap { position: relative; z-index: 2; }
.in-crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(16, 22, 30, .45);
}
.in-crumb a { transition: color .25s; }
.in-crumb a:hover { color: #10161e; }
.in-crumb .sep { opacity: .4; }
.in-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 900; line-height: 1.12; letter-spacing: -.02em;
}
.in-hero h1 em { font-style: normal; color: rgb(var(--page-rgb)); }
.in-lede { margin-top: 18px; max-width: 640px; font-size: clamp(14.5px, 1.25vw, 17.5px); line-height: 1.9; color: rgba(16, 22, 30, .62); }
.in-en {
  position: absolute; right: -0.04em; bottom: -0.18em; z-index: 1;
  font-size: clamp(80px, 14vw, 220px); font-weight: 900; line-height: 1; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(16, 22, 30, .1);
  pointer-events: none; user-select: none; white-space: nowrap;
}

/* ---------- 內容區 ---------- */
.in-section { padding: clamp(56px, 8vh, 110px) var(--gutter); }
.in-section.alt { background: #eef1f5; }
.in-wrap { max-width: 1180px; margin-inline: auto; }
.in-wrap.narrow { max-width: 880px; }

/* 文章排版 */
.in-prose { font-size: clamp(14.5px, 1.18vw, 16.5px); line-height: 2; color: rgba(16, 22, 30, .78); }
.in-prose p { margin: 0 0 1.4em; }
.in-prose h2 {
  margin: 2.2em 0 .9em;
  font-size: clamp(21px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.01em; color: #10161e;
  display: flex; align-items: baseline; gap: 14px;
}
.in-prose h2:first-child { margin-top: 0; }
.in-prose h2 .no { font-family: var(--font-mono); font-size: .62em; font-weight: 600; color: rgb(var(--page-rgb)); letter-spacing: .1em; }
.in-prose h3 { margin: 1.8em 0 .7em; font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; color: #10161e; }
.in-prose ul { margin: 0 0 1.4em; padding-left: 1.4em; }
.in-prose li { margin-bottom: .45em; }
.in-prose li::marker { color: rgb(var(--page-rgb)); }
.in-prose strong { color: #10161e; }
.in-prose a { color: rgb(var(--page-rgb)); font-weight: 600; }
.in-prose a:hover { text-decoration: underline; }
.in-prose blockquote {
  margin: 1.6em 0; padding: 18px 24px;
  border-left: 3px solid rgb(var(--page-rgb));
  background: rgba(var(--page-rgb), .05); border-radius: 0 12px 12px 0;
}

/* 兩欄（文 + 圖） */
.in-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.in-cols.rev { grid-template-columns: .85fr 1.15fr; }
@media (max-width: 880px) { .in-cols, .in-cols.rev { grid-template-columns: 1fr; } }

/* 圖片框（含視差 data-plx） */
.in-figure { position: relative; overflow: hidden; border-radius: clamp(14px, 1.6vw, 22px); box-shadow: 0 24px 70px rgba(16, 22, 30, .14); }
.in-figure img { width: 100%; height: 100%; object-fit: cover; }
.in-figure.plx { aspect-ratio: 4 / 3; }
.in-figure.plx img { height: 118%; }
.in-figure figcaption {
  position: absolute; left: 14px; bottom: 14px;
  padding: 7px 14px; border-radius: 99px;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(16, 22, 30, .65);
}

/* 卡片網格 */
.in-grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.in-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.in-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.in-grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .in-grid.c4 { grid-template-columns: repeat(2, 1fr); } .in-grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .in-grid.c2, .in-grid.c3, .in-grid.c4 { grid-template-columns: 1fr; } }

.in-card {
  --c-rgb: var(--page-rgb);
  position: relative; overflow: hidden;
  padding: clamp(22px, 2.6vw, 34px);
  background: #fff; border: 1px solid rgba(16, 22, 30, .07); border-radius: 18px;
  box-shadow: 0 10px 34px rgba(16, 22, 30, .05);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.in-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(16, 22, 30, .11); }
.in-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: rgb(var(--c-rgb));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.in-card:hover::before { transform: none; }
.in-card .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(16, 22, 30, .42); }
.in-card h3, .in-card h4 { margin: 10px 0 8px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 800; color: #10161e; }
.in-card p { margin: 0; font-size: 14px; line-height: 1.85; color: rgba(16, 22, 30, .6); }
.in-card .big { display: block; font-size: clamp(26px, 3vw, 40px); font-weight: 900; letter-spacing: -.02em; color: #10161e; margin-top: 10px; }
a.in-card { display: block; }
a.in-card .go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: rgb(var(--c-rgb)); }
a.in-card .go .arr { transition: transform .35s var(--ease-out); }
a.in-card:hover .go .arr { transform: translateX(4px); }

/* 時間軸（公司沿革） */
.in-timeline { position: relative; padding-left: 34px; }
.in-timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(rgba(var(--page-rgb), .5), rgba(16, 22, 30, .08)); }
.tl-item { position: relative; padding-bottom: clamp(26px, 3.4vh, 42px); }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #f7f8fa; border: 3px solid rgb(var(--page-rgb));
}
.tl-item .yr { font-family: var(--font-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: rgb(var(--page-rgb)); }
.tl-item h3 { margin: 6px 0 6px; font-size: clamp(16px, 1.55vw, 20px); font-weight: 800; color: #10161e; }
.tl-item p { margin: 0; font-size: 14.5px; line-height: 1.9; color: rgba(16, 22, 30, .62); }

/* 資料表（投資人 / 治理 / 下載清單） */
.in-table-wrap { overflow-x: auto; overflow-y: hidden; border: 1px solid rgba(16, 22, 30, .08); border-radius: 16px; background: #fff; box-shadow: 0 10px 34px rgba(16, 22, 30, .05); }
table.in-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.in-table th {
  padding: 15px 20px; text-align: left; white-space: normal; vertical-align: bottom;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5;
  color: rgba(16, 22, 30, .5); background: #eef1f5;
  border-bottom: 1px solid rgba(16, 22, 30, .08);
}
/* 是否揭露表（評估項目/是/否/摘要說明/差異情形）：標題極長，鎖定各欄寬比例避免擠壓
   註：寬度只掛在 th 上（thead 永遠是單一整列、不會有 colspan），
   避免誤套到 tbody 中 colspan="5" 的整列合併儲存格（如「為興櫃公司故不適用」）。 */
.in-table.disclosure-table th:nth-child(1) { width: 24%; }
.in-table.disclosure-table th:nth-child(2),
.in-table.disclosure-table th:nth-child(3) { width: 5%; }
.in-table.disclosure-table th:nth-child(4) { width: 40%; }
.in-table.disclosure-table th:nth-child(5) { width: 26%; }
.in-table.disclosure-table td:nth-child(2):not([colspan]),
.in-table.disclosure-table td:nth-child(3):not([colspan]) { white-space: nowrap; text-align: center; }

/* 每月營收表（月份/營業收入淨額/月增減%/月累計/去年同期月累計增減%）：
   最後一欄標題極長但實際數據只是短百分比，鎖定欄寬讓標題換行，避免留白。 */
.in-table.monthly-table th:nth-child(1) { width: 12%; }
.in-table.monthly-table th:nth-child(2) { width: 18%; }
.in-table.monthly-table th:nth-child(3) { width: 15%; }
.in-table.monthly-table th:nth-child(4) { width: 15%; }
.in-table.monthly-table th:nth-child(5) { width: 40%; }
.in-table td { padding: 14px 20px; border-bottom: 1px solid rgba(16, 22, 30, .06); color: rgba(16, 22, 30, .75); line-height: 1.7; }
.in-table tr:last-child td { border-bottom: 0; }
.in-table tbody tr { transition: background .25s; }
.in-table tbody tr:hover { background: rgba(var(--page-rgb), .04); }
.in-table a { color: rgb(var(--page-rgb)); font-weight: 600; }
.in-table a:hover { text-decoration: underline; }

/* 下載鏈 pill */
.dl-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 99px;
  border: 1.5px solid rgba(var(--page-rgb), .5); color: rgb(var(--page-rgb));
  font-size: 13px; font-weight: 700;
  transition: background .3s, color .3s, transform .35s var(--ease-out);
}
.dl-pill:hover { background: rgb(var(--page-rgb)); color: #fff; transform: translateY(-2px); }
.dl-pill svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* 相簿網格（活動 / 花絮） */
.in-album { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
@media (max-width: 900px) { .in-album { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .in-album { grid-template-columns: 1fr; } }
.in-album figure { margin: 0; position: relative; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; }
.in-album figure a { display: block; width: 100%; height: 100%; }
.in-album img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.in-album figure:hover img { transform: scale(1.06); }

/* CTA 帶 —— 深色滿版,內容對齊 footer 的 max-width:1440 容器（頭尾用置中公式內縮）(2026-07-23) */
.in-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  padding: clamp(40px, 6vw, 72px) max(var(--gutter), calc((100% - 1440px) / 2));
  border-radius: 0;   /* 深色 CTA 區塊不用圓角,與底部光譜條收邊乾淨(2026-07-20) */
  background: #10161e; color: #f2f5f8;
  box-shadow: 0 30px 80px rgba(16, 22, 30, .3);
}
.in-cta h2 { margin: 0 0 6px; font-size: clamp(20px, 2.4vw, 30px); font-weight: 900; letter-spacing: -.01em; }
.in-cta p { margin: 0; font-size: 14.5px; color: rgba(226, 236, 248, .6); }
.in-cta .hbtn { background: #fff; color: #10161e; border-color: #fff; }

/* 頁面切換淡入 */
.page-inner main { animation: in-fade .6s var(--ease-out) both; }
@keyframes in-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.no-motion .page-inner main { animation: none; }

/* ---------- 深色 marquee footer（與首頁一致，scope 到 page-inner） ---------- */
.page-inner .site-footer { background: #0b0f15; border-top: 0; padding-top: 0; }
.page-inner .foot-strip {
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  padding-block: clamp(22px, 4vh, 44px);
  margin-inline: calc(var(--gutter) * -1);
}
.page-inner .foot-strip::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--ent), var(--ckpt), var(--safe), var(--ent));
  background-size: 200% 100%;
  animation: in-flow 8s linear infinite;
}
@keyframes in-flow { to { background-position: 200% 0; } }
.page-inner .foot-track {
  display: flex; gap: 60px; width: max-content;
  animation: cm-flow 30s linear infinite;
  white-space: nowrap;
  font-size: clamp(56px, 8.5vw, 130px); font-weight: 900; letter-spacing: -.02em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(226, 236, 248, .28);
}
.page-inner .foot-track b { font-weight: 900; color: rgba(226, 236, 248, .9); -webkit-text-stroke: 0; }
.page-inner .footer-grid { padding-top: clamp(44px, 6vh, 64px); }
.page-inner .footer-brand img { filter: brightness(0) invert(1); }
.page-inner .footer-brand p { color: rgba(216, 228, 244, .5); }
.page-inner .footer-col h4 { color: rgba(216, 228, 244, .4); }
.page-inner .footer-col a { color: rgba(216, 228, 244, .62); }
.page-inner .footer-col a:hover { color: #fff; }
.page-inner .footer-bottom { border-top-color: rgba(255, 255, 255, .08); color: rgba(216, 228, 244, .4); }

/* 回頂 */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: #10161e; color: #fff;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease-out), background .3s;
  box-shadow: 0 12px 34px rgba(16, 22, 30, .3);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgb(var(--page-rgb)); }
.to-top svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* reduced-motion：停用 marquee */
@media (prefers-reduced-motion: reduce) {
  .page-inner .foot-track, .page-inner .foot-strip::before { animation: none; }
}

/* ══ CJK 標題防孤字(2026-07-20) ══ */
html[lang="zh-Hant"] h1, html[lang="zh-Hant"] h2, html[lang="zh-Hant"] h3,
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { text-wrap: balance; }

/* ══ 年份篩選 pill 按鈕列(press-release,2026-07-20) ══ */
.yr-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 6px; }
.yr-filter button {
  padding: 8px 20px; font: inherit; font-size: 14px; font-weight: 700;
  font-family: var(--font-mono); letter-spacing: .06em;
  color: rgba(16, 22, 30, .62);
  background: transparent; border: 1px solid rgba(16, 22, 30, .22);
  border-radius: 999px; cursor: pointer;
  transition: color .25s, background .3s, border-color .3s, transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.yr-filter button:hover { border-color: rgb(var(--page-rgb, 56, 189, 248)); color: #10161e; transform: translateY(-2px); }
.yr-filter button.on {
  background: rgb(var(--page-rgb, 56, 189, 248)); border-color: rgb(var(--page-rgb, 56, 189, 248));
  color: #fff;
}
.news-item.yr-hide { display: none; }

/* ══ 年度摺疊列表 yr-fold(2026-07-20):details/summary,免 JS ══ */
details.yr-fold {
  margin-top: 16px;
  background: #fff;
  border: 1px solid rgba(16, 22, 30, .1);
  border-radius: 0;   /* 摺疊列表不用圓角,避免與內層表格形成雙層圓角(2026-07-20) */
  overflow: hidden;
  transition: box-shadow .3s;
}
details.yr-fold:hover { box-shadow: 0 10px 30px rgba(16, 22, 30, .06); }
details.yr-fold summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 24px;
  transition: background .25s;
}
details.yr-fold summary::-webkit-details-marker { display: none; }
details.yr-fold summary:hover { background: rgba(var(--page-rgb, 56, 189, 248), .05); }
details.yr-fold summary h3 { margin: 0; font-size: clamp(16px, 1.5vw, 19px); }
details.yr-fold summary::after {
  content: ""; flex: none;
  width: 0; height: 0;
  border-left: 4.5px solid transparent;
  border-right: 4.5px solid transparent;
  border-top: 5.5px solid rgba(16, 22, 30, .45);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), border-top-color .3s;
}
details.yr-fold[open] summary::after {
  transform: rotate(180deg);
  border-top-color: rgb(var(--page-rgb, 56, 189, 248));
}
details.yr-fold .in-table-wrap {
  margin: 0; padding: 0;           /* 表格滿版貼齊摺疊框,表頭背景延伸到邊(2026-07-20) */
  border: 0; border-top: 1px solid rgba(16, 22, 30, .08);
  box-shadow: none;
}
details.yr-fold .in-table-wrap table { margin: 0; }

/* ══ 組織圖 org chart(company-profile,2026-07-20,HTML+CSS 取代圖片) ══ */
.org { margin-top: 34px; }
.org-spine { display: flex; flex-direction: column; align-items: center; }
.org-row { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; }
.org-row + .org-row { margin-top: var(--org-gap, 34px); }
.org-row + .org-row::before {
  content: ""; position: absolute; left: 50%; bottom: 100%;
  width: 1.5px; height: var(--org-gap, 34px); background: rgba(16, 22, 30, .18);
  transform: translateX(-50%);
}
.org-row-spacer { height: 40px; }
/* 空白列本身也要有一段垂直主幹線穿過（否則側掛的橫線無處可接） */
.org-row-spacer::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1.5px; background: rgba(16, 22, 30, .18); transform: translateX(-50%);
}
.org-node {
  position: relative;
  padding: 13px 34px;
  background: #fff; border: 1.5px solid rgba(16, 22, 30, .16);
  border-radius: 12px;
  font-weight: 800; font-size: 15.5px; color: #10161e;
  box-shadow: 0 6px 18px rgba(16, 22, 30, .05);
}
.org-node.top { border-color: #10161e; background: #10161e; color: #fff; }

/* 側掛單一項目（如稽核室），虛線框 */
.org-aside {
  position: absolute; left: calc(50% + 120px); top: 50%; transform: translateY(-50%);
  display: flex; align-items: center;
}
.org-aside::before { content: ""; width: 56px; height: 1.5px; background: rgba(16, 22, 30, .18); flex: none; }
.org-aside span {
  padding: 9px 20px; background: #fff;
  border: 1.5px dashed rgba(16, 22, 30, .28); border-radius: 10px;
  font-size: 13.5px; font-weight: 700; color: rgba(16, 22, 30, .72);
  white-space: nowrap;
}
.org-aside.left { left: auto; right: 50%; flex-direction: row-reverse; }
.org-aside.left::before { width: 150px; }

/* 側掛多項目（如審計/薪酬/永續發展委員會），實線框＋共用括號線
   橫線從主幹中央（50%）出發、穿過董事會 box 後往右延伸，確保與 box/主幹無縫相連 */
.org-side-multi {
  position: absolute; left: 50%; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center;
}
.org-side-multi::before { content: ""; width: 150px; height: 1.5px; background: rgba(16, 22, 30, .18); flex: none; }
.org-side-stack { position: relative; display: flex; flex-direction: column; gap: 10px; }
/* 括號直線只從第一項中心連到最後一項中心，不凸出頭尾（頭尾各內縮半個項目高度） */
.org-side-stack::before { content: ""; position: absolute; left: 0; top: 19px; bottom: 19px; width: 1.5px; background: rgba(16, 22, 30, .18); }
.org-side-item { position: relative; display: flex; align-items: center; min-height: 38px; padding-left: 20px; }
.org-side-item::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 1.5px;
  background: rgba(16, 22, 30, .18); transform: translateY(-50%);
}
.org-side-item span {
  padding: 9px 20px; background: #fff;
  border: 1.5px solid rgba(16, 22, 30, .16); border-radius: 10px;
  font-size: 13.5px; font-weight: 700; color: rgba(16, 22, 30, .72);
  white-space: nowrap;
}
.org-committees {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 0; padding-top: 68px;
}
.org-committees::before {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 1.5px; height: 68px; background: rgba(16, 22, 30, .18);
  transform: translateX(-50%);
}
.org-committees span {
  padding: 8px 18px;
  background: rgba(16, 22, 30, .04);
  border: 1px solid rgba(16, 22, 30, .12); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: rgba(16, 22, 30, .66);
}
.org-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px;
  margin-top: 0; padding-top: 76px;
}
.org-grid::before {
  content: ""; position: absolute; left: 50%; top: 0;
  width: 1.5px; height: 76px; background: rgba(16, 22, 30, .18);
  transform: translateX(-50%);
}
.org-grid::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 76px;
  height: 1.5px; background: rgba(16, 22, 30, .12);
}
.org-group {
  background: #fff;
  border: 1px solid rgba(16, 22, 30, .1);
  border-top: 3px solid rgb(var(--g-rgb, var(--ckpt-rgb)));
  border-radius: 12px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 24px rgba(16, 22, 30, .04);
  transition: transform .35s var(--ease-out, ease), box-shadow .35s;
}
.org-group:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(16, 22, 30, .09); }
.org-group h3 { margin: 0 0 4px; font-size: 15px; color: #10161e; }
.org-group .en { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: rgba(16, 22, 30, .4); text-transform: uppercase; margin-bottom: 10px; }
.org-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.org-group li {
  padding: 5px 12px;
  background: rgba(var(--g-rgb, var(--ckpt-rgb)), .07);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: rgba(16, 22, 30, .72);
}
.org-group.slim ul { display: none; }
@media (max-width: 760px) {
  .org-aside, .org-side-multi { position: static; transform: none; margin-top: 14px; justify-content: center; }
  .org-aside::before, .org-side-multi::before, .org-aside.left::before { width: 22px; }
  .org-aside.left { flex-direction: row; }
  .org-grid::after { display: none; }
}

/* ══ 104 職缺嵌入框(job-openings,2026-07-20) ══ */
.jobs-frame {
  margin-top: 26px;
  border: 1px solid rgba(16, 22, 30, .12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(16, 22, 30, .08);
  background: #fff;
}
.jobs-frame iframe { display: block; width: 100%; height: clamp(560px, 78vh, 860px); border: 0; }

/* 摺疊列表內層一併去圓角(2026-07-20) */
details.yr-fold .in-table-wrap,
details.yr-fold .in-table-wrap table,
details.yr-fold .in-table {
  border-radius: 0;
}
details.yr-fold .in-table thead tr:first-child th:first-child,
details.yr-fold .in-table thead tr:first-child th:last-child,
details.yr-fold .in-table tr:last-child td:first-child,
details.yr-fold .in-table tr:last-child td:last-child {
  border-radius: 0;
}

/* ══ 投資人關係 + ESG 專區:圖片不用圓角,避免含文字圖被裁切(2026-07-20) ══ */
body[data-flat-fig] .in-figure { border-radius: 0; }

/* ══ 資料頁(投資人/ESG)圖片完整顯示:取消 4:3 裁切與視差放大,表格圖不再被裁邊(2026-07-20) ══ */
body[data-flat-fig] .in-figure.plx { aspect-ratio: auto; }
body[data-flat-fig] .in-figure.plx img { height: auto; }
body[data-flat-fig] .in-figure img { object-fit: contain; background: #fff; }


/* ══ 組織圖節點樣式(原內嵌於 organization-chart.html，2026-07-29 移入共用) ══ */
.org { --line: rgba(16,22,30,.18); font-size: 14.5px; }
.org .node { display: inline-block; padding: 12px 26px; background: #fff; border: 1px solid rgba(16,22,30,.1); border-radius: 12px; font-weight: 700; color: #10161e; box-shadow: 0 10px 30px rgba(16,22,30,.06); }
.org .lv { text-align: center; position: relative; }
.org .drop { width: 2px; height: 26px; margin: 0 auto; background: var(--line); }
.org .side { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.org .side .node.sub { font-weight: 600; background: rgba(var(--page-rgb), .05); border-color: rgba(var(--page-rgb), .18); }
.org .depts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding-top: 26px; border-top: 2px solid var(--line); margin-top: 0; }
.org .depts .node { display: flex; align-items: center; justify-content: center; min-height: 74px; padding: 12px 8px; text-align: center; font-weight: 600; font-size: 13.5px; }
@media (max-width: 860px) { .org .depts { grid-template-columns: repeat(2, 1fr); } }
