/* ============================================================
   Krabi sidebar spike — NAVY + GOLD variant
   對齊品牌插圖：深夜藍 #1a1f3a + 古典金 #c9a36b + 米白 #f5efe2
   保留 warm 版的 layout，只 flip palette + 加入中式裝飾語彙
   ============================================================ */

:root {
  /* Brand palette (aligned with illustration) */
  --mow-bg: #f5efe2;            /* 米白 */
  --mow-surface: #fbf7ec;       /* 卡片底，比 bg 再亮一點 */
  --mow-text: #1a1f3a;          /* 深夜藍 — 主文字 */
  --mow-text-soft: #2a3055;     /* 副文字 */
  --mow-muted: #5a5f7a;         /* 灰藍 — meta */
  --mow-accent: #c9a36b;        /* 古典金 — 主強調 */
  --mow-accent-hover: #a78250;
  --mow-accent-deep: #8d6a3c;   /* 深金 */
  --mow-accent-soft: #ede4cf;   /* 金色淡底 */
  --mow-border: #e0d6c0;        /* 米金邊 */
  --mow-stamp: #a64545;         /* 朱印紅 — 極少量 */

  /* Dark block (Newsletter card) — 用品牌主色 navy */
  --mow-dark: #1a1f3a;
  --mow-dark-deeper: #11152a;
  --mow-on-dark: #f5efe2;
  --mow-on-dark-muted: #c9a36b;

  /* Type */
  --mow-font-sans: -apple-system, BlinkMacSystemFont, "Noto Sans TC", "Inter", sans-serif;
  --mow-font-serif: "Noto Serif TC", "Source Han Serif TC", Georgia, serif;

  /* Ghost 5.x admin custom-font hooks (referenced by gscan GS051) */
  --gh-font-heading: var(--mow-font-serif);
  --gh-font-body: var(--mow-font-sans);

  /* Layout */
  --mow-container: 1180px;
  --mow-gap: 32px;
  --mow-sidebar: 340px;
  --mow-radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* 錨點補償 sticky header 高度（60px header + 20px 緩衝） */
#booking { scroll-margin-top: 80px; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--mow-bg);
  color: var(--mow-text);
  font-family: var(--mow-font-sans);
  font-size: 16px;
  line-height: 1.75; /* 中文閱讀友好 (≥1.7); 英文混排在 sans-serif 不會過鬆 */
  -webkit-font-smoothing: antialiased;
}

a { color: var(--mow-text); text-decoration: none; }
a:hover { color: var(--mow-accent-deep); }

img { max-width: 100%; display: block; }

/* ---------- Ornamental divider (modeled after illustration: ✦──◆──✦) ---------- */
.mow-ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mow-accent);
  font-size: 12px;
  margin: 8px 0;
}
.mow-ornament::before,
.mow-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--mow-accent) 40%, var(--mow-accent) 60%, transparent);
}

