/* Blog Posts Section */
.namesprint-recent-posts {
    text-align: center;
    padding: 40px 0;
    max-width: 90%;
    margin: auto;
    background: #ffffff; /* White background */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 50px;
}

/* Section Header */
.namesprint-posts-header {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #222222; /* Darker text */
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Blog Post Grid */
.namesprint-posts-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Individual Post Box */
.post-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: transform 0.3s ease-in-out;
    text-align: left;
    border: 1px solid #ddd;
}

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

/* Post Headings */
.post-item h3 {
    font-size: 20px;
    color: #222222; /* Darker text */
}

/* Post Links */
.post-item a {
    text-decoration: none;
    color: #0073e6;
    font-weight: bold;
}

.post-item a:hover {
    text-decoration: underline;
}

/* Excerpt Text */
.post-item p {
    color: #444444; /* Medium-dark text for readability */
}

/* Read More Button */
.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #0073e6;
    font-weight: bold;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .namesprint-posts-container {
        flex-direction: column;
        align-items: center;
    }

    .post-item {
        width: 100%;
        max-width: 90%;
    }
}
