/* Home editorial — hero / slider / marquee / resources / stats / missions / etc. */

.home-editorial-page {
  position: relative;
}

.home-editorial-page img { display: block; }

.home-editorial-page .container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-x);
  padding-right: var(--gutter-x);
  width: 100%;
}

.home-editorial-page .layer { position: relative; z-index: 1; }

/* ─────────── Slider Banner ─────────── */
.home-editorial-page .home-block--slider {
  margin: 0 !important;
  padding: 0;
  position: relative;
  z-index: 1;
}
.home-editorial-page .slider {
  position: relative;
  width: 100%;
  height: clamp(380px, 65vh, 720px);
  overflow: hidden;
  background: var(--ink-deep);
}
.home-editorial-page .slider-track { position: absolute; inset: 0; }
.home-editorial-page .slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  background: var(--ink-deep);
}
.home-editorial-page .slide.active { opacity: 1; z-index: 2; }
/* 雙層圖片：底層 cover+blur 當背景墊色，上層 contain 保留原比例 */
.home-editorial-page .slide-img-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(14px) brightness(0.7) saturate(0.95);
  transform: scale(1.1);
  z-index: 0;
  pointer-events: none;
}
.home-editorial-page .slide-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  transition: transform 8s var(--ease-out);
}
.home-editorial-page .slide.active .slide-img { transform: scale(1.02); }
/* Overlay：只在有 caption 時加深下方漸層讓文字可讀 */
.home-editorial-page .slide.has-caption::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 45%, rgba(26,21,48,0.7) 80%, rgba(26,21,48,0.9) 100%);
  z-index: 2;
  pointer-events: none;
}
/* 點擊連結覆蓋整 slide */
.home-editorial-page .slide-link {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.home-editorial-page .slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px var(--gutter-x) 80px;
  z-index: 3;
  color: var(--paper);
  max-width: var(--container-max);
  margin: 0 auto;
}
.home-editorial-page .slide-issue {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-editorial-page .slide-issue::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.home-editorial-page .slide-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 18px;
  color: var(--paper);
}
.home-editorial-page .slide-sub {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.5;
  max-width: 520px;
  color: rgba(248, 244, 237, 0.85);
}
.home-editorial-page .slider-controls {
  position: absolute;
  right: var(--gutter-x);
  bottom: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(26, 21, 48, 0.32);
  backdrop-filter: blur(6px);
  border-radius: 999px;
}
.home-editorial-page .slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(248, 244, 237, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.home-editorial-page .slider-dot:hover { background: rgba(248, 244, 237, 0.8); }
.home-editorial-page .slider-dot.active {
  background: var(--gold);
  transform: scale(1.45);
}

/* ─────────── Home block reset ─────────── */
.home-editorial-page .home-block {
  margin: 0;
  padding: 0;
}

/* ─────────── Marquee ─────────── */
.home-editorial-page .marquee {
  background: var(--ink-deep);
  color: var(--paper);
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.home-editorial-page .marquee-tag {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 2;
}
.home-editorial-page .marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: home-editorial-scroll 38s linear infinite;
  padding-left: 220px;
  font-family: var(--font-display);
  font-size: 0.88em;
}
.home-editorial-page .marquee-track--no-tag {
  padding-left: 0;
}
.home-editorial-page .marquee-track span { display: inline-flex; align-items: center; gap: 14px; color: rgba(248, 244, 237, 0.9); }
.home-editorial-page .marquee-track span::before { content: "✦"; color: var(--gold); font-size: 14px; }
@keyframes home-editorial-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.home-editorial-page .marquee:hover .marquee-track { animation-play-state: paused; }

/* Marquee variant: Ribbon（綬帶） */
.home-editorial-page .marquee--ribbon .marquee-tag {
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
  padding-right: 32px;
}
.home-editorial-page .marquee--ribbon .marquee-track { padding-left: 232px; }
.home-editorial-page .marquee--ribbon .marquee-track span { color: var(--gold-soft); }
.home-editorial-page .marquee--ribbon .marquee-track span::before { content: "◆"; color: var(--gold); }

/* Marquee variant: Engraved（鑄牌） */
.home-editorial-page .marquee--engraved .marquee-tag {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 40%, var(--gold-soft) 55%, var(--gold) 70%, var(--gold-deep) 100%);
  color: var(--ink-deep);
  padding: 0 28px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 220, 0.45),
    inset 0 0 0 3px var(--gold-deep),
    inset 0 0 0 4px var(--gold-soft);
  text-shadow: 0 1px 0 rgba(255, 248, 220, 0.5), 0 -1px 0 rgba(0, 0, 0, 0.18);
  letter-spacing: 0.18em;
}
.home-editorial-page .marquee--engraved .marquee-track { padding-left: 232px; }
.home-editorial-page .marquee--engraved .marquee-track span { color: var(--paper); letter-spacing: 0.06em; }
.home-editorial-page .marquee--engraved .marquee-track span::before { content: "❖"; color: var(--gold-soft); font-size: 13px; }