/* ---------- Site shell ---------- */
.mow-site-header {
  border-bottom: 1px solid var(--mow-border);
  background: var(--mow-bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.mow-site-header__inner {
  max-width: var(--mow-container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.mow-logo {
  font-family: var(--mow-font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center; /* mark + wordmark 垂直置中 */
  gap: 12px;           /* mark ↔ wordmark 間距 */
  text-decoration: none;
}
.mow-logo__mark { flex-shrink: 0; display: block; }
.mow-logo__wordmark { display: block; height: 30px; width: auto; flex-shrink: 0; }
.mow-footer-rich__logo .mow-logo__wordmark { height: 38px; }
.mow-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
.mow-nav a { color: var(--mow-text-soft); font-weight: 500; }
.mow-nav a:hover { color: var(--mow-accent-deep); }

/* ---------- Nav dropdown (扁平 nav → 子選單，由 default.hbs 的 script 重組) ---------- */
.mow-nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mow-nav__item { position: relative; padding: 6px 0; }
.mow-nav__link.is-active { color: var(--mow-accent-deep); }

/* 父項：尾端 SVG chevron，hover/聚焦時翻轉指上（暗示「已展開」） */
.mow-nav__item--has-dropdown > .mow-nav__link::after {
  content: "";
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-left: 5px;
  vertical-align: -0.06em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s ease;
}
.mow-nav__item--has-dropdown:hover > .mow-nav__link::after,
.mow-nav__item--has-dropdown:focus-within > .mow-nav__link::after {
  transform: rotate(180deg);
}

/* 子選單面板：預設隱藏，:hover / :focus-within 才浮出 */
.mow-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 168px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
  border-radius: var(--mow-radius);
  box-shadow: 0 12px 30px rgba(26, 31, 58, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.mow-nav__item--has-dropdown:hover > .mow-nav__dropdown,
.mow-nav__item--has-dropdown:focus-within > .mow-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mow-nav__dropdown .mow-nav__item { padding: 0; }
.mow-nav__dropdown .mow-nav__link {
  display: block;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
}
.mow-nav__dropdown .mow-nav__link:hover,
.mow-nav__dropdown .mow-nav__link:focus {
  background: var(--mow-accent-deep);
  color: #fff;
}
.mow-site-header__cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}
.mow-btn {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.mow-btn--ghost {
  background: transparent;
  color: var(--mow-text);
  border-color: var(--mow-border);
}
.mow-btn--ghost:hover { border-color: var(--mow-text); }
.mow-btn--solid {
  background: var(--mow-text);          /* navy button (品牌主色) */
  color: var(--mow-bg);
}
.mow-btn--solid:hover { background: var(--mow-dark-deeper); color: var(--mow-bg); }
.mow-btn--cta {
  background: var(--mow-cta);           /* CTA 綠 — 主要行動按鈕 */
  color: #fff;
  border-color: var(--mow-cta);
}
.mow-btn--cta:hover { background: var(--mow-cta-deep); color: #fff; }

/* ---------- Byline strip (positioning statement) ---------- */
.mow-byline-strip {
  background: var(--mow-bg);
  border-bottom: 1px solid var(--mow-border);
  padding: 14px 24px;
  text-align: center;
}
.mow-byline-strip__inner {
  max-width: var(--mow-container);
  margin: 0 auto;
  font-family: var(--mow-font-serif);
  font-size: 14.5px;
  color: var(--mow-text-soft);
  letter-spacing: 0.5px;
  line-height: 1.5;
}
.mow-byline-strip .from {
  color: var(--mow-text);
  font-weight: 600;
}
.mow-byline-strip .to {
  color: var(--mow-accent-deep);
  font-weight: 600;
  font-family: "SF Mono", "JetBrains Mono", Menlo, monospace;
  font-size: 13.5px;
  letter-spacing: 1px;
  padding: 0 2px;
}
.mow-byline-strip__divider {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--mow-accent);
  vertical-align: middle;
  margin: 0 12px 3px;
  opacity: 0.6;
}

/* ---------- Hot tags bar ---------- */
.mow-hot-tags {
  border-bottom: 1px solid var(--mow-border);
  background: var(--mow-accent-soft);
}
.mow-hot-tags__inner {
  max-width: var(--mow-container);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  overflow-x: auto;
  white-space: nowrap;
}
.mow-hot-tags__label {
  font-weight: 700;
  color: var(--mow-text);
  letter-spacing: 0.5px;
  font-family: var(--mow-font-serif);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
/* 印章樣式 label */
.mow-stamp-label {
  display: inline-block;
  background: var(--mow-stamp);
  color: var(--mow-bg);
  font-family: var(--mow-font-serif);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 1px;
  line-height: 1.2;
}
.mow-hot-tags a {
  color: var(--mow-text);
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
  border: 1px solid transparent;
}
.mow-hot-tags a:hover {
  border-color: var(--mow-accent);
  color: var(--mow-accent-deep);
}

/* ---------- Two-column layout ---------- */
.mow-shell {
  max-width: var(--mow-container);
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: grid;
  grid-template-columns: 1fr var(--mow-sidebar);
  gap: var(--mow-gap);
}
.mow-main { min-width: 0; }
.mow-sidebar { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Latest card (hero) ---------- */
.mow-latest {
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
  border-radius: var(--mow-radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.mow-latest__cover {
  aspect-ratio: 16 / 8;
  background:
    radial-gradient(circle at 70% 30%, rgba(201, 163, 107, 0.35), transparent 55%),
    linear-gradient(135deg, var(--mow-dark) 0%, var(--mow-dark-deeper) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mow-font-serif);
  font-size: 72px;
  color: var(--mow-accent);
  letter-spacing: 8px;
  text-shadow: 0 0 24px rgba(201, 163, 107, 0.3);
}
.mow-latest__body { padding: 28px 32px 32px; }
.mow-latest__label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mow-accent-deep);
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--mow-font-serif);
}
.mow-latest__title {
  font-family: var(--mow-font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--mow-text);
}
.mow-latest__title .accent { color: var(--mow-accent-deep); }
.mow-latest__excerpt {
  color: var(--mow-muted);
  font-size: 16px;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mow-latest__meta {
  font-size: 13px;
  color: var(--mow-muted);
  display: flex;
  gap: 14px;
  align-items: center;
}

/* ---------- Section heading ---------- */
.mow-section-title {
  font-family: var(--mow-font-serif);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mow-text);
  margin: 32px 0 16px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
/* 筆觸 brush underline — replaces straight border-bottom */
.mow-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background-color: var(--mow-accent);
  -webkit-mask: url('../svg/brush-underline.svg') no-repeat center / 100% 100%;
          mask: url('../svg/brush-underline.svg') no-repeat center / 100% 100%;
  opacity: 0.85;
}
.mow-section-title::before {
  content: "✦";
  color: var(--mow-accent);
  font-size: 12px;
}

/* ---------- 四柱法陣 (Four Pillars Formation) ---------- */
.mow-formation {
  margin: 8px 0 36px;
  position: relative;
}
.mow-formation__title {
  font-family: var(--mow-font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--mow-text);
  margin: 0 0 4px;
  letter-spacing: 2px;
}
.mow-formation__title .accent { color: var(--mow-accent-deep); }
.mow-formation__lede {
  font-size: 13.5px;
  color: var(--mow-muted);
  margin: 0 0 18px;
}
.mow-formation__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.mow-pillar {
  position: relative;
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
  border-radius: var(--mow-radius);
  padding: 18px 18px 18px 84px;
  min-height: 96px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
.mow-pillar:hover {
  transform: translateY(-2px);
  border-color: var(--mow-accent);
  box-shadow: 0 6px 18px rgba(26, 31, 58, 0.08);
}
/* 印章 stamp — 含印泥紋理 */
.mow-pillar__seal {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  width: 52px;
  height: 52px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.22), transparent 55%),
    radial-gradient(circle at 75% 78%, rgba(0,0,0,0.22), transparent 60%),
    var(--mow-stamp);
  color: #f9eee0;
  font-family: var(--mow-font-serif);
  font-weight: 700;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.20),
    inset 0 0 8px rgba(0,0,0,0.22),
    0 2px 6px rgba(0,0,0,0.18);
}
.mow-pillar__name {
  font-family: var(--mow-font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--mow-text);
  margin: 0 0 4px;
  letter-spacing: 1px;
}
.mow-pillar__name .en {
  font-family: var(--mow-font-sans);
  font-size: 11px;
  color: var(--mow-accent-deep);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-left: 8px;
  font-weight: 600;
}
.mow-pillar__desc {
  font-size: 13px;
  color: var(--mow-text-soft);
  margin: 0;
  line-height: 1.55;
}
/* 4 個 pillar 微差異色（朱砂紅微變） */
.mow-pillar--think .mow-pillar__seal    { background-color: #a64545; }
.mow-pillar--strategy .mow-pillar__seal { background-color: #9e3f3f; }
.mow-pillar--ai .mow-pillar__seal       { background-color: #b04a4a; }
.mow-pillar--execute .mow-pillar__seal  { background-color: #984040; }

/* ---------- Post grid ---------- */
.mow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.mow-card {
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
  border-radius: var(--mow-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.mow-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 31, 58, 0.10);
  border-color: var(--mow-accent);
}
.mow-card__cover {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 163, 107, 0.25), transparent 60%),
    var(--mow-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mow-font-serif);
  color: var(--mow-accent);
  font-size: 28px;
  letter-spacing: 2px;
}
.mow-card__body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.mow-card__tag {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mow-accent-deep);
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--mow-font-serif);
}
.mow-card__title {
  font-family: var(--mow-font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
  color: var(--mow-text);
}
.mow-card__excerpt {
  color: var(--mow-muted);
  font-size: 14.5px;
  margin: 0 0 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mow-card__meta {
  font-size: 12px;
  color: var(--mow-muted);
  display: flex;
  gap: 10px;
}

/* ---------- Sidebar widgets ---------- */
.mow-widget {
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
  border-radius: var(--mow-radius);
  padding: 22px 22px 24px;
}
.mow-widget__title {
  font-family: var(--mow-font-serif);
  font-size: 13px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mow-text);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mow-border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mow-widget__title::before {
  content: "✦";
  color: var(--mow-accent);
  font-size: 11px;
}

/* Newsletter card — Krabi signature, NAVY variant (品牌主色) */
.mow-newsletter {
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 163, 107, 0.18), transparent 55%),
    linear-gradient(160deg, var(--mow-dark) 0%, var(--mow-dark-deeper) 100%);
  color: var(--mow-on-dark);
  border-radius: var(--mow-radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
}
/* 法陣浮水印 — SVG 八方位 formation ring，左上主、右下副 */
.mow-newsletter::before {
  content: "";
  position: absolute;
  left: -70px;
  top: -70px;
  width: 280px;
  height: 280px;
  background-color: var(--mow-accent);
  -webkit-mask: url('../svg/formation-ring.svg') no-repeat center / contain;
          mask: url('../svg/formation-ring.svg') no-repeat center / contain;
  opacity: 0.18;
  pointer-events: none;
}
.mow-newsletter::after {
  content: "";
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 140px;
  height: 140px;
  background-color: var(--mow-stamp);
  -webkit-mask: url('../svg/formation-ring.svg') no-repeat center / contain;
          mask: url('../svg/formation-ring.svg') no-repeat center / contain;
  opacity: 0.10;
  pointer-events: none;
  transform: rotate(22.5deg);
}
/* 急急如律令 — signature 細節朱印（縮小，含印泥紋理） */
.mow-newsletter__seal {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 50px;
  height: 50px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(0,0,0,0.18), transparent 60%),
    var(--mow-stamp);
  color: #f9eee0;
  font-family: var(--mow-font-serif);
  font-weight: 700;
  font-size: 11px;
  line-height: 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 3px;
  transform: rotate(6deg);
  letter-spacing: 1px;
  opacity: 0.92;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.18),
    inset 0 0 8px rgba(0,0,0,0.22),
    0 2px 8px rgba(0,0,0,0.25);
  z-index: 3;
}
.mow-newsletter__label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mow-accent);
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}
.mow-newsletter__title {
  font-family: var(--mow-font-serif);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--mow-on-dark);
  position: relative;
}
.mow-newsletter__title .accent { color: var(--mow-accent); }
.mow-newsletter__lede {
  font-size: 14.5px;
  color: rgba(245, 239, 226, 0.75);
  margin: 0 0 18px;
  position: relative;
}
.mow-newsletter__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(201, 163, 107, 0.25);
  background: rgba(255,255,255,0.97);
  color: var(--mow-text);
  font-size: 14px;
  margin-bottom: 10px;
  position: relative;
  font-family: inherit;
}
.mow-newsletter__btn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--mow-accent);
  color: var(--mow-dark);
  font-weight: 700;
  font-size: 14.5px;
  border: none;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  letter-spacing: 1px;
}
.mow-newsletter__btn:hover { background: #d8b07a; }

/* Newsletter form state messages (Ghost members.js 在 form 上加 .success / .error) */
.mow-newsletter__message {
  display: none;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
}
.mow-newsletter__message--success {
  color: #2f5a2f;
  background: rgba(78, 145, 78, 0.12);
}
.mow-newsletter__message--error {
  color: #a64545;
  background: rgba(166, 69, 69, 0.10);
}
.mow-newsletter__form.success .mow-newsletter__message--success { display: block; }
.mow-newsletter__form.error   .mow-newsletter__message--error   { display: block; }
.mow-newsletter__form.loading .mow-newsletter__btn { opacity: 0.6; cursor: wait; }

/* Social row */
.mow-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 8px 0 4px;
}
.mow-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--mow-text-soft);
  background: var(--mow-bg);
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
}
.mow-social a:hover {
  color: var(--mow-accent-deep);
  border-color: var(--mow-accent);
  background: var(--mow-accent-soft);
}

