* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: black;
}

.blog-header {
    background: #f18806;
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.header-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
}

.blog-post {
    margin-bottom: 3rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

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

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

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-category {
    color:clack;
    font-weight: bold;
}

.post-date {
    color: #666;
}

.post-content h2 {
    color: black;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: black;
}

/* Sidebar Styles */
.sidebar-widget {
    background: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.sidebar-widget h3 {
    color: black;
    margin-bottom: 1rem;
}

.search-bar {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.recent-posts li {
    list-style: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.recent-posts a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: black;
}

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

.page-number {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-number:hover,
.page-number.active {
    background: rgb(240, 163, 9);
    color: white;
    border-color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: -1;
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .blog-header {
        padding: 4rem 1rem;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }
}