body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    color: #333;
    background-color: #f9f9f9;
}

header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 25px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

header h1 {
    font-size: 2.5em;
    margin: 0 0 10px 0;
    color: #222;
}

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

header h1 a:hover {
    color: #0073aa;
}

header p {
    color: #666;
    margin: 0;
    font-size: 1.1em;
}

nav {
    margin-top: 15px;
}

nav a {
    color: #0073aa;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
}

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

main {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

article {
    margin-bottom: 40px;
}

h1 {
    font-size: 2.2em;
    margin: 0 0 20px 0;
    color: #222;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

h2 {
    font-size: 1.6em;
    margin: 30px 0 15px 0;
    color: #222;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

h3 {
    font-size: 1.3em;
    margin: 25px 0 12px 0;
    color: #222;
}

.post-meta {
    color: #666;
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 25px;
}

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

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

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.post-content pre {
    background: #282c34;
    color: #abb2bf;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.9em;
    margin: 20px 0;
    font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
        monospace;
}

.post-content code {
    background: #f0f0f0;
    color: #c0392b;
    padding: 2px 6px;
    border-radius: 3px;
    font-family:
        "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier,
        monospace;
    font-size: 0.9em;
}

.post-content blockquote {
    border-left: 5px solid #0073aa;
    background: #f8f9fa;
    padding: 15px 20px;
    margin: 20px 0;
    color: #444;
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

.post-content a {
    color: #0073aa;
    text-decoration: none;
}

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

.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

.post-title {
    font-size: 1.3em;
    margin: 0 0 8px 0;
}

.post-title a {
    color: #0073aa;
    text-decoration: none;
}

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

.post-excerpt {
    color: #555;
    margin-top: 10px;
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

footer {
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 25px 0;
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin-top: 40px;
}

footer p {
    margin: 10px 0;
}

@media (max-width: 768px) {
    body {
        padding: 0 15px;
    }

    main {
        padding: 25px;
    }

    header h1 {
        font-size: 2em;
    }

    h1 {
        font-size: 1.8em;
    }

    nav a {
        display: block;
        margin: 5px 0;
    }
}