/* 覺·視界 VisiOn — 部落格共用樣式 */
:root {
  --base: #F6EFE4; --base-deep: #EFE5D4;
  --sage: #8A9A82; --clay: #C99A6E; --gold: #BE9A57;
  --ink: #3D3A33; --ink-soft: #6E685D; --white-warm: #FBF7F0;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans TC", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(80% 50% at 80% 0%, rgba(201,154,110,.12) 0%, rgba(201,154,110,0) 55%),
    linear-gradient(180deg, var(--white-warm) 0%, var(--base) 30%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.9;
}

/* top bar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 6vw, 64px);
  max-width: 1100px; margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: "Noto Serif TC", serif; font-weight: 700;
  font-size: 1.16rem; letter-spacing: .14em; color: var(--ink); text-decoration: none;
}
.brand-mark { width: 36px; height: 36px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand small { display: block; font-weight: 300; font-size: .54rem; letter-spacing: .42em; color: var(--sage); margin-top: 2px; }
.back { font-size: .9rem; color: var(--ink-soft); text-decoration: none; transition: color .3s var(--ease); }
.back:hover { color: var(--gold); }

/* article */
article {
  max-width: 720px;
  margin: clamp(20px, 4vw, 40px) auto clamp(60px, 9vw, 110px);
  padding: 0 clamp(20px, 6vw, 32px);
}
.crumb { font-size: .8rem; letter-spacing: .12em; color: var(--clay); margin-bottom: 20px; }
.crumb a { color: var(--clay); text-decoration: none; }
article > h1 {
  font-family: "Noto Serif TC", serif; font-weight: 700;
  font-size: clamp(1.8rem, 4.2vw, 2.6rem); line-height: 1.45; letter-spacing: .01em; color: var(--ink);
}
.byline {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0 8px; padding-bottom: 26px;
  border-bottom: 1px solid rgba(138,154,130,.3);
  font-size: .9rem; color: var(--ink-soft);
}
.byline .av {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Noto Serif TC", serif; color: var(--white-warm);
  background: var(--sage); font-size: 1rem;
}
.byline b { color: var(--ink); font-weight: 500; }
.byline .dot { opacity: .5; }

article p { margin: 20px 0; font-weight: 300; font-size: 1.06rem; color: #4a463d; }
article h2 {
  font-family: "Noto Serif TC", serif; font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem); color: var(--ink); margin: 48px 0 6px; padding-top: 8px;
}
article h3 {
  font-family: "Noto Serif TC", serif; font-weight: 500;
  font-size: 1.18rem; color: var(--ink); margin: 30px 0 4px;
}
article strong { color: var(--ink); font-weight: 500; }
article em { font-style: normal; color: var(--clay); }

article ul, article ol { margin: 20px 0 20px 1.3em; }
article li { margin: 12px 0; font-weight: 300; font-size: 1.04rem; padding-left: 6px; color: #4a463d; }
article ul li::marker { color: var(--sage); }
article ol li::marker { color: var(--gold); font-weight: 700; }
article li strong { color: var(--ink); }

/* definition box (GEO) — 來自首段 blockquote */
.def {
  margin: 30px 0; padding: 22px 26px;
  background: rgba(190,154,87,.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  font-size: 1.04rem; line-height: 1.95; color: #4a463d;
}
.def strong { color: var(--gold); }

/* table */
.tablewrap { margin: 28px 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: rgba(251,247,240,.6); border-radius: 14px; overflow: hidden; font-size: .98rem; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; }
thead th { background: rgba(138,154,130,.18); font-weight: 500; color: var(--ink); font-family: "Noto Serif TC", serif; }
tbody th { font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
tbody tr + tr td, tbody tr + tr th { border-top: 1px solid rgba(138,154,130,.2); }
td:last-child { color: var(--clay); }

hr { border: none; height: 1px; background: linear-gradient(90deg, transparent, rgba(138,154,130,.45), transparent); margin: 46px 0; }

/* soft CTA (auto) */
.cta {
  margin: 46px 0 10px; padding: 30px 32px;
  background: linear-gradient(150deg, rgba(138,154,130,.14), rgba(190,154,87,.1));
  border: 1px solid rgba(138,154,130,.28); border-radius: 20px; text-align: center;
}
.cta p { margin: 0 0 18px; font-size: 1.04rem; color: #4a463d; }
.cta a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; background: var(--sage); color: var(--white-warm);
  border-radius: 999px; text-decoration: none; font-weight: 500; letter-spacing: .04em;
  box-shadow: 0 14px 30px -14px rgba(138,154,130,.7);
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.cta a:hover { transform: translateY(-2px); background: #7C8C74; }

.related { margin-top: 36px; font-size: .94rem; color: var(--ink-soft); }
.related b { color: var(--ink); font-weight: 500; }
.related a { color: var(--clay); text-decoration: none; }
.related a:hover { color: var(--gold); }
.sign { margin-top: 30px; font-family: "Noto Serif TC", serif; color: var(--ink-soft); font-size: .96rem; letter-spacing: .04em; }

/* ===== blog index ===== */
.idx { max-width: 1040px; margin: 0 auto clamp(70px, 10vw, 120px); padding: 0 clamp(20px, 6vw, 40px); }
.idx-head { text-align: center; max-width: 600px; margin: clamp(20px,4vw,40px) auto clamp(40px,6vw,64px); }
.idx-head .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; letter-spacing: .28em; color: var(--clay); font-weight: 500; margin-bottom: 18px;
}
.idx-head .eyebrow::before, .idx-head .eyebrow::after { content: ""; width: 30px; height: 1px; background: var(--clay); }
.idx-head h1 { font-family: "Noto Serif TC", serif; font-weight: 700; font-size: clamp(1.9rem,4vw,2.7rem); color: var(--ink); line-height: 1.4; }
.idx-head p { margin-top: 16px; font-weight: 300; color: var(--ink-soft); line-height: 1.9; }

.pillar { margin-top: clamp(40px, 5vw, 60px); }
.pillar > h2 {
  display: flex; align-items: center; gap: 16px;
  font-family: "Noto Serif TC", serif; font-weight: 700; font-size: 1.3rem; color: var(--ink); margin-bottom: 22px;
}
.pillar > h2::after { content: ""; flex: 1; height: 1px; background: rgba(138,154,130,.3); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; padding: 26px 24px;
  background: rgba(251,247,240,.66); border: 1px solid rgba(138,154,130,.24);
  border-radius: 18px; text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--sage) 50%, transparent); box-shadow: 0 22px 40px -22px rgba(138,154,130,.6); }
.card .no { font-family: "Noto Serif TC", serif; font-size: .9rem; color: var(--gold); letter-spacing: .1em; }
.card h3 { font-family: "Noto Serif TC", serif; font-weight: 700; font-size: 1.18rem; line-height: 1.5; color: var(--ink); margin-top: 8px; }
.card .ex { margin-top: 12px; font-weight: 300; font-size: .9rem; line-height: 1.8; color: var(--ink-soft); flex: 1; }
.card .more { margin-top: 16px; font-size: .86rem; color: var(--sage); }
