/* Blog Styles */
.blog-nav {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #0066CC;
}

.blog-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 20px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #f5f5ff 0%, #fff 100%);
}

.article-card .category {
    display: inline-block;
    background: #0066CC;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.article-card h2, .article-card h3 {
    margin: 0.5rem 0;
}

.article-card a {
    color: #333;
    text-decoration: none;
}

.article-card a:hover {
    color: #0066CC;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* Sidebar */
.blog-sidebar .widget {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    background: #f5f5f5;
    color: #666;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: #0066CC;
    color: white;
}

.cta-widget {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: white !important;
}

.cta-widget h3, 
.cta-widget p {
    color: white !important;
    margin-bottom: 10px;
}

.widget.cta-widget h3,
.widget.cta-widget p {
    color: white !important;
}

.btn-calculate {
    display: inline-block;
    background: white;
    color: #1e293b;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.stats {
    list-style: none;
    padding: 0;
}

.stats li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Responsive */
@media (max-width: 968px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .article-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-meta {
        flex-wrap: wrap;
    }
}