.post-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.587);
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.post-link{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}
.ndpost-grid-wrapper{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}
.ndpost-gridwraper{
    z-index: 2;
    width: 100%;
    height: 100%;
    position: relative;
}
.ndpost{
    position: relative;
    height: 550px;
}
.ndpost .post-grid{
    position: relative;
    z-index: 3;
}

.ndpost .categories-name{
    color: #fff !important;
}

.ndpost-grid{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 20px 30px;
}
.ndpost-grid .date-bottom {
    margin-top: auto;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1;
    color: #fff !important;
    -webkit-transition: all 0.2s ease-in-out 0s;
    -o-transition: all 0.2s ease-in-out 0s;
    transition: all 0.2s ease-in-out 0s;
}


.ndpost-grid .entry-title {
    font-size: 20px;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
  
.ndpost-grid .day {
    font-size: 30px;
  }
  
  @media (min-width: 1200px) {
    .ndpost-grid .day {
      font-size: 62px;
    }
  }

.ndpost-grid .list-categories a{
    color: #fff !important;
}

.ndpost-grid  .entry-title a{
    color: #fff !important;
}

.ndpagination{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 20px;
}
.page-numbers{
    font-size: 16px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 1px solid #996414;
    background: transparent;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
} 
.current{
    background: #996414 !important;
    border-color: #996414 !important;
    color: #fff !important;
}