/* ─────────── Hero（文字段） ─────────── */
.home-editorial-page .hero {
  padding-top: 90px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.home-editorial-page .hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.home-editorial-page .hero-eyebrow::before {
  content: ""; width: 48px; height: 1px; background: var(--gold-deep);
}
.home-editorial-page .hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink-deep);
  margin-bottom: 28px;
}
.home-editorial-page .hero-title em {
  font-style: normal;
  color: var(--gold-deep);
  position: relative;
  display: inline-block;
}
.home-editorial-page .hero-title em::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.05em;
  width: 100%; height: 0.08em;
  background: var(--gold-soft);
  z-index: -1;
}
.home-editorial-page .hero-lede {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 40px;
}
.home-editorial-page .hero-lede strong { color: var(--ink-deep); font-weight: 700; }
.home-editorial-page .hero-meta {
  border-top: 1px solid var(--gold-deep);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.home-editorial-page .hero-meta-item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.home-editorial-page .hero-meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0;
  color: var(--ink-deep);
  margin-top: 4px;
  font-weight: 700;
  text-transform: none;
}
.home-editorial-page .hero-side { position: relative; padding-bottom: 40px; }
.home-editorial-page .hero-quote {
  font-family: var(--font-display);
  font-size: 1em;
  line-height: 1.7;
  color: var(--ink);
  border-left: 2px solid var(--gold-deep);
  padding: 8px 0 8px 28px;
  font-style: italic;
  position: relative;
}
.home-editorial-page .hero-quote::before {
  content: "\201C";
  position: absolute;
  left: 24px; top: -42px;
  font-family: var(--font-display);
  font-size: 130px;
  color: var(--gold-soft);
  line-height: 1;
  font-style: normal;
}
.home-editorial-page .hero-quote-attr {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ─────────── Resource Index ─────────── */
.home-editorial-page .resources {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--paper-edge);
}
.home-editorial-page .resources-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 32px;
  flex-wrap: wrap;
}
.home-editorial-page .resources-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  color: var(--ink-deep);
  letter-spacing: -0.01em;
  margin: 0;
}
.home-editorial-page .resources-title em {
  font-style: normal;
  font-family: var(--font-hand);
  color: var(--gold-deep);
  font-size: 1.05em;
}
.home-editorial-page .resources-sub {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
/* horizontal scroll：每格固定 container/6，> 6 格自動 scroll，配合 scroll-snap 貼齊 */
.home-editorial-page .resources-grid-wrap {
  position: relative;
}
.home-editorial-page .resources-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% / 6);
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}
.home-editorial-page .resources-grid::-webkit-scrollbar { display: none; }

.home-editorial-page .resources-scroll-next {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--paper);
  color: var(--ink-deep);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26, 21, 48, 0.14);
  z-index: 5;
  padding: 0;
  animation: home-editorial-nudge 2.4s ease-in-out infinite;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}
