
:root {
  --primary: #1e40af;
  --accent: #3b82f6;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 8px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); line-height: 1.7; background: var(--bg); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
header { background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 22px; font-weight: 700; color: var(--primary); }
.logo span { color: var(--text); }
nav a { margin-left: 24px; color: var(--text-muted); font-size: 14px; font-weight: 500; }
nav a:hover { color: var(--primary); text-decoration: none; }
.hero { background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 48px 0; color: #fff; text-align: center; }
.hero h1 { font-size: 32px; margin-bottom: 8px; }
.hero p { font-size: 16px; opacity: 0.9; }
main { padding: 40px 0; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.article-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.article-card-body { padding: 20px; }
.article-card h2 { font-size: 18px; margin-bottom: 8px; line-height: 1.4; }
.article-card h2 a { color: var(--text); }
.article-card .meta { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.article-card .excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.cat-badge { display: inline-block; background: var(--bg-alt); color: var(--primary); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
article.post { max-width: 740px; margin: 0 auto; }
article.post h1 { font-size: 32px; line-height: 1.3; margin-bottom: 12px; }
article.post .post-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
article.post h2 { font-size: 24px; margin: 32px 0 16px; }
article.post h3 { font-size: 20px; margin: 24px 0 12px; }
article.post p { margin-bottom: 16px; }
article.post ul, article.post ol { margin: 0 0 16px 24px; }
article.post li { margin-bottom: 6px; }
article.post table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
article.post th { background: var(--bg-alt); padding: 10px 12px; text-align: left; border: 1px solid var(--border); font-weight: 600; }
article.post td { padding: 10px 12px; border: 1px solid var(--border); }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-muted); }
.author-box { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin-top: 40px; display: flex; gap: 16px; align-items: flex-start; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex-shrink: 0; }
.author-info h4 { margin-bottom: 4px; }
.author-info p { font-size: 14px; color: var(--text-muted); }
.disclosure { background: #fffbeb; border: 1px solid #fbbf24; border-radius: var(--radius); padding: 12px 16px; font-size: 13px; color: #92400e; margin-bottom: 24px; }
.sidebar { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; }
.sidebar h3 { font-size: 16px; margin-bottom: 12px; }
.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 8px; }
.sidebar a { font-size: 14px; }
footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 32px 0; margin-top: 48px; font-size: 13px; color: var(--text-muted); }
footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--text-muted); margin-right: 16px; }
@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  header .container { flex-direction: column; gap: 8px; }
  nav a { margin-left: 12px; }
}
