/* General Blog Styles */
.blog-main {
    padding-top: 80px;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.blog-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

/* Posts Section */
.posts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.post {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post:hover {
    transform: translateY(-5px);
}

.post-thumb {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.post h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.post h2 a {
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.post h2 a:hover {
    color: var(--primary-color);
}

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

/* Featured Post */
.featured {
    grid-column: 1 / -1;
}

.featured .post-thumb {
    height: 400px;
}

.featured h2 {
    font-size: 2.5rem;
}

/* Sidebar */
.sidebar .widget {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.search-widget input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--input-bg);
    color: var(--text-primary);
}

.categories-widget ul {
    list-style: none;
    padding: 0;
}

.categories-widget li a {
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.categories-widget li a:hover {
    color: var(--primary-color);
}

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

    .featured .post-thumb {
        height: 300px;
    }

    .featured h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .post-thumb {
        height: 200px;
    }

    .featured .post-thumb {
        height: 250px;
    }

    .featured h2 {
        font-size: 1.8rem;
    }
}

.post-full-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.post-full-image {
    width: 100%;
    border-radius: 10px;
}
