/* Modern Blog Section Styles */
.blog-section, .archive-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6b00, transparent);
}

.blog-section .container, .archive-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-section .section-header, .archive-header .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-section .section-badge, .archive-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #ff6b00, #ff8c00);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-section .section-header h2, .archive-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: #1a2a6c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.blog-section .section-description, .archive-header .section-description {
    font-size: clamp(16px, 2vw, 20px);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(26, 42, 108, 0.1);
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 42, 108, 0.8), rgba(255, 107, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-card:hover .blog-overlay {
    opacity: 1;
}

.blog-overlay i {
    color: white;
    font-size: 24px;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-overlay i {
    transform: scale(1);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #ff6b00, #ff8c00);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: #ff6b00;
}

.blog-title {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #ff6b00;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.blog-tag {
    background: rgba(26, 42, 108, 0.1);
    color: #1a2a6c;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: #1a2a6c;
    color: white;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6b00;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #1a2a6c;
    transform: translateX(5px);
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

.blog-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.blog-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-stats i {
    color: #ff6b00;
}

/* No Posts State */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-posts i {
    font-size: 64px;
    color: #ff6b00;
    margin-bottom: 20px;
}

.no-posts h3 {
    font-size: 24px;
    color: #1a2a6c;
    margin-bottom: 10px;
}

.no-posts p {
    color: #666;
    font-size: 16px;
}

/* Blog CTA */
.blog-cta {
    text-align: center;
    margin-top: 60px;
}

.blog-cta .button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff6b00, #ff8c00);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
    transition: all 0.4s ease;
}

.blog-cta .button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.4);
}

.blog-cta .button-subtitle {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
    text-transform: none;
    letter-spacing: 0;
}

/* Archive Header Styles */
.archive-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a2a6c 0%, #2c3e50 100%);
    color: white;
    text-align: center;
}

.archive-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.archive-header .section-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Responsive Blog Styles */
@media (max-width: 1200px) {
    .blog-grid, .archive-content .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .blog-section, .archive-content {
        padding: 80px 0 100px;
    }
    
    .blog-grid, .archive-content .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .blog-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .blog-section, .archive-content {
        padding: 60px 0 80px;
    }
    
    .blog-grid, .archive-content .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-card {
        margin: 0 10px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .blog-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .blog-stats {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-section, .archive-content {
        padding: 40px 0 60px;
    }
    
    .blog-section .section-header {
        margin-bottom: 40px;
    }
    
    .blog-section .section-header h2 {
        font-size: 28px;
    }
    
    .blog-content {
        padding: 15px;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .blog-category-badge {
        top: 10px;
        left: 10px;
        font-size: 11px;
        padding: 4px 8px;
    }
}
