#news-posts {

}
.news-post-grid-container {
    margin: 0 auto;
    padding: 0;
}

.news-post-header {
    margin-bottom: 30px;
    text-align: center;
}

.news-post-section-subtitle {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    font-family: "Poppins", sans-serif;
}

.news-post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.news-post-grid-item {
    width: 100%;
}

.news-post-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.news-post-thumbnail {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 188px;
}

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

.news-post-thumbnail:hover img {
    transform: scale(1.03);
}

.news-post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-post-title {
    margin: 0 0 12px 0;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.news-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-post-title a:hover {
    color: #F47F30;
}

.news-post-meta {
    color: #666;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 400;
}

.news-post-date {
    font-weight: 500;
}

.news-post-read-time {
    color: #888;
}

.news-post-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 15px;
    flex-grow: 1;
}

.news-read-more-btn {
    background: #F47F30;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
    margin-top: auto;
}

.news-read-more-btn:hover {
    background: #d96b1f;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.news-pagination {
    text-align: center;
    margin: 40px 0 20px 0;
}

.news-pagination .page-numbers {
    display: inline-block;
    padding: 12px 16px;
    margin: 0 4px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    min-width: 45px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: #F47F30;
    color: white;
    text-decoration: none;
    border-color: #F47F30;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(244, 127, 48, 0.3);
}

.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
    font-weight: 600;
    padding: 12px 20px;
}

.news-pagination .page-numbers.dots {
    background: transparent;
    border: none;
    color: #999;
    cursor: default;
}

.news-pagination .page-numbers.dots:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

.news-no-posts-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .news-post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .news-post-grid-container {
        padding: 0 15px;
    }
    
    .news-post-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-post-section-subtitle {
        font-size: 24px;
    }
    
    .news-post-title {
        font-size: 15px;
    }
    
    .news-post-content {
        padding: 15px;
    }
    
    .news-post-meta {
        flex-direction: column;
        gap: 3px;
        align-items: flex-start;
        font-size: 10px;
    }
    
    .news-pagination .page-numbers {
        padding: 10px 12px;
        font-size: 14px;
        margin: 0 2px;
    }
    
    .news-pagination .page-numbers.prev,
    .news-pagination .page-numbers.next {
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .news-post-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .news-post-thumbnail {
        height: 160px;
    }
    
    .news-post-thumbnail img {
        height: 160px;
    }
    
    .news-post-content {
        padding: 15px;
    }
    
    .news-post-title {
        font-size: 16px;
    }
    
    .news-post-excerpt {
        font-size: 14px;
    }
}