.infolio-latest-posts{
  .item{
    display: flex;
    span,a{
      display: inline-block;
    }
    a,a:hover{
      color: inherit;
    }
    &:hover{

      .img{

        a{

          .post-date{
            opacity: 1;
          }
        }
      }
    }
    .img{
      width: 90px;
      height: 100px;
      border-radius: 5px;
      overflow: hidden;

      a{
        width: 100%;
        height: 100%;
        position: relative;

        .post-date{
          color: #1a1a1a;
          position: absolute;
          top: 50%;
          left: 50%;
          font-size: 14px;
          width: 50px;
          height: 50px;
          text-align: center;
          background: rgba(0,0,0,.1);
          backdrop-filter: blur(10px);
          border-radius: 50%;
          transform: translateX(-50%) translateY(-50%);
          z-index: 3;
          opacity: 0;
          transition: all .4s;

          span{
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(-50%);
            line-height: 1;
          }
        }
      }

      img{
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .cont{
      padding-left: 25px;

      h6{
        color: #1a1a1a;
        font-size: 17px;
      }

      .categories{
        color: #1a1a1a;
        font-size: 12px;
        padding: 5px 15px;
        border-radius: 30px;
        background: rgba(0, 0, 0, 0.03);
        margin-bottom: 10px;
      }
    }
  }
}

body.tcg-dark-mode {
  .infolio-latest-posts{
    .item{
      .img{
          .post-date{
            color: #ffffff;
          }
        }
      }
      .cont{
        h6{
          color: #FFFFFF;
        }

        .categories{
          color: #FFFFFF;
          background: rgba(255, 255, 255, 0.03);
        }
      }
  }
}

// Auto Mode
@media (prefers-color-scheme: dark) {
  body.tcg-auto-mode {
    .infolio-post-tags{
      a{
        display: inline-block;
        transition: all .4s;
        background: rgba(255, 255, 255, 0.02);
        color: #FFFFFF;
      }
    }
  }
}