/* ==========================================================================
   香港學生總會 HKSU — Design System
   Colors sampled from 素材包/HKSU品牌网站色卡_副本.png
   ========================================================================== */

:root {
  /* Brand palette (sampled) */
  --c-yellow: #FAD951;
  --c-yellow-soft: #FBEA9E;
  --c-green-a: #B3C560;
  --c-green: #95BD74;
  --c-green-b: #78B484;
  --c-teal: #469DAD;
  --c-teal-deep: #2E7D93;   /* darkened from sample for WCAG button/link contrast */
  --c-aqua: #8ED2D4;
  --c-aqua-tint: #E7F4F3;
  --c-accent: #369394;
  --c-ink: #404D59;
  --c-ink-deep: #2F3B47;
  --c-muted: #9BA1AA;
  --c-muted-2: #66717D;
  --c-bg: #EEF2F7;
  --c-white: #FFFFFF;
  --c-line: #DDE5EC;

  /* Gradients from brand card swatches */
  --grad-brand: linear-gradient(135deg, var(--c-yellow) 0%, var(--c-green-a) 34%, var(--c-green) 62%, var(--c-teal) 100%);
  --grad-green: linear-gradient(135deg, var(--c-green-a), var(--c-green-b));
  --grad-teal: linear-gradient(135deg, var(--c-teal), var(--c-teal-deep));
  --grad-leaf: linear-gradient(160deg, var(--c-yellow-soft), var(--c-aqua-tint));

  /* Type & layout */
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: clamp(54px, 3.594vw, 92px);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 36px rgba(47, 59, 71, 0.10);
  --shadow-soft: 0 6px 18px rgba(47, 59, 71, 0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--c-teal-deep); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--c-accent); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--c-ink-deep); line-height: 1.25; margin: 0 0 0.5em; font-weight: 900; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-yellow); color: var(--c-ink-deep); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Buttons & chips
   (i18n language mutex rules are injected solely by js/i18n.js — not here)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-teal-deep);
  color: var(--c-white);
}
.btn-primary:hover { background: #276B80; color: var(--c-white); box-shadow: 0 10px 24px rgba(46, 125, 147, 0.35); }

.btn-outline {
  background: transparent;
  border-color: var(--c-teal-deep);
  color: var(--c-teal-deep);
}
.btn-outline:hover { background: var(--c-teal-deep); color: var(--c-white); }

.btn-light {
  background: var(--c-white);
  color: var(--c-teal-deep);
}
.btn-light:hover { box-shadow: 0 10px 24px rgba(47, 59, 71, 0.18); color: var(--c-accent); }

.btn .btn-spark {
  position: absolute;
  right: -14px;
  top: -16px;
  width: 44px;
  height: 44px;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.btn:hover .btn-spark { opacity: 0.9; transform: rotate(18deg) scale(1.05); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.chip-teal { background: var(--c-aqua-tint); color: var(--c-teal-deep); }
.chip-yellow { background: #FDF3C8; color: #8A6D12; }
.chip-green { background: #E9F2E0; color: #4E7D3A; }

/* --------------------------------------------------------------------------
   Section commons
   -------------------------------------------------------------------------- */
.section { padding: 88px 0; position: relative; }
.section-tint { background: var(--c-bg); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 0;
  position: relative;
  padding-left: 18px;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 3px;
  background: var(--grad-brand);
}
.section-more {
  flex-shrink: 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.section-more svg { transition: transform 0.2s var(--ease); }
.section-more:hover svg { transform: translateX(4px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
  color: var(--c-teal-deep);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 8px;
  border-radius: 4px;
  background: var(--grad-brand);
}

/* Divider assets from brand kit */
.divider-network,
.divider-rhythm {
  display: block;
  width: 100%;
  margin: 8px auto 0;
  pointer-events: none;
  user-select: none;
}
.divider-network { height: auto; }
.divider-rhythm { height: 230px; object-fit: cover; object-position: center; }

/* --------------------------------------------------------------------------
   Header / Navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: clamp(39px, 2.9vw, 74px); width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  display: block;
  white-space: nowrap;
  padding: 10px 14px;
  font-weight: 500;
  font-size: clamp(13px, 1vw, 26px);
  color: var(--c-ink);
  border-radius: var(--radius-sm);
  position: relative;
}
.main-nav a.nav-link:hover { color: var(--c-teal-deep); background: var(--c-aqua-tint); }
.main-nav a.nav-link.is-current { color: var(--c-teal-deep); font-weight: 700; }
.main-nav a.nav-link.is-current::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.nav-actions { display: flex; align-items: center; gap: clamp(8px, 0.78vw, 20px); margin-left: 10px; }

/* 概念图导航：绿色搜索圆 + 青色漸变登入膠囊 */
.nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(34px, 2.5vw, 64px);
  height: clamp(34px, 2.5vw, 64px);
  border-radius: 50%;
  background: #259985;
  color: var(--c-white);
  flex-shrink: 0;
}
.nav-search svg { width: 46%; height: 46%; }

.lang-switch {
  display: inline-flex;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-pill);
  padding: 3px;
  background: var(--c-white);
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: clamp(12px, 0.9vw, 23px);
  font-weight: 700;
  color: var(--c-muted-2);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch button:hover { color: var(--c-teal-deep); }
.lang-switch button.is-active { background: var(--c-teal-deep); color: var(--c-white); }

.btn-nav {
  min-height: clamp(34px, 2.54vw, 65px);
  padding: 8px 1.35vw;
  font-size: clamp(13px, 1vw, 26px);
  border-radius: var(--radius-pill);
}
a.btn-nav {
  background: linear-gradient(120deg, #1E8D9C 0%, #1A8795 100%);
  color: var(--c-white);
  box-shadow: none;
}
a.btn-nav:hover { background: linear-gradient(120deg, #1B8290 0%, #177278 100%); color: var(--c-white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-white);
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--c-ink-deep);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--c-ink-deep);
  color: #C9D3DC;
  overflow: hidden;
  padding: 72px 0 0;
}
.site-footer a { color: #E7EEF4; }
.site-footer a:hover { color: var(--c-yellow); }
.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand img { height: 56px; width: auto; margin-bottom: 16px; border-radius: 12px; background: var(--c-white); padding: 6px; }
.footer-brand p { font-size: 14.5px; color: #AEB9C4; max-width: 30em; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover { background: var(--c-accent); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }

.footer-col h4 {
  color: var(--c-white);
  font-size: 16px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.footer-col li { margin-bottom: 10px; font-size: 14.5px; }
.footer-landscape {
  position: relative;
  z-index: 1;
  line-height: 0;
}
.footer-landscape img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.9;
}
.footer-bottom {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.25);
  padding: 16px 0;
  font-size: 13.5px;
  color: #9FAAB6;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Cards (shared grammar)
   -------------------------------------------------------------------------- */
.card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card .card-halo {
  position: absolute;
  inset: -40%;
  width: 180%;
  height: 180%;
  background: url("../assets/img/brand/hover-halo.png") center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 0;
}
.card:hover .card-halo { opacity: 0.16; }

.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); }

.card-body { padding: 22px 24px 26px; position: relative; z-index: 1; }
.card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--c-muted-2); font-weight: 500; }
.card-title { font-size: 19px; margin: 0 0 6px; font-weight: 700; }
.card-sub { font-size: 14.5px; color: var(--c-muted-2); margin: 0; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll (brand node cadence)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses early enough for the longest (EN) labels */
@media (max-width: 1140px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 24px 40px rgba(47, 59, 71, 0.14);
    padding: 18px 24px 24px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link { padding: 13px 10px; font-size: 16.5px; }
  .main-nav a.nav-link.is-current::after { display: none; }
  .nav-actions { margin: 12px 0 0; justify-content: space-between; }
  .site-header { background: var(--c-white); }
}

@media (max-width: 920px) {
  :root { --header-h: 74px; }
  .brand img { height: 57px; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { width: auto; }
}

/* --------------------------------------------------------------------------
   Home hero — 概念图 1:1 还原（hero-fidelity）
   舞台画布 = 概念图 hero 区 2560×815（导航底 y=100 → 分隔带底 y=915）。
   1px@2560 = 0.0390625vw；全部 left/top/font-size 按概念图实测像素换算。
   -------------------------------------------------------------------------- */
:root { --hero-scale: 0.78; }
.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--c-white);
}
.hero-ornament { display: none; }

.hero-stage {
  position: relative;
  width: calc(100% / var(--hero-scale));
  aspect-ratio: 2560 / 823;
  transform: scale(var(--hero-scale));
  transform-origin: 0 0;
  margin-bottom: calc((1 / var(--hero-scale) - 1) * -32.148cqw);
  container-type: inline-size;
  container-name: hero;
}
@container hero (min-width: 0px) {
  .hero-stage-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 32.148cqw;
  }
}
.hero-art {
  position: absolute;
  height: auto;
  pointer-events: none;
  user-select: none;
}
/* 括号内为概念图全图坐标；top = (y-92)/2560，导航底 y92 */
.hero-art-green    { left: 35.47%; top: 1.64cqw;  width: 14.45%; }  /* (908,134) 370×322 */
.hero-art-students { left: 50.82%; top: 1.72cqw;  width: 28.36%; }  /* (1301,136) 726×320 */
.hero-art-skyline  { left: 28.91%; top: 12.70cqw; width: 38.75%; }  /* (740,417) 992×401 含淡黄形状+圆弧+绿叶 */
.hero-art-teal     { left: 67.97%; top: 14.22cqw; width: 11.21%; }  /* (1740,456) 287×362，与右簇 x=2028 同源拼接 */
.hero-art-right    { left: 79.22%; top: 0.39cqw;  width: 20.78%; }  /* (2028,102) 532×728 出血到右缘 */
.hero-art-divider {
  left: 3.71%; top: 29.22cqw; width: 92.77%; height: 2.73cqw;        /* 概念图分隔帶（学生网络分隔线在设计中的渲染）y840-910 */
}
.hero-art-skyline-m, .hero-teal-band { display: none; }
/* script-En.woff2 子集缺 A/R/I/G/H/T… 等字形，整行統一用正體，避免個別字母回退歪斜 */
.script-en { font-family: var(--font-sans); }

/* 桌面 zh：左列=概念圖原像素（含文字按鈕），熱點承接鏈接 */
.hero-copy-zh { position: absolute; inset: 0; z-index: 5; }
.hero-copy-img {
  position: absolute; left: 0; top: 0;
  width: 29.22%; height: auto;
  pointer-events: none; user-select: none;
}
.cta-hotspot { position: absolute; border-radius: 3cqw; z-index: 6; }
.cta-hotspot:hover { background: rgba(46, 125, 147, 0.07); }
.cta-hotspot-main { left: 3.79cqw; top: 16.13cqw; width: 16.05cqw; height: 6.05cqw; }
.cta-hotspot-sub  { left: 19.84cqw; top: 16.13cqw; width: 8.67cqw;  height: 6.05cqw; }

/* 桌面 zh：分隔帶圖中的欄目標題行熱區（最新活動/精選機會/學生故事＋查看更多） */
.head-hotspots { display: none; }
@media (min-width: 921px) {
  html[data-lang="zh-Hant"] .head-hotspots { display: block; }
}
.head-hot {
  position: absolute;
  z-index: 6;
  top: 29.75cqw;
  height: 2.35cqw;
  border-radius: 0.5cqw;
}
.head-hot:hover { background: rgba(46, 125, 147, 0.07); }
.hh-events       { left: 3.5cqw;  width: 7.3cqw; }
.hh-events-more  { left: 40.5cqw; width: 6.6cqw; }
.hh-opps         { left: 48.9cqw; width: 7.0cqw; }
.hh-opps-more    { left: 64.3cqw; width: 5.2cqw; }
.hh-stories      { left: 72.2cqw; width: 6.0cqw; }
.hh-stories-more { left: 90.2cqw; width: 5.2cqw; }
.hero-copy-html { display: none; }
html[data-lang="en"] .hero-copy-html { display: block; }

/* 左列文案：概念图实测位置（x101-107 起，tagline y95 → 按钮底 y660） */
.hero-tagline {
  position: absolute;
  left: 4.18cqw; top: 0;
  z-index: 5;
  margin: 0;
  line-height: 1;
  font-weight: 900;
  font-size: 1.29cqw;
  letter-spacing: 0.39em;
  color: #2E9499;
}
.home-hero h1 {
  position: absolute;
  left: 3.95cqw; top: 5.0cqw;
  z-index: 5;
  margin: 0;
  font-size: 4.69cqw;
  font-weight: 400;
  letter-spacing: 0.197em;
  line-height: 0.915;
  color: #0E3E4C;
}
.home-hero .hero-sub {
  position: absolute;
  left: 3.95cqw; top: 13.71cqw;
  z-index: 5;
  margin: 0;
  line-height: 1;
  font-size: 1.37cqw;
  font-weight: 900;
  letter-spacing: 0;
  color: #0F3D4B;
}
.home-hero .hero-en-line {
  position: absolute;
  left: 4.02cqw; top: 15.31cqw;
  z-index: 5;
  margin: 0;
  line-height: 1;
  font-size: 0.84cqw;
  font-weight: 700;
  letter-spacing: 0;
  color: #0B3949;
  white-space: nowrap;
}
.hero-cta {
  position: absolute;
  left: 3.79cqw; top: 16.13cqw;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

/* 概念图按钮：白膠囊 + 青字 + 英文副行；主按鈕箭頭圓環徽章在右上 */
.cta-pill {
  position: relative;
  display: flex;
  align-items: flex-start;
  background: var(--c-white);
  border-radius: 3.03cqw;
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cta-pill:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(14, 62, 76, 0.12); }
.cta-text { display: flex; flex-direction: column; }
.cta-zh, .cta-sub { white-space: nowrap; }
.cta-zh { font-weight: 800; color: #0A3644; }
.cta-sub { font-weight: 700; color: #7A828E; }

.cta-main {
  width: 16.13cqw; height: 6.05cqw;
  border: 0.117cqw solid #E3EFF1;
  align-items: flex-start;
  padding: 0 0 0 0.16cqw;
}
.cta-main .cta-text { gap: 1.09cqw; }
.cta-main .cta-zh { font-size: 2.15cqw; letter-spacing: 0.4em; }
.cta-main .cta-sub { font-size: 1.3cqw; letter-spacing: 0.32em; }
.cta-badge {
  position: absolute;
  right: 0.39cqw; top: 0.51cqw;
  width: 4.3cqw; height: 4.3cqw;
  color: #CFE0E3;
}
.cta-badge { color: #B9CFD4; }
.cta-badge svg { width: 100%; height: 100%; display: block; }

.cta-sub-pill {
  width: 8.63cqw; height: 6.05cqw;
  border: 0.16cqw solid #093542;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.cta-sub-pill .cta-text { gap: 0.7cqw; align-items: center; }
.cta-sub-pill .cta-zh { font-size: 1.72cqw; font-weight: 900; letter-spacing: 0.1em; text-indent: 0.1em; }
.cta-sub-pill .cta-sub { font-size: 0.6cqw; letter-spacing: 0.25em; text-indent: 0.25em; }

/* EN 模式桌面（>920px）：hero 左列改为静态列布局（与 zh 结构一致），仅 EN 显示；
   文案为英文长文本，字号/宽度按 EN 行长调校。zh 桌面走像素块，不受影响。 */
@media (min-width: 921px) {
  html[data-lang="en"] .hero-art-divider { display: none; }  /* zh 標題條圖僅 zh 顯示 */
  html[data-lang="en"] .hero-copy-html {
    position: absolute;
    left: 3.6cqw; top: 0;
    width: 33.5cqw; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    align-items: flex-start;
  }
  html[data-lang="en"] .hero-copy-html .hero-tagline {
    position: static; margin: 0 0 1.05cqw;
    font-size: clamp(10px, 0.95cqw, 25px);
    letter-spacing: 0.24em; font-weight: 700; color: #2E9499;
  }
  html[data-lang="en"] .hero-copy-html h1 {
    position: static; margin: 0 0 0.85cqw;
    font-size: clamp(26px, 2.9cqw, 76px);
    letter-spacing: 0; line-height: 1.1;
  }
  html[data-lang="en"] .hero-copy-html .hero-sub {
    position: static; margin: 0;
    font-size: clamp(13px, 1.12cqw, 29px);
    font-weight: 500; color: #33414E;
  }
  html[data-lang="en"] .hero-en-line { display: none; }
  html[data-lang="en"] .hero-cta {
    position: static; margin: 1.75cqw 0 0;
    gap: 0.5cqw;
  }
  html[data-lang="en"] .cta-pill { align-items: center; }
  html[data-lang="en"] .cta-main {
    width: 16cqw; height: 5.7cqw;
    padding: 0 0.5cqw 0 1.1cqw;
    justify-content: space-between;
  }
  html[data-lang="en"] .cta-main .cta-text { gap: 0.28cqw; }
  html[data-lang="en"] .cta-main .cta-zh { font-size: 1.38cqw; letter-spacing: 0.02em; }
  html[data-lang="en"] .cta-main .cta-sub { font-size: 0.78cqw; letter-spacing: 0.12em; }
  html[data-lang="en"] .cta-badge { position: static; width: 3.9cqw; height: 3.9cqw; }
  html[data-lang="en"] .cta-sub-pill {
    width: 7.8cqw; height: 5.7cqw;
    justify-content: center;
  }
  html[data-lang="en"] .cta-sub-pill .cta-zh { font-size: 1.3cqw; letter-spacing: 0.02em; }
}
/* EN：CTA 副行為英文強調，EN 模式下與主文案重複 → 隱藏 */
html[data-lang="en"] .cta-sub { display: none; }
/* EN 模式：不顯示 Explore Events / Join Us 按鈕（桌面與移動端） */
html[data-lang="en"] .hero-cta { display: none; }
html[data-lang="en"] .hero-en-line { display: none; }

.home-band-section { padding-top: 30px; }
.home-band2 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: start;
}
.home-band2 .section-head { margin-bottom: 26px; }
.opp-list { display: grid; gap: 16px; }
.opp-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 22px;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  color: inherit;
}
.opp-row:hover { color: inherit; }
.opp-thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.opp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.opp-info .card-title { font-size: 16.5px; margin-bottom: 2px; }
.opp-info .chip { margin-bottom: 8px; }
.opp-info .card-sub { font-size: 13px; }
.opp-arrow { color: var(--c-teal-deep); transition: transform 0.2s var(--ease); }
.opp-row:hover .opp-arrow { transform: translateX(4px); }

/* Story card (dark, like the concept) */
.story-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-ink-deep);
  color: #D8E2EA;
  min-height: 330px;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: var(--shadow-card);
}
.story-media { aspect-ratio: 16 / 9; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: 20px 22px 24px; }
.story-body h3 { color: var(--c-white); font-size: 20px; margin-bottom: 8px; }
.story-body p { font-size: 14px; color: #B9C5CF; margin-bottom: 18px; }
.story-body .btn { min-height: 42px; padding: 8px 20px; font-size: 14px; }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats-band { padding: 64px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: 44px;
  align-items: center;
}
.stats-lead h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0; }
.stats-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.stat {
  container-type: inline-size;
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 22px 16px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
}
.stat-icon { grid-row: span 2; color: var(--c-teal); }
.stat-num { font-size: clamp(22px, 2vw, 28px); font-weight: 900; color: var(--c-teal-deep); line-height: 1.15; white-space: nowrap; }
/* long word values (e.g. TOGETHER) stay on one line inside the card */
.stat-num-compact { font-size: clamp(13px, 11.5cqw, 22px); letter-spacing: 0.01em; align-self: center; }
.stat-label { font-size: 13.5px; color: var(--c-muted-2); font-weight: 500; }

/* --------------------------------------------------------------------------
   Quote
   -------------------------------------------------------------------------- */
.quote-section { padding-top: 26px; text-align: center; }
.quote-card {
  margin: 8px auto 0;
  max-width: 760px;
  background: linear-gradient(135deg, rgba(179, 197, 96, 0.16), rgba(142, 210, 212, 0.18));
  border-radius: var(--radius-lg);
  padding: 34px 40px;
}
.quote-card p {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700;
  color: var(--c-teal-deep);
}

/* --------------------------------------------------------------------------
   Home responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-band2 { grid-template-columns: minmax(0, 1fr); }
  .home-below-zone .stats-panel .stats-grid { flex-direction: column; align-items: flex-start; gap: 1vw; }
  .home-below-zone .stats-panel .stats-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9vw 1.6vw; }
}
@media (max-width: 920px) {
  .home-hero { padding: 0; }
  .hero-stage {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
    padding: 26px 14px 0;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    transform: none;
    margin-bottom: 0;
  }
  .hero-stage-inner { height: auto; transform: none; }
  .hero-ornament {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 74px;
    object-fit: contain;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
  }
  .hero-ornament-left { left: -16px; }
  .hero-ornament-right { right: -16px; }
  .hero-art { display: none; }
  .hero-copy-zh { display: none; }
  html[data-lang] .hero-copy-html { display: block; }
  .hero-tagline,
  .home-hero h1,
  .home-hero .hero-sub,
  .home-hero .hero-en-line,
  .hero-cta {
    position: static;
    left: auto; top: auto;
  }
  .hero-tagline, .home-hero h1, .home-hero .hero-sub, .home-hero .hero-en-line {
    grid-column: 1 / -1;
    order: -1;
    padding: 0 10px;
  }
  .home-hero h1 { font-size: clamp(38px, 11vw, 48px); letter-spacing: 0.04em; line-height: 1.15; margin: 12px 0 14px; }
  html[data-lang="en"] .home-hero h1 { font-size: clamp(25px, 7.2vw, 32px); line-height: 1.2; letter-spacing: 0; }
  .hero-tagline { font-size: 13px; letter-spacing: 0.3em; }
  .home-hero .hero-sub { font-size: 15px; margin-bottom: 12px; }
  .home-hero .hero-en-line { font-size: 12px; }
  .hero-cta {
    grid-column: 1 / -1;
    order: -1;
    gap: 12px;
    padding: 0 10px;
    margin-bottom: 18px;
  }
  .hero-art-students, .hero-art-skyline-m {
    display: block;
    position: static;
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
  .cta-main {
    width: auto; height: auto;
    border-width: 1.5px;
    border-radius: 999px;
    padding: 12px 14px 12px 20px;
    gap: 14px;
  }
  .cta-main .cta-text { gap: 4px; }
  .cta-main .cta-zh { font-size: 16px; letter-spacing: 0.22em; }
  .cta-main .cta-sub { font-size: 10px; }
  .cta-badge { width: 40px; height: 40px; }
  .cta-sub-pill {
    width: auto; height: auto;
    border-width: 1.5px;
    border-radius: 999px;
    padding: 12px 18px;
  }
  .cta-sub-pill .cta-text { gap: 4px; }
  .cta-sub-pill .cta-zh { font-size: 14px; }
  .cta-sub-pill .cta-sub { font-size: 9px; }
  /* 移動端不顯示 hero CTA 按鈕（EN 全寬度已隱藏；zh 移動端一併移除） */
  .hero-cta { display: none; }
  html[data-lang="zh-Hant"] .hero-teal-band { display: none; }
  /* 照片與標語之間留白；英文口號行移動端隱藏（與上方中文口號重複） */
  .hero-copy-html { padding-top: 14px; }
  .hero-en-line { display: none; }
  .home-band-section { padding-top: 44px; }
  .home-below-zone .stat-label { font-size: 11.5px; }
  .home-below-zone .stat-num-compact { font-size: 20px; }
  .hero-teal-band {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    margin-top: 14px;
    min-height: 132px;
    padding-left: 12%;
    border-radius: 60px 14px 60px 14px;
    background: linear-gradient(120deg, #4BB09E 0%, #3B9BA8 100%);
  }
  .hero-teal-band .script-en {
    color: var(--c-white);
    font-size: clamp(18px, 5vw, 26px);
    letter-spacing: 0.12em;
    line-height: 1.5;
    display: inline-block;
    transform: rotate(-4deg);
    margin: 0;
  }
  .stats-grid { grid-template-columns: 1fr; gap: 26px; }
  .stats-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero-stage { grid-template-columns: 1fr; padding-top: 20px; }
  .hero-cta { flex-wrap: wrap; }
  .quote-card { padding: 26px 22px; }
}

/* --------------------------------------------------------------------------
   Subpage hero (unified grammar, content-led variation per page)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
  background:
    radial-gradient(46vw 42vh at 92% 0%, rgba(142, 210, 212, 0.22), transparent 60%),
    radial-gradient(34vw 36vh at 2% 100%, rgba(250, 217, 81, 0.14), transparent 62%),
    var(--c-white);
}
.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 52px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 14px; }
html[data-lang="en"] .page-hero h1 { letter-spacing: 0; line-height: 1.12; }
.page-lede { font-size: 17px; color: var(--c-muted-2); max-width: 34em; margin-bottom: 0; }
.page-hero-media { position: relative; padding-bottom: 40px; }
.page-hero-media img.page-banner {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px 92px 14px 92px;
  box-shadow: var(--shadow-card);
}
.page-hero-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.decor-burst { width: 300px; right: -70px; bottom: -40px; opacity: 0.5; }
.decor-ring { width: 300px; left: -50px; bottom: -40px; opacity: 0.3; }
.decor-ribbon { width: 300px; right: -60px; top: -50px; opacity: 0.4; }
.decor-cluster { width: 320px; right: -80px; bottom: -70px; opacity: 0.25; }
.decor-letters { width: 300px; left: -80px; bottom: -60px; opacity: 0.3; }

/* CTA band shared across subpages */
.cta-band { padding: 30px 0 90px; }
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--grad-teal);
  color: var(--c-white);
  padding: 46px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-card h2 { color: var(--c-white); font-size: clamp(22px, 2.4vw, 30px); margin: 0 0 8px; }
.cta-card p { margin: 0; color: rgba(255, 255, 255, 0.88); max-width: 40em; }
.cta-card .btn-light:hover { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22); }
.cta-card .cta-ribbon {
  position: absolute;
  right: -50px;
  top: -60px;
  width: 200px;
  opacity: 0.25;
  transform: rotate(12deg);
  pointer-events: none;
}

/* Content grids used by subpages */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.cards-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.service-card, .resource-card, .join-card { padding: 30px 28px 32px; }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px 6px 18px 6px;
  background: var(--grad-brand);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
}
.service-card .card-title, .resource-card .card-title, .join-card .card-title { font-size: 19px; }
.join-card { display: flex; flex-direction: column; }
.join-card .btn { margin-top: auto; align-self: flex-start; min-height: 46px; }
.join-card .card-sub { margin-bottom: 18px; }

/* About mission block */
.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}
.mission-ring { position: relative; text-align: center; }
.mission-ring img { width: min(420px, 88%); height: auto; margin: 0 auto; }
.mission-points { display: grid; gap: 14px; margin-top: 26px; }
.mission-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(142, 210, 212, 0.14), var(--c-white) 46%);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
}
.mission-point .mp-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  margin-top: 7px;
  background: var(--grad-brand);
}
.mission-point p { margin: 0; font-size: 15px; }

