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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    color: #2c3e50;
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.nav a:hover, .nav a.active {
    color: #3498db;
}

.main {
    padding: 40px 0;
    min-height: calc(100vh - 160px);
}

.hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.hero p {
    color: #666;
}

.posts h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.post-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.post-card h4 {
    margin-bottom: 10px;
}

.post-card h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.post-card h4 a:hover {
    color: #3498db;
}

.post-meta {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
}

.post-excerpt {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #2980b9;
}

.footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 600px) {
    .header .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav a {
        margin: 0 10px;
    }
}