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

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

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

header h1 a {
    color: #333;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
}

header h1 a:hover {
    color: #666;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
}

.nav-menu a:hover {
    color: #333;
}

header p {
    color: #666;
    margin-top: 0.5rem;
}

main {
    margin-bottom: 3rem;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    text-decoration: underline;
}

code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
}

pre {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 1rem;
}

pre code {
    background-color: transparent;
    padding: 0;
}

/* Post list */
.post-item {
    margin-bottom: 2rem;
}

.post-item h2 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    color: #4a90e2;
}

.post-item h2 a {
    color: #4a90e2;
    text-decoration: none;
}

.post-item h2 a:hover {
    text-decoration: underline;
}

.post-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0;
}

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