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

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

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

header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

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

header h1 {
    font-size: 1.4rem;
    color: #2c3e50;
}

nav a {
    color: #555;
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.95rem;
}

nav a:hover {
    color: #2c3e50;
}

.hero {
    text-align: center;
    padding: 60px 0 40px;
}

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

.hero p {
    color: #666;
}

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 20px 0 60px;
}

article {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.2s;
}

article:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

article h3 {
    margin-bottom: 6px;
    color: #2c3e50;
}

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

.read-more {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

footer {
    border-top: 1px solid #eee;
    padding: 20px 0;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    nav a { margin-left: 0; margin-right: 15px; }
    .hero h2 { font-size: 1.5rem; }
}
