/* Basic reset and typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

nav a {
    text-decoration: none;
    color: #0066cc;
    margin-right: 1rem;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    color: #222;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

/* Posts */
article {
    margin-bottom: 2rem;
}

article header {
    border-bottom: none;
    margin-bottom: 1rem;
}

time {
    color: #666;
    font-size: 0.9rem;
}

.source-link {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.source-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.source-link a:hover {
    text-decoration: underline;
}

.post-content {
    margin-top: 1rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Code */
code {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
}

pre code {
    background: none;
    padding: 0;
}

/* Lists */
ul,
ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}
