/* ==========================================================================
   Blog Home Layout Styles
   ========================================================================== */

.blog-home-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-home-section {
    margin-bottom: 50px;
}

.blog-section-divider {
    border-top: 1px solid #eaeaea;
    margin: 40px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #db2628;
    margin-bottom: 30px;
}

.post-title a {
    color: #000;
    transition: color 0.3s;
}
.post-title a:hover {
    color: #db2628;
}

/* Common Post Thumbnails */
.post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* View More Wrap */
.blog-view-more-wrap {
    text-align: center;
    margin-top: 30px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.blog-home-hero {
    margin-bottom: 40px;
}
.hero-latest-posts {
    padding-left: 20px;
}
.hero-latest-posts .section-title {
    color: #000;
}
.latest-post-card {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}
.latest-thumb {
    flex: 0 0 100px;
    height: 100px;
}
.latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.latest-content {
    flex: 1;
}
.latest-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
}
.latest-title a {
    color: #000;
}
.latest-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* ==========================================================================
   Grid A (1 Large Left, 4 Small Right Grid)
   ========================================================================== */

.grid-large-post .post-thumb img {
    height: 380px;
    margin-bottom: 20px;
}
.grid-large-post .post-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}
.grid-large-post .post-excerpt {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

.grid-small-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding-left: 20px;
}
.grid-small-post .post-thumb img {
    height: 150px;
    margin-bottom: 15px;
}
.grid-small-post .post-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

/* ==========================================================================
   Grid B (1 Large Left, 3 Stacked Right)
   ========================================================================== */

.list-small-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 20px;
}
.list-small-post {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.list-small-post .post-thumb {
    flex: 0 0 150px;
}
.list-small-post .post-thumb img {
    height: 110px;
}
.list-small-post .post-content {
    flex: 1;
}
.list-small-post .post-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.list-small-post .post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 850px) {
    .hero-latest-posts {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .grid-small-wrapper,
    .list-small-wrapper {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .grid-large-post .post-thumb img {
        height: auto;
    }
}

@media (max-width: 500px) {
    .grid-small-wrapper {
        grid-template-columns: 1fr;
    }
    
    .list-small-post {
        flex-direction: column;
    }
    .list-small-post .post-thumb {
        flex: none;
        width: 100%;
    }
    .list-small-post .post-thumb img {
        height: auto;
    }
}
