.pg-plex-grid {
  display: grid;
}
.pg-plex-item {
  position: relative;
  overflow: hidden;
  &:hover {
    .pg-plex-img {
      transform: scale(1.2);
      transition-delay: 0.2s;
    }
    .pg-plex-meta {
      color: #fff;
      background: #0d3b54;
    }
    .pg-plex-readmore {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
.pg-plex-image-wrap {
  position: relative;
  block-size: 100%;
  &:before {
    position: absolute;
    content: "";
    inset-block-start: 0;
    inset-inline-start: 0;
    inline-size: 100%;
    block-size: 100%;
    // background: linear-gradient(5deg, rgba(13, 59, 84, 0.8), transparent);
    transition: all 0.6s cubic-bezier(0.31, 0.67, 0.36, 1);
    z-index: 1;
  }
  .pg-plex-img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    vertical-align: middle;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.31, 0.67, 0.36, 1);
  }
}
.pg-plex-meta-wrap {
  inset-block-start: 0;
}
.pg-plex-meta {
  margin: 0;
  background: #fff;
  padding-block: 8px;
  padding-inline: 16px;
  text-transform: capitalize;
  font-size: 12px;
  border-radius: 3px;
  color: rgba(13, 59, 84, 0.8);
  transition: all 0.4s cubic-bezier(0.31, 0.67, 0.36, 1);
}
.pg-plex-content {
  inset-block-end: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-column-gap: 30px;
  inline-size: 100%;
}

.pg-plex-content,
.pg-plex-meta-wrap {
  position: absolute;
  inset-inline-start: 0;
  padding: 50px;
  z-index: 1;
  overflow: hidden;
}
.pg-plex-readmore {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.31, 0.67, 0.36, 1);
  a {
    background: #fff;
    padding: 9px 12px;
    border-radius: 50%;
    color: rgba(13, 59, 84, 0.8);
    transition: all 0.3s cubic-bezier(0.31, 0.67, 0.36, 1);
  }
  a:hover {
    color: #fff;
    background: #0d3b54;
  }
}
.pg-plex-title {
  font-size: 28px;
  text-transform: capitalize;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