.home-editorial-page .resources-scroll-next:hover {
  background: var(--gold);
  color: var(--ink-deep);
  box-shadow: 0 6px 22px rgba(200, 164, 92, 0.4);
  animation-play-state: paused;
}
.home-editorial-page .resources-scroll-next:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}
.home-editorial-page .resources-scroll-next.is-at-end {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
@keyframes home-editorial-nudge {
  0%, 100% { transform: translate(0, -50%); }
  45%      { transform: translate(7px, -50%); }
  60%      { transform: translate(4px, -50%); }
}
@media (prefers-reduced-motion: reduce) {
  .home-editorial-page .resources-scroll-next { animation: none; }
}
.home-editorial-page .resources-grid > .resource { scroll-snap-align: start; }
.home-editorial-page .resource {
  padding: 32px 20px;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  border-right: 1px solid var(--paper-edge);
  position: relative;
  transition: background 0.3s var(--ease-out);
  display: block;
}
.home-editorial-page .resource:last-child { border-right: none; }
.home-editorial-page .resource:hover { background: var(--paper-cream); }
.home-editorial-page .resource-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.home-editorial-page .resource-icon {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink-deep);
  margin-bottom: 14px;
  line-height: 1;
}
.home-editorial-page .resource-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1em;
  color: var(--ink-deep);
  margin-bottom: 6px;
}
.home-editorial-page .resource-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ─────────── Theme Strip（年度主題 / Editorial 引述區塊） ─────────── */
/*
 * Base = v1 視覺（深墨底金色手寫巨大標，向後相容既有 DB 內無 modifier 的 .theme-strip）
 * .theme-strip--v1 等同 base（明確命名方便編輯者選）
 * .theme-strip--v2 ~ --v5 為 modifier 覆蓋 base：背景與文字色 reset 為透明 / 繼承，
 *   由編輯者用 TinyMCE backcolor / forecolor 自選；layout 與 typography 走各自骨架
 * scope 涵蓋 HomePage RichContent 與 inner-page RichContent 兩個容器
 * skill-frontend-templates v2.10「TinyMCE Template Snippets」
 */
.editorial-inner-page .theme-strip,
.home-editorial-page .theme-strip {
  padding: 80px var(--gutter-x);
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  color: var(--paper);
}
.editorial-inner-page .theme-strip .theme-inner,
.home-editorial-page .theme-strip .theme-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px;
  align-items: center;
}
.editorial-inner-page .theme-strip .theme-label,
.home-editorial-page .theme-strip .theme-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border-right: 1px solid var(--gold);
  padding-right: 22px;
  white-space: nowrap;
}
.editorial-inner-page .theme-strip .theme-text,
.home-editorial-page .theme-strip .theme-text {
  /* LXGW WenKai TC（楷書毛筆感）由頁面依標語用字動態載入切片；未載入時退回系統楷體 / 襯線 */
  font-family: "LXGW WenKai TC", var(--font-hand);
  font-size: clamp(56px, 9vw, 140px);
  line-height: 1.05;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.editorial-inner-page .theme-strip .theme-text span:nth-child(2),
.home-editorial-page .theme-strip .theme-text span:nth-child(2) {
  color: var(--paper);
  display: inline-block;
  transform: translateY(-0.08em);
  margin: 0 0.1em;
}
.editorial-inner-page .theme-strip .theme-sign,
.home-editorial-page .theme-strip .theme-sign {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--paper);
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.editorial-inner-page .theme-strip .theme-sign::before,
.home-editorial-page .theme-strip .theme-sign::before { content: "\2014 "; color: var(--gold); }

/* ─── v2 襯線典雅：全襯線 + 居中堆疊（適合引述、宣言） ─── */
.editorial-inner-page .theme-strip--v2,
.home-editorial-page .theme-strip--v2 {
  background: transparent;
  color: inherit;
}
.editorial-inner-page .theme-strip--v2 .theme-inner,
.home-editorial-page .theme-strip--v2 .theme-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.editorial-inner-page .theme-strip--v2 .theme-label,
.home-editorial-page .theme-strip--v2 .theme-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0.7;
  padding-bottom: 12px;
  border-bottom: 1px solid currentColor;
  /* reset base v1 視覺 */
  color: inherit;
  writing-mode: horizontal-tb;
  border-right: none;
  white-space: normal;
  padding-right: 0;
}
.editorial-inner-page .theme-strip--v2 .theme-text,
.home-editorial-page .theme-strip--v2 .theme-text {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: inherit;
}
.editorial-inner-page .theme-strip--v2 .theme-sign,
.home-editorial-page .theme-strip--v2 .theme-sign {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  opacity: 0.75;
  margin-top: 6px;
  color: inherit;
  letter-spacing: normal;
}
.editorial-inner-page .theme-strip--v2 .theme-sign::before,
.home-editorial-page .theme-strip--v2 .theme-sign::before { content: none; }

