/* Reset and base styles */
* {
    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: #2c3e50;
    background-color: #f8f9fa;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Header styles */
header {
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

header p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Main content */
main {
    margin-bottom: 60px;
}

main h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Post list styles */
.post-list {
    list-style: none;
}

.post-list li {
    margin-bottom: 15px;
    padding: 10px;
    border-left: 3px solid #6c757d;
    padding-left: 15px;
}

.post-date {
    display: inline-block;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    color: #6c757d;
    margin-right: 15px;
    min-width: 100px;
}

.post-list a {
    color: #0d6efd;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

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

/* Footer styles */
footer {
    border-top: 1px solid #dee2e6;
    padding-top: 20px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
}

footer a {
    color: #0d6efd;
    text-decoration: none;
}

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

/* Post content styles */
article {
    margin-bottom: 40px;
}

article h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

article h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
}

article p {
    margin-bottom: 15px;
}

article ul, article ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

article li {
    margin-bottom: 5px;
}

article code {
    background-color: #e9ecef;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9em;
    color: #2c3e50;
}

article pre {
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

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

/* Post meta styles */
.post-meta {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
}

/* Site title link */
.site-title {
    color: inherit;
    text-decoration: none;
}

.site-title:hover {
    text-decoration: none;
}

/* Responsive design */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .post-date {
        display: block;
        margin-bottom: 5px;
    }
}
