/* ═══════════════════════════════════════
   RESET & BOX SIZING
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ═══════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════ */
:root {
  --bg:         #FAF8F5;
  --paper:      #FFFFFF;
  --surface:    #F4F1ED;

  --ink:        #1E1108;
  --ink-mid:    #7A6252;
  --ink-lt:     #B09A88;
  --ink-xs:     #D4C4B8;

  --coral:      #C4806A;
  --coral-lt:   #D49882;
  --coral-dim:  rgba(196,128,106,.10);
  --coral-pale: #F5E8E2;
  --coral-xlt:  #FBEEE9;

  --sage:       #7D9B84;
  --sage-lt:    #9EB8A4;
  --sage-dim:   rgba(125,155,132,.10);
  --sage-pale:  #EBF1EC;

  --border:     rgba(40,24,12,.06);
  --border-md:  rgba(40,24,12,.11);
  --border-str: rgba(40,24,12,.18);

  --serif:   'Noto Serif TC', Georgia, serif;
  --display: 'Zen Maru Gothic', 'Noto Sans TC', sans-serif;
  --brand:   'ZCOOL QingKe HuangYou', 'Zen Maru Gothic', sans-serif;
  --sans:    'DM Sans', 'Noto Sans TC', sans-serif;
  --zh:      'Noto Sans TC', sans-serif;
  --mono:    'DM Mono', monospace;

  --shadow-sm: 0 1px 4px rgba(40,24,12,.05), 0 2px 8px rgba(40,24,12,.04);
  --shadow-md: 0 4px 16px rgba(40,24,12,.07), 0 2px 6px rgba(40,24,12,.04);
  --shadow-lg: 0 8px 32px rgba(40,24,12,.10), 0 2px 8px rgba(40,24,12,.05);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   TOP ACCENT BAR
═══════════════════════════════════════ */
.top-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--coral-lt) 45%, var(--sage) 100%);
}

/* ═══════════════════════════════════════
   ANNOUNCE BAR（快訊列）
═══════════════════════════════════════ */
.announce-bar {
  background: var(--coral-xlt);
  border-bottom: 1px solid rgba(196,128,106,.14);
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  height: 40px; line-height: 40px;
  padding: 0 60px;
}
.announce-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral); flex-shrink: 0;
}
.announce-text {
  font-family: var(--zh); font-size: .875rem; font-weight: 300;
  color: var(--ink-mid); letter-spacing: .02em;
}
.announce-text strong { font-weight: 500; color: var(--coral); }
.announce-link {
  font-family: var(--zh); font-size: .875rem; font-weight: 400;
  color: var(--coral); text-decoration: none; letter-spacing: .02em;
  border-bottom: 1px solid rgba(196,128,106,.35);
  transition: border-color .15s, color .15s;
}
.announce-link:hover { color: var(--coral-lt); border-color: transparent; }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 100;
  height: 62px;
  background: rgba(250,248,245,.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
}
.nav-brand { text-decoration: none; display: flex; align-items: center; gap: 11px; }
.nav-logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--coral); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(196,128,106,.30);
}
.nav-logo-mark svg { width: 16px; height: 16px; }
.nav-name {
  font-family: var(--brand);
  font-size: 1.1rem; font-weight: 400;
  color: var(--ink); letter-spacing: .08em;
  line-height: 1.2;
}
.nav-tagline {
  font-family: var(--zh);
  font-size: .75rem; font-weight: 300;
  color: var(--ink-lt); letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
  font-family: var(--zh); font-size: .90rem; font-weight: 400;
  color: var(--ink-mid); text-decoration: none; letter-spacing: .05em;
  transition: color .2s ease;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; border-radius: 2px;
  background: var(--coral); opacity: .55;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-links a:hover { color: var(--coral); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--coral); }
.nav-links a.active::after { transform: scaleX(1); opacity: .65; }
.nav-cta {
  font-family: var(--zh); font-size: .90rem; font-weight: 500; letter-spacing: .04em;
  color: var(--paper); background: var(--coral);
  padding: 10px 22px; border-radius: 20px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(196,128,106,.28);
  transition: background .2s ease, box-shadow .2s ease;
}
.nav-cta:hover { background: var(--coral-lt); box-shadow: 0 4px 16px rgba(196,128,106,.40); }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  padding: 96px 60px 104px;
  overflow: hidden;
  background:
    linear-gradient(rgba(250,248,245,.55), rgba(250,248,245,.80)),
    url('/images/hero-bg.jpg') center top / cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--surface));
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0;
  text-align: left;
}
.hero-text { text-align: left; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--zh); font-size: .875rem; font-weight: 300; letter-spacing: .10em;
  color: var(--ink-mid);
  margin-bottom: 16px;
}
.hero-tag::before,
.hero-tag::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--coral); opacity: .55;
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.9rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2; letter-spacing: .01em;
  color: var(--ink); margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--coral); }
