/* 人工智慧金融配套網站 — 共用樣式
   配色：深藍 #1f3a5f、青綠 #2a7f8f、橘 #d98a2b
   字型：標題 Noto Serif TC（思源宋體）、內文 Noto Sans TC（思源黑體） */

:root {
  --navy: #1f3a5f;
  --navy-deep: #18304f;
  --teal: #2a7f8f;
  --teal-light: #e7f1f3;
  --orange: #d98a2b;
  --orange-light: #fbf1e3;
  --ink: #1d2733;
  --muted: #5b6675;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --wrap: 1120px;
  --read: 720px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: .01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.35; margin: 0; color: var(--ink); }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--teal); text-transform: uppercase;
}
.meta { font-size: 13.5px; color: var(--muted); }
.meta .dot { margin: 0 .45em; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- 頁首 ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--serif); font-size: 21px; font-weight: 700; text-decoration: none; letter-spacing: .06em; color: var(--ink); }
.brand span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"] { font-weight: 700; }
.btn {
  display: inline-block; background: var(--navy); color: #fff !important; text-decoration: none;
  font-size: 15px; font-weight: 500; padding: 9px 18px; border-radius: 2px; border: 0; cursor: pointer;
  font-family: var(--sans);
}
.btn:hover { background: var(--navy-deep); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- 文字連結（底線箭頭） ---------- */
.link-arrow {
  display: inline-block; font-weight: 700; text-decoration: none; color: var(--ink);
  border-bottom: 2px solid var(--teal); padding-bottom: 4px;
}
.link-arrow:hover { color: var(--teal); }

/* ---------- 首頁主視覺 ---------- */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 46px; margin: 18px 0 22px; letter-spacing: .02em; }
.hero p.lead { color: var(--muted); font-size: 16.5px; max-width: 30em; margin-bottom: 34px; }
.hero-art { aspect-ratio: 4 / 3; background: var(--navy); }
.hero-art svg { width: 100%; height: 100%; display: block; }

/* ---------- 區塊標題 ---------- */
.section { padding: 64px 0; }
.section-title { font-size: 30px; margin-bottom: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; gap: 16px; }
.section-head .section-title { margin-bottom: 0; }
.section-head a { font-size: 15px; color: var(--teal); text-decoration: none; font-weight: 500; white-space: nowrap; }

