*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Noto Serif TC', Georgia, serif;
  font-size: 18px;
  line-height: 1.8;
  color: #1a1a1a;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Nav */
header { padding: 1.5rem 0; border-bottom: 1px solid #e5e7eb; margin-bottom: 2rem; }
nav { display: flex; gap: 2rem; align-items: center; }
.site-title { font-weight: 700; font-size: 1.1rem; }
nav a { text-decoration: none; color: #1a1a1a; }
nav a:hover { color: #4b5563; }

/* Hero */
.hero { margin-bottom: 3rem; }
.hero h1 { font-size: 2rem; margin: 0 0 0.5rem; }
.hero p { color: #6b7280; margin: 0; }

/* Post cards */
.post-card { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid #f3f4f6; }
.post-card a { text-decoration: none; color: inherit; }
.post-card h2 { margin: 0 0 0.25rem; font-size: 1.3rem; }
.post-card h2:hover { color: #4b5563; }
.post-card time { font-size: 0.85rem; color: #9ca3af; }
.post-card p { margin: 0.5rem 0 0; color: #6b7280; font-size: 0.95rem; }

/* Post list */
.post-list { list-style: none; padding: 0; }
.post-list li { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid #f3f4f6; }
.post-list a { text-decoration: none; color: #1a1a1a; }
.post-list time { font-size: 0.85rem; color: #9ca3af; }

/* Article */
article.post header { border: none; margin-bottom: 1.5rem; }
article.post h1 { font-size: 2rem; margin: 0 0 0.75rem; }
.meta { display: flex; gap: 1rem; align-items: center; color: #9ca3af; font-size: 0.9rem; }
.tags { display: flex; gap: 0.5rem; }
.tag { background: #f3f4f6; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.8rem; color: #4b5563; }
.content h2 { font-size: 1.4rem; margin-top: 2rem; }
.content h3 { font-size: 1.15rem; }

/* Footer */
footer { border-top: 1px solid #e5e7eb; margin-top: 4rem; padding: 1.5rem 0; color: #9ca3af; font-size: 0.85rem; }