.hero-sub {
  font-family: var(--zh); font-size: 1.05rem; font-weight: 300;
  color: var(--ink-mid); max-width: 480px; margin: 0 0 40px; line-height: 1.85;
}
.hero-btns {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  justify-content: flex-start; margin-bottom: 0;
}
.btn-secondary-link {
  font-family: var(--zh); font-size: .90rem; font-weight: 300; letter-spacing: .04em;
  color: var(--ink-mid); text-decoration: none;
  border: 1px solid var(--border-md);
  padding: 12px 28px; border-radius: 8px;
  transition: border-color .2s ease, color .2s ease;
}
.btn-secondary-link:hover { border-color: var(--coral); color: var(--coral); }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  padding: 24px 0 0;
  border-top: 1px solid var(--border-md);
}
.hero-stat {
  padding: 0 24px;
  border-right: 1px solid var(--border-md);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-stat::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--coral); opacity: .38;
  border-radius: 1px;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; padding-right: 0; }
.hero-stat-num {
  font-family: var(--mono); font-size: 2rem; font-weight: 400;
  color: var(--coral); line-height: 1; margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.hero-stat-trend { font-family: var(--mono); font-size: .80rem; color: var(--sage); margin-left: 2px; }
.hero-stat-label {
  font-family: var(--zh); font-size: .80rem; font-weight: 300;
  color: var(--ink-lt); letter-spacing: .04em;
}
.hero-deco {
  position: absolute; bottom: 28px; right: 64px;
  width: 130px; height: 130px; border-radius: 50%;
  border: 1px solid rgba(196,128,106,.15);
  pointer-events: none; z-index: 0;
}
.hero-deco::after {
  content: '';
  position: absolute; inset: 20px; border-radius: 50%;
  border: 1px solid rgba(125,155,132,.10);
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-fill {
  font-family: var(--zh); font-size: .90rem; font-weight: 500; letter-spacing: .04em;
  color: var(--paper); background: var(--coral);
  padding: 12px 28px; border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(196,128,106,.28);
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}
.btn-fill:hover { background: var(--coral-lt); box-shadow: 0 8px 28px rgba(196,128,106,.40); transform: translateY(-1px); }
.btn-line {
  font-family: var(--zh); font-size: .90rem; font-weight: 300; letter-spacing: .04em;
  color: var(--ink-mid); background: var(--paper);
  border: 1px solid var(--border-md); padding: 12px 28px; border-radius: 8px;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.btn-line:hover { border-color: var(--coral); color: var(--coral); }
.btn-fill-light {
  font-family: var(--zh); font-size: .90rem; font-weight: 500; letter-spacing: .04em;
  color: var(--sage); background: var(--paper);
  padding: 13px 32px; border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}
.btn-fill-light:hover { background: rgba(255,255,255,.92); box-shadow: 0 8px 30px rgba(0,0,0,.18); transform: translateY(-1px); }

/* ═══════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════ */
.section-wrap { padding: 96px 60px; }
.section-wrap--alt { background: #EDD9D2; padding-top: 64px; }
.inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .80rem; letter-spacing: .20em; text-transform: uppercase;
  color: var(--coral); font-weight: 400; margin-bottom: 14px;
}
.section-label::after { content: ''; width: 28px; height: 1px; background: var(--coral); opacity: .45; }
.section-title {
  font-family: var(--display); font-size: 1.65rem;
  font-weight: 400; letter-spacing: .02em;
  color: var(--ink); line-height: 1.38; margin-bottom: 8px;
}
.section-sub {
  font-family: var(--zh); font-size: .95rem; font-weight: 300;
  color: var(--ink-lt); margin-bottom: 48px; line-height: 1.9;
  max-width: 640px;
}
.divider { height: 1px; background: var(--border); margin: 0 60px; }

/* ═══════════════════════════════════════
   CATEGORY GRID
═══════════════════════════════════════ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 24px 20px; overflow: hidden; min-height: 180px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(30,17,8,.07), 0 1px 3px rgba(30,17,8,.04);
  transition: box-shadow .25s ease, border-color .25s ease, transform .2s ease;
}
.cat-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(196,128,106,.20); transform: translateY(-3px); }
.cat-card::before {
  content: '';
  position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 3px; border-radius: 0 3px 3px 0;
  background: var(--coral-pale);
  transition: background .25s ease;
}
.cat-card:hover::before { background: var(--coral); }
.cat-card::after {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,128,106,.04) 0%, transparent 70%);
  pointer-events: none;
}
.cat-count {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: .80rem; color: var(--ink-xs);
  background: var(--surface); padding: 3px 9px; border-radius: 8px;
  letter-spacing: .04em;
}
.cat-top { display: flex; flex-direction: column; }
.cat-icon {
  width: 42px; height: 42px;
  background: var(--coral-xlt); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(196,128,106,.12);
  color: var(--coral); flex-shrink: 0;
  align-self: flex-start;
}
.cat-icon svg { width: 20px; height: 20px; }
.cat-name {
  font-family: var(--display); font-size: 1.1rem; font-weight: 500;
  color: var(--ink); margin-bottom: 8px; letter-spacing: .01em;
}
.cat-desc {
  font-family: var(--zh); font-size: 1rem; font-weight: 300;
  color: var(--ink-lt); line-height: 1.9;
}
.cat-arrow {
  font-family: var(--zh); font-size: .875rem; font-weight: 400; letter-spacing: .04em;
  color: var(--coral); display: inline-flex; align-items: center; gap: 5px;
  transition: gap .2s ease;
  margin-top: 18px;
}
.cat-card:hover .cat-arrow { gap: 9px; }
.cat-card--featured { background: var(--sage); border-color: var(--sage); }
.cat-card--featured::before { background: rgba(255,255,255,.25); }
.cat-card--featured:hover::before { background: rgba(255,255,255,.50); }
.cat-card--featured::after { background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%); }
.cat-card--featured .cat-icon { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.18); color: white; }
.cat-card--featured .cat-count { background: rgba(255,255,255,.15); color: rgba(255,255,255,.6); }
.cat-card--featured .cat-name { color: var(--paper); }
.cat-card--featured .cat-desc { color: rgba(255,255,255,.72); }
.cat-card--featured .cat-arrow { color: rgba(255,255,255,.88); }
.cat-card--featured:hover { box-shadow: 0 10px 36px rgba(125,155,132,.40); }


/* ═══════════════════════════════════════
   LATEST POSTS
═══════════════════════════════════════ */
.posts-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; }
.posts-view-all {
  font-family: var(--sans); font-size: .85rem; font-weight: 300; letter-spacing: .06em;
  color: var(--coral); text-decoration: none; transition: color .2s ease;
}
.posts-view-all:hover { color: var(--coral-lt); }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  background: var(--paper); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  box-shadow: 0 2px 12px rgba(30,17,8,.07), 0 1px 3px rgba(30,17,8,.04);
  transition: box-shadow .25s ease, border-color .25s ease, transform .2s ease;
}
.post-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(196,128,106,.22); transform: translateY(-3px); }
.post-card--main { grid-column: span 2; flex-direction: row; }
.post-card--main .post-thumb { width: 45%; flex-shrink: 0; }
.post-card--main .post-thumb--main { aspect-ratio: unset; height: 100%; }
.post-thumb {
  aspect-ratio: 16/9;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.post-thumb--main { aspect-ratio: 4/3; }
.post-thumb-coral {
  background:
    repeating-linear-gradient(-45deg, transparent 0, transparent 8px, rgba(196,128,106,.07) 8px, rgba(196,128,106,.07) 9px),
    linear-gradient(145deg, #FCF0EB 0%, #F4D4C6 100%);
}
.post-thumb-sage {
  background:
    radial-gradient(circle, rgba(125,155,132,.16) 1.2px, transparent 1.2px),
    linear-gradient(145deg, #EDF3EE 0%, #D0E4D5 100%);
  background-size: 18px 18px, 100% 100%;
}
.post-thumb-warm {
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 16px, rgba(148,112,72,.05) 16px, rgba(148,112,72,.05) 17px),
    repeating-linear-gradient(90deg, transparent 0, transparent 16px, rgba(148,112,72,.04) 16px, rgba(148,112,72,.04) 17px),
    linear-gradient(145deg, #F8EEE4 0%, #EBCFB4 100%);
}
.post-thumb-dust {
  background:
    radial-gradient(circle at 50% 50%, transparent 28px, rgba(110,85,140,.04) 28px, rgba(110,85,140,.04) 29px, transparent 29px),
    radial-gradient(circle at 50% 50%, transparent 52px, rgba(110,85,140,.035) 52px, rgba(110,85,140,.035) 53px, transparent 53px),
    radial-gradient(circle at 50% 50%, transparent 76px, rgba(110,85,140,.03) 76px, rgba(110,85,140,.03) 77px, transparent 77px),
    linear-gradient(145deg, #F0EBF6 0%, #DDD3EC 100%);
}
.post-thumb-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mid);
  position: relative; z-index: 1;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(40,24,12,.08);
}
.post-thumb-icon svg { width: 20px; height: 20px; }
.post-thumb--main .post-thumb-icon { width: 54px; height: 54px; border-radius: 16px; }
.post-thumb--main .post-thumb-icon svg { width: 24px; height: 24px; }
.post-thumb-tag {
  position: absolute; bottom: 12px; left: 14px;
  font-family: var(--mono); font-size: .80rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: white;
  background: rgba(30,17,8,.32); backdrop-filter: blur(6px);
  padding: 3px 10px; border-radius: 10px;
}
.post-body { padding: 20px 20px 18px; flex: 1; display: flex; flex-direction: column; }
.post-cat {
  font-family: var(--mono); font-size: .80rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--coral); margin-bottom: 6px;
}
.post-title {
  font-family: var(--display); font-size: 1.05rem; font-weight: 600;
  color: var(--ink); line-height: 1.65; margin-bottom: 12px;
  hyphens: auto; overflow-wrap: break-word;
}
.post-title--main { font-size: 1.2rem; line-height: 1.6; }
.post-excerpt {
  font-family: var(--zh); font-size: .875rem; font-weight: 300;
  color: var(--ink-mid); line-height: 1.85; margin-bottom: 16px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-meta {
  font-family: var(--mono); font-size: .80rem; font-weight: 300; color: var(--ink-xs);
  display: flex; align-items: center; gap: 6px; margin-top: auto;
  font-variant-numeric: tabular-nums;
}
.post-meta::before { content: ''; width: 14px; height: 1px; background: var(--border-str); flex-shrink: 0; }
.post-read-time { font-family: var(--mono); font-size: .80rem; color: var(--ink-xs); }
.post-meta-sep { color: var(--ink-xs); opacity: .5; }

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.cta-section {
  background: var(--sage); padding: 40px 60px;
  position: relative; overflow: hidden;
}
.cta-ring-1 { position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(255,255,255,.13); top: 50%; right: -80px; transform: translateY(-50%); pointer-events: none; }
.cta-ring-2 { position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(255,255,255,.09); top: 50%; right: 20px; transform: translateY(-50%); pointer-events: none; }
.cta-ring-3 { position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); top: 50%; right: 100px; transform: translateY(-50%); pointer-events: none; }
.cta-section .inner { position: relative; z-index: 1; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.cta-left { display: flex; flex-direction: column; align-items: flex-start; }
.cta-right { min-width: 0; border-radius: 16px; overflow: hidden; align-self: center; }
.cta-photo {
  display: block; width: 100%; height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(30,17,8,.18);
}
.cta-eyebrow {
  font-family: var(--mono); font-size: .80rem; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255,255,255,.60); margin-bottom: 14px;
}
.cta-section h2 {
  font-family: var(--display); font-size: 1.9rem; font-weight: 400;
  letter-spacing: .02em;
  color: var(--paper); margin-bottom: 16px; line-height: 1.45;
}
.cta-section p {
  font-family: var(--zh); font-size: .95rem; font-weight: 300;
  color: rgba(255,255,255,.72); margin-bottom: 32px; line-height: 2.0;
}
.cta-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 40px;
}
.cta-features li {
  font-family: var(--zh); font-size: .90rem; font-weight: 300;
  color: rgba(255,255,255,.85);
  display: flex; align-items: flex-start; gap: 12px;
}
.cta-features li::before {
  content: '✓';
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.32);
  flex-shrink: 0;
  font-size: .82rem; font-weight: 500;
  color: rgba(255,255,255,.9);
  margin-top: 1px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--ink);
  padding: 64px 60px 40px;
  border-top: 2px solid rgba(196,128,106,.18);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; }