/* Featured posts widget */
.mow-featured-list { list-style: none; margin: 0; padding: 0; }
.mow-featured-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mow-border);
}
.mow-featured-item:last-child { border-bottom: none; padding-bottom: 0; }
.mow-featured-item:first-child { padding-top: 0; }
.mow-featured-item__thumb {
  width: 54px;
  height: 72px;
  flex-shrink: 0;
  background: url('../svg/talisman.svg') no-repeat center / contain;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
  box-sizing: border-box;
  font-family: var(--mow-font-serif);
  color: var(--mow-text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.25s ease;
}
/* 手放感微旋轉 — 4 個 item 各自不同角度 */
.mow-featured-item:nth-child(1) .mow-featured-item__thumb { transform: rotate(-2.5deg); }
.mow-featured-item:nth-child(2) .mow-featured-item__thumb { transform: rotate(1.5deg); }
.mow-featured-item:nth-child(3) .mow-featured-item__thumb { transform: rotate(-1deg); }
.mow-featured-item:nth-child(4) .mow-featured-item__thumb { transform: rotate(2deg); }
.mow-featured-item:hover .mow-featured-item__thumb { transform: rotate(0deg) scale(1.04); }
.mow-featured-item__body { flex: 1; min-width: 0; }
.mow-featured-item__title {
  font-family: var(--mow-font-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
  color: var(--mow-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mow-featured-item__meta { font-size: 12px; color: var(--mow-muted); }

/* Tag cloud widget */
.mow-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.mow-tagcloud a {
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--mow-bg);
  border: 1px solid var(--mow-border);
  color: var(--mow-text-soft);
  font-family: var(--mow-font-serif);
}
.mow-tagcloud a:hover {
  border-color: var(--mow-accent);
  color: var(--mow-accent-deep);
  background: var(--mow-accent-soft);
}

/* ---------- Post page ---------- */
.mow-post {
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
  border-radius: var(--mow-radius);
  padding: 48px 56px 56px;
  position: relative;
}
.mow-post::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 80px;
  height: 3px;
  background: var(--mow-accent);
  transform: translateX(-50%);
}
.mow-post__meta-top {
  font-family: var(--mow-font-serif);
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--mow-accent-deep);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mow-post__meta-top::before {
  content: "✦";
  color: var(--mow-accent);
}
.mow-post__title {
  font-family: var(--mow-font-serif);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--mow-text);
}
.mow-post__title .accent { color: var(--mow-accent-deep); }
.mow-post__byline {
  font-size: 14px;
  color: var(--mow-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mow-border);
}
.mow-post__content {
  font-size: 17px;
  line-height: 1.85;
  color: #2a2f4a;
  max-width: 680px;
}
.mow-post__content p { margin: 0 0 1.2em; }
.mow-post__content h2 {
  font-family: var(--mow-font-serif);
  font-size: 26px;
  margin: 2em 0 0.6em;
  color: var(--mow-text);
}
.mow-post__content h3 {
  font-family: var(--mow-font-serif);
  font-size: 21px;
  margin: 1.8em 0 0.5em;
  color: var(--mow-text);
}
.mow-post__content blockquote {
  border-left: 3px solid var(--mow-accent);
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  color: var(--mow-text-soft);
  font-style: italic;
  background: var(--mow-accent-soft);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
}
.mow-post__content code {
  background: var(--mow-accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--mow-accent-deep);
}

/* ---------- Footer ---------- */
.mow-footer {
  border-top: 1px solid var(--mow-border);
  background: var(--mow-bg);
  padding: 36px 24px;
  font-size: 13px;
  color: var(--mow-muted);
  text-align: center;
}
.mow-footer__seal {
  display: inline-block;
  background: var(--mow-stamp);
  color: var(--mow-bg);
  font-family: var(--mow-font-serif);
  font-size: 10px;
  padding: 2px 6px;
  margin: 0 4px;
  border-radius: 2px;
  letter-spacing: 1px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .mow-shell {
    grid-template-columns: 1fr;
    padding: 28px 18px 60px;
  }
  .mow-sidebar { order: 2; }
  .mow-grid { grid-template-columns: 1fr; }
  .mow-formation__grid { grid-template-columns: 1fr; }
  .mow-latest__title { font-size: 26px; }
  .mow-latest__body { padding: 22px 22px 24px; }
  .mow-latest__cover { font-size: 48px; }
  .mow-post { padding: 32px 24px 40px; }
  .mow-post__title { font-size: 28px; }
  .mow-nav { display: none; }
  .mow-site-header__cta .mow-btn--signin { display: none; } /* 只藏「登入」；保留會員「帳號」入口 */
}

/* page.hbs 用 single 變體：取消 sidebar 欄，內容置中 */
.mow-shell--single {
  grid-template-columns: 1fr;
  max-width: 820px;
}

/* page-landing.hbs：無標題 landing page，全寬讓 mow-fullbleed 接管 */
.mow-landing { width: 100%; }
.mow-landing__content { width: 100%; }

/* Koenig 寬版圖在 desktop 2-col 收進 .mow-main，避免跨進 sidebar */
@media (min-width: 961px) {
  .mow-main .kg-width-full,
  .mow-main .kg-width-wide {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    transform: none;
  }
}

/* 雲紋分隔 — 主要區段之間 */
.mow-cloud-divider {
  display: block;
  width: 100%;
  max-width: 360px;
  height: 28px;
  margin: 40px auto;
  background-color: var(--mow-accent);
  -webkit-mask: url('../svg/cloud-ribbon.svg') no-repeat center / contain;
          mask: url('../svg/cloud-ribbon.svg') no-repeat center / contain;
  opacity: 0.55;
}
.mow-cloud-divider--inline {
  max-width: 220px;
  height: 20px;
  margin: 32px auto 8px;
  opacity: 0.38;
}

/* ===== 四柱 Chip (post.hbs primary_tag indicator) ===== */
.mow-pillar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
  margin-bottom: 16px;
  color: #fff;
  background: #6b6f7a;
}
.mow-pillar-chip--judge   { background: #a64545; }  /* 判 朱紅 */
.mow-pillar-chip--plan    { background: #1a1f3a; }  /* 謀 深藍 */
.mow-pillar-chip--build   { background: #c9a36b; color: #1a1f3a; }  /* 行 金 */
.mow-pillar-chip--reflect { background: #6b6f7a; }  /* 省 雲灰 */

/* ============================================
   Koenig Editor Support (Ghost 5.x required classes)
   gscan 必修：wide/full image、gallery、bookmark card
   ============================================ */

/* Wide / Full width images */
.gh-content .kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 1040px;
  margin-left: 50%;
  transform: translateX(-50%);
}
.gh-content .kg-width-full {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.gh-content .kg-width-full img { width: 100%; }

/* Gallery cards */
.kg-gallery-container {
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  width: 85vw;
  margin: 0 auto;
}
.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.kg-gallery-image img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}
.kg-gallery-row:not(:first-of-type) { margin: 0.75em 0 0 0; }
.kg-gallery-image:not(:first-of-type) { margin: 0 0 0 0.75em; }

/* Bookmark cards */
.kg-bookmark-card,
.kg-bookmark-publisher {
  position: relative;
  width: 100%;
}
.kg-bookmark-container,
.kg-bookmark-container:hover {
  display: flex;
  color: var(--mow-ink, #1a1f3a);
  background: #fff;
  font-family: inherit;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(26, 31, 58, 0.12);
  overflow: hidden;
}
.kg-bookmark-content {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  flex-basis: 100%;
  align-items: flex-start;
  justify-content: start;
  padding: 20px;
}
.kg-bookmark-title {
  font-size: 1rem;
  line-height: 1.5em;
  font-weight: 600;
  color: var(--mow-ink, #1a1f3a);
}
.kg-bookmark-description {
  display: -webkit-box;
  overflow-y: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.5em;
  color: rgba(26, 31, 58, 0.7);
  font-weight: 400;
}
.kg-bookmark-thumbnail {
  position: relative;
  flex-grow: 1;
  min-width: 33%;
}
.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0 4px 4px 0;
}
.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  margin-top: 14px;
  color: rgba(26, 31, 58, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
  flex-wrap: wrap;
}
.kg-bookmark-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.kg-bookmark-author { font-weight: 600; }
.kg-bookmark-author:after {
  content: "•";
  margin: 0 6px;
}

/* ---------- Error page (404 / 500) ---------- */
.mow-error {
  max-width: var(--mow-container);
  margin: 0 auto;
  padding: 64px 24px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.mow-error__text { min-width: 0; }
.mow-error__title {
  font-family: var(--mow-font-serif);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.2;
  margin: 16px 0 24px;
  color: var(--mow-text);
}
.mow-error__lede {
  font-size: 17px;
  line-height: 1.85;
  color: var(--mow-text-soft);
  margin: 0 0 32px;
}
.mow-error__cta { margin-top: 8px; }
.mow-error__art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--mow-radius);
}
@media (max-width: 960px) {
  .mow-error {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px 64px;
  }
  .mow-error__art { order: -1; max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   Page Components — reusable content blocks
   Used in Ghost pages/posts via Lexical html card.
   Class prefix: mow-  (same namespace as theme)
   CTA/active accent: --mow-cta (defaults to gold; override if needed)
   Ink dark card: --mow-ink
   ============================================================ */

:root {
  --mow-ink: #3d3a36;          /* 暖黑 — mow-card-ink 背景 */
  --mow-cta: #5e8b6e;          /* CTA 綠 — sage green，行動色專用 */
  --mow-cta-deep: #4a6f57;
  --mow-cta-soft: #e3ede5;
}

/* ---------- mow-fullbleed (breakout wrapper) ----------
   padding-inline 讓 fullbleed 自己提供 1120 置中 band；
   所有子元素 margin-inline: 0，左緣統一對齊 band 左緣。
   max(24px, ...) 確保窄螢幕有 24px 最小邊距。
   -------------------------------------------------------- */
.mow-fullbleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  padding-inline: max(24px, calc((100% - 1120px) / 2));
}
.mow-fullbleed > * {
  max-width: 1120px;
  margin-inline: 0;
}

/* ---------- mow-block-grid (icon card grid) ---------- */
.mow-block-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  padding: 40px 0;
}
.mow-block-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.mow-block-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.mow-block-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.mow-block-card {
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
  border-radius: var(--mow-radius);
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mow-block-card:hover {
  border-color: var(--mow-cta);
  box-shadow: 0 6px 20px rgba(26, 31, 58, 0.08);
}
.mow-block-card--active {
  border-color: var(--mow-cta);
  box-shadow: 0 0 0 2px var(--mow-cta-soft);
}
.mow-block-card__icon {
  display: flex;
  align-items: center;
  color: var(--mow-cta);
}
.mow-block-card__icon svg {
  width: 28px;
  height: 28px;
  color: currentColor;
}
.mow-block-card__title {
  font-family: var(--mow-font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--mow-text);
  margin: 0;
}
.mow-block-card__desc {
  font-size: 14.5px;
  color: var(--mow-muted);
  margin: 0;
  line-height: 1.65;
}

/* ---------- mow-quote-grid (testimonial / quote cards) ---------- */
.mow-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 0;
}
.mow-quote-card {
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
  border-radius: var(--mow-radius);
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.mow-quote-card__icon {
  color: var(--mow-cta);
}
.mow-quote-card__icon svg {
  width: 24px;
  height: 24px;
  color: currentColor;
}
.mow-quote-card blockquote {
  font-family: var(--mow-font-serif);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--mow-text);
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-style: normal;
}
.mow-quote-card figcaption {
  font-size: 13px;
  color: var(--mow-muted);
  margin-top: auto;
}

/* ---------- mow-split (two-column alternating) ---------- */
.mow-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 48px 0;
}
.mow-split--flip .mow-split__text { order: 2; }
.mow-split--flip .mow-split__visual { order: 1; }

/* 相鄰 split 之間自動加細線分隔，不用改內容 */
.mow-split + .mow-split {
  border-top: 1px solid var(--mow-border);
  margin-top: 64px;
  padding-top: 64px;
}

.mow-split__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mow-split__text h2,
.mow-split__text h3 {
  font-family: var(--mow-font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--mow-text);
  margin: 0;
  line-height: 1.3;
}
.mow-split__text p {
  font-size: 16px;
  color: var(--mow-text-soft);
  margin: 0;
  line-height: 1.75;
}

.mow-split__visual {
  min-height: 280px;
}

/* ---------- mow-card-ink (dark warm-black card) ---------- */
.mow-card-ink {
  background: var(--mow-ink);
  border-radius: var(--mow-radius);
  padding: 32px;
  color: var(--mow-bg);
}
.mow-card-ink__label {
  font-family: var(--mow-font-serif);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mow-cta);
  font-weight: 700;
  margin: 0 0 16px;
}
.mow-ink-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(245, 239, 226, 0.7);
}
.mow-ink-list li { padding: 8px 12px; border-radius: 6px; }
.mow-ink-list li.is-done {
  text-decoration: line-through;
  opacity: 0.5;
}
.mow-ink-list li.is-current {
  background: rgba(201, 163, 107, 0.15);
  color: var(--mow-cta);
  font-weight: 600;
}

