/* Base Styles */
* {
    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;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

/* Header */
.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.blog-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.blog-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation */
.blog-nav {
    background: #f8f9fa;
    padding: 15px 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    border-bottom: 1px solid #e9ecef;
}

.nav-link {
    text-decoration: none;
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    background: #667eea;
    color: white;
}

/* Main Content */
.blog-content {
    padding: 40px 30px;
}

.hero {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.hero h2 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
}

/* Latest Posts */
.latest-posts h2 {
    font-size: 1.8rem;
    color: #667eea;
    margin-bottom: 30px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
    padding-bottom: 10px;
}

.post-preview {
    display: grid;
    gap: 25px;
}

.post-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    border-left: 5px solid #667eea;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    background: white;
}

.post-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.post-date {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
}

.post-card p {
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #764ba2;
}

/* Footer */
.blog-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-title {
        font-size: 1.8rem;
    }

    .blog-nav {
        flex-direction: column;
        gap: 15px;
    }

    .blog-content {
        padding: 25px 20px;
    }

    .hero {
        padding: 30px 20px;
    }
}