.footer-brand-row { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.footer-logo-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(196,128,106,.38);
  border: 1px solid rgba(196,128,106,.22);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-logo-mark svg { width: 12px; height: 12px; }
.footer-logo { font-family: var(--brand); font-size: 1rem; font-weight: 400; color: rgba(255,255,255,.65); letter-spacing: .06em; }
.footer-slogan {
  font-family: var(--zh); font-size: .82rem; font-weight: 300;
  color: rgba(255,255,255,.5); letter-spacing: .05em;
  line-height: 2.0; padding-left: 31px;
}
.footer-col-heading {
  font-family: var(--mono); font-size: .80rem; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 16px;
}
.footer-nav { list-style: none; }
.footer-nav a {
  font-family: var(--zh); font-size: .85rem; font-weight: 300;
  color: rgba(255,255,255,.45); text-decoration: none;
  transition: color .2s ease; display: block; line-height: 2.1;
}
.footer-nav a:hover { color: rgba(255,255,255,.75); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 24px;
  display: flex; justify-content: flex-end;
}
.footer-copy {
  font-family: var(--mono); font-size: .80rem; font-weight: 300;
  color: rgba(255,255,255,.22); letter-spacing: .04em;
}

/* ═══════════════════════════════════════
   SECTION / CATEGORY LISTING PAGE
═══════════════════════════════════════ */
.section-header {
  padding: 56px 60px 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.section-header .inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb {
  font-family: var(--mono); font-size: .80rem; color: var(--ink-lt);
  letter-spacing: .04em; margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--ink-lt); text-decoration: none; transition: color .15s; }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb-sep { opacity: .4; }
.section-hero-icon {
  width: 52px; height: 52px;
  background: var(--coral-xlt); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196,128,106,.14);
  color: var(--coral); margin-bottom: 20px;
}
.section-hero-icon svg { width: 26px; height: 26px; }
.section-hero-title {
  font-family: var(--display); font-size: 2rem; font-weight: 700;
  color: var(--ink); margin-bottom: 12px; letter-spacing: .01em;
}
.section-hero-desc {
  font-family: var(--zh); font-size: 1rem; font-weight: 300;
  color: var(--ink-mid); line-height: 1.9; max-width: 560px;
}
.section-posts-wrap { padding: 56px 60px 80px; }
.section-posts-wrap .inner { max-width: 1100px; margin: 0 auto; }
.section-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.section-post-count {
  font-family: var(--mono); font-size: .80rem; color: var(--ink-lt);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 32px;
}
.section-empty {
  padding: 80px 0; text-align: center;
  font-family: var(--zh); font-size: .95rem; font-weight: 300;
  color: var(--ink-lt);
}