/* ---------- Shared small components ---------- */

/* mow-checklist: ✓ list */
.mow-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: var(--mow-text-soft);
}
.mow-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mow-checklist li::before {
  content: "✓";
  color: var(--mow-cta);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* mow-btn-outline: outlined CTA button */
.mow-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1.5px solid var(--mow-cta);
  color: var(--mow-cta-deep);
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
  align-self: flex-start;
}
.mow-btn-outline:hover {
  background: var(--mow-cta);
  color: var(--mow-dark);
}

/* ---------- mow-flip-card (hover flip, mobile static fallback) ---------- */
.mow-flip-card {
  perspective: 1000px;
  height: 280px;
}
.mow-flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .45s ease;
  transform-style: preserve-3d;
}
.mow-flip-card__front,
.mow-flip-card__back {
  position: absolute;
  inset: 0;
  border-radius: var(--mow-radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mow-flip-card__front {
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
}
.mow-flip-card__back {
  background: var(--mow-ink);
  color: var(--mow-bg);
  transform: rotateY(180deg);
}

/* grid 裡使用：高度跟隨 grid row，最低 280px */
.mow-block-grid .mow-flip-card { height: 100%; min-height: 280px; }
.mow-block-grid { align-items: stretch; }

/* 桌機：hover 觸發翻轉 */
@media (hover: hover) {
  .mow-flip-card:hover .mow-flip-card__inner {
    transform: rotateY(180deg);
  }
}

/* 手機：取消 3D，front+back 改成垂直堆疊靜態顯示 */
@media (hover: none), (max-width: 600px) {
  .mow-flip-card {
    height: auto;
    perspective: none;
  }
  .mow-flip-card__inner {
    transform: none !important;
    transform-style: flat;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mow-flip-card__front,
  .mow-flip-card__back {
    position: static;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform: none;
  }
}

/* ---------- mow-section-head (section title inside fullbleed, left-aligned) ---------- */
.mow-section-head {
  padding: 40px 0 20px;
  max-width: 720px;
}
.mow-section-head h2,
.mow-section-head h3 {
  font-family: var(--mow-font-serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--mow-text);
  margin: 0 0 8px;
  line-height: 1.25;
}
.mow-section-head p {
  font-size: 15.5px;
  color: var(--mow-muted);
  margin: 0;
  line-height: 1.65;
}

/* ---------- mow-hero (page hero block, left-aligned) ---------- */
.mow-hero {
  padding: 56px 0 48px;
  /* max-width 拿掉，讓標題跟 fullbleed band 同寬（最寬 1120），不折行 */
}
.mow-hero__eyebrow {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mow-cta);
  margin: 0 0 14px;
  font-family: var(--mow-font-serif);
}
.mow-hero__title {
  font-family: var(--mow-font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--mow-text);
  margin: 0 0 18px;
}
.mow-hero__desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--mow-text-soft);
  margin: 0 0 28px;
  max-width: 600px; /* 內文保持窄欄可讀性，標題不限 */
}

