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

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

header {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

header nav h1 a {
    color: #333;
    text-decoration: none;
}

header nav ul {
    list-style: none;
    margin-top: 15px;
}

header nav ul li {
    display: inline-block;
    margin-right: 20px;
}

header nav ul li a {
    color: #666;
    text-decoration: none;
}

header nav ul li a:hover {
    color: #333;
}

main {
    padding: 40px 0;
    min-height: 60vh;
}

.home h1 {
    margin-bottom: 30px;
}

.post-list {
    list-style: none;
}

.post-list li {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.post-list li:last-child {
    border-bottom: none;
}

.post-list h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.post-list h2 a {
    color: #333;
    text-decoration: none;
}

.post-list h2 a:hover {
    color: #0066cc;
}

.post-list time {
    color: #999;
    font-size: 0.9em;
}

.post-list .excerpt {
    margin-top: 10px;
    color: #666;
}

.post h1 {
    margin-bottom: 15px;
}

.post-header {
    margin-bottom: 30px;
}

.post-meta {
    color: #999;
    font-size: 0.9em;
}

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

.post-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 15px;
}

.post-content ul, .post-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.post-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
}

.post-content pre {
    background: #f4f4f4;
    padding: 15px;
    overflow-x: auto;
    margin-bottom: 15px;
}

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

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

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

.post-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

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

footer {
    padding: 30px 0;
    text-align: center;
    color: #999;
    font-size: 0.9em;
    border-top: 1px solid #eee;
}
