/* ─────────────────────────────────────────────
   內頁樣式：文章列表、文章頁、關於我、隱私政策
   與 style.css 共用變數與基礎元件
   ───────────────────────────────────────────── */

/* ── 內頁頁首 ── */
.page-hero{
  padding:clamp(3.5rem,8vw,6rem) 0 clamp(2rem,4vw,3rem);
  border-bottom:1px solid var(--line);
}
.page-hero .eyebrow{margin-bottom:1.2rem;}
.page-hero h1{
  font-family:var(--serif);font-weight:500;
  font-size:clamp(1.9rem,4vw,3rem);
  line-height:1.45;letter-spacing:.05em;margin:0 0 1rem;
}
.page-hero p{max-width:36em;color:var(--muted);margin:0;line-height:2;}

/* ── 文章列表頁 ── */
.archive{padding:clamp(2rem,5vw,3.5rem) 0 4rem;}
.archive .article-row{grid-template-columns:7.2rem 8.5rem minmax(0,1fr) auto;}
.archive .article-row:first-child{border-top:1px solid var(--line);}
.archive-note{
  margin-top:2rem;font-size:.82rem;letter-spacing:.1em;color:var(--muted);
}
@media (max-width:620px){
  .archive .article-row{grid-template-columns:1fr;}
}

/* ── 文章頁 ── */
.article-head{
  max-width:42rem;margin-inline:auto;
  padding:clamp(3rem,7vw,5rem) 0 1.5rem;
}
.article-head h1{
  font-family:var(--serif);font-weight:500;
  font-size:clamp(1.8rem,4vw,2.6rem);
  line-height:1.5;letter-spacing:.05em;margin:0 0 1.2rem;
}
.article-meta{
  display:flex;gap:1rem;flex-wrap:wrap;
  font-size:.78rem;letter-spacing:.14em;color:var(--muted);
}
.article-meta .cat{color:var(--accent-soft);}

.article-body{max-width:42rem;margin-inline:auto;}
.article-body p{
  margin:0 0 1.7rem;font-size:1.04rem;line-height:2.2;color:var(--ink-soft);
}
.article-body strong{font-weight:500;color:var(--ink);}
.article-body em{font-style:normal;color:var(--muted);font-size:.9rem;}
.article-body hr{border:0;border-top:1px solid var(--line);margin:2.5rem 0;}
.article-body h2{
  font-family:var(--serif);font-weight:500;font-size:1.4rem;
  letter-spacing:.08em;margin:2.8rem 0 1.2rem;
}
.article-body blockquote{
  margin:2rem 0;padding:1.2rem 1.6rem;
  border-left:2px solid var(--accent-soft);
  background:var(--card);color:var(--ink-soft);
  font-family:var(--serif);line-height:2;
}

.article-foot{
  max-width:42rem;margin:2.5rem auto 0;padding-top:1.5rem;
  border-top:1px solid var(--line);
  display:flex;justify-content:space-between;gap:1.5rem;
  flex-wrap:wrap;align-items:center;
}
.share{display:flex;gap:.5rem;flex-wrap:wrap;}
.share a,.share button{
  font-family:var(--sans);font-size:.78rem;letter-spacing:.1em;
  color:var(--muted);border:1px solid var(--line);background:transparent;
  padding:.45rem .8rem;cursor:pointer;
  transition:color .2s ease,border-color .2s ease;
}
.share a:hover,.share button:hover{color:var(--accent);border-color:var(--accent-soft);}
.back-link{font-size:.8rem;letter-spacing:.12em;color:var(--muted);}
.back-link:hover{color:var(--accent);}

/* ── 一般長文段落（關於我共用） ── */
.prose p{
  margin:0 0 1.6rem;font-size:1.02rem;line-height:2.15;color:var(--ink-soft);
}
.prose p:last-child{margin-bottom:0;}
.prose a{color:var(--accent);border-bottom:1px solid var(--accent-soft);}
.prose a:hover{color:var(--ink);}
.prose strong{font-weight:500;color:var(--ink);}

/* ── 關於我 ── */
.about-page{
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:clamp(2rem,5vw,4rem);
  padding:clamp(2.5rem,6vw,4rem) 0;
  align-items:start;
}
.about-page .about-visual{aspect-ratio:4/5;position:sticky;top:6rem;}
.about-page .about-visual .about-quote{
  font-size:clamp(.86rem,1.1vw,.98rem);
  letter-spacing:.2em;
  line-height:2;
  padding:1.3rem 1.2rem;
  max-height:100%;
}
.about-page .prose{margin:0;padding:0;max-width:none;}
@media (max-width:900px){
  .about-page{grid-template-columns:1fr;}
  .about-page .about-visual{position:static;aspect-ratio:16/10;max-height:22rem;}
}

/* ── 隱私政策 ── */
.privacy{
  max-width:42rem;margin-inline:auto;
  padding:clamp(2.5rem,6vw,4rem) 0;
}
.privacy h2{
  font-family:var(--serif);font-weight:500;font-size:1.2rem;
  letter-spacing:.08em;margin:2.2rem 0 .8rem;
}
.privacy p,.privacy li{color:var(--ink-soft);line-height:2;}
.privacy ul{padding-left:1.2rem;}
.privacy .updated{
  font-size:.8rem;letter-spacing:.1em;color:var(--muted);
  border-bottom:1px solid var(--line);padding-bottom:1.2rem;
}

/* ── 小按鈕 ── */
.btn--small{padding:.55rem 1rem;font-size:.78rem;letter-spacing:.1em;}
