.post-list{
    padding-top: 20px;
    /* border-left: 1px solid #ddd; */
    /* border-right: 1px solid #ddd; */
    /* border-bottom: 1px solid #ddd; */
}

.post-preview{
    height: 220px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    transition: all 0.3s;
    transform: scale(1.0);
    /* background-color: #f5f7f8; */
    padding: 10px;
    /* Remove fixed width and margins that cause spacing issues */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    /* border-radius: 12px; */
    /* border-bottom: 2px solid #736e6e; */
}

.post-preview:hover{
    z-index: 1;
    max-height: none;
    transform: scale(1.0);
    box-shadow: 0 2px 2px -2px gray;
}

.post-preview img{
    object-fit: cover;
    width: 100%;
    height: 200px;
    padding:0;
    margin:0;
}

.post-preview a{
    text-decoration: none;
    color: inherit;
}

.post-preview-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-preview-link:hover {
    text-decoration: none;
    color: inherit;
}

.text-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
}

.abstract-content {
    flex-grow: 1;
    overflow: hidden;
    color: #736e6e;
}


/* Responsive image for small screens */
@media (max-width: 575px) {
    .post-preview {
        width: 100%;
        max-height: 400px;
        height:auto;
    }

    .post-preview img {
        width: 100%;
        height: 200px;
    }
}