.join-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* Detail page (events & opportunities) */
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--c-muted-2);
  margin-bottom: 22px;
}
.detail-back::before { content: "\2190"; transition: transform 0.2s var(--ease); }
.detail-back:hover { color: var(--c-teal-deep); }
.detail-back:hover::before { transform: translateX(-4px); }
.detail-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-aqua-tint);
  color: var(--c-teal-deep);
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 16px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: stretch;
}
.detail-banner {
  border-radius: 14px 92px 14px 92px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 320px;
}
.detail-banner img { width: 100%; height: 100%; object-fit: cover; }
.detail-panel {
  position: relative;
  overflow: hidden;
  border-radius: 92px 14px 92px 14px;
  background: var(--grad-teal);
  color: var(--c-white);
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.detail-panel h2 { color: var(--c-white); font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 14px; }
.detail-panel p { color: rgba(255, 255, 255, 0.9); max-width: 30em; margin-bottom: 26px; }
.detail-panel-decor {
  position: absolute;
  right: -40px;
  bottom: -46px;
  width: 190px;
  opacity: 0.25;
  transform: rotate(12deg);
  pointer-events: none;
}
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.detail-actions .btn { min-height: 48px; }

@media (max-width: 920px) {
  .detail-layout { grid-template-columns: 1fr; gap: 30px; }
  .detail-panel { border-radius: 60px 14px 60px 14px; padding: 36px 26px; }
}

/* 文章模式（後台發布的真實條目）：隱藏「敬請期待」面板，橫幅圖居中 */
.detail-layout--article { grid-template-columns: minmax(0, 1fr); }
.detail-layout--article .detail-panel { display: none; }
.detail-layout--article .detail-banner {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  min-height: 0;
}

/* 文章模式照片輪播：可滑動（scroll-snap），箭頭切換，兩端自動隱藏 */
.detail-banner.detail-carousel { min-height: 0; }
.detail-carousel-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  border-radius: 14px 92px 14px 92px;
  box-shadow: var(--shadow-card);
  scrollbar-width: none;
}
.detail-carousel-track::-webkit-scrollbar { display: none; }
.detail-slide {
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 16 / 10;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  background: var(--c-bg);
}
.detail-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-slide img.entry-crop { position: absolute; }
.detail-carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(20, 40, 40, 0.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, opacity 0.15s;
}
.detail-carousel-btn:hover:not(:disabled) { background: rgba(20, 40, 40, 0.8); }
.detail-carousel-btn:disabled { opacity: 0; pointer-events: none; }
.detail-carousel-prev { left: 14px; }
.detail-carousel-prev svg { transform: scaleX(-1); }
.detail-carousel-next { right: 14px; }

