/* Grid container for blog posts */
.nexpro-blogpost-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-gap: 20px; /* Space between items */
    padding: 20px;
    margin-bottom: 20px;
}

/* Each individual post item */
.nexpro-blogpost-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* On hover, slightly raise the card and add shadow */
.nexpro-blogpost-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Featured image styling */
.nexpro-blogpost-item .featured-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
}

/* Post category link */
.nexpro-blogpost-item .post-category a {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    color: #ff6347;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-decoration: none;
}

/* Post title styling */
.nexpro-blogpost-item .post-title {
    font-size: 18px;
    margin: 10px 0;
    font-weight: 600;
}

.nexpro-blogpost-item .post-title a {
    text-decoration: none;
    color: #333;
}

.nexpro-blogpost-item .post-title a:hover {
    color: #ff6347;
}

/* Excerpt content styling */
.nexpro-blogpost-item .post-content {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Author information */
.nexpro-blogpost-item .author-info {
    display: flex;
    align-items: center;
}

.nexpro-blogpost-item .author-info img {
    border-radius: 50%;
    margin-right: 10px;
}

.nexpro-blogpost-item .author-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.post-details {
    margin: 15px;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
    .nexpro-blogpost-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    .nexpro-blogpost-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
    }
}



