﻿/* ============================================================
   about-honors-v2.css — 金榜榮耀 about-honors.aspx 新版套版專用
   - 對應 01-3 原型 about-honors.html
   - 全部 class 加 iv2- 前綴,scope 在 .iv2-root 內(不污染 Bootstrap/其他頁)
   - 字體統一 Noto Sans Traditional Chinese(同 news-v2 / newsinner-v2)
   - 尺寸:.iv2-root 基準 17px,子元素用 em(rem 不會跟著縮放);clamp() 用 px
   - 中文文案全形標點;CSS 內一律半形
   - RWD 斷點:1024(wrap 90%)/ 900 / 760 / 700 / 640 / 600 / 560
   ============================================================ */

.iv2-root {
  --iv2-brand-navy: #0a1530;
  --iv2-brand-navy-mid: #1a2a52;
  --iv2-primary: #5645d4;
  --iv2-primary-pressed: #4534b3;
  --iv2-primary-deep: #3a2a99;
  --iv2-primary-soft: #ece9fb;
  --iv2-accent-red: #ff385c;
  --iv2-accent-amber: #f5d75e;
  --iv2-success: #1aae39;
  --iv2-warning: #dd5b00;
  --iv2-canvas: #ffffff;
  --iv2-surface: #f6f5f4;
  --iv2-surface-soft: #fafaf9;
  --iv2-hairline: #e5e3df;
  --iv2-hairline-soft: #ede9e4;
  --iv2-hairline-strong: #c8c4be;
  --iv2-ink: #1a1a1a;
  --iv2-charcoal: #37352f;
  --iv2-slate: #5d5b54;
  --iv2-steel: #787671;
  --iv2-muted: #bbb8b1;
  --iv2-tint-peach: #ffe8d4;
  --iv2-tint-mint: #d9f3e1;
  --iv2-tint-lavender: #e6e0f5;
  --iv2-tint-sky: #dcecfa;
  --iv2-tint-yellow: #fef7d6;
  --iv2-r-sm: 10px;
  --iv2-r-md: 14px;
  --iv2-r-lg: 20px;
  --iv2-r-xl: 28px;
  --iv2-r-pill: 999px;
  --iv2-s-2: 8px;
  --iv2-s-3: 12px;
  --iv2-s-4: 16px;
  --iv2-s-5: 24px;
  --iv2-s-6: 32px;
  --iv2-s-7: 48px;
  --iv2-s-8: 64px;
  --iv2-s-9: 96px;
  /* v2.11: 陰影 token 微提升,全公開頁一致,卡片更有浮起深度感 */
  --iv2-shadow-sm: 0 2px 5px rgba(15,23,48,0.07);
  --iv2-shadow-md: 0 6px 16px rgba(15,23,48,0.10);
  --iv2-shadow-lg: 0 16px 40px rgba(15,23,48,0.15);
  --iv2-shadow-xl: 0 24px 60px rgba(15,23,48,0.18);
  --iv2-font: 'Noto Sans Traditional Chinese', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', PingFangTC, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--iv2-font);
  font-size: 17px;
  color: var(--iv2-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.iv2-root * { box-sizing: border-box; }
.iv2-root img, .iv2-root svg { display: block; max-width: 100%; }
.iv2-root a { color: inherit; text-decoration: none; }
.iv2-root ul { padding: 0; margin: 0; list-style: none; }
.iv2-root h1, .iv2-root h2, .iv2-root h3, .iv2-root h4, .iv2-root p { margin: 0; }
.iv2-root button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* RWD 防溢位:本頁 body / nav / footer 一併套字體(同 news-v2 規則) */
html, body { overflow-x: hidden; }
body,
body button,
body input,
body select,
body textarea {
  font-family: 'Noto Sans Traditional Chinese', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', PingFangTC, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============ 容器 / 共用 ============ */
/* 寬度占比:電腦 80% / 平板 90% / 手機 100% */
.iv2-root .iv2-wrap { width: 80%; max-width: none; margin-inline: auto; padding-inline: var(--iv2-s-5); }
@media (max-width: 1024px) { .iv2-root .iv2-wrap { width: 90%; } }
@media (max-width: 560px) { .iv2-root .iv2-wrap { width: 100%; padding-inline: 14px; } }

.iv2-root .iv2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 24px; border-radius: var(--iv2-r-pill); font-weight: 600; font-size: 0.95em; transition: all .15s; white-space: nowrap; border: none; cursor: pointer; font-family: inherit; }
.iv2-root .iv2-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.iv2-root .iv2-btn-primary { background: var(--iv2-primary); color: #fff; box-shadow: 0 6px 18px rgba(86,69,212,0.3); }
.iv2-root .iv2-btn-primary:hover { background: var(--iv2-primary-pressed); color: #fff; }
.iv2-root .iv2-btn-sm { height: 38px; padding: 0 18px; font-size: 0.85em; }
.iv2-root .iv2-btn-on-dark { background: #fff; color: var(--iv2-ink); }
.iv2-root .iv2-btn-on-dark:hover { background: var(--iv2-surface); }
.iv2-root .iv2-btn-outline-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.32); }
.iv2-root .iv2-btn-outline-dark:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* 麵包屑 */
.iv2-root .iv2-crumb { font-size: 0.85em; color: var(--iv2-slate); }
.iv2-root .iv2-crumb a:hover { color: var(--iv2-primary); }
.iv2-root .iv2-crumb .iv2-sep { margin: 0 8px; color: var(--iv2-muted); }

/* 區塊抬頭(eyebrow / h2 / lead) */
/* 區塊 eyebrow chip(淺底紫系;Pass List / Student Stories / Celebration) */
.iv2-root .iv2-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 6px 15px 6px 13px; border-radius: var(--iv2-r-pill);
  background: linear-gradient(180deg, #ffffff 0%, var(--iv2-primary-soft) 100%);
  border: none;
  box-shadow: 0 1px 2px rgba(86,69,212,0.08), inset 0 1px 0 rgba(255,255,255,0.7);
  color: var(--iv2-primary-deep);
  font-size: 0.78em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.iv2-root .iv2-eyebrow::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--iv2-primary); box-shadow: 0 0 0 3px rgba(86,69,212,0.14);
}
.iv2-root .iv2-hon-head { max-width: 680px; }
.iv2-root .iv2-hon-head h2 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--iv2-ink); margin-top: var(--iv2-s-3); }
.iv2-root .iv2-hon-head .iv2-lead { font-size: 1.05em; line-height: 1.7; color: var(--iv2-slate); margin-top: var(--iv2-s-3); }