/* Events page recap strip */
.ig-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--c-aqua-tint);
  border-radius: var(--radius-lg);
  padding: 26px 32px;
}
.ig-strip p { margin: 0; font-weight: 500; }

@media (max-width: 1200px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 920px) {
  .page-hero { padding-top: 40px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-hero-media { padding-bottom: 26px; }
  .mission-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-card { padding: 34px 26px; }
}
@media (max-width: 640px) {
  .cards-grid, .cards-grid-2 { grid-template-columns: 1fr; }
  .page-hero-decor { opacity: 0.2; }
}

/* --------------------------------------------------------------------------
   Student login (初級版) + navbar user state
   -------------------------------------------------------------------------- */
.auth-section { padding: 64px 0 96px; }
.auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 22px;
  padding: 46px 42px 40px;
  box-shadow: 0 18px 44px rgba(47, 59, 71, 0.08);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--grad-brand);
}
.auth-card h1 { font-size: clamp(26px, 3vw, 32px); margin: 14px 0 6px; }
.auth-lede { color: var(--c-muted-2); margin: 0 0 28px; font-size: 15px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink-deep);
  margin-bottom: 8px;
}
.form-field input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: 12px;
  font: inherit;
  color: var(--c-ink-deep);
  background: #FBFCFE;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.form-field input::placeholder { color: var(--c-muted); }
