/* ============================================
   Blog Listing Page - Modern Styles
   ============================================ */

/* Section Labels */
.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}
.section-label::before,
.section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}
.label-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Featured Post - New Horizontal Design */
.featured-post-card {
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    min-height: 500px;
}

.featured-post-image-wrapper {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
}

.featured-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-post-card:hover .featured-post-image {
    transform: scale(1.05);
}

.featured-post-content-wrapper {
    flex: 0 0 45%;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #6c757d;
}

.featured-post-date,
.featured-post-readtime {
    color: #6c757d;
}

.featured-post-separator {
    color: #dee2e6;
}

.featured-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #1a1a1a;
}

.featured-post-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-title a:hover {
    color: #007bff;
}

.featured-post-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 30px;
}

.featured-post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Tag Pills */
.tag-pill {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f0f0;
    color: #495057;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-pill:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Blog Card Meta (Top of card) */
.blog-card-meta-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

.blog-card-date,
.blog-card-readtime {
    color: #6c757d;
}

.blog-card-separator {
    color: #dee2e6;
}

.blog-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 15px;
}

/* Blog Card Image Height */
.blog-card .blog-card-image {
    height: 240px;
    overflow: hidden;
}

.blog-card .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    margin-top: 60px;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-input:focus {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.newsletter-btn {
    padding: 16px 40px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 991px) {
    .featured-post-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .featured-post-image-wrapper {
        flex: 0 0 auto;
        height: 350px;
    }
    
    .featured-post-content-wrapper {
        flex: 1;
        padding: 40px 30px;
    }
    
    .featured-post-title {
        font-size: 2rem;
    }
    
    .featured-post-excerpt {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .featured-post-image-wrapper {
        height: 250px;
    }
    
    .featured-post-content-wrapper {
        padding: 30px 20px;
    }
    
    .featured-post-title {
        font-size: 1.5rem;
    }
    
    .featured-post-excerpt {
        font-size: 0.95rem;
    }
    
    .newsletter-title {
        font-size: 1.75rem;
    }
    
    .newsletter-subtitle {
        font-size: 0.95rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
    }
}