.wcf-grid-hover-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  svg {
    width: 1em;
    height: 1em;
  }

  .wcf-post {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #FFFFFF4D;
    padding: 300px 30px 30px;
    overflow: hidden;

    .thumb {
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0;
      top: 0;
      z-index: -1;
      transition: all 0.5s;
      opacity: 0;

      img {
        object-fit: cover;
        width: 100%;
        height: 100%;
      }

      &::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-color: #12121240;
      }
    }

    &:hover .thumb,
    &:first-child .thumb {
      opacity: 1;
    }

  }

}


/* Responsive */
@media (max-width: 1200px) {

  .wcf-grid-hover-posts {
    .wcf-post {
      position: relative;

      .thumb {
        opacity: 1;
      }
    }
  }
}