
/* Static Site Styles */
:root {
    --primary-color: #0073aa;
    --text-color: #333;
    --bg-color: #fff;
    --border-color: #ddd;
    --code-bg: #f4f4f4;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--primary-color);
    color: white;
    padding: 20px 0;
}

header h1 {
    margin: 0;
}

header a {
    color: white;
    text-decoration: none;
}

/* Navigation */
nav {
    background: #f8f8f8;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
}

nav a:hover {
    color: var(--primary-color);
}

/* Main content */
main {
    padding: 40px 0;
    min-height: 60vh;
}

article {
    max-width: 800px;
    margin: 0 auto;
}

article h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

article img {
    max-width: 100%;
    height: auto;
}

.post-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.post-content {
    font-size: 1.1em;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content h2, .post-content h3, .post-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.post-content pre {
    background: var(--code-bg);
    padding: 15px;
    overflow-x: auto;
    border-radius: 4px;
}

.post-content code {
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 3px;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
}

/* Post list */
.post-list {
    list-style: none;
}

.post-list li {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.post-list h2 {
    margin-bottom: 10px;
}

.post-list h2 a {
    color: var(--text-color);
    text-decoration: none;
}

.post-list h2 a:hover {
    color: var(--primary-color);
}

/* Categories and tags */
.categories, .tags {
    margin-top: 20px;
}

.category-link, .tag-link {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 3px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.85em;
    color: var(--text-color);
    text-decoration: none;
}

.category-link:hover, .tag-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

footer a {
    color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
    article h1 {
        font-size: 1.8em;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }
}