.form-field input:focus {
  outline: none;
  border-color: var(--c-teal);
  background: var(--c-white);
  box-shadow: 0 0 0 4px rgba(70, 157, 173, 0.15);
}
.form-error {
  background: #FDEEED;
  color: #B3392E;
  border: 1px solid #F5C9C5;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  margin: 0 0 16px;
}
.btn-block { width: 100%; }
.auth-hint { text-align: center; color: var(--c-muted-2); font-size: 14px; margin: 20px 0 0; }
.nav-user {
  font-weight: 700;
  font-size: 14px;
  color: var(--c-ink-deep);
  white-space: nowrap;
  padding: 0 4px;
}
@media (max-width: 640px) {
  .auth-section { padding: 40px 0 72px; }
  .auth-card { padding: 36px 24px 32px; }
}

/* --------------------------------------------------------------------------
   Home below-hero — 概念圖左右分區（最新活動 × 精選機會）+ 數據帶
   幾何按概念圖實測（2560 座標，1px = 0.0390625vw）
   -------------------------------------------------------------------------- */
.home-below { padding: 0; }
.home-below-zone .container { max-width: none; width: auto; padding-left: 3.98%; padding-right: 3.98%; }
.home-below-grid {
  display: grid;
  grid-template-columns: 46.65% minmax(0, 1fr);
  gap: 2.5vw;
  align-items: stretch;
}
.hb-head { margin-bottom: 0.6vw; }
.hb-head h2 { line-height: 1; }
.hb-head h2 {
  font-size: 2vw;
  font-weight: 900;
  margin: 0;
  padding: 0;
}
.hb-head h2::before { display: none; }
.hb-head .section-more { font-size: 1vw; font-weight: 700; }
.hb-head .section-more svg { width: 0.9vw; height: 0.9vw; }