/* ─── v3 手寫便箋：全手寫 + 偏左 + 微旋（適合主席的話、感言） ─── */
.editorial-inner-page .theme-strip--v3,
.home-editorial-page .theme-strip--v3 {
  background: transparent;
  color: inherit;
}
.editorial-inner-page .theme-strip--v3 .theme-inner,
.home-editorial-page .theme-strip--v3 .theme-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: rotate(-1deg);
  transform-origin: left center;
  padding-left: clamp(8px, 4vw, 64px);
  grid-template-columns: none;
  align-items: flex-start;
}
.editorial-inner-page .theme-strip--v3 .theme-label,
.home-editorial-page .theme-strip--v3 .theme-label {
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 500;
  opacity: 0.7;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  writing-mode: horizontal-tb;
  border-right: none;
  white-space: normal;
  padding-right: 0;
}
.editorial-inner-page .theme-strip--v3 .theme-text,
.home-editorial-page .theme-strip--v3 .theme-text {
  font-family: "LXGW WenKai TC", var(--font-hand);
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.1;
  font-weight: 700;
  color: inherit;
}
.editorial-inner-page .theme-strip--v3 .theme-sign,
.home-editorial-page .theme-strip--v3 .theme-sign {
  font-family: var(--font-hand);
  font-size: 20px;
  opacity: 0.8;
  color: inherit;
  letter-spacing: normal;
}
.editorial-inner-page .theme-strip--v3 .theme-sign::before,
.home-editorial-page .theme-strip--v3 .theme-sign::before { content: none; }

/* ─── v4 反差大標：mono eyebrow + display 巨大主標 + 細線上下夾（適合章節標題） ─── */
.editorial-inner-page .theme-strip--v4,
.home-editorial-page .theme-strip--v4 {
  background: transparent;
  color: inherit;
}
.editorial-inner-page .theme-strip--v4 .theme-inner,
.home-editorial-page .theme-strip--v4 .theme-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  grid-template-columns: none;
}
.editorial-inner-page .theme-strip--v4 .theme-label,
.home-editorial-page .theme-strip--v4 .theme-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.7;
  color: inherit;
  writing-mode: horizontal-tb;
  border-right: none;
  white-space: normal;
  padding-right: 0;
}
.editorial-inner-page .theme-strip--v4 .theme-text,
.home-editorial-page .theme-strip--v4 .theme-text {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 160px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: inherit;
}
.editorial-inner-page .theme-strip--v4 .theme-sign,
.home-editorial-page .theme-strip--v4 .theme-sign {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  color: inherit;
}
.editorial-inner-page .theme-strip--v4 .theme-sign::before,
.home-editorial-page .theme-strip--v4 .theme-sign::before { content: none; }

/* ─── v5 雙欄對話：sans 標籤左 + display 主文右（適合 Q&A、引言對照） ─── */
.editorial-inner-page .theme-strip--v5,
.home-editorial-page .theme-strip--v5 {
  background: transparent;
  color: inherit;
}
.editorial-inner-page .theme-strip--v5 .theme-inner,
.home-editorial-page .theme-strip--v5 .theme-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
.editorial-inner-page .theme-strip--v5 .theme-label,
.home-editorial-page .theme-strip--v5 .theme-label {
  font-family: var(--font-body, var(--font-display));
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  padding-right: clamp(16px, 3vw, 32px);
  border-right: 1px solid currentColor;
  opacity: 0.8;
  color: inherit;
  writing-mode: horizontal-tb;
  text-transform: none;
  white-space: normal;
}
.editorial-inner-page .theme-strip--v5 .theme-text,
.home-editorial-page .theme-strip--v5 .theme-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 60px);
  line-height: 1.3;
  font-weight: 500;
  color: inherit;
}
.editorial-inner-page .theme-strip--v5 .theme-sign,
.home-editorial-page .theme-strip--v5 .theme-sign {
  grid-column: 1 / -1;
  margin-top: 14px;
  font-family: var(--font-body, var(--font-display));
  font-size: 13px;
  letter-spacing: 0.1em;
  opacity: 0.7;
  text-align: right;
  color: inherit;
}
.editorial-inner-page .theme-strip--v5 .theme-sign::before,
.home-editorial-page .theme-strip--v5 .theme-sign::before { content: none; }

