.posts-blog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.posts-blog-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 10px;
  border-radius: 11px;
  border: 1px solid #dbdde1;
}

.blog-post-item-image img {
  width: 100%;
  aspect-ratio: 70 / 47;
  object-fit: cover;
  border-radius: 5px;
}

.blog-post-item-info {
  width: 100%;
  height: 180px;
  position: relative;
  padding-bottom: 100px;
  h3 {
    font-size: 20px;
    margin: 10px 0 5px;
    line-height: 150%;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  p {
    font-size: 12px;
    color: #777;
  }
  span {
    position: absolute;
    bottom: 0;
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    border: 1px solid #101DC2;
    padding: 5px 15px;
    border-radius: 10px;
    color: #101DC2;
    transition: all ease-in-out .2s;
    &:hover {
      color: #fff;
      background: #040F37;
      transition: all ease-in-out .2s
    }
    
  }
}

.load-more-posts {
  display: block;
  margin: 30px auto;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  color: #101DC2 !important;
  text-decoration: underline !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  transition: all .2s ease-in-out;
  border-radius: 10px;
  &:hover {
    text-decoration: none !important;
    color: #fff !important;
    border: 1px solid #101DC2 !important;
    background: #101DC2 !important;
    transition: all .2s ease-in-out;
  }
}

@media all and (max-width: 1024px) {
  .posts-blog {
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media all and (max-width: 767px) {
  .posts-blog {
    gap: 10px;
    grid-template-columns: 1fr;
  }
  .blog-post-item-info {
    height: auto;
    padding-bottom: 0;
    span {
      position: relative;
    }
  }
}