.blog-main {
    padding-top: calc(80px + 20px); /* Header height (80px) plus some extra space */
    padding-bottom: 80px;
    background-color: #f8f9fa;
}

.blog-hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #fff;
    margin-bottom: 40px;
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    background-color: #ec252e;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.blog-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

/* Blog Post Page Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: calc(80px + 40px) 20px 40px; /* Header height (80px) plus padding */
}

.blog-post-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.blog-post-meta {
    color: #666;
    margin-bottom: 20px;
}

.blog-post-content {
    line-height: 1.8;
    color: #444;
}

.blog-post-content h2 {
    margin: 40px 0 20px;
    color: #333;
}

.blog-post-content p {
    margin-bottom: 20px;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-header h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .blog-post-content h2 {
        font-size: 1.4rem;
        margin: 30px 0 15px;
    }

    .blog-post-content {
        font-size: 1rem;
        line-height: 1.6;
    }

    .blog-post {
        padding: calc(80px + 20px) 15px 30px;
    }
}

@media (max-width: 480px) {
    .blog-post-header h1 {
        font-size: 1.5rem;
    }

    .blog-post-content h2 {
        font-size: 1.2rem;
    }
}

/* Blog Page Base Styles */
.blog-page {
    padding-top: calc(80px + 20px); /* Header height (80px) plus some extra space */
    min-height: 100vh;
    background-color: #ffffff;
}

/* Blog Hero Section */
.blog-hero {
    padding: 2rem 0;
    text-align: center;
} 