/* ---------- 最新專欄：大卡片＋標題清單 ---------- */
.latest { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.feature a { text-decoration: none; }
.cover { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.cover svg { width: 100%; height: 100%; display: block; }
.feature .cover { margin-bottom: 22px; transition: opacity .2s; }
.feature a:hover .cover { opacity: .92; }
.feature .tag-line { margin-bottom: 10px; }
.feature h3 { font-size: 30px; margin-bottom: 12px; }
.feature a:hover h3 { color: var(--teal); }
.feature .summary { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }

.tag-line { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; color: var(--teal); }
.tag-line .sep { margin: 0 .5em; color: #9fb4bb; }

.title-list .eyebrow { display: block; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.title-list ol { list-style: none; margin: 0; padding: 0; }
.title-list li { border-bottom: 1px solid var(--line); padding: 18px 0; }
.title-list li a, .title-list li .t { font-weight: 700; font-size: 16.5px; text-decoration: none; line-height: 1.55; display: block; }
.title-list li a:hover { color: var(--teal); }
.title-list li .t { color: var(--ink); }
.title-list li .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 400; }
.soon { display: inline-block; font-size: 12px; font-weight: 700; color: var(--orange); border: 1px solid var(--orange); padding: 0 7px; border-radius: 2px; margin-right: 8px; letter-spacing: .05em; line-height: 1.7; vertical-align: 1px; }

/* ---------- 依主題閱讀 ---------- */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.topic { text-decoration: none; display: block; }
.topic .cover { margin-bottom: 18px; }
.topic h3 { font-size: 20px; margin: 8px 0 6px; }
.topic p { font-size: 14.5px; color: var(--muted); }
.topic:hover h3 { color: var(--teal); }

/* ---------- 電子報橫幅 ---------- */
.newsletter { background: var(--navy); color: #fff; padding: 56px 0; }
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.newsletter p { color: #c9d5e2; font-size: 15.5px; }
.sub-form { display: flex; width: 100%; max-width: 440px; justify-self: end; }
.sub-form input {
  flex: 1; min-width: 0; border: 0; padding: 14px 16px; font-size: 15px; font-family: var(--sans);
  border-radius: 0; color: var(--ink); background: #fff;
}
.sub-form button {
  border: 0; background: var(--teal); color: #fff; font-weight: 700; font-size: 15px;
  padding: 0 26px; cursor: pointer; font-family: var(--sans);
}
.sub-form button:hover { background: #23707e; }
.sub-note { font-size: 13px; color: #c9d5e2; margin-top: 10px; min-height: 1.4em; }
.sub-note a { color: #fff; }
.newsletter .form-col { justify-self: end; width: 100%; max-width: 440px; }

/* ---------- 五篇 16 章 ---------- */
.parts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.part { padding: 22px 20px 6px 0; }
.part .eyebrow { letter-spacing: .1em; font-size: 12.5px; }
.part h3 { font-size: 18px; margin: 8px 0 6px; }
.part p { font-size: 13px; color: var(--muted); }

/* ---------- 頁尾 ---------- */
.site-footer { background: var(--bg-soft); padding: 34px 0; margin-top: 0; font-size: 13.5px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer .links a + a::before { content: "·"; margin: 0 .6em; color: #a0a8b3; }

/* ---------- 專欄列表頁 ---------- */
.page-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 40px; margin: 14px 0 14px; }
.page-head p { color: var(--muted); max-width: 40em; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0 8px; }
.filters button {
  font-family: var(--sans); font-size: 14px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.filters button:hover { border-color: var(--teal); color: var(--teal); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.col-list { list-style: none; margin: 0; padding: 0 0 40px; }
.col-item { display: grid; grid-template-columns: 300px 1fr; gap: 36px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.col-item a { text-decoration: none; }
.col-item h2 { font-size: 24px; margin: 10px 0 10px; }
.col-item a:hover h2 { color: var(--teal); }
.col-item .summary { color: var(--muted); font-size: 15.5px; margin-bottom: 10px; }
.col-item.upcoming .cover { opacity: .55; }
.col-item.upcoming h2 { color: #4a5563; }
.col-item[hidden] { display: none; }

/* ---------- 文章頁 ---------- */
.article-head { padding: 60px 0 36px; }
.article-head .inner, .article-body, .article-foot { max-width: var(--read); margin: 0 auto; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.article-head h1 { font-size: 38px; margin: 14px 0 20px; letter-spacing: .01em; }
.article-head .dek { font-size: 18.5px; color: #3c4756; line-height: 1.85; margin-bottom: 22px; }
.article-head .byline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.article-cover { max-width: 960px; margin: 0 auto 48px; padding: 0 24px; }

.article-body { font-size: 18px; line-height: 1.95; }
.article-body > * + * { margin-top: 1.25em; }
.article-body h2 { font-size: 25px; margin-top: 2.2em; padding-top: .2em; }
.article-body h2 + * { margin-top: .8em; }
.article-body ol, .article-body ul { padding-left: 1.4em; }
.article-body li + li { margin-top: .6em; }
.article-body a { color: var(--teal); text-underline-offset: 3px; }
.article-body strong { color: var(--navy); }
.insight {
  border-left: 3px solid var(--orange); background: var(--orange-light);
  padding: 16px 20px; font-size: 16.5px; line-height: 1.85;
}
.insight b { color: #a8641a; font-weight: 700; margin-right: .3em; }
.figure { margin: 2.2em 0 !important; }
.figure img { border: 1px solid var(--line); margin: 0 auto; max-width: 560px; width: 100%; }
.figure figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.6; }

.article-foot { padding: 12px 0 0; }
.book-note {
  margin: 48px 0 0; padding: 22px 24px; background: var(--teal-light);
  border-top: 3px solid var(--teal); font-size: 16px;
}
.book-note .eyebrow { display: block; margin-bottom: 6px; }
.book-note a { color: var(--teal); font-weight: 700; }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 32px 0; font-size: 14px; color: var(--muted); }
.share a, .share button {
  font-family: var(--sans); font-size: 14px; color: var(--ink); text-decoration: none; background: #fff;
  border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--teal); color: var(--teal); }
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 24px; font-weight: 700; }
.author-box h3 { font-size: 18px; margin-bottom: 4px; }
.author-box p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }
.author-box a { color: var(--teal); font-size: 14.5px; }
.refs { margin-top: 44px; }
.refs h2 { font-size: 20px; margin-bottom: 12px; }
.refs ol { padding-left: 1.6em; margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.refs li + li { margin-top: .55em; }
.refs a { color: var(--muted); word-break: break-all; }
.refs a:hover { color: var(--teal); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0 0; padding-top: 24px; border-top: 2px solid var(--ink); }
.pager a, .pager div { text-decoration: none; display: block; }
.pager .k { font-size: 13px; color: var(--muted); display: block; margin-bottom: 4px; }
.pager .v { font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.5; }
.pager a:hover .v { color: var(--teal); }
.pager .next { text-align: right; }
.pager .muted .v { color: #8a94a1; }
.article-end { padding-bottom: 72px; }

/* ---------- 準備中頁面 ---------- */
.placeholder { padding: 96px 0 120px; }
.placeholder p { color: var(--muted); margin-top: 14px; }

/* ---------- 手機 ---------- */
@media (max-width: 880px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-header .wrap { height: 60px; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a.btn { margin-top: 14px; text-align: center; border-bottom: 0; }
  .menu-toggle { display: block; }
  .hero { padding: 44px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 32px; }
  .section { padding: 44px 0; }
  .section-title { font-size: 25px; }
  .latest { grid-template-columns: 1fr; gap: 36px; }
  .feature h3 { font-size: 24px; }
  .topics { grid-template-columns: 1fr; gap: 36px; }
  .newsletter .wrap { grid-template-columns: 1fr; gap: 24px; }
  .newsletter h2 { font-size: 25px; }
  .newsletter .form-col { justify-self: stretch; max-width: none; }
  .sub-form { max-width: none; }
  .parts { grid-template-columns: 1fr 1fr; }
  .page-head { padding: 44px 0 28px; }
  .page-head h1 { font-size: 30px; }
  .col-item { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .col-item h2 { font-size: 21px; }
  .article-head { padding: 36px 0 26px; }
  .article-head h1 { font-size: 28px; }
  .article-head .dek { font-size: 16.5px; }
  .article-cover { padding: 0; margin-bottom: 32px; }
  .article-body { font-size: 17px; }
  .article-body h2 { font-size: 21px; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { text-align: left; }
}
@media (max-width: 420px) {
  .parts { grid-template-columns: 1fr; }
  .part { padding: 16px 0 4px; border-bottom: 1px solid var(--line); }
}

/* ---------- 調整（第二版） ---------- */
.hero h1 span { white-space: nowrap; }
.topic .cover { border: 1px solid #d3e3e7; }
.topic .cover svg text:first-of-type { font-size: 120px; }
@media (max-width: 880px) {
  .hero h1 { font-size: 30px; }
  .hero-art { aspect-ratio: 16 / 9; }
  .topics { gap: 0; }
  .topic { display: grid; grid-template-columns: 112px 1fr; column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .topic .cover { grid-row: span 3; margin: 0; aspect-ratio: 1 / 1; }
  .topic h3 { font-size: 18px; margin: 4px 0 2px; }
  .topic .cover svg text { display: none; }
}
@media (max-width: 360px) { .hero h1 { font-size: 26px; } }

/* ---------- 第三版：全文圖、關於頁 ---------- */
.figure img { max-width: 100%; }
.figure.sq img { max-width: 560px; }
.figure a { display: block; }
.prose { max-width: var(--read); }
.prose h2 { font-size: 24px; margin: 2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: .6em 0 0; }
.prose li + li { margin-top: .5em; }
.prose a { color: var(--teal); }
.book-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; border-top: 2px solid var(--ink); }
.book-part { padding: 24px 0; border-bottom: 1px solid var(--line); }
.book-part h3 { font-size: 21px; margin: 6px 0 6px; }
.book-part > p { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.ch-list { list-style: none; padding: 0; margin: 0; }
.ch-list li { font-size: 15.5px; padding: 6px 0; border-top: 1px dashed var(--line); }
.ch-list .no { display: inline-block; width: 4.6em; color: var(--teal); font-weight: 700; font-size: 13.5px; }
.ch-col { font-size: 12.5px; color: var(--orange); border: 1px solid var(--orange); border-radius: 2px; padding: 0 6px; margin-left: 6px; text-decoration: none; white-space: nowrap; }
.ch-col:hover { background: var(--orange-light); }
.note { font-size: 14.5px; color: var(--muted); margin-top: 24px; max-width: 46em; }
.author-hero { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; }
.avatar.big { width: 88px; height: 88px; font-size: 34px; flex: none; }

/* ---------- 新書頁（樣張 B 雜誌型：米白底、宋體粗體標題、不用色塊標題） ---------- */
.bk { --bk-bg: #fbf8f3; --bk-ink: #1f2933; --bk-accent: #b9711c; color: var(--bk-ink); }
.bk h1, .bk h2, .bk h3 { color: var(--bk-ink); }
.bk-kicker { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--bk-accent); }
.bk-hero { background: var(--bk-bg); padding: 72px 0; border-bottom: 2px solid var(--bk-ink); }
.bk-hero-in { display: flex; gap: 64px; align-items: center; }
.bk-cover { margin: 0; flex: 0 0 300px; box-shadow: 0 18px 40px rgba(31,41,51,.25); }
.bk-hero-text { flex: 1 1 0; min-width: 0; }
.bk-hero h1 { font-size: 64px; font-weight: 900; letter-spacing: .06em; margin: 14px 0 6px; }
.bk-subtitle { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--navy); }
.bk-en { font-size: 14px; color: var(--muted); margin-top: 6px; letter-spacing: .02em; }
.bk-lead { font-family: var(--serif); font-size: 19px; line-height: 1.9; color: #374151; margin: 24px 0 18px; max-width: 34em; }
.bk-author { font-size: 16px; font-weight: 700; }
.bk-cta { display: flex; gap: 24px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.bk-btn { background: var(--bk-ink); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 26px; border-radius: 2px; }
.bk-btn:hover { background: var(--navy); }
.bk-link { color: var(--bk-ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--bk-accent); padding-bottom: 2px; }
.bk-sec { padding: 72px 0; }
.bk-alt { background: var(--bk-bg); border-top: 1px solid #e8e1d6; border-bottom: 1px solid #e8e1d6; }
.bk-narrow { max-width: 820px; }
.bk-h2 { font-size: 32px; font-weight: 900; margin-bottom: 24px; }
.bk-p { font-family: var(--serif); font-size: 18px; line-height: 1.95; margin-bottom: 16px; }
.bk-p a { color: var(--navy); }
.bk-intro { color: var(--muted); margin: -12px 0 24px; }
.bk-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 2px solid var(--bk-ink); padding-top: 24px; }
.bk-three h3 { font-size: 22px; font-weight: 900; margin-bottom: 10px; }
.bk-three p { font-size: 16px; line-height: 1.85; color: #374151; }
.bk-feats { list-style: none; counter-reset: f; padding: 0; margin: 0; }
.bk-feats li { counter-increment: f; display: grid; grid-template-columns: 56px 1fr; column-gap: 8px; padding: 18px 0; border-top: 1px solid #d9d2c5; }
.bk-feats li::before { content: counter(f, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-weight: 900; font-size: 28px; color: var(--bk-accent); line-height: 1.2; }
.bk-feats strong { font-family: var(--serif); font-size: 20px; font-weight: 900; }
.bk-feats span { font-size: 16px; line-height: 1.85; color: #374151; margin-top: 4px; }
.bk-parts { border-top: 2px solid var(--bk-ink); }
.bk-part { display: grid; grid-template-columns: 300px 1fr; gap: 48px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.bk-part-head h3 { font-size: 26px; font-weight: 900; margin: 6px 0 8px; }
.bk-part-head p { font-size: 15px; line-height: 1.8; color: var(--muted); }
.bk-range { font-size: 13px; font-weight: 700; margin-top: 10px; color: var(--bk-ink); }
.bk-ch { border-top: 1px solid var(--line); }
.bk-ch:first-child { border-top: 0; }
.bk-ch summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: baseline; padding: 14px 32px 14px 0; position: relative; }
.bk-ch summary::-webkit-details-marker { display: none; }
.bk-ch summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--bk-accent); }
.bk-ch[open] summary::after { content: "−"; }
.bk-no { flex: 0 0 4.8em; font-size: 13.5px; font-weight: 700; color: var(--bk-accent); }
.bk-t { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.5; }
.bk-sub { display: block; font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.bk-body { padding: 0 0 20px 6.2em; font-size: 15.5px; line-height: 1.85; color: #374151; }
.bk-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; margin: 12px 0 4px; color: var(--bk-ink); }
.bk-body ul { margin: 0; padding-left: 1.2em; }
.bk-cols { margin-top: 10px; font-size: 14px; }
.bk-cols a { color: var(--navy); font-weight: 700; }
.bk-units { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 8px 0 24px; }
.bk-units div { border-top: 3px solid var(--bk-ink); padding-top: 10px; }
.bk-units span { display: block; font-family: var(--serif); font-weight: 900; font-size: 24px; color: var(--bk-accent); }
.bk-units strong { font-size: 16px; }
.bk-quote { margin: 0 0 28px; padding: 28px 0; border-top: 1px solid var(--bk-ink); border-bottom: 1px solid var(--bk-ink); text-align: center; }
.bk-quote p { font-family: var(--serif); font-weight: 900; font-size: 28px; line-height: 1.6; color: var(--navy); }
.bk-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
@media (max-width: 880px) {
  .bk-hero { padding: 40px 0; }
  .bk-hero-in { flex-direction: column; gap: 32px; align-items: flex-start; }
  .bk-cover { flex: 0 0 auto; width: 200px; }
  .bk-hero h1 { font-size: 42px; }
  .bk-subtitle { font-size: 21px; }
  .bk-sec { padding: 48px 0; }
  .bk-h2 { font-size: 26px; }
  .bk-three, .bk-two { grid-template-columns: 1fr; gap: 28px; }
  .bk-part { grid-template-columns: 1fr; gap: 12px; }
  .bk-body { padding-left: 0; }
  .bk-units { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-quote p { font-size: 22px; }
}

/* ===================================================================
   雜誌型改版（2026-11-27，依〈文章版型規範_雜誌型〉）：
   取消大色塊，改用作者繪製插圖／相片庫相片；標題用宋體粗體；以細線分隔
   =================================================================== */
:root { --paper: #fbf8f3; --ink: #1f2933; --accent: #b9711c; --rule: #1f2933; }
h1, h2, h3 { font-weight: 900; }
.eyebrow, .tag-line { color: var(--accent); }
.tag-line .sep { color: #cdb79a; }
.link-arrow { border-bottom-color: var(--accent); }
.link-arrow:hover, .nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.brand span { color: var(--accent); }
.btn { background: var(--ink); }
.btn:hover { background: var(--navy); }
.site-header { border-bottom: 2px solid var(--rule); }

/* 主圖：插圖或相片，不再用深藍色塊 */
.cover, .hero-art { background: transparent; }
.cover img, .hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 首頁主視覺 */
.hero { background: var(--paper); border-bottom: 1px solid #e8e1d6; }
.hero h1 { font-size: 48px; font-weight: 900; }
.hero-art { aspect-ratio: 16 / 10; }
.feature h3, .col-item h2 { font-weight: 900; }
.feature a:hover h3, .col-item a:hover h2, .title-list li a:hover, .topic:hover h3 { color: var(--navy); }

/* 依主題閱讀：文字型（雜誌常見的欄目清單） */
.topics { border-top: 2px solid var(--rule); gap: 40px; }
.topic { padding-top: 20px; }
.topic h3 { font-size: 22px; margin: 8px 0 8px; }
.topic .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--accent); }

/* 電子報：米白底＋上下細線 */
.newsletter { background: var(--paper); color: var(--ink); border-top: 2px solid var(--rule); border-bottom: 1px solid var(--rule); }
.newsletter h2 { color: var(--ink); font-weight: 900; }
.newsletter p, .sub-note { color: #4b5563; }
.sub-note a { color: var(--navy); }
.sub-form input { border: 1px solid var(--rule); border-right: 0; background: #fff; }
.sub-form button { background: var(--ink); }
.sub-form button:hover { background: var(--navy); }

/* 頁尾：只留細線 */
.site-footer { background: #fff; border-top: 2px solid var(--rule); }
.site-footer a:hover { color: var(--navy); }

/* 列表頁 */
.page-head { border-bottom: 2px solid var(--rule); }
.page-head h1 { font-weight: 900; }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.col-item .cover { aspect-ratio: 16 / 10; }

/* 文章頁：標題置中、宋體正文、首字放大、引言用上下細線 */
.article-head { background: var(--paper); padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #e8e1d6; }
.article-head .inner { text-align: center; max-width: 820px; }
.article-head h1 { font-size: 44px; font-weight: 900; line-height: 1.35; }
.article-head .dek { font-family: var(--serif); font-size: 20px; color: #4b5563; }
.article-head .byline { justify-content: center; flex-direction: column; gap: 10px; border-top: 0; padding-top: 0; }
.crumbs a:hover { color: var(--navy); }
.tools { display: flex; gap: 10px; justify-content: center; }
.tool { font-family: var(--sans); font-size: 13.5px; color: var(--ink); background: transparent; border: 1px solid var(--rule); padding: 5px 14px; border-radius: 2px; cursor: pointer; text-decoration: none; }
.tool:hover { background: var(--ink); color: #fff; }
.article-cover { max-width: 1040px; }
.article-cover .cover { aspect-ratio: 16 / 10; }
.article-cover figcaption { font-size: 13px; color: var(--muted); text-align: right; margin-top: 8px; }
.article-body { font-family: var(--serif); font-size: 19px; line-height: 2; }
.article-body > p:first-of-type::first-letter { float: left; font-size: 4em; line-height: .95; font-weight: 900; color: var(--navy); margin: .08em .12em 0 0; }
.article-body h2 { font-size: 27px; font-weight: 900; }
.article-body a { color: var(--navy); }
.insight { border: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: transparent; padding: 24px 8px; text-align: center; font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.7; color: var(--navy); }
.insight b { display: block; font-family: var(--sans); font-size: 13px; letter-spacing: .15em; color: var(--accent); margin: 0 0 6px; }
.book-note { background: transparent; border-top: 2px solid var(--rule); padding: 18px 0 0; }
.book-note a { color: var(--navy); }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--ink); }
.avatar { background: var(--ink); }
.author-box a { color: var(--navy); }
.refs a:hover, .pager a:hover .v { color: var(--navy); }
.print-url { display: none; }

/* 新書頁補充 */
.bk-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; border-top: 2px solid var(--rule); padding-top: 20px; margin: 8px 0 32px; }
.bk-roles h3 { font-size: 22px; margin: 6px 0 8px; }
.bk-roles p { font-size: 16px; line-height: 1.85; color: #374151; }
.bk-rules { margin: 0 0 28px; padding-left: 1.4em; font-size: 16.5px; line-height: 1.9; color: #374151; }
.bk-rules li + li { margin-top: 8px; }
.bk-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bk-path div { border-top: 3px solid var(--rule); padding-top: 10px; }
.bk-path strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 900; }
.bk-path span { display: block; font-size: 14px; color: var(--muted); line-height: 1.7; margin-top: 4px; }
@media (max-width: 880px) {
  .hero h1 { font-size: 32px; }
  .article-head h1 { font-size: 30px; }
  .article-head .dek { font-size: 17.5px; }
  .article-body { font-size: 17.5px; }
  .bk-roles { grid-template-columns: 1fr; }
  .bk-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 列印／存成 PDF：只留文章內容 ---------- */
@media print {
  @page { size: A4; margin: 18mm 16mm; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .site-header, .newsletter, .site-footer, .crumbs, .tools, .share, .pager, .menu-toggle, .article-end, .book-note a { display: none !important; }
  .article-head { background: #fff; border: 0; padding: 0 0 12pt; margin: 0; }
  .article-head h1 { font-size: 22pt; }
  .article-head .dek { font-size: 12pt; }
  .article-cover { max-width: 100%; padding: 0; margin: 0 0 14pt; }
  .article-body { font-size: 11.5pt; line-height: 1.8; }
  .article-body h2 { font-size: 15pt; break-after: avoid; }
  .figure, .insight, .article-cover { break-inside: avoid; }
  .article-body a { color: #000; text-decoration: none; }
  .author-box { break-inside: avoid; }
  .refs a { color: #000; }
  .print-url { display: block; font-size: 9.5pt; color: #444; border-top: 1px solid #000; padding-top: 6pt; margin-top: 16pt; }
}
.empty-note { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: #374151; }
.empty-note a { color: var(--navy); font-weight: 700; }
