/* ── Journal Article Shared Styles ── */
:root {
  --sage: #7A9A7E; --moss: #4A6741; --sand: #C9A97A; --cream: #FAF7F2;
  --warm-white: #FFFEF9; --charcoal: #2C2C2C;
  --serif: 'Noto Serif TC', serif; --sans: 'Noto Sans TC', sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--sans); background: var(--warm-white); color: var(--charcoal); -webkit-font-smoothing: antialiased; }

/* ── Header ── */
header { position: sticky; top: 0; z-index: 1000; background: white; border-bottom: 1px solid #f0f0f0; }
.nav-inner { max-width: 1000px; margin: 0 auto; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; }
.logo img { height: 40px; }

/* ── Article Layout ── */
.main-wrapper { max-width: 720px; margin: 4rem auto 10rem; padding: 0 1.5rem; }
.article-header { margin-bottom: 5rem; text-align: center; }
.category-label { font-size: 0.75rem; color: var(--sand); font-weight: 700; letter-spacing: 0.25em; display: block; margin-bottom: 1.5rem; }
.article-title { font-family: var(--serif); font-size: 2.2rem; color: var(--charcoal); line-height: 1.5; margin-bottom: 1rem; }
.author-meta { font-size: 0.85rem; color: #999; letter-spacing: 0.05em; font-family: var(--serif); }

/* ── Article Content ── */
.article-content p { font-size: 1.05rem; line-height: 2; color: #444; margin-bottom: 2.5rem; text-align: justify; }
.image-container { margin: 4rem 0; text-align: center; }
.article-img { width: 100%; max-width: 100%; height: auto; border-radius: 4px; margin: 0 auto; display: block; }
.img-grid-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 0 auto; }
.img-grid-inline img { width: 100%; height: auto; border-radius: 4px; object-fit: cover; }
.caption { font-size: 0.78rem; color: #bbb; margin-top: 1rem; display: block; letter-spacing: 0.05em; }
.minimal-quote { margin: 5rem 0; padding: 2rem 0; border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0; text-align: center; }
.minimal-quote p { font-family: var(--serif); font-size: 1.25rem; color: var(--moss); line-height: 1.8; margin: 0; }

/* ── Footer Refer ── */
.footer-refer {
  margin-top: 10rem; padding: 3.5rem; background: #F9F8F6; border-radius: 2px;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; overflow: hidden;
}
.footer-refer::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--sand); }
.product-meta-box { flex: 1; }
.product-tag { font-size: 0.65rem; color: var(--sand); font-weight: 700; letter-spacing: 0.35em; margin-bottom: 1rem; display: block; text-transform: uppercase; }
.product-name { font-family: var(--serif); font-size: 1.5rem; color: var(--charcoal); margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.product-desc-mini { font-size: 0.85rem; color: #888; letter-spacing: 0.02em; }
.btn-minimal {
  display: inline-flex; align-items: center; gap: 1.5rem; font-size: 0.75rem; color: var(--moss); text-decoration: none; font-weight: 700;
  letter-spacing: 0.25em; transition: all 0.4s; padding: 1.2rem 2.2rem; border: 1px solid rgba(74, 103, 65, 0.15); background: white;
}
.btn-minimal:hover { background: var(--moss); color: white; border-color: var(--moss); transform: translateX(5px); }

/* ── Footer ── */
footer { background: white; border-top: 1px solid #f5f5f5; padding: 5rem 0; text-align: center; }
.footer-copy { font-size: 0.75rem; color: #ccc; letter-spacing: 0.1em; }

/* ── Mobile ── */
@media (max-width: 650px) {
  .nav-inner { height: 48px; padding: 0 1rem; }
  .logo img { height: 28px; }
  .main-wrapper { margin: 1rem auto 5rem; padding: 0 1.2rem; }
  .article-header { margin-bottom: 1.2rem; }
  .category-label { font-size: 0.6rem; margin-bottom: 0.5rem; letter-spacing: 0.18em; }
  .article-title { font-size: 1.25rem; line-height: 1.5; margin-bottom: 0.4rem; }
  .author-meta { font-size: 0.7rem; }
  .article-content p { font-size: 0.92rem; margin-bottom: 1.5rem; line-height: 1.9; }
  .image-container { margin: 2rem 0; }
  .img-grid-inline { grid-template-columns: 1fr; gap: 1.2rem; }
  .img-grid-inline img { width: 100% !important; height: auto !important; max-width: 100% !important; }
  .minimal-quote { margin: 2rem 0; padding: 1.2rem 0; }
  .minimal-quote p { font-size: 0.95rem; }
  .footer-refer { flex-direction: column; text-align: center; padding: 3rem 2rem; }
  .footer-refer::before { width: 100%; height: 4px; left: 0; top: 0; }
  .btn-minimal { width: 100%; justify-content: center; }
  footer { padding: 3rem 0; }
}
