/* Modern Blog List Styles */
.modern-blog-main {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Hero Section */
.blog-hero-section {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #a3d7c9 0%, #2c8e74 100%);

}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.modern-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 16px;
}

.modern-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-breadcrumb a:hover {
    color: white;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    color: white;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Post */
.featured-post {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin: -40px auto 60px;
    max-width: 900px;
    position: relative;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(20px);
}

.featured-post-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

.featured-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-post:hover .featured-image img {
    transform: scale(1.05);
}

.featured-text {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.featured-badge {
    background: linear-gradient(90deg, #85c4b3, #4ca68f);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
    width: fit-content;
}

.featured-meta {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.featured-meta i {
    color: #A3D7C9;
}

.featured-title {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.featured-excerpt {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.featured-read-more {
    background: linear-gradient(90deg, #85c4b3, #4ca68f);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    width: fit-content;
}

.featured-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.category-filter-btn {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-filter-btn.active,
.category-filter-btn:hover {
    background: linear-gradient(90deg, #A3D7C9, #20c997);
    color: white;
    border-color: #A3D7C9;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}

/* Blog Grid */
.blog-content-section {
    padding: 0 0 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    height: 100%;
}

.blog-article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: rgba(40, 167, 69, 0.3);
}

.article-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-article-card:hover .article-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(40, 167, 69, 0.8), rgba(32, 201, 151, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-article-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    font-size: 24px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.blog-article-card:hover .overlay-content {
    transform: translateY(0);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #adb5bd;
    font-size: 48px;
}

.article-content {
    padding: 25px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
}

.article-date {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #e9ecef, #f8f9fa);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    color: #495057;
    width: fit-content;
}

.article-title {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    letter-spacing: -0.3px;
    flex-grow: 1;
}

.article-excerpt {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-read-more {
    color: #A3D7C9;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    position: relative;
    margin-top: auto;
}

.article-read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #A3D7C9, #20c997);
    transition: width 0.3s ease;
}

.article-read-more:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .featured-post-content {
        grid-template-columns: 1fr;
    }
    
    .featured-text {
        padding: 30px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .category-filters {
        gap: 10px;
    }
    
    .category-filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .blog-hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .featured-post {
        margin: -20px 15px 40px;
        border-radius: 20px;
    }
    
    .featured-text {
        padding: 25px;
    }
    
    .blog-grid {
        padding: 0 10px;
    }
}
