.posts-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.posts-showcase.posts-grid {
    justify-content: center;
}

.posts-showcase.posts-carousel {
    overflow: hidden;
}

.post-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor:pointer;
}
.posts-grid-item {
    width: 29%;
    min-width: 400px;
}

.post-item:hover {
    transform: scale(1.05);
}

.post-thumbnail img {
    width: 100%;
    object-fit: cover;
    max-width:400px;
}
.post-thumbnail-only {
    position: relative;
}

.post-content {
    padding: 15px;
}

.post-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}
.post-title-image-hover {
position: absolute;
    bottom: 0;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    color: white;
    width: 100%;
    background-color: rgb(0 0 0 / 25%);
    height: 100%;
    margin: 0;
    display: flex;
    align-items: end;
    padding: 20px;
}

.post-excerpt {
    color: #666;
    margin-bottom: 15px;
}
.post-title-container
.read-more {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #0056b3;
}
.posts-grid-wraper{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}