body {
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.top-row img {
    filter: grayscale(100%);
    width: 80px;
    height: auto;
    margin-right: 20px;
    transition: filter 0.3s ease;
}
.top-row img:hover {
    filter: grayscale(0%);
}
.top-text .text-top {
    max-width: 600px;
}

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

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

.hrishi-list h2 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #333;
}

.recent-posts h2 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #333;
}

.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: #797878;
    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;
}

.show-more {
    display: block;
    text-align: right;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.show-more:hover {
    color: #000;
    text-decoration: underline;
}


footer {
    background: linear-gradient(to top, #f4f4f4, white); /* Gradient from #f4f4f4 to white */
    text-align: center;
    padding: 40px 10px;
    border-top: 1px solid #ddd;
    margin-top: 100px;
  }
  
  .footer-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  footer p {
    font-size: 18px;
    color: #555555de;
    margin: 10px 0;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .social-icons a img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
  }
  
  .social-icons a img:hover {
    transform: scale(1.2);
  }
  