/* ---------- mow-cta-band (footer action strip, left-aligned) ---------- */
.mow-cta-band {
  padding: 56px 0 64px;
  border-top: 1px solid var(--mow-border);
  /* max-width 拿掉，title 可單行；內文由 __title max-width 控制 */
}
.mow-cta-band__title {
  max-width: 720px; /* 限制 CTA 標題行長，避免過寬 */
}
.mow-cta-band__eyebrow {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--mow-muted);
  margin: 0 0 12px;
  font-family: var(--mow-font-serif);
}
.mow-cta-band__title {
  font-family: var(--mow-font-serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--mow-text);
  margin: 0 0 24px;
}

/* ---------- mow-btn-solid (solid CTA, --mow-cta green fill) ---------- */
.mow-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--mow-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s ease;
  align-self: flex-start;
}
.mow-btn-solid:hover { background: var(--mow-cta-deep); color: #fff; }

/* ---------- Page Component RWD ---------- */
@media (max-width: 960px) {
  .mow-block-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .mow-block-grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
  .mow-quote-grid { grid-template-columns: 1fr; }
  .mow-split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }
  .mow-split--flip .mow-split__text,
  .mow-split--flip .mow-split__visual { order: unset; }
}
@media (max-width: 600px) {
  .mow-block-grid--cols-4,
  .mow-block-grid--cols-3,
  .mow-block-grid--cols-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Rich Footer (mow-footer-rich)
   深色 --mow-ink 底，Grid：左品牌欄 + 右 3 連結欄
   ============================================================ */
.mow-footer-rich {
  background: var(--mow-ink);
  color: #bdc4bb;
  margin-top: 80px;
}
.mow-footer-rich__inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px; /* 不用 band formula：已有 max-width，雙重限制會壓爆欄寬 */
  padding-block: 64px 32px;
}
.mow-footer-rich__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* 品牌區 */
.mow-footer-rich__logo .mow-logo__a { color: #e8e2d6; }
.mow-footer-rich__logo .mow-logo__b { color: #e0bd5a; } /* 深底提亮金，視覺同 header D4AF37 */
.mow-footer-rich__zh-name {
  margin: 4px 0 0;
  font-size: 12px;
  color: #5a6458;
  letter-spacing: .05em;
}
.mow-footer-rich__tagline {
  margin: 8px 0 24px;
  font-size: 14px;
  color: #8a9288;
}

/* 電子報表單 */
.mow-footer-rich__subscribe {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  max-width: 320px;
}
.mow-footer-rich__subscribe-input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: rgba(255,255,255,.07);
  color: #e8e2d6;
  font-size: 14px;
  font-family: var(--mow-font-sans);
}
.mow-footer-rich__subscribe-input::placeholder { color: #5a6458; }
.mow-footer-rich__subscribe-input:focus {
  outline: none;
  border-color: var(--mow-cta);
}
.mow-footer-rich__subscribe-btn {
  padding: 9px 16px;
  background: var(--mow-cta);
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.mow-footer-rich__subscribe-btn:hover { background: var(--mow-cta-deep); }
.mow-footer-rich__subscribed a {
  color: var(--mow-cta);
  font-size: 14px;
  text-decoration: none;
}

/* 社群圖示 */
.mow-footer-rich__social {
  display: flex;
  gap: 16px;
}
.mow-footer-rich__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #7a8478;
  text-decoration: none;
  transition: color .15s;
}
.mow-footer-rich__social a:hover { color: var(--mow-cta); }
.mow-footer-rich__social svg { width: 20px; height: 20px; }

/* 連結欄 */
.mow-footer-rich__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mow-footer-rich__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #e8e2d6;
  margin: 0 0 16px;
}
.mow-footer-rich__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mow-footer-rich__links a {
  color: #8a9288;
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
}
.mow-footer-rich__links a:hover { color: #e8e2d6; }

/* 底部列 */
.mow-footer-rich__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.mow-footer-rich__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.mow-footer-rich__legal a {
  color: #5a6458;
  font-size: 13px;
  text-decoration: none;
  transition: color .15s;
}
.mow-footer-rich__legal a:hover { color: #8a9288; }
.mow-footer-rich__copy {
  font-size: 13px;
  color: #5a6458;
}

/* ---------- page-tools-guide ---------- */
.mow-tools-guide__list {
  max-width: 1200px;
  margin-inline: auto;
  padding: 32px 24px 80px;
}
.mow-tools-guide__empty {
  color: var(--mow-muted);
  text-align: center;
  padding: 48px 0;
  font-size: 15px;
}

/* ============================================================
   FAQ Accordion (.mow-faq-grid / .mow-faq-card / .mow-faq__item)
   原生 <details>/<summary>，零 JS
   ============================================================ */
.mow-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start; /* 兩欄卡片各自高度，不互相拉齊 */
}
.mow-faq-card {
  background: var(--mow-surface);
  border: 1px solid var(--mow-border);
  border-radius: 14px;
  padding: 28px 32px;
}
.mow-faq-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--mow-ink);
  margin: 0 0 4px;
}
.mow-faq__item { border-bottom: 1px solid var(--mow-border); }
.mow-faq__item:last-child { border-bottom: none; }
summary.mow-faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--mow-ink);
  transition: color .15s;
}
summary.mow-faq__q::-webkit-details-marker { display: none; }
summary.mow-faq__q::after {
  content: "+";
  color: var(--mow-cta);
  font-size: 22px;
  line-height: 1;
  flex: none;
  font-weight: 400;
}
details[open] summary.mow-faq__q::after { content: "−"; }
summary.mow-faq__q:hover { color: var(--mow-cta); }
.mow-faq__a {
  padding: 0 0 18px;
  color: #6a6a6a;
  line-height: 1.75;
  font-size: 14.5px;
  animation: mow-faq-fadein .2s ease;
}
@keyframes mow-faq-fadein {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 720px) {
  .mow-faq-grid { grid-template-columns: 1fr; }
}

/* Rich Footer RWD */
@media (max-width: 960px) {
  .mow-footer-rich__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mow-footer-rich__subscribe { max-width: 100%; }
}
@media (max-width: 600px) {
  .mow-footer-rich__nav { grid-template-columns: repeat(2, 1fr); }
  .mow-footer-rich__bottom { flex-direction: column; align-items: flex-start; }
}
