.blog-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 8rem 0 6rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 8rem;
}

.blog-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.blog-hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.blog-search {
    max-width: 600px;
    margin: 0 auto;
    /* padding: 0.5rem 0; */
    height: 4rem;

    position: relative;
    display: flex;
    align-items: center;
    
}

.blog-search input {
    width: 100%;
    padding: 0 2rem;
    border-radius: 50px;
    height: 4rem;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-search button {
    position: absolute;
    width: 5rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8rem;
    background: #4CAF50;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Featured Post Enhancements */
.featured-post {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 4rem 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.featured-post-inner {
    display: flex;
    gap: 3rem;
    margin: 4rem auto;
    background: white;
    border-radius: 15px;
    width: 98%;
    
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.featured-image {
    position: relative;
    min-height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 3rem;
}

.post-category {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.featured-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Blog Grid Improvements */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.post-image {
    position: relative;
    height: 220px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #4CAF50;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 10rem;
    
}

.read-analysis{

    color: #4CAF50;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 10rem;
    background-color: rgb(35, 34, 34);

}

.read-more:hover {
    color: #45a049;
}

/* Sidebar Enhancements */
.blog-sidebar {
    margin-top: 4rem;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
}

.sidebar-widget h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    display: block;
    padding: 0.8rem 1.2rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #444;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-list a:hover {
    background: #4CAF50;
    color: white;
    transform: translateX(5px);
}

.newsletter input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.newsletter button {
    width: 100%;
    background: #4CAF50;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #45a049;
}

/* Responsive Design */
@media (max-width: 1200px) {
    /* .blog-container .container {
    } */
    
    .blog-sidebar {
        margin-top: 4rem;
    }
}

@media (max-width: 768px) {
    .featured-post-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 95%;
        margin: 1rem auto;
    }

    .featured-content{
        padding: 2rem;
    }

    .featured-content h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        color: #1a1a1a;
    }
    
    .blog-hero{
        margin-top: 2rem;
    }
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .post-content h3 {
        font-size: 1.5rem;
    }
}