/* blog/blog.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #fcfcfc;
    --text-main: #171717;
    --text-muted: #525252;
    --primary: #000000;
    --border-color: #e5e5e5;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    line-height: 1.7;
}

/* Header & Typography */
article header, body > header { 
    border-bottom: 1px solid var(--border-color); 
    padding-bottom: 2rem; 
    margin-bottom: 2rem; 
}

h1 { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1rem; line-height: 1.2; }
h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--primary); }
h3 { font-size: 1.2rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.5rem; }
ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }
strong { font-weight: 600; color: var(--primary); }

.meta { color: var(--text-muted); font-size: 0.9rem; }
p.subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 3rem; }

/* Blog Index Specific */
.post-list { list-style: none; padding: 0; }
.post-item { border-bottom: 1px solid var(--border-color); padding: 1.5rem 0; }
.post-item:last-child { border-bottom: none; }
.post-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.post-title a { color: var(--primary); text-decoration: none; }
.post-title a:hover { text-decoration: underline; }
.post-meta { font-size: 0.85rem; color: var(--text-muted); }

/* UI Elements */
.cta-box { 
    background: #fafafa; 
    border: 1px solid var(--border-color); 
    padding: 1.5rem; 
    border-radius: 8px; 
    text-align: center; 
    margin: 3rem 0; 
}
.cta-box a { 
    background: var(--primary); 
    color: white; 
    text-decoration: none; 
    padding: 0.75rem 1.5rem; 
    border-radius: 4px; 
    font-weight: 500; 
    display: inline-block; 
    margin-top: 1rem; 
    transition: background 0.2s; 
}
.cta-box a:hover { background: #333; }

/* Navigation */
.nav-links { margin-top: 4rem; display: flex; gap: 1.5rem; font-weight: 500; }
.nav-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }