/* ============================================================
   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, 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: baseline;
  gap: 2px;
}
.mow-logo__a { color: var(--mow-text); }     /* 魔法 — navy */
.mow-logo__b { color: var(--mow-accent); }   /* 上班族 — gold */
.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); }
.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); }

/* ---------- 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;
}

/* 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; }
}