/* 活動卡：無框、照片 + 文字（概念圖樣式） */
.hb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.82vw; }
.home-below .event-card {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.home-below .event-card:hover { transform: none; box-shadow: none; }
.home-below .card-halo { display: none; }
.home-below .card-body { padding: 0; }
.home-below .card-media { border-radius: 0.94vw; aspect-ratio: 353 / 108; }
.home-below .card-media img { border-radius: 0.94vw; }
.home-below .event-card:hover .card-media img { transform: none; }
.home-below .card-meta { margin: 0.86vw 0 0; line-height: 1.1; }
.home-below .card-meta span:first-child { font-size: 0.7vw; font-weight: 500; color: var(--c-ink); }
.home-below .card-meta .chip { font-size: 0.55vw; padding: 0.16vw 0.55vw; }
.home-below .event-card .card-title { font-size: 0.86vw; margin: 0.78vw 0 0; font-weight: 700; line-height: 1.2; }
.home-below .event-card .card-title a { color: var(--c-ink-deep); }
.home-below .event-card .card-sub { font-size: 0.7vw; margin: 0.45vw 0 0; color: var(--c-muted-2); line-height: 1.2; }

/* 機會行：白卡圓角行 */
.hb-opps { display: grid; gap: 0.55vw; }
.home-below .opp-card {
  background: var(--c-white);
  border: 1px solid #E8EFF2;
  border-radius: 0.94vw;
  box-shadow: none;
}
.home-below .opp-card:hover { transform: none; box-shadow: none; }
.home-below .opp-card .card-halo { display: none; }
.home-below .opp-row {
  grid-template-columns: 6.3vw minmax(0, 1fr) 2vw;
  gap: 0.78vw;
  align-items: center;
  padding: 0.31vw 0.55vw 0.31vw 0.31vw;
}
.home-below .opp-arrow { justify-self: end; }
.home-below .opp-thumb {
  width: 6.3vw; height: 3.28vw;
  border-radius: 0.55vw;
  aspect-ratio: auto;
}
.home-below .opp-info .chip { font-size: 0.55vw; padding: 0.16vw 0.55vw; margin-bottom: 0.31vw; }
.home-below .opp-info .card-title { font-size: 0.86vw; margin: 0; font-weight: 700; }
.home-below .opp-info .card-sub { font-size: 0.7vw; margin-top: 0.23vw; color: var(--c-muted-2); }
.home-below .opp-arrow { color: var(--c-teal-deep); }
.home-below .opp-arrow svg { width: 1vw; height: 1vw; }

/* 數據帶：淺青底圓角（概念圖 #F0FAFA） */
.home-below-zone .stats-band {
  background: #F0FAFA;
  border-radius: 0.94vw;
  margin: 0.82vw 3.98% 0;
  box-sizing: border-box;
  padding: 1.9vw 2.34vw;
}
.home-below-zone .stats-grid {
  grid-template-columns: 25.6% minmax(0, 1fr);
  column-gap: 8.2%;
  align-items: center;
  height: 100%;
}
.home-below-zone .stats-lead h2 { font-size: 1.56vw; margin: 0; line-height: 1.25; }
.home-below-zone .stats-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 0.8vw;
}
.home-below-zone .stat {
  display: flex;
  align-items: center;
  gap: 0.78vw;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  container-type: normal;
}
.home-below-zone .stat-icon {
  width: clamp(30px, 2.5vw, 64px); height: clamp(30px, 2.5vw, 64px);
  border-radius: 50%;
  background: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  color: #0E3E4C;
  box-shadow: 0 0.08vw 0.31vw rgba(14,62,76,0.10);
  flex-shrink: 0;
}
.home-below-zone .stat-icon svg { width: clamp(12px, 1.1vw, 28px); height: clamp(12px, 1.1vw, 28px); }
.home-below-zone .stat-num { font-size: clamp(15px, 1.72vw, 44px); line-height: 1.1; color: var(--c-ink-deep); white-space: nowrap; }
.home-below-zone .stat-num-compact { font-size: 1.56vw; }
.home-below-zone .stat-label { font-size: clamp(10px, 0.78vw, 20px); color: var(--c-muted-2); margin-top: 0.16vw; }

