/* article.css — backlinks WF 相容規範標準命名集 */

/* ---- WF文章頁固定引用 header/footer（獨立定義，不依賴style-base.css首頁樣式） ---- */
.site-header { background: var(--brand-cream); border-bottom: 1px solid var(--brand-line); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-logo { font-family: 'Georgia', serif; font-weight: 700; font-size: 1.35rem; color: var(--brand-brown); }
.header-logo span { color: var(--brand-clay); }
.header-nav { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.nav-link { font-size: 0.92rem; font-weight: 600; text-transform: uppercase; color: var(--brand-brown); }
.nav-link:hover { color: var(--brand-clay); }
.site-footer { background: var(--brand-brown-dark); color: #cbb89e; padding: 40px 24px 24px; }
.footer-inner { max-width: 900px; margin: 0 auto; padding-bottom: 20px; text-align: center; }
.footer-bottom { max-width: 900px; margin: 0 auto; padding-top: 20px; border-top: 1px solid #4a3a2a; font-size: 0.82rem; color: #8a7a64; text-align: center; }

.article-list-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.article-card {
  background: #fff;
  border: 1px solid var(--brand-line);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(61,43,31,0.12); }
.article-thumb { display: block; }
.article-thumb img { width: 100%; height: 200px; object-fit: cover; }
.article-card .article-body { padding: 22px; max-width: none; margin: 0; }
.article-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 0.78rem; }
.article-cat {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--brand-clay);
}
.article-date { color: #8a7a64; }
.article-card h3 { font-size: 1.08rem; color: var(--brand-brown); margin-bottom: 10px; line-height: 1.35; }
.article-excerpt { font-size: 0.92rem; color: #6b5d4f; }
.article-link { color: inherit; }

/* ---- Article detail page (produced by backlinks WF, kept here for style coverage) ---- */
.article-page { background: var(--brand-cream); }
.article-header { padding: 50px 24px 20px; max-width: 820px; margin: 0 auto; }
.article-hero-img { width: 100%; max-height: 440px; object-fit: cover; margin: 0 auto 40px; display: block; }
.card-meta { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; color: #8a7a64; margin-bottom: 16px; }
.breadcrumb { font-size: 0.85rem; color: #8a7a64; margin-bottom: 18px; }
.breadcrumb a { color: var(--brand-clay); }
.breadcrumb-sep { margin: 0 6px; color: #c9b89e; }
.article-h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--brand-brown); line-height: 1.3; margin-bottom: 18px; }
.author-byline { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: #6b5d4f; margin-bottom: 30px; }
.author-name { font-weight: 700; color: var(--brand-brown); }
.author-sep { color: #c9b89e; }
.article-lead { font-size: 1.15rem; font-style: italic; color: var(--brand-clay-dark); max-width: 760px; margin: 0 auto 30px; padding: 0 24px; }
.article-body { max-width: 760px; margin: 0 auto; padding: 0 24px; color: #4a4038; font-size: 1.02rem; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { color: var(--brand-brown); font-size: 1.4rem; margin: 34px 0 14px; }
.article-body img { margin: 30px 0; }

.author-bio-card {
  max-width: 760px;
  margin: 50px auto;
  padding: 26px;
  background: var(--brand-cream-soft);
  border: 1px solid var(--brand-line);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.author-bio-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio-name { font-weight: 700; color: var(--brand-brown); margin-bottom: 4px; }
.author-bio-title { font-size: 0.82rem; color: var(--brand-clay); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.author-bio-text { font-size: 0.92rem; color: #6b5d4f; }

.faq-section { max-width: 760px; margin: 0 auto; padding: 0 24px 60px; }
.faq-section h2 { color: var(--brand-brown); font-size: 1.4rem; margin-bottom: 20px; }
#faq-items .faq-item { border-bottom: 1px solid var(--brand-line); padding: 16px 0; }
#faq-items .faq-item h3 { font-size: 1rem; color: var(--brand-brown); margin-bottom: 8px; }
#faq-items .faq-item p { font-size: 0.92rem; color: #6b5d4f; }

.cta-banner {
  max-width: 760px;
  margin: 40px auto;
  padding: 30px;
  background: var(--brand-clay);
  color: #fff;
  text-align: center;
}
.cta-banner a { color: #fff; text-decoration: underline; font-weight: 700; }

.related-section { max-width: 1180px; margin: 60px auto; padding: 0 24px; }
.related-section h2 { color: var(--brand-brown); font-size: 1.3rem; margin-bottom: 24px; }
.rel-card { background: #fff; border: 1px solid var(--brand-line); padding: 18px; }
.rel-title { color: var(--brand-brown); font-size: 0.98rem; }

@media (max-width: 900px) {
  .article-list-grid { grid-template-columns: repeat(2, 1fr); }
  .author-bio-card { flex-direction: column; }
}
