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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

header {
    padding: 30px 20px;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Blog List Page */
.page-title {
    max-width: 800px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.page-title h1 {
    font-size: 36px;
    font-weight: 400;
}

.blog-list {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.blog-post-preview {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.blog-post-preview:last-child {
    border-bottom: none;
}

.blog-post-preview h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 10px;
}

.blog-post-preview h2 a {
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s;
}

.blog-post-preview h2 a:hover {
    opacity: 0.6;
}

.post-meta {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.blog-post-preview p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.read-more {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Post Page */
.back-link {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.back-link a {
    color: #666;
    text-decoration: none;
    font-size: 16px;
}

.back-link a:hover {
    color: #333;
}

.article-header {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-header h1 {
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 400;
    margin: 50px 0 20px;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 40px 0 15px;
}

.article-content p {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0 25px 30px;
}

.article-content li {
    font-size: 19px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.article-content blockquote {
    border-left: 3px solid #333;
    padding-left: 25px;
    margin: 40px 0;
    font-size: 22px;
    font-style: italic;
    color: #555;
}

.article-content a {
    color: #333;
    text-decoration: underline;
}

.article-content a:hover {
    opacity: 0.6;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 40px 0;
}

.article-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.article-footer p {
    font-size: 16px;
    color: #666;
}

footer {
    max-width: 800px;
    margin: 60px auto 50px;
    padding: 40px 20px;
    border-top: 1px solid #e0e0e0;
}

footer h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
}

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

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

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 28px;
    }

    .blog-post-preview h2 {
        font-size: 24px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .article-content h2 {
        font-size: 26px;
    }

    .article-content h3 {
        font-size: 22px;
    }

    .article-content p,
    .article-content li {
        font-size: 17px;
    }

    .article-content blockquote {
        font-size: 19px;
    }

    .nav-links {
        gap: 20px;
    }
}