/* ─────────── Stats ─────────── */
.home-editorial-page .stats {
  padding-top: 100px;
  padding-bottom: 70px;
}
.home-editorial-page .stats-eyebrow {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 48px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.home-editorial-page .stats-eyebrow::before,
.home-editorial-page .stats-eyebrow::after {
  content: ""; width: 48px; height: 1px; background: var(--gold-deep);
}
.home-editorial-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}
.home-editorial-page .stat {
  padding: 40px 24px;
  border-right: 1px solid var(--paper-edge);
  text-align: center;
}
.home-editorial-page .stat:last-child { border-right: none; }
.home-editorial-page .stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1;
  color: var(--ink-deep);
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.home-editorial-page .stat-num span { color: var(--gold-deep); font-size: 0.5em; vertical-align: top; }
.home-editorial-page .stat-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.home-editorial-page .stat-sub {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink-soft);
}

/* ─────────── Section Generic ─────────── */
.home-editorial-page .section {
  padding-top: 90px;
  padding-bottom: 90px;
}
.home-editorial-page .section-bordered { border-top: 1px solid var(--paper-edge); }
.home-editorial-page .section-cream { background: var(--paper-cream); }
.home-editorial-page .section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
  align-items: end;
}
.home-editorial-page .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  color: var(--ink-deep);
  letter-spacing: -0.02em;
  margin: 0;
}
.home-editorial-page .section-title em {
  font-style: normal;
  font-family: var(--font-hand);
  color: var(--gold-deep);
  font-size: 1.05em;
  display: inline-block;
}
.home-editorial-page .section-intro {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-soft);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--paper-edge);
  margin: 0;
}
.home-editorial-page .section-meta {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 30px;
}
.home-editorial-page .section-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
.home-editorial-page .section-link {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-deep);
  padding-bottom: 2px;
  letter-spacing: 0.04em;
  transition: all 0.3s var(--ease-out);
}
.home-editorial-page .section-link:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.home-editorial-page .section-link::after { content: " \2192"; font-family: var(--font-mono); }

/* ─────────── 影片 ─────────── */
.home-editorial-page .video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.home-editorial-page .video-card { text-decoration: none; color: inherit; display: block; }
.home-editorial-page .video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--ink-deep);
}
.home-editorial-page .video-thumb-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.8s var(--ease-out);
}
.home-editorial-page .video-card:hover .video-thumb-img { transform: scale(1.06); }
.home-editorial-page .video-thumb::after {
  content: "\25B6";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: var(--paper);
  color: var(--ink-deep);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 16px;
  padding-left: 4px;
  z-index: 2;
  transition: all 0.3s var(--ease-out);
}
.home-editorial-page .video-card:hover .video-thumb::after { background: var(--gold); transform: translate(-50%, -50%) scale(1.1); }
.home-editorial-page .video-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.home-editorial-page .video-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1.4;
  color: var(--ink-deep);
}
.home-editorial-page .video-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 8px;
}

/* ─────────── 照片（polaroid 風） ─────────── */
.home-editorial-page .photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.home-editorial-page .photo-card {
  background: var(--paper);
  padding: 14px 14px 56px;
  box-shadow: 0 2px 8px rgba(26,21,48,0.06), 0 12px 28px rgba(26,21,48,0.08);
  position: relative;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.home-editorial-page .photo-card:nth-child(odd) { transform: rotate(-1deg); }
.home-editorial-page .photo-card:nth-child(even) { transform: rotate(0.8deg); }
.home-editorial-page .photo-card:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 6px 14px rgba(26,21,48,0.08), 0 20px 40px rgba(26,21,48,0.12);
}

/* 首頁「活動記憶冊」(LatestAlbums)：重用相簿牆 .pg-album-card，外加 polaroid 微歪斜（hover 擺正） */
.home-editorial-page .home-album-strip .pg-album-card {
  transition: transform 0.45s var(--ease-out), border-color 0.15s ease, box-shadow 0.15s ease;
}
.home-editorial-page .home-album-strip .pg-album-cell:nth-child(odd)  .pg-album-card { transform: rotate(-1.4deg); }
.home-editorial-page .home-album-strip .pg-album-cell:nth-child(even) .pg-album-card { transform: rotate(1deg); }
.home-editorial-page .home-album-strip .pg-album-cell .pg-album-card:hover { transform: translateY(-4px) rotate(0); }
/* 首頁不要 PhotoSwipe：隱藏播放鈕（與內頁相簿牆做出區別） */
.home-editorial-page .home-album-strip .pg-album-play { display: none; }
/* 手機（≤767.98px，相簿牆收成 2/1 欄）不做歪斜——小螢幕歪斜卡片不好看，擺正即可 */
@media (max-width: 767.98px) {
  .home-editorial-page .home-album-strip .pg-album-cell:nth-child(odd)  .pg-album-card,
  .home-editorial-page .home-album-strip .pg-album-cell:nth-child(even) .pg-album-card {
    transform: none;
  }
}
.home-editorial-page .photo-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.home-editorial-page .photo-branch {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--ink-deep);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  z-index: 2;
}
.home-editorial-page .photo-caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95em;
  color: var(--ink-deep);
  line-height: 1.4;
}
.home-editorial-page .photo-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 6px;
}

/* ─────────── 電子報 + 行事曆 ─────────── */
.home-editorial-page .news-cal {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
}
.home-editorial-page .newsletter-col h3,
.home-editorial-page .calendar-col h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--ink-deep);
  display: flex;
  align-items: center;
  gap: 16px;
}
.home-editorial-page .newsletter-col h3::after,
.home-editorial-page .calendar-col h3::after {
  content: ""; flex: 1; height: 1px; background: var(--gold-deep);
}
.home-editorial-page .newsletter-list { list-style: none; padding: 0; margin: 0; }
.home-editorial-page .newsletter-list li {
  border-bottom: 1px solid var(--paper-edge);
  padding: 18px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
}
.home-editorial-page .newsletter-list li:first-child { padding-top: 24px; }
.home-editorial-page .newsletter-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.home-editorial-page .newsletter-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.home-editorial-page .newsletter-list a {
  text-decoration: none;
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95em;
  line-height: 1.4;
  display: block;
  transition: color 0.3s var(--ease-out);
}
.home-editorial-page .newsletter-list a:hover { color: var(--gold-deep); }
.home-editorial-page .calendar-frame {
  border: 1px solid var(--paper-edge);
  aspect-ratio: 4/5;
  background: var(--paper);
  overflow: hidden;
}
.home-editorial-page .calendar-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ─────────── 八大志業 cards ─────────── */
.home-editorial-page .missions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-edge);
  border: 1px solid var(--paper-edge);
}
.home-editorial-page .mission {
  background: var(--paper);
  padding: 42px 32px 48px;
  transition: background 0.4s var(--ease-out);
  position: relative;
  cursor: pointer;
}
.home-editorial-page .mission:hover { background: var(--paper-cream); }
.home-editorial-page .mission-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.home-editorial-page .mission-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-deep);
  margin-bottom: 14px;
}
.home-editorial-page .mission-desc {
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.65;
  font-size: 0.9em;
}
.home-editorial-page .mission-link {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink-deep);
  padding-bottom: 3px;
  transition: all 0.3s var(--ease-out);
}
.home-editorial-page .mission:hover .mission-link { color: var(--gold-deep); border-bottom-color: var(--gold-deep); gap: 16px; }
.home-editorial-page .mission-link::after { content: "\2192"; font-family: var(--font-mono); }