/* ═══════════════════════════════════════
   ARTICLE / SINGLE PAGE
═══════════════════════════════════════ */
.article-header {
  padding: 56px 60px 40px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.article-header .inner { max-width: 780px; margin: 0 auto; }
.article-cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .80rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--coral);
  background: var(--coral-xlt); padding: 5px 12px; border-radius: 8px;
  margin-bottom: 20px; text-decoration: none;
}
.article-cat-badge:hover { background: var(--coral-pale); }
.article-title {
  font-family: var(--display); font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 700; line-height: 1.45; letter-spacing: .01em;
  color: var(--ink); margin-bottom: 20px;
}
.article-meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--mono); font-size: .80rem; color: var(--ink-lt);
  font-variant-numeric: tabular-nums;
}
.article-meta-sep { opacity: .4; }
.article-body { padding: 56px 60px 80px; }
.article-body .inner { max-width: 780px; margin: 0 auto; }
.prose {
  font-family: var(--zh);
  font-size: 1.05rem;
  line-height: 2.0;
  color: var(--ink);
}
.prose h2 {
  font-family: var(--display); font-size: 1.4rem; font-weight: 600;
  color: var(--ink); margin: 2.5em 0 .8em;
  padding-bottom: .4em; border-bottom: 1px solid var(--border);
}
.prose h3 {
  font-family: var(--display); font-size: 1.15rem; font-weight: 500;
  color: var(--ink); margin: 2em 0 .6em;
}
.prose p { margin-bottom: 1.5em; }
.prose ul, .prose ol { padding-left: 1.6em; margin-bottom: 1.5em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--coral); text-decoration: none; border-bottom: 1px solid rgba(196,128,106,.35); transition: border-color .15s; }
.prose a:hover { border-color: var(--coral); }
.prose strong { font-weight: 500; color: var(--ink); }
.prose blockquote {
  border-left: 3px solid var(--coral);
  margin: 2em 0; padding: .8em 1.2em;
  background: var(--coral-xlt); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--ink-mid);
}
.prose code {
  font-family: var(--mono); font-size: .875em;
  background: var(--surface); padding: .2em .4em; border-radius: 4px;
  color: var(--coral);
}
.prose pre {
  background: var(--ink); padding: 1.2em 1.4em; border-radius: 10px;
  overflow-x: auto; margin-bottom: 1.5em;
}
.prose pre code { background: none; color: rgba(255,255,255,.85); padding: 0; }
.prose img {
  max-width: 100%; height: auto; border-radius: 10px;
  border: 1px solid var(--border); margin: 1.5em 0;
}
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: .925rem; }
.prose th {
  font-family: var(--mono); font-size: .80rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-lt);
  border-bottom: 2px solid var(--border-md); padding: .8em .6em; text-align: left;
}
.prose td { padding: .8em .6em; border-bottom: 1px solid var(--border); color: var(--ink-mid); }
.prose tr:hover td { background: var(--surface); }
.article-footer-nav {
  max-width: 780px; margin: 0 auto;
  padding: 0 60px 80px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 32px;
}
.article-footer-nav a {
  font-family: var(--zh); font-size: .875rem; font-weight: 400;
  color: var(--coral); text-decoration: none; transition: color .15s;
}
.article-footer-nav a:hover { color: var(--coral-lt); }

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .hero { padding: 72px 32px 80px; }
  .section-wrap { padding: 72px 32px; }
  .section-wrap--alt { padding-top: 52px; }
  .cta-section { padding: 72px 32px; }
  footer { padding: 52px 32px 32px; }
  .announce-bar { padding: 0 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .post-card--main { grid-column: span 2; }
  .section-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .payout-grid { grid-template-columns: repeat(3, 1fr); }
  .section-header { padding: 44px 32px 36px; }
  .section-posts-wrap { padding: 44px 32px 64px; }
  .article-header { padding: 44px 32px 32px; }
  .article-body { padding: 44px 32px 64px; }
  .article-footer-nav { padding: 0 32px 64px; padding-top: 32px; }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-right { display: none; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav：隱藏選單連結，保留品牌 + CTA */
  nav { padding: 0 20px; height: 56px; }
  .nav-links { display: none; }
  .nav-tagline { display: none; }
  .nav-cta { font-size: .85rem; padding: 8px 16px; }

  /* Announce bar */
  .announce-bar { padding: 0 20px; gap: 8px; font-size: .82rem; height: 36px; line-height: 36px; }
  .announce-link { display: none; }

  /* Hero */
  .hero { padding: 56px 20px 64px; }
  .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub { font-size: .95rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .hero-stat { padding: 0 12px; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-deco { display: none; }

  /* Sections */
  .section-wrap { padding: 52px 20px; }
  .section-wrap--alt { padding-top: 40px; }
  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card--main { grid-column: span 1; }
  .post-thumb--main { height: 180px; }
  .section-posts-grid { grid-template-columns: 1fr; }
  .posts-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .posts-view-all { font-size: .875rem; }

  /* Payout */
  .payout-section { padding: 40px 20px; }
  .payout-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .payout-summary { flex-wrap: wrap; gap: 6px; }

  /* CTA */
  .cta-section { padding: 52px 20px; }

  /* Footer */
  footer { padding: 40px 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Section listing page */
  .section-header { padding: 36px 20px 28px; }
  .section-posts-wrap { padding: 36px 20px 52px; }

  /* Article page */
  .article-header { padding: 36px 20px 28px; }
  .article-body { padding: 36px 20px 52px; }
  .article-footer-nav { padding: 0 20px 52px; padding-top: 28px; flex-direction: column; gap: 12px; align-items: flex-start; }
  .article-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
}

/* ═══════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding: 0 8px; }
  .hero-stat-num { font-size: 1.3rem; }
  .hero-stat-label { font-size: .72rem; }
  .payout-grid { grid-template-columns: 1fr; }
  .cat-card { min-height: 160px; }
  .section-title { font-size: 1.45rem; }
}
