.post-card a {
    text-decoration: none; 
    color: inherit;
    display: block;
}


.post-card {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
    display: inline-block;
}

/* Ensure z-index works properly */
.post-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgb(121, 120, 120);
    z-index: -1; /* Changed to 0 to place it behind */
    transition: left 0.4s ease-in-out; /* Adjust timing for smooth sliding */
}

/* Hover effect */
.post-title:hover::before {
    left: 0;
}

.post-title:hover {
    color: white; /* Change the text color to white when hovered */
    z-index: 1; /* Place the text above the sliding background */
}

.post-date {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.hrishi-list {
    max-width: 600px;
    margin: 10px auto;
    padding: 20px;
    text-align: left;
}