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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-size: 18px;
}

header {
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

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

.nav-links a {
    margin-left: 1.5rem;
}

main {
    min-height: 60vh;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.post-item {
    margin-bottom: 2rem;
}

.post-item time {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 0.25rem;
}

.post-item h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.post-item p {
    margin-top: 0.5rem;
    color: #666;
}

.post-header {
    margin-bottom: 2rem;
}

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

.post-content {
    line-height: 1.7;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-content ul, .post-content ol {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content pre {
    background: #f5f5f5;
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1.2rem;
    border-radius: 4px;
}

.post-content code {
    font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    font-size: 0.9em;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content code:not(pre code) {
    background: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

.post-content blockquote {
    border-left: 3px solid #ddd;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: #666;
    font-style: italic;
}

.blogroll-list {
    list-style: none;
    padding: 0;
}

.blogroll-list li {
    margin-bottom: 1rem;
}

.blogroll-list a {
    font-weight: 500;
    font-size: 1.1rem;
}

.blogroll-list p {
    margin-top: 0.25rem;
    color: #666;
    font-size: 0.95rem;
}

footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
        padding: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .nav-links a {
        margin-left: 1rem;
    }
}
