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

body {
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0a0e27;
  background: #fafaf7;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e8e6dd;
  padding: 16px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
}
.site-logo {
  font-weight: 700;
  font-size: 18px;
  color: #1b3a8c;
  text-decoration: none;
}
.site-header nav a {
  margin-left: 24px;
  color: #0a0e27;
  text-decoration: none;
  font-size: 14px;
}

/* Post list */
.page-title { font-size: 32px; margin: 48px 0 32px; }
.post-list { display: grid; gap: 32px; }
.post-card { background: #fff; border: 1px solid #e8e6dd; border-radius: 8px; overflow: hidden; }
.post-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.post-card-content { padding: 20px; }
.post-card h2 { font-size: 20px; margin: 8px 0; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover { color: #1b3a8c; }
.post-card p { color: #3a4374; font-size: 14px; margin-bottom: 12px; }

/* Post */
.post-header { margin: 48px 0 32px; }
.post-header h1 { font-size: 36px; margin: 12px 0; line-height: 1.2; }
.post-feature-image { width: 100%; height: 400px; object-fit: cover; border-radius: 8px; margin-bottom: 40px; }
.post-content { font-size: 17px; line-height: 1.7; }
.post-content h2 { font-size: 24px; margin: 40px 0 16px; }
.post-content h3 { font-size: 20px; margin: 32px 0 12px; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: #1b3a8c; }
.post-content img { max-width: 100%; border-radius: 6px; }
.post-content blockquote { border-left: 3px solid #1b3a8c; padding-left: 20px; color: #3a4374; margin: 24px 0; }
.post-content pre { background: #f2f1ec; border-radius: 6px; padding: 16px; overflow-x: auto; }
.post-content code { font-family: monospace; font-size: 14px; background: #f2f1ec; padding: 2px 6px; border-radius: 4px; }
.post-content pre code { background: none; padding: 0; }

/* Meta */
.post-tag { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #1b3a8c; text-decoration: none; }
.post-meta { font-size: 13px; color: #5e6691; margin-top: 8px; display: flex; gap: 16px; }
.post-tags { margin-top: 40px; padding-top: 24px; border-top: 1px solid #e8e6dd; font-size: 14px; color: #5e6691; }

/* Navigation */
.post-navigation { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid #e8e6dd; gap: 16px; }
.post-navigation a { color: #1b3a8c; text-decoration: none; font-size: 14px; max-width: 45%; }
.post-nav-next { text-align: right; margin-left: auto; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 48px 0; font-size: 14px; }
.pagination a { color: #1b3a8c; text-decoration: none; }

/* Footer */
.site-footer { border-top: 1px solid #e8e6dd; padding: 32px 0; margin-top: 80px; font-size: 14px; color: #5e6691; }
.site-footer a { color: inherit; }

@media (max-width: 600px) {
  .post-header h1 { font-size: 26px; }
  .post-feature-image { height: 220px; }
  .post-navigation { flex-direction: column; }
  .post-nav-next { text-align: left; margin-left: 0; }
}