/* ─────────── 巨獅雜誌 ─────────── */
.home-editorial-page .magazines {
  padding-top: 90px;
  padding-bottom: 90px;
}
.home-editorial-page .magazine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.home-editorial-page .magazine {
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
}
.home-editorial-page .magazine-cover {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(26,21,48,0.12), 0 24px 36px -12px rgba(26,21,48,0.15);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.home-editorial-page .magazine-cover::after {
  content: "";
  position: absolute;
  left: 4%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.15);
}
.home-editorial-page .magazine:hover .magazine-cover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(26,21,48,0.15), 0 32px 50px -12px rgba(26,21,48,0.2);
}
.home-editorial-page .magazine-issue {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}
.home-editorial-page .magazine-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9em;
  color: var(--ink-deep);
  line-height: 1.4;
}
.home-editorial-page .magazine-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 4px;
}

/* ─────────── Editorial（封面故事） ─────────── */
.home-editorial-page .editorial {
  background: var(--paper-cream);
  padding: 100px var(--gutter-x);
  position: relative;
}
.home-editorial-page .editorial::before,
.home-editorial-page .editorial::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold-deep);
}
.home-editorial-page .editorial::before { top: 0; }
.home-editorial-page .editorial::after { bottom: 0; }
.home-editorial-page .editorial-inner {
  max-width: 880px;
  margin: 0 auto;
}
.home-editorial-page .editorial-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 26px;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--rose);
}
.home-editorial-page .editorial-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.1;
  color: var(--ink-deep);
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  font-weight: 700;
}
.home-editorial-page .editorial-body {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.85;
  color: var(--ink);
  max-width: 720px;
}
.home-editorial-page .editorial-body p { margin-bottom: 24px; }
.home-editorial-page .editorial-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 5em;
  float: left;
  line-height: 0.85;
  padding: 8px 14px 0 0;
  color: var(--ink-deep);
}
.home-editorial-page .editorial-pullquote {
  margin: 48px 0;
  padding: 20px 0;
  border-top: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--ink-deep);
  font-weight: 500;
  font-style: italic;
}

/* ─────────── Animations ─────────── */
@keyframes home-editorial-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.home-editorial-page .rise { animation: home-editorial-rise 0.9s var(--ease-out) both; }
.home-editorial-page .rise-1 { animation-delay: 0.05s; }
.home-editorial-page .rise-2 { animation-delay: 0.18s; }
.home-editorial-page .rise-3 { animation-delay: 0.32s; }
.home-editorial-page .rise-4 { animation-delay: 0.48s; }
.home-editorial-page .rise-5 { animation-delay: 0.66s; }

/* RWD */
@media (max-width: 1080px) {
  /* 移除舊「3欄×2列換行」殘留：現行為單列水平捲動（grid-auto-flow: column），
     第 3 張卡片後面接第 4 張，不可去除右框，否則 03|04 之間分隔線消失 */
  .home-editorial-page .video-grid,
  .home-editorial-page .photo-grid,
  .home-editorial-page .magazine-grid { grid-template-columns: repeat(2, 1fr); }
  .home-editorial-page .missions-grid { grid-template-columns: repeat(1, 1fr); }
}

