.hs-blog-more-posts-container {
    font-family: inherit;
    width: 100%;
}

.hs-more-posts-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

/* Responsive grid setup based on prefix classes */
.hs-more-posts-grid1- .hs-more-posts-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.hs-more-posts-grid2- .hs-more-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hs-more-posts-grid3- .hs-more-posts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hs-more-posts-grid4- .hs-more-posts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .hs-more-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .hs-more-posts-grid {
        grid-template-columns: 1fr !important;
    }
}

.hs-more-post-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.hs-more-post-card:hover {
    transform: translateY(-4px);
}

.hs-more-post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.hs-more-post-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hs-more-post-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.hs-more-post-title {
    font-size: 1.3rem;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.hs-more-post-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
}

.hs-more-post-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.hs-more-post-readmore {
    font-weight: bold;
    font-size: 0.95rem;
    color: #000;
    text-decoration: underline;
    display: inline-block;
}

/* Pagination Style */
.hs-more-posts-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.hs-more-posts-pagination .page-numbers {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.hs-more-posts-pagination .page-numbers.current,
.hs-more-posts-pagination .page-numbers:hover {
    background: #333;
    color: #fff;
    border-color: #333;
}
