
:root { --primary: #3b82f6; --bg: #ffffff; --text: #1a1a2e; --text-secondary: #64748b; --border: #e2e8f0; --card-bg: #f8fafc; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
header { border-bottom: 1px solid var(--border); padding: 1rem 0; }
header .container { display: flex; justify-content: space-between; align-items: center; }
header h1 { font-size: 1.25rem; }
header h1 a { color: var(--text); }
nav a { margin-left: 1.5rem; color: var(--text-secondary); font-size: 0.875rem; }
main { padding: 2rem 0; }
footer { border-top: 1px solid var(--border); padding: 1.5rem 0; text-align: center; color: var(--text-secondary); font-size: 0.875rem; }
.hero { text-align: center; padding: 3rem 0; }
.hero h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.hero p { color: var(--text-secondary); font-size: 1.1rem; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.article-card { border: 1px solid var(--border); border-radius: 8px; padding: 1.5rem; background: var(--card-bg); transition: box-shadow 0.2s; }
.article-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.article-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.article-card h3 a { color: var(--text); }
.article-card p { color: var(--text-secondary); font-size: 0.875rem; }
.article-card .meta { margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-secondary); }
.badge { display: inline-block; background: var(--primary); color: white; font-size: 0.7rem; padding: 2px 8px; border-radius: 12px; }
article.post { max-width: 760px; margin: 0 auto; }
article.post h1 { font-size: 2rem; margin-bottom: 0.5rem; line-height: 1.3; }
article.post .post-meta { color: var(--text-secondary); margin-bottom: 2rem; font-size: 0.9rem; }
article.post .content { font-size: 1.05rem; }
article.post .content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
article.post .content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
article.post .content p { margin-bottom: 1rem; }
article.post .content ul, article.post .content ol { margin: 1rem 0; padding-left: 1.5rem; }
article.post .content li { margin-bottom: 0.5rem; }
article.post .content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; }
article.post .content blockquote { border-left: 3px solid var(--primary); padding-left: 1rem; margin: 1.5rem 0; color: var(--text-secondary); font-style: italic; }
article.post .content pre { background: var(--card-bg); padding: 1rem; border-radius: 8px; overflow-x: auto; margin: 1rem 0; }
article.post .content code { font-size: 0.9em; }
.category-page h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.breadcrumb { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; }
@media (max-width: 640px) { .articles-grid { grid-template-columns: 1fr; } .hero h2 { font-size: 1.5rem; } }
