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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    border-bottom: 2px solid #eee;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
}

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

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

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

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

main {
    min-height: 60vh;
}

.posts-list h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.post-excerpt {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

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

.post-excerpt h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.post-excerpt h3 a {
    color: #333;
    text-decoration: none;
}

.post-excerpt h3 a:hover {
    color: #0066cc;
}

.post-image img,
.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.post-meta .author {
    margin-left: 10px;
}

.excerpt {
    margin: 20px 0;
    color: #555;
}

.categories {
    margin: 15px 0;
}

.category {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 8px;
    color: #555;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

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

.single-post {
    max-width: 800px;
    margin: 0 auto;
}

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

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin: 1rem 0 1rem 2rem;
}

.post-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-link {
    color: #0066cc;
    text-decoration: none;
}

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

footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}
