:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --link-color: #0066cc;
    --secondary-color: #666666;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1a1a1a;
        --text-color: #e0e0e0;
        --link-color: #66b3ff;
        --secondary-color: #a0a0a0;
    }
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header,
main,
footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

header {
    margin-bottom: 2rem;
}

nav a.logo {
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--text-color);
}

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

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 0.5rem;
}

.date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-right: 1rem;
    display: inline-block;
    min-width: 100px;
}

footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Post content styles */
.content img {
    max-width: 100%;
    height: auto;
}

.content pre {
    background: #f4f4f4;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 4px;
}

@media (prefers-color-scheme: dark) {
    .content pre {
        background: #2d2d2d;
    }
}