@media (max-width: 1200px) {
  .home-below-grid { grid-template-columns: 1fr; gap: 40px; }
  .hb-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .home-below { padding: 26px 0 0; }
  .hb-head h2 { font-size: 26px; }
  .hb-head .section-more { font-size: 14px; }
  .hb-head { margin-bottom: 18px; }
  .hb-cards { gap: 12px; }
  .home-below .card-media { border-radius: 14px; aspect-ratio: 353 / 160; }
  .home-below .card-meta { margin: 10px 0 0; }
  .home-below .card-meta span:first-child { font-size: 13px; }
  .home-below .card-meta .chip { font-size: 11px; padding: 3px 10px; }
  .home-below .event-card .card-title { font-size: 16px; margin-top: 8px; }
  .home-below .event-card .card-sub { font-size: 13px; margin-top: 4px; }
  .home-below .opp-card { border-radius: 16px; }
  .home-below .opp-row { grid-template-columns: 84px minmax(0,1fr) auto; gap: 12px; padding: 10px 14px 10px 10px; }
  .home-below .opp-thumb { width: 84px; height: 62px; border-radius: 10px; }
  .home-below .opp-info .chip { font-size: 11px; padding: 3px 10px; }
  .home-below .opp-info .card-title { font-size: 16px; }
  .home-below .opp-info .card-sub { font-size: 12.5px; }
}
@media (max-width: 640px) {
  .hb-cards { grid-template-columns: 1fr; }
}

/* 桌面中文版只保留概念圖的右欄及數據帶（原圖 y=340 起）。 */
.hb-zh-side, .hb-zh-stats { display: none; }
@media (min-width: 921px) {
  html[data-lang="zh-Hant"] .home-below-grid {
    grid-template-columns: 46.65% minmax(0, 1fr);
    gap: 2.5vw;
  }
  html[data-lang="zh-Hant"] .hb-col-events .hb-head,
  html[data-lang="zh-Hant"] .hb-col-opps,
  html[data-lang="zh-Hant"] .home-below-zone .stats-band { display: none; }
  html[data-lang="zh-Hant"] .hb-zh-side,
  html[data-lang="zh-Hant"] .hb-zh-stats { display: block; overflow: hidden; }
  .hb-zh-side { position: relative; height: 13.28vw; }
  .hb-img { display: block; width: 100%; height: auto; }
  .hb-zh-side .hb-img { position: absolute; right: -3.98vw; width: 100vw; max-width: none; }
  .hb-zh-stats .hb-img { margin-top: -13.28vw; }
  .hb-hot { position: absolute; left: 0; width: 100%; height: 3.98vw; border-radius: 0.6vw; }
  .hb-hot:hover { background: rgba(46, 125, 147, 0.06); }
  .hb-hot:nth-of-type(1) { top: 2.93vw; }
  .hb-hot:nth-of-type(2) { top: 7.37vw; }
}

/* --------------------------------------------------------------------------
   站內搜尋浮層（導航搜尋圓鈕）
   -------------------------------------------------------------------------- */
.nav-search { cursor: pointer; }
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(47, 59, 71, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
}
.search-panel {
  max-width: 680px;
  margin: 12vh auto 40px;
  background: var(--c-white);
  border-radius: 22px;
  padding: 28px 28px 20px;
  box-shadow: 0 30px 80px rgba(15, 30, 40, 0.35);
}
.search-bar { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--c-teal); padding-bottom: 12px; }
.search-bar input {
  flex: 1;
  border: 0;
  outline: none;
  font: inherit;
  font-size: 19px;
  font-weight: 500;
  color: var(--c-ink-deep);
  background: transparent;
}
.search-close {
  border: 0;
  background: var(--c-aqua-tint);
  color: var(--c-teal-deep);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.search-close:hover { background: var(--c-teal); color: var(--c-white); }
.search-results { margin-top: 8px; }
.search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 6px;
  border-radius: 14px;
  color: inherit;
}
.search-item:hover { background: var(--c-aqua-tint); }
.search-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.si-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.si-type { font-size: 12px; font-weight: 700; color: var(--c-teal-deep); letter-spacing: 0.06em; }
.si-title { font-size: 15.5px; font-weight: 700; color: var(--c-ink-deep); }
.si-sub { font-size: 13px; color: var(--c-muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.si-arrow { margin-left: auto; color: var(--c-teal-deep); flex-shrink: 0; }
.search-empty { text-align: center; color: var(--c-muted-2); padding: 26px 0 14px; margin: 0; }
@media (max-width: 640px) {
  .search-panel { margin: 8vh 14px 20px; padding: 20px 16px 14px; }
  .search-bar input { font-size: 16px; }
}

/* 超宽视口（像素级校验截图）下导航不吸附，避免 sticky 叠加污染截图 */
@media (min-width: 2400px) {
  .site-header { position: relative; }
}



.hb-col-events { display: flex; flex-direction: column; }


/* Events 卡片字級收緊（桌面）：使 Events 與 Opportunities 兩欄自然高度一致 */
@media (min-width: 921px) {
  .home-below-zone .hb-cards .card-meta { white-space: nowrap; line-height: 1.25; }
  .home-below-zone .hb-cards .card-title,
  .home-below-zone .hb-cards .card-sub {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home-below-zone .hb-cards .card-meta span:first-child { font-size: clamp(10.5px, 0.6vw, 15px); }
  .home-below-zone .hb-cards .card-meta .chip { font-size: clamp(9.5px, 0.5vw, 13px); }
  .home-below-zone .hb-cards .event-card .card-title { font-size: clamp(12px, 0.74vw, 19px); margin-top: 0.55vw; line-height: 1.3; }
  .home-below-zone .hb-cards .event-card .card-sub { font-size: clamp(10.5px, 0.6vw, 15px); margin-top: 0.4vw; line-height: 1.35; }
  .home-below-zone .hb-cards .card-meta { margin: 0.7vw 0 0; }
}


/* 右列：精選機會＋學生故事（概念圖：標題行 y855-905，卡片列 y918-1221） */
.hb-col-opps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.136fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 0.66vw;
}
.hb-col-opps .hb-head { grid-column: 1; grid-row: 1; }
.hb-col-opps .hb-head-stories {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 0.6vw;
}
.hb-col-opps .hb-head-stories h2 { font-size: 2vw; line-height: 1; }
.hb-col-opps .hb-head-stories h2::before { display: none; }
.hb-col-opps .hb-head-stories .section-more { font-size: 1vw; font-weight: 700; }
.hb-col-opps .hb-head-stories .section-more svg { width: 0.9vw; height: 0.9vw; }
.hb-col-opps .hb-opps { grid-column: 1; grid-row: 2; display: grid; gap: 0.55vw; align-content: stretch; grid-auto-rows: minmax(0, 1fr); }
.hb-story-card {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  border-radius: 0.94vw;
  overflow: hidden;
  background: url("../assets/img/photos/story-card-bg.webp") right center / cover no-repeat;
  display: flex;
}
.hb-story-body {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 58%;
  min-height: 11.83vw; /* 概念圖卡片比例 602:303 的等比高度下限 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5vw 0.8vw 1vw 1.37vw;
}
.hb-story-title {
  margin: 0;
  font-size: 1.42vw;
  font-weight: 900;
  line-height: 1.3;
  color: var(--c-white);
}
.hb-story-text {
  margin: 0.4vw 0 0.8vw;
  font-size: 0.84vw;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}
.hb-story-go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95vw;
  height: 1.95vw;
  min-width: 26px;
  min-height: 26px;
  margin-top: auto;
  border-radius: 50%;
  background: var(--c-white);
  color: #0E4A5C;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.hb-story-go svg { width: 58%; height: 58%; }
.hb-story-go:hover { transform: scale(1.08); }

@media (max-width: 920px) {
  .hb-col-opps { display: flex; flex-direction: column; }
  .hb-col-opps .hb-opps { order: 2; }
  .hb-col-opps .hb-head-stories { order: 3; margin: 26px 0 14px; }
  .hb-col-opps .hb-head-stories h2 { font-size: 26px; }
  .hb-col-opps .hb-head-stories .section-more { font-size: 14px; }
  .hb-col-opps .hb-story-card { order: 4; border-radius: 16px; }
  .hb-story-body { width: 58%; min-height: 0; padding: 4.2% 2.6% 3.4% 5.2%; }
  .hb-story-title { font-size: clamp(17px, 5.2vw, 22px); }
  .hb-story-text { font-size: clamp(11px, 3.2vw, 13.5px); margin-top: 2.4%; }
  .hb-story-go { width: clamp(34px, 10.5vw, 44px); height: clamp(34px, 10.5vw, 44px); min-width: 0; min-height: 0; }
}

/* 桌面：機會行與活動卡按概念圖比例緊湊化，使三欄底部對齊（概念圖 y918-1221） */
@media (min-width: 921px) {
  .home-below-zone .hb-opps .opp-card { height: 100%; min-height: 0; }
  .home-below-zone .opp-row {
    grid-template-columns: 6.3vw minmax(0, 1fr) 2vw;
    gap: 0.78vw;
    align-items: center;
    align-content: center;
    padding: 0.4vw 0.6vw;
    height: 100%;
    box-sizing: border-box;
  }
  .home-below-zone .opp-thumb {
    width: 6.3vw;
    height: 4.2vw;
    aspect-ratio: auto;
    border-radius: 0.55vw;
  }
  .home-below-zone .opp-info .chip { font-size: clamp(9px, 0.55vw, 13px); padding: 0.16vw 0.55vw; margin-bottom: 0.31vw; }
  .home-below-zone .opp-info .card-title {
    font-size: clamp(11px, 0.86vw, 19px);
    line-height: 1.25;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home-below-zone .opp-info .card-sub {
    font-size: clamp(10px, 0.7vw, 15px);
    line-height: 1.35;
    margin-top: 0.23vw;
    color: var(--c-muted-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .home-below-zone .opp-arrow { justify-self: end; }
  .home-below-zone .opp-arrow svg { width: 1vw; height: 1vw; }
  .home-below-zone .hb-cards .card-media { aspect-ratio: 353 / 108; }
  .home-below-zone .hb-cards .card-body { padding: 0.55vw 0.15vw 0; }
  .home-below-zone .hb-cards .card-meta { margin: 0; }
  .home-below-zone .hb-col-events .hb-cards { flex: 1; grid-auto-rows: minmax(0, 1fr); }
  html[data-lang="zh-Hant"] .hb-col-events .hb-cards { grid-auto-rows: auto; }
  html[data-lang="zh-Hant"] .hb-cards .card-media { aspect-ratio: 353 / 184; }
  html[data-lang="zh-Hant"] .hb-cards .card-body { padding: 0.55vw max(8px, 0.6vw) max(8px, 0.65vw); }
  html[data-lang="zh-Hant"] .hb-cards .card-meta { flex-wrap: wrap; gap: 4px 8px; white-space: normal; }
  html[data-lang="zh-Hant"] .hb-cards :is(.card-title, .card-sub) { display: block; overflow-wrap: anywhere; }
}

/* 數據帶：左mint指標面板＋右引言框（概念圖 y1265-1418） */
.home-below-zone .stats-band {
  margin: 1.72vw 3.98% 0;
  padding: 0;
  background: none;
}
.stats-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.277fr);
  gap: 1.45vw;
  align-items: stretch;
}
.stats-panel {
  background: #F0FAFB;
  border-radius: 0.94vw;
  padding: 1.25vw 1.9vw;
  display: flex;
  align-items: center;
}
.stats-panel .stats-grid { flex: 1; min-width: 0; display: flex; align-items: center; gap: 1.6vw; }
.stats-panel .stats-lead h2 { font-size: 1.33vw; margin: 0; line-height: 1.45; color: #093A4A; }
.stats-panel .stats-items {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8vw 1.2vw;
}
.home-below-zone .stat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.7vw;
  align-items: center;
  text-align: left;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  container-type: normal;
}
.home-below-zone .stat-icon {
  grid-row: 1 / span 2;
  width: clamp(30px, 2.42vw, 64px);
  height: clamp(30px, 2.42vw, 64px);
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #086976;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-below-zone .stat-icon svg { width: 100%; height: 100%; }
.home-below-zone .stat-label {
  grid-row: 1;
  grid-column: 2;
  font-size: clamp(10.5px, 0.8vw, 21px);
  font-weight: 500;
  color: #3C5560;
  margin: 0;
  white-space: nowrap;
}
.home-below-zone .stat-num {
  grid-row: 2;
  grid-column: 2;
  font-size: clamp(17px, 1.62vw, 42px);
  line-height: 1.15;
  font-weight: 900;
  color: #004F5E;
  white-space: nowrap;
}
.home-below-zone .stat-num-compact { font-size: clamp(14px, 1.3vw, 34px); }
.stats-quote {
  background: linear-gradient(90deg, #E3F5F5 0%, #F7F9E8 100%);
  border-radius: 0.94vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1.2vw 1.8vw;
}
.stats-quote p {
  margin: 0;
  font-size: clamp(13px, 1.06vw, 27px);
  line-height: 1.6;
  font-weight: 700;
  color: #0D3A4E;
}
.stats-quote-dash {
  width: 1.95vw;
  height: 0.15vw;
  min-height: 3px;
  margin-top: 0.9vw;
  background: #A38F3F;
  border-radius: 2px;
}

@media (max-width: 920px) {
  .home-below-zone .stats-band { margin-top: 30px; }
  .stats-row { grid-template-columns: 1fr; gap: 14px; }
  .stats-panel { border-radius: 16px; padding: 22px 18px; }
  .stats-panel .stats-grid { flex-direction: column; align-items: flex-start; gap: 18px; }
  .stats-panel .stats-lead h2 { font-size: 24px; }
  .stats-panel .stats-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; width: 100%; }
  .home-below-zone .stat-icon { width: 42px; height: 42px; }
  .home-below-zone .stat-num { font-size: 24px; }
  .home-below-zone .stat-label { font-size: 12.5px; white-space: normal; }
  .stats-quote { border-radius: 16px; padding: 20px 22px; }
  .stats-quote p { font-size: 16.5px; }
  .stats-quote-dash { width: 36px; height: 3px; margin-top: 12px; }
}

/* --------------------------------------------------------------------------
   Admin 条目排版（US-006）：对齐由后台 text_align 控制，作用于卡片标题+副题
   与详情页标题/副题；换行经 HKSU_RENDER 转义为 <br> 自然渲染。
   -------------------------------------------------------------------------- */
.entry-align-center { text-align: center !important; }
.entry-align-right { text-align: right !important; }

/* --------------------------------------------------------------------------
   多图与裁剪（二期 US-103）：百分比裁剪 img + 详情图集
   crop 仅用于 16:10 系容器（.card-media / .detail-banner）；
   1:1 的 .opp-thumb 保持 object-fit:cover（异比例套百分比会拉伸）。
   -------------------------------------------------------------------------- */
.entry-crop { object-fit: cover; transform: none; }
.detail-banner { position: relative; }
.detail-gallery { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 920px; margin: 18px auto 0; }
.detail-gallery-item { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; margin: 0; }
.detail-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery-item img.entry-crop { position: absolute; }

/* --------------------------------------------------------------------------
   富文本正文（二期 US-106）——移植 foihk fohk-* 排版规则为 hksu-*
   -------------------------------------------------------------------------- */
.hksu-article-content { overflow-wrap: anywhere; }
.hksu-article-content p { margin: 1em 0; }
.hksu-article-content h2 { font-size: 1.45em; margin: 1.4em 0 .6em; }
.hksu-article-content h3 { font-size: 1.2em; margin: 1.2em 0 .5em; }
.hksu-article-content ul, .hksu-article-content ol { padding-left: 1.5em; margin: 1em 0; }
.hksu-article-content blockquote { border-left: 4px solid var(--c-teal); padding: .4em 1em; margin: 1.2em 0; color: var(--c-muted-2); background: var(--c-aqua-tint); border-radius: 0 10px 10px 0; }
.hksu-article-content a { color: var(--c-teal-deep); text-decoration: underline; }
.hksu-article-content hr { border: none; border-top: 1px solid var(--c-line); margin: 2em 0; }
/* 文章正文閱讀體驗：17px、約 2.0 行距、760px 居中欄（僅前台詳情頁，後台編輯器不受影響） */
#detail-content { font-size: 17px; line-height: 2; max-width: 760px; margin: 0 auto; }
/* 对齐 */
.hksu-align-left { text-align: left !important; }
.hksu-align-center { text-align: center !important; }
.hksu-align-right { text-align: right !important; }
/* 字号（px，行内 mark） */
.hksu-size-12 { font-size: 12px; } .hksu-size-14 { font-size: 14px; } .hksu-size-16 { font-size: 16px; }
.hksu-size-18 { font-size: 18px; } .hksu-size-20 { font-size: 20px; } .hksu-size-24 { font-size: 24px; }
.hksu-size-28 { font-size: 28px; } .hksu-size-32 { font-size: 32px; }
/* 字体族 */
.hksu-font-sans { font-family: var(--font-sans, "Noto Sans TC", sans-serif); }
.hksu-font-song { font-family: "Songti TC", "Noto Serif TC", serif; }
.hksu-font-serif { font-family: Georgia, "Times New Roman", serif; }
.hksu-font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
/* 行间距（毫厘值 /100） */
.hksu-leading-120 { line-height: 1.2 !important; } .hksu-leading-135 { line-height: 1.35 !important; }
.hksu-leading-150 { line-height: 1.5 !important; } .hksu-leading-165 { line-height: 1.65 !important; }
.hksu-leading-175 { line-height: 1.75 !important; } .hksu-leading-200 { line-height: 2 !important; }
.hksu-leading-225 { line-height: 2.25 !important; } .hksu-leading-250 { line-height: 2.5 !important; }
/* 段落间距（px，上下） */
.hksu-block-gap-8 { margin-top: 8px !important; margin-bottom: 8px !important; }
.hksu-block-gap-12 { margin-top: 12px !important; margin-bottom: 12px !important; }
.hksu-block-gap-16 { margin-top: 16px !important; margin-bottom: 16px !important; }
.hksu-block-gap-24 { margin-top: 24px !important; margin-bottom: 24px !important; }
.hksu-block-gap-32 { margin-top: 32px !important; margin-bottom: 32px !important; }
.hksu-block-gap-48 { margin-top: 48px !important; margin-bottom: 48px !important; }
/* 真实空行 */
.hksu-spacer-1 { height: 1rem; }
.hksu-spacer-2 { height: 2rem; }
.hksu-spacer-section { height: 3.5rem; }
/* 段内硬换行：块级化 + 额外上边距（foihk 同款） */
.hksu-article-content br { display: block; content: ""; margin-top: 0.5rem; }
