﻿/* ============================================================
   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) */
.iv2-root .iv2-eyebrow { display: inline-block; font-size: 0.78em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--iv2-primary); }
.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-root .iv2-hon-hero { padding-block: var(--iv2-s-8) var(--iv2-s-7); background: linear-gradient(180deg, var(--iv2-surface) 0%, var(--iv2-canvas) 100%); border-bottom: 1px solid var(--iv2-hairline); }
.iv2-root .iv2-hon-hero .iv2-crumb { padding-bottom: var(--iv2-s-5); }
.iv2-root .iv2-hero-eyebrow { display: inline-block; font-size: 0.78em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--iv2-primary); }
.iv2-root .iv2-hon-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--iv2-ink); max-width: 880px; margin-top: var(--iv2-s-3); word-break: break-word; }
.iv2-root .iv2-hon-hero h1 .iv2-em { color: var(--iv2-primary); }
.iv2-root .iv2-hon-hero .iv2-lead { color: var(--iv2-slate); margin-top: var(--iv2-s-4); font-size: 1.1em; line-height: 1.8; max-width: 660px; word-break: break-word; }

/* ============ 最新榜單數字 highlight(深藍) ============ */
.iv2-root .iv2-hon-latest-sec { padding-block: var(--iv2-s-7); }
.iv2-root .iv2-latest-roll { background: var(--iv2-brand-navy); color: #fff; border-radius: var(--iv2-r-xl); padding: clamp(28px, 4vw, 56px); position: relative; overflow: hidden; }
.iv2-root .iv2-latest-roll::before { content: ""; position: absolute; width: 480px; height: 480px; background: var(--iv2-primary); filter: blur(140px); opacity: 0.35; border-radius: 50%; right: -160px; top: -160px; pointer-events: none; }
.iv2-root .iv2-lr-inner { position: relative; z-index: 1; }
.iv2-root .iv2-lr-eye { font-size: 0.78em; color: var(--iv2-accent-amber); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.iv2-root .iv2-latest-roll h2 { color: #fff; font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin-top: var(--iv2-s-3); word-break: break-word; }
.iv2-root .iv2-lr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--iv2-s-5); margin-top: var(--iv2-s-6); }
@media (max-width: 700px) { .iv2-root .iv2-lr-stats { grid-template-columns: repeat(2, 1fr); } }
.iv2-root .iv2-lr-stat { min-width: 0; }
.iv2-root .iv2-lr-n { font-size: clamp(2rem, 1rem + 2vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.iv2-root .iv2-lr-n .iv2-u { font-size: 0.4em; color: rgba(255,255,255,0.7); font-weight: 500; margin-left: 4px; }
.iv2-root .iv2-lr-l { color: rgba(255,255,255,0.7); font-size: 0.82em; margin-top: 8px; line-height: 1.5; }

/* ============ 歷年榜單表 ============ */
.iv2-root .iv2-hon-roll-sec { padding-block: var(--iv2-s-7); }
.iv2-root .iv2-roll { margin-top: var(--iv2-s-6); border: 1px solid var(--iv2-hairline); border-radius: var(--iv2-r-lg); overflow: hidden; background: var(--iv2-canvas); }
.iv2-root .iv2-roll-row { display: grid; grid-template-columns: 90px 1fr 130px 150px; gap: var(--iv2-s-4); align-items: center; padding: var(--iv2-s-5); border-bottom: 1px solid var(--iv2-hairline-soft); transition: background .12s; }
.iv2-root .iv2-roll-row:last-child { border-bottom: none; }
.iv2-root #honorRollTbody .iv2-roll-row:hover { background: var(--iv2-surface-soft); }
.iv2-root .iv2-roll-row.iv2-roll-head { background: var(--iv2-surface); font-size: 0.76em; color: var(--iv2-slate); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 12px var(--iv2-s-5); }
.iv2-root .iv2-roll-row .iv2-ry { font-weight: 700; color: var(--iv2-ink); font-variant-numeric: tabular-nums; }
.iv2-root .iv2-roll-row .iv2-rx { font-weight: 600; color: var(--iv2-ink); word-break: break-word; }
.iv2-root .iv2-roll-row .iv2-rn { font-weight: 700; color: var(--iv2-primary); font-variant-numeric: tabular-nums; }
.iv2-root .iv2-roll-row .iv2-rr { color: var(--iv2-charcoal); font-variant-numeric: tabular-nums; }
.iv2-root .iv2-roll-row .iv2-rr .iv2-vs { color: var(--iv2-muted); font-size: 0.78em; margin-left: 6px; }
@media (max-width: 640px) {
  .iv2-root .iv2-roll-row { grid-template-columns: 1fr 1fr; gap: 8px var(--iv2-s-4); }
  .iv2-root .iv2-roll-row.iv2-roll-head { display: none; }
  .iv2-root .iv2-roll-row .iv2-rx { grid-column: 1 / -1; }
  .iv2-root .iv2-roll-row .iv2-rn::before { content: "本班上榜 "; font-size: 0.78em; color: var(--iv2-slate); font-weight: 500; }
  .iv2-root .iv2-roll-row .iv2-rr::before { content: "錄取率 "; font-size: 0.78em; color: var(--iv2-slate); }
}
.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); }

/* ============ 上榜學員心得 ============ */
.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: 1px solid var(--iv2-hairline); border-radius: var(--iv2-r-xl); overflow: hidden; margin-top: var(--iv2-s-6); transition: box-shadow .2s; }
.iv2-root .iv2-story-feature:hover { box-shadow: var(--iv2-shadow-lg); }
@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; }
.iv2-root .iv2-sf-tag { align-self: flex-start; display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--iv2-r-pill); background: var(--iv2-accent-amber); color: var(--iv2-charcoal); font-size: 0.78em; font-weight: 700; }
.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: 1px solid var(--iv2-hairline); border-radius: var(--iv2-r-lg); padding: var(--iv2-s-6); display: flex; flex-direction: column; box-shadow: var(--iv2-shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.iv2-root .iv2-story-card:hover { transform: translateY(-4px); box-shadow: var(--iv2-shadow-lg); border-color: transparent; }
.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-root .iv2-hon-cta-eye { display: inline-block; font-size: 0.78em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--iv2-accent-amber); }
.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; border-radius: var(--iv2-r-xl); overflow: hidden; background: var(--iv2-surface); box-shadow: var(--iv2-shadow-md); }
.iv2-root .iv2-hbanner-viewport { overflow: hidden; border-radius: inherit; }
.iv2-root .iv2-hbanner-track { display: flex; transition: transform .5s 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; display: block; }
/* 箭頭 */
.iv2-root .iv2-hbanner-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: var(--iv2-r-pill); background: rgba(255,255,255,0.86); box-shadow: var(--iv2-shadow-md); display: grid; place-items: center; z-index: 2; transition: background .15s, transform .15s; }
.iv2-root .iv2-hbanner-arrow:hover { background: #fff; }
.iv2-root .iv2-hbanner-arrow svg { width: 22px; height: 22px; fill: none; stroke: var(--iv2-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.iv2-root .iv2-hbanner-prev { left: var(--iv2-s-4); }
.iv2-root .iv2-hbanner-next { right: var(--iv2-s-4); }
/* 圓點 */
.iv2-root .iv2-hbanner-dots { position: absolute; left: 0; right: 0; bottom: var(--iv2-s-4); display: flex; gap: 8px; justify-content: center; z-index: 2; }
.iv2-root .iv2-hb-dot { width: 9px; height: 9px; padding: 0; border-radius: var(--iv2-r-pill); background: rgba(255,255,255,0.55); box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: background .15s, width .15s; }
.iv2-root .iv2-hb-dot.is-active { background: #fff; width: 22px; }
@media (max-width: 600px) {
  .iv2-root .iv2-hbanner-arrow { width: 36px; height: 36px; }
  .iv2-root .iv2-hbanner-arrow svg { width: 18px; height: 18px; }
  .iv2-root .iv2-hbanner-prev { left: 8px; }
  .iv2-root .iv2-hbanner-next { right: 8px; }
}

/* ============ 慶功宴活動照片(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); }
.iv2-root .iv2-pc-glyph { 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; 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; }