@media (max-width: 768px) {
  .home-editorial-page { font-size: 18px; }

  .home-editorial-page .slider { height: clamp(320px, 70vh, 520px); }
  .home-editorial-page .slide-caption { padding: 30px var(--gutter-x) 64px; }
  .home-editorial-page .slider-controls {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
    top: auto;
    padding: 5px 10px;
    gap: 8px;
    background: rgba(26, 21, 48, 0.22);
  }
  .home-editorial-page .slider-dot { width: 7px; height: 7px; }

  .home-editorial-page .marquee-tag { font-size: 14px; padding: 0 16px; letter-spacing: 0.12em; }
  .home-editorial-page .marquee-track { padding-left: 160px; font-size: 14px; gap: 36px; }

  .home-editorial-page .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 40px;
    gap: 40px;
  }
  .home-editorial-page .hero-side { padding-bottom: 0; }

  /* 卡片列全出血（貫穿至左右螢幕邊緣）：以負邊距抵銷 .resources(.container) 的左右 gutter，
     首張卡片貼左緣、右側 peek 直達右緣，呈現「內容延伸出去」而非被截斷。標題列 .resources-head 仍留邊距。 */
  .home-editorial-page .resources-grid-wrap {
    margin-left: calc(-1 * var(--gutter-x));
    margin-right: calc(-1 * var(--gutter-x));
  }
  .home-editorial-page .resources-grid {
    grid-auto-columns: 60vw;
    scroll-padding-left: 0;
    padding-left: 0;
  }
  .home-editorial-page .resource { padding: 24px 18px; border-right: 1px solid var(--paper-edge); border-bottom: none; }
  .home-editorial-page .resource:last-child { border-right: none; }
  /* 手機改「露出下一塊」自然提示，隱藏會蓋住 peek 又易被誤解的捲動圓鈕 */
  .home-editorial-page .resources-scroll-next { display: none; }

  .editorial-inner-page .theme-strip,
  .home-editorial-page .theme-strip { padding: 60px var(--gutter-x); }
  .editorial-inner-page .theme-strip .theme-inner,
  .home-editorial-page .theme-strip .theme-inner { grid-template-columns: 1fr; gap: 24px; }
  .editorial-inner-page .theme-strip .theme-label,
  .home-editorial-page .theme-strip .theme-label {
    writing-mode: horizontal-tb;
    border-right: none;
    border-bottom: 1px solid var(--gold);
    padding: 0 0 12px 0;
    align-self: start;
  }
  .editorial-inner-page .theme-strip--v5 .theme-inner,
  .home-editorial-page .theme-strip--v5 .theme-inner { grid-template-columns: 1fr; gap: 18px; }
  .editorial-inner-page .theme-strip--v5 .theme-label,
  .home-editorial-page .theme-strip--v5 .theme-label {
    border-right: none;
    border-bottom: 1px solid currentColor;
    padding: 0 0 12px 0;
  }

  .home-editorial-page .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .home-editorial-page .stat { border-right: 1px solid var(--paper-edge); }
  .home-editorial-page .stat:nth-child(2n) { border-right: none; }
  .home-editorial-page .stat:nth-child(-n+2) { border-bottom: 1px solid var(--paper-edge); }
  .home-editorial-page .stat { padding: 32px 16px; }

  .home-editorial-page .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .home-editorial-page .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .home-editorial-page .section-meta { flex-wrap: wrap; gap: 12px; }
  .home-editorial-page .section-link { margin-left: 0; }

  .home-editorial-page .video-grid,
  .home-editorial-page .photo-grid,
  .home-editorial-page .magazine-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .home-editorial-page .news-cal { grid-template-columns: 1fr; gap: 40px; }
  .home-editorial-page .newsletter-list li { grid-template-columns: 90px 1fr; gap: 14px; }

  .home-editorial-page .editorial { padding: 70px var(--gutter-x); }
  .home-editorial-page .editorial-body p:first-child::first-letter { font-size: 4em; }
}

@media (max-width: 480px) {
  .home-editorial-page .slider { height: 460px; }
  .home-editorial-page .slide-issue { font-size: 12px; margin-bottom: 12px; }
  .home-editorial-page .slide-title { font-size: clamp(28px, 9vw, 40px); margin-bottom: 14px; }
  .home-editorial-page .slide-sub { font-size: 14px; }
  .home-editorial-page .video-grid,
  .home-editorial-page .photo-grid,
  .home-editorial-page .magazine-grid { grid-template-columns: 1fr; }
  /* 卡片寬 = container 80%，右側自然露出下一塊左側 20%，暗示可橫向滑動 */
  .home-editorial-page .resources-grid {
    grid-auto-columns: 80%;
    scroll-padding-left: 0;
    padding-left: 0;
  }
  .home-editorial-page .resource { border-right: 1px solid var(--paper-edge); border-bottom: none; }
  .home-editorial-page .resource:last-child { border-right: none; }
}