/* HERO 改用全站共用 .iv2-hero(iv2-ui.css);舊 .iv2-hon-hero 已移除 */

/* ============ 最新榜單數字 highlight(深藍 × 燙金 — 小 hero) ============ */
.iv2-root .iv2-hon-latest-sec { padding-block: var(--iv2-s-7); }
.iv2-root .iv2-latest-roll {
  position: relative; overflow: hidden; color: #fff;
  border-radius: var(--iv2-r-xl);
  padding: clamp(32px, 4.4vw, 60px);
  background:
    radial-gradient(78% 60% at 88% -12%, rgba(245,215,94,0.16) 0%, transparent 58%),
    linear-gradient(160deg, var(--iv2-brand-navy-mid) 0%, var(--iv2-brand-navy) 72%);
  border: 1px solid rgba(245,215,94,0.16);
  box-shadow: var(--iv2-shadow-lg);
}
/* 頂部燙金細線(呼應金榜權威 hero) */
.iv2-root .iv2-latest-roll::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(245,215,94,0.85) 18%, rgba(245,215,94,0.85) 82%, transparent);
}
/* 角落柔光暈 */
.iv2-root .iv2-latest-roll::after {
  content: ""; position: absolute; width: 460px; height: 460px; z-index: 0;
  background: var(--iv2-primary); filter: blur(150px); opacity: 0.32;
  border-radius: 50%; right: -150px; bottom: -190px; pointer-events: none;
}
.iv2-root .iv2-lr-inner { position: relative; z-index: 1; }
/* 金榜籌碼 chip(深底燙金;與 CTA eyebrow 共用) */
.iv2-root .iv2-lr-eye,
.iv2-root .iv2-hon-cta-eye {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 6px 15px; border-radius: var(--iv2-r-pill);
  background: rgba(245,215,94,0.12);
  border: 1px solid rgba(245,215,94,0.34);
  color: var(--iv2-accent-amber);
  font-size: 0.8em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.iv2-root .iv2-lr-eye::before,
.iv2-root .iv2-hon-cta-eye::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--iv2-accent-amber); box-shadow: 0 0 8px rgba(245,215,94,0.7);
}
.iv2-root .iv2-latest-roll h2 { color: #fff; font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; margin-top: var(--iv2-s-4); word-break: break-word; }
/* 數字宮格:4 格金箔玻璃磚,滿版填寬+內容置中(避免右側留白),金色漸層大數字(更華麗) */
.iv2-root .iv2-lr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1vw, 16px); margin-top: var(--iv2-s-6); }
.iv2-root .iv2-lr-stat {
  min-width: 0; position: relative; overflow: hidden; text-align: center;
  padding: clamp(16px, 1.8vw, 26px) clamp(8px, 1vw, 16px);
  border-radius: var(--iv2-r-md);
  background: linear-gradient(165deg, rgba(255,255,255,0.085) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(245,215,94,0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 10px 26px rgba(0,0,0,0.20);
}
/* 每格頂部燙金細線 */
.iv2-root .iv2-lr-stat::before {
  content: ""; position: absolute; left: 16%; right: 16%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,215,94,0.85), transparent);
}
/* 每格右上角柔金光暈 */
.iv2-root .iv2-lr-stat::after {
  content: ""; position: absolute; width: 130px; height: 130px; right: -44px; top: -54px; pointer-events: none;
  background: radial-gradient(circle, rgba(245,215,94,0.18), transparent 70%);
}
.iv2-root .iv2-lr-n { font-size: clamp(2.2rem, 1rem + 2.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(150deg, #fff3cf 0%, #f5d75e 52%, #d9b84a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.iv2-root .iv2-lr-n .iv2-u { font-size: 0.36em; color: var(--iv2-accent-amber); -webkit-text-fill-color: var(--iv2-accent-amber); font-weight: 600; margin-left: 3px; letter-spacing: 0; }
.iv2-root .iv2-lr-l { color: rgba(255,255,255,0.78); font-size: 0.84em; margin-top: 10px; line-height: 1.5; }
@media (max-width: 700px) {
  .iv2-root .iv2-lr-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============ 歷年榜單表(精緻表格 + 年度側標 + 置中) ============
   - 年度以「側標」呈現:每年度群組左側一條 rail,年度垂直置中跨該組所有列
   - 內容列 4 欄:考試類別 / 本班上榜(大金數字) / 佔全國上榜(市佔率膠囊) / 全國錄取率(靠右小字)
   - 整表 max-width 置中於頁面;表頭內容欄左移 rail+pad 與各列對齊 */
.iv2-root .iv2-hon-roll-sec { padding-block: var(--iv2-s-7); }
.iv2-root .iv2-roll { --iv2-yr-rail: 120px; margin: var(--iv2-s-6) auto 0; max-width: 920px; border: 1px solid var(--iv2-hairline); border-radius: var(--iv2-r-lg); overflow: hidden; background: var(--iv2-canvas); box-shadow: var(--iv2-shadow-md); }
/* 表頭(全寬深藍;內容欄左移 rail+pad → 與下方各列對齊;年度由側標呈現,表頭不設年度欄) */
.iv2-root .iv2-roll-head { display: grid; grid-template-columns: minmax(0, 1fr) 104px 132px 96px; column-gap: var(--iv2-s-6); align-items: center; background: linear-gradient(180deg, var(--iv2-brand-navy-mid), var(--iv2-brand-navy)); padding: 13px var(--iv2-s-6) 13px calc(var(--iv2-yr-rail) + var(--iv2-s-6)); }
/* 表頭欄位一律置中(與內容置中對齊) */
.iv2-root .iv2-roll-head span { color: rgba(255,255,255,0.72); font-size: 0.74em; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; }
/* 年度群組:左側標 rail + 右側各列;群組間較明顯分隔線 */
.iv2-root .iv2-yr-group { display: grid; grid-template-columns: var(--iv2-yr-rail) 1fr; }
.iv2-root .iv2-yr-group + .iv2-yr-group { border-top: 1px solid var(--iv2-hairline-strong); }
.iv2-root .iv2-yr-side { display: flex; align-items: center; justify-content: center; background: rgba(10,21,48,0.035); border-right: 1px solid var(--iv2-hairline); }
.iv2-root .iv2-yr-side span { font-weight: 800; color: var(--iv2-brand-navy); font-size: 1.2em; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.iv2-root .iv2-yr-rows { min-width: 0; }
/* 內容列(4 欄):列間細線 + hover 左側燙金條 */
.iv2-root .iv2-roll-row { display: grid; grid-template-columns: minmax(0, 1fr) 104px 132px 96px; column-gap: var(--iv2-s-6); align-items: center; padding: 18px var(--iv2-s-6); position: relative; transition: background .14s; }
.iv2-root .iv2-yr-rows .iv2-roll-row + .iv2-roll-row { border-top: 1px solid var(--iv2-hairline-soft); }
.iv2-root .iv2-yr-rows .iv2-roll-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--iv2-accent-amber), var(--iv2-gold-deep, #b88a2a)); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.iv2-root .iv2-yr-rows .iv2-roll-row:hover { background: var(--iv2-surface-soft); }
.iv2-root .iv2-yr-rows .iv2-roll-row:hover::before { transform: scaleX(1); }
/* 考試類別(置中) */
.iv2-root .iv2-rx { font-weight: 600; color: var(--iv2-ink); font-size: 1.02em; word-break: break-word; text-align: center; }
/* 本班上榜:大金色數字 */
.iv2-root .iv2-rn { text-align: center; line-height: 1; white-space: nowrap; }
.iv2-root .iv2-rn-num { font-size: 2.05em; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; background: linear-gradient(150deg, #9c6f1a 0%, #c9a13c 55%, #e3c24d 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.iv2-root .iv2-rn-u { font-size: 0.82em; font-weight: 600; color: var(--iv2-steel); margin-left: 3px; }
/* 佔全國上榜:市佔率膠囊 */
.iv2-root .iv2-rs { display: flex; justify-content: center; }
.iv2-root .iv2-share-pill { display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 13px; border-radius: var(--iv2-r-pill); background: linear-gradient(180deg, #fff, var(--iv2-primary-soft)); border: 1px solid #ddd6f7; box-shadow: 0 1px 2px rgba(86,69,212,0.08); color: var(--iv2-primary-deep); font-weight: 800; font-size: 1.02em; font-variant-numeric: tabular-nums; }
.iv2-root .iv2-share-pill i { font-style: normal; font-size: 0.66em; font-weight: 600; color: var(--iv2-primary); opacity: .85; letter-spacing: 0.02em; }
/* 全國錄取率:置中小字 */
.iv2-root .iv2-rr { text-align: center; color: var(--iv2-slate); font-weight: 600; font-size: 0.95em; font-variant-numeric: tabular-nums; }
@media (max-width: 680px) {
  /* 手機:側標 rail 收掉,改為每組年度頂端小標 + 各列堆疊卡片 */
  .iv2-root .iv2-roll { --iv2-yr-rail: 0px; max-width: none; }
  .iv2-root .iv2-roll-head { display: none; }
  .iv2-root .iv2-yr-group { display: block; }
  /* 側欄轉為頂端橫條時,年份置中 */
  .iv2-root .iv2-yr-side { justify-content: center; padding: 9px var(--iv2-s-5); border-right: none; border-bottom: 1px solid var(--iv2-hairline); background: rgba(10,21,48,0.05); }
  .iv2-root .iv2-yr-side span { font-size: 1.02em; }
  .iv2-root .iv2-roll-row { grid-template-columns: 1fr auto; column-gap: var(--iv2-s-4); row-gap: 8px; padding: 16px var(--iv2-s-5); }
  .iv2-root .iv2-rx { grid-column: 1; text-align: left; } /* 手機卡片:類別維持靠左 */
  .iv2-root .iv2-rn { grid-column: 2; grid-row: span 2; text-align: right; white-space: nowrap; }
  .iv2-root .iv2-rs { grid-column: 1; justify-self: start; }
  .iv2-root .iv2-rr { grid-column: 1; text-align: left; }
  .iv2-root .iv2-rr::before { content: "全國錄取率 "; font-size: 0.86em; color: var(--iv2-muted); font-weight: 500; }
}
.iv2-root .iv2-roll-loading { padding: var(--iv2-s-6); text-align: center; color: var(--iv2-muted); font-size: 0.9em; }
.iv2-root .iv2-roll-empty { padding: var(--iv2-s-6); text-align: center; color: var(--iv2-slate); font-size: 0.95em; }
.iv2-root .iv2-hon-note { font-size: 0.85em; color: var(--iv2-slate); margin-top: var(--iv2-s-4); text-align: center; }

/* ============ 上榜學員心得 ============ */
.iv2-root .iv2-hon-story-sec { padding-block: var(--iv2-s-7); background: var(--iv2-surface-soft); border-block: 1px solid var(--iv2-hairline-soft); }
.iv2-root .iv2-story-loading { padding: var(--iv2-s-7); text-align: center; color: var(--iv2-muted); font-size: 0.9em; }
.iv2-root .iv2-story-empty { padding: var(--iv2-s-7); text-align: center; color: var(--iv2-slate); font-size: 0.95em; }

/* featured 大卡 */
.iv2-root .iv2-story-feature { display: grid; grid-template-columns: 280px 1fr; gap: var(--iv2-s-6); background: var(--iv2-canvas); border: none; border-radius: var(--iv2-r-xl); overflow: hidden; margin-top: var(--iv2-s-6); box-shadow: 0 1px 2px rgba(15,23,48,0.04), 0 10px 30px rgba(15,23,48,0.06); transition: box-shadow .2s; }
.iv2-root .iv2-story-feature:hover { box-shadow: 0 4px 10px rgba(15,23,48,0.05), 0 22px 48px rgba(15,23,48,0.12); }
@media (max-width: 760px) { .iv2-root .iv2-story-feature { grid-template-columns: 1fr; } }
.iv2-root .iv2-sf-photo { background: linear-gradient(135deg, var(--iv2-primary-deep), var(--iv2-brand-navy-mid)); display: grid; place-items: center; min-height: 240px; position: relative; background-size: cover; background-position: center; }
.iv2-root .iv2-sfg { font-size: clamp(96px, 14vw, 160px); font-weight: 700; color: rgba(255,255,255,0.92); line-height: 1; }
.iv2-root .iv2-sf-body { padding: clamp(24px, 3vw, 48px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
/* 榜單名次 tag — 緞帶橫幅(左右燕尾叉端,整個 tag 即一條緞帶) + 實心獎盃;金/銀/銅由 JS rank class 切換 */
.iv2-root .iv2-sf-tag {
  position: relative;
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5em;
  padding: 8px 22px;
  font-size: 0.86em; font-weight: 800; letter-spacing: 0.04em;
  /* 燕尾叉端:左右兩端各切一個 V 缺口 */
  clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 50%, 100% 100%, 0 100%, 9px 50%);
  /* 預設金(fallback);實際金/銀/銅見下方 */
  background: linear-gradient(135deg, #fff6d5 0%, #f8e293 26%, #ecc951 52%, #cda233 78%, #f3da76 100%);
  color: #5c4200;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.85), inset 0 -2px 4px rgba(140,100,20,0.32);
  filter: drop-shadow(0 5px 10px rgba(212,175,55,0.42));
}
/* 光澤掃光:hover 由左掃到右(被 clip-path 裁成緞帶形) */
.iv2-root .iv2-sf-tag::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,0.55) 48%, transparent 60%);
  transform: translateX(-135%); transition: transform .6s ease;
}
.iv2-root .iv2-story-feature:hover .iv2-sf-tag::after,
.iv2-root .iv2-story-card:hover .iv2-sf-tag::after { transform: translateX(135%); }
/* 實心獎盃 */
.iv2-root .iv2-sf-tag svg { width: 17px; height: 17px; flex: none; fill: currentColor; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.22)); }
/* 金 — 榜首 */
.iv2-root .iv2-sf-tag.iv2-rank-gold { background: linear-gradient(135deg, #fff6d5 0%, #f8e293 26%, #ecc951 52%, #cda233 78%, #f3da76 100%); color: #5c4200; filter: drop-shadow(0 5px 10px rgba(212,175,55,0.42)); }
/* 銀 — 榜眼 */
.iv2-root .iv2-sf-tag.iv2-rank-silver { background: linear-gradient(135deg, #ffffff 0%, #eef2f7 26%, #d2d9e4 52%, #aab4c4 78%, #eaeef5 100%); color: #2b3340; filter: drop-shadow(0 5px 10px rgba(120,134,156,0.40)); }
/* 銅 — 探花 */
.iv2-root .iv2-sf-tag.iv2-rank-bronze { background: linear-gradient(135deg, #fbe7cf 0%, #eaab6e 26%, #d68a44 52%, #b06a2c 78%, #edb277 100%); color: #5a3413; filter: drop-shadow(0 5px 10px rgba(197,130,60,0.42)); }
.iv2-root .iv2-sf-quote { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); line-height: 1.6; color: var(--iv2-ink); font-weight: 500; margin-top: var(--iv2-s-4); letter-spacing: -0.01em; word-break: break-word; }
.iv2-root .iv2-sf-author { margin-top: var(--iv2-s-5); }
.iv2-root .iv2-sf-name { font-size: 1.1em; font-weight: 600; color: var(--iv2-ink); }
.iv2-root .iv2-sf-meta { color: var(--iv2-primary); font-weight: 600; font-size: 0.88em; margin-top: 2px; }
.iv2-root .iv2-sf-readmore { align-self: flex-start; margin-top: var(--iv2-s-5); }

/* 學員卡 grid */
.iv2-root .iv2-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--iv2-s-5); margin-top: var(--iv2-s-6); }
@media (max-width: 900px) { .iv2-root .iv2-story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .iv2-root .iv2-story-grid { grid-template-columns: 1fr; } }
.iv2-root .iv2-story-card { background: var(--iv2-canvas); border: none; border-radius: var(--iv2-r-lg); padding: var(--iv2-s-6); display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15,23,48,0.04), 0 10px 30px rgba(15,23,48,0.06); transition: transform .2s, box-shadow .2s; min-width: 0; }
.iv2-root .iv2-story-card:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(15,23,48,0.05), 0 22px 48px rgba(15,23,48,0.12); }
/* 一般學員卡的名次 tag(共用 .iv2-sf-tag 金/銀/銅樣式,僅補上下間距) */
.iv2-root .iv2-sc-tag { margin-bottom: var(--iv2-s-4); }
.iv2-root .iv2-sc-quote { color: var(--iv2-charcoal); line-height: 1.75; font-size: 1em; flex: 1; word-break: break-word; }
.iv2-root .iv2-story-author { display: flex; align-items: center; gap: 12px; margin-top: var(--iv2-s-5); padding-top: var(--iv2-s-4); border-top: 1px solid var(--iv2-hairline-soft); }
.iv2-root .iv2-story-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1em; flex-shrink: 0; background-size: cover; background-position: center; }
.iv2-root .iv2-sa-name { font-weight: 600; color: var(--iv2-ink); }
.iv2-root .iv2-sa-meta { font-size: 0.85em; color: var(--iv2-primary); font-weight: 600; margin-top: 2px; }
.iv2-root .iv2-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--iv2-s-4); color: var(--iv2-primary); font-weight: 600; font-size: 0.85em; }
.iv2-root .iv2-read-more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.iv2-root .iv2-story-card:hover .iv2-read-more svg { transform: translateX(3px); }

/* ============ CTA ============ */
.iv2-root .iv2-hon-cta-sec { padding-block: var(--iv2-s-8); }
.iv2-root .iv2-hon-cta { background: linear-gradient(135deg, var(--iv2-primary-deep) 0%, var(--iv2-brand-navy) 80%); color: #fff; border-radius: var(--iv2-r-xl); padding: clamp(40px, 5vw, 72px); text-align: center; position: relative; overflow: hidden; }
/* .iv2-hon-cta-eye chip 樣式見上方「金榜籌碼 chip」共用規則(.iv2-lr-eye, .iv2-hon-cta-eye) */
.iv2-root .iv2-hon-cta h2 { color: #fff; font-size: clamp(1.5rem, 1rem + 1.4vw, 2.2rem); font-weight: 700; line-height: 1.25; margin-top: var(--iv2-s-3); word-break: break-word; }
.iv2-root .iv2-hon-cta p { color: rgba(255,255,255,0.8); margin-top: var(--iv2-s-3); max-width: 520px; margin-inline: auto; line-height: 1.7; }
.iv2-root .iv2-hon-cta-btns { display: flex; gap: var(--iv2-s-3); justify-content: center; margin-top: var(--iv2-s-6); flex-wrap: wrap; }

/* ============ 榜單圖 Banner 輪播(hero 下方;橫向長圖滿版) ============ */
.iv2-root .iv2-hon-banner-sec { padding-block: var(--iv2-s-7); }
/* 編輯式滿版:大圖滿版 + 右上計數 + 底部燙金進度條 */
.iv2-root .iv2-hbanner { position: relative; overflow: hidden; border-radius: var(--iv2-r-xl); background: var(--iv2-brand-navy); box-shadow: var(--iv2-shadow-lg); border: 1px solid var(--iv2-hairline); }
.iv2-root .iv2-hbanner-viewport { overflow: hidden; border-radius: inherit; aspect-ratio: 2.1; } /* 預留版位（榜單圖固定比例 21:10）→ 首次繪製即保留高度，banner 載入不推擠下方，CLS≈0 */
.iv2-root .iv2-hbanner-track { display: flex; transition: transform .6s var(--iv2-ease-out-expo, cubic-bezier(0.16,1,0.3,1)); will-change: transform; }
.iv2-root .iv2-hb-slide { flex: 0 0 100%; min-width: 100%; }
.iv2-root .iv2-hb-slide-link { display: block; }
.iv2-root .iv2-hb-slide img { width: 100%; height: auto; aspect-ratio: 2.1; object-fit: contain; display: block; } /* 與 viewport 同比例填滿；object-fit:contain 保證非標準比例圖不裁切（不變形） */
/* 計數籌碼(右上;毛玻璃 + 燙金當前頁) */
.iv2-root .iv2-hbanner-counter { position: absolute; top: clamp(14px, 2vw, 22px); right: clamp(14px, 2vw, 22px); z-index: 5; display: inline-flex; align-items: baseline; gap: 3px; padding: 6px 14px; border-radius: var(--iv2-r-pill); background: rgba(10,21,48,0.50); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(245,215,94,0.30); color: rgba(255,255,255,0.70); font-size: 0.82em; font-weight: 700; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.iv2-root .iv2-hb-cur { color: var(--iv2-accent-amber); font-weight: 800; font-size: 1.2em; }
/* 箭頭:毛玻璃 */
.iv2-root .iv2-hbanner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: var(--iv2-r-pill); background: rgba(255,255,255,0.84); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 6px 18px rgba(10,21,48,0.26); display: grid; place-items: center; z-index: 5; transition: background .15s, transform .15s, box-shadow .15s; }
.iv2-root .iv2-hbanner-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); box-shadow: 0 10px 26px rgba(10,21,48,0.34); }
.iv2-root .iv2-hbanner-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--iv2-brand-navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.iv2-root .iv2-hbanner-prev { left: var(--iv2-s-5); }
.iv2-root .iv2-hbanner-next { right: var(--iv2-s-5); }
/* 底部燙金進度條(隨自動輪播線性填滿;transition 由 JS 控制) */
.iv2-root .iv2-hbanner-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 4px; background: rgba(255,255,255,0.20); }
.iv2-root .iv2-hbanner-progress-bar { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #d9b84a 0%, var(--iv2-accent-amber) 50%, #ffe9a8 100%); box-shadow: 0 0 10px rgba(245,215,94,0.55); }
@media (max-width: 600px) {
  .iv2-root .iv2-hbanner-arrow { width: 38px; height: 38px; }
  .iv2-root .iv2-hbanner-arrow svg { width: 18px; height: 18px; }
  .iv2-root .iv2-hbanner-prev { left: 10px; }
  .iv2-root .iv2-hbanner-next { right: 10px; }
}

/* ============ 慶功宴活動照片(5 大分班;每格單張代表照) ============ */
.iv2-root .iv2-hon-party-sec { padding-block: var(--iv2-s-7); background: var(--iv2-surface-soft); border-block: 1px solid var(--iv2-hairline-soft); }
.iv2-root .iv2-party-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--iv2-s-4); margin-top: var(--iv2-s-6); }
@media (max-width: 900px) { .iv2-root .iv2-party-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .iv2-root .iv2-party-grid { grid-template-columns: repeat(2, 1fr); } }
.iv2-root .iv2-party-cell { min-width: 0; }
.iv2-root .iv2-pc-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--iv2-r-lg); overflow: hidden; background-size: cover; background-position: center; box-shadow: var(--iv2-shadow-sm); display: grid; place-items: center; transition: transform .2s, box-shadow .2s; }
.iv2-root .iv2-party-cell:hover .iv2-pc-photo { transform: translateY(-4px); box-shadow: var(--iv2-shadow-lg); }
/* 有照片時:統一 4:5 外框,照片完整顯示(contain 不裁切),空白處用同一張模糊放大鋪底填滿 */
.iv2-root .iv2-pc-photo.has-img::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: inherit; background-size: cover; background-position: center; filter: blur(22px) brightness(0.88) saturate(1.1); transform: scale(1.2); }
.iv2-root .iv2-pc-photo.has-img::after { content: ""; position: absolute; inset: 0; z-index: 1; background-image: inherit; background-size: contain; background-repeat: no-repeat; background-position: center; }
.iv2-root .iv2-pc-glyph { position: relative; z-index: 2; font-size: clamp(40px, 8vw, 64px); font-weight: 700; color: rgba(255,255,255,0.92); line-height: 1; }
.iv2-root .iv2-pc-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 28px var(--iv2-s-4) var(--iv2-s-3); background: linear-gradient(180deg, transparent 0%, rgba(10,21,48,0.78) 100%); color: #fff; display: flex; flex-direction: column; }
.iv2-root .iv2-pc-branch { font-weight: 600; font-size: 1em; letter-spacing: 0.01em; }
.iv2-root .iv2-pc-cap { font-size: 0.78em; color: rgba(255,255,255,0.82); margin-top: 2px; word-break: break-word; }
.iv2-root .iv2-party-loading { padding: var(--iv2-s-7); text-align: center; color: var(--iv2-muted); font-size: 0.9em; }
