body{
    background-color: var(--accent2);
}

/* Blog Hero */
.hero {
    background: none;
    padding: 3rem 0;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--accent3) !important;

}

.blog-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: #f1f1f1;
}

/* Blog Container */
.blog-container {
    display: flex;
    gap: 2rem;
    padding: 3rem 0;
    background-color: var(--accent1);
    width: 90%;
    margin: auto;
    border-radius: 2%;
}

/* Sidebar */
.blog-sidebar {
    flex: 0 0 250px;
    background-color: var(--accent1);
    margin-left: 10px;
}

.btn-group{
    display: flex;
    gap: 50px;
    justify-content: center;
}

.btn-group a{
    text-decoration: none;
    font-size: 0.8rem;
    color: var(--accent3);
    border: var(--accent3) 1px solid;
    padding: 4px;
    border-radius: 10px;
    background-color: var(--accent4);
    
}

.sidebar-card {
    background: var(--accent3);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    opacity: 0.6;
    width: 90%;
}

.sidebar-card h3 {
    color: #1b1b1b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.archive-link {
    display: block;
    padding: 0.7rem 0;
    color:  #1b1b1b;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 400;
}

.archive-link:hover {
    color: var(--accent4);
    padding-left: 0.5rem;
}

.archive-link i {
    margin-right: 0.7rem;
    width: 1.2rem;
    text-align: center;
}

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

/* Main Content */
.blog-main-content {
    flex: 1;
}

.featured-banner {
    display: flex;
    background: var(--secondary);
    color: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.banner-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-content h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.banner-image {
    flex: 1;
}

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

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.post-card {
    background:var(--accent3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    opacity: 0.75;
    font-weight: 500 !important;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.post-content {
    padding: 1.2rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #1b1b1b !important;
    margin-bottom: 0.8rem;
    font-weight: 400 !important;
}

.post-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
    border: var(--accent1) 1px solid;
    color: #1b1b1b;

}
.read-more:hover {
    display: inline-block;
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
    border: var(--accent1) 1px solid;
    color: var(--accent4);

}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-link {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: var(--secondary);
    transition: var(--transition);
}

.page-link:hover, .current-page {
    background: var(--accent4);
    color: white;
    border-color: var(--accent4);
}

.current-page {
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-container {
        flex-direction: column;
    }
    
    .blog-sidebar {
        flex: 1;
        order: 2;
    }
    
    .featured-banner {
        flex-direction: column;
    }
    
    .banner-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .blog-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}