.pg-marron-grid {
  display: grid;
}
.pg-marron-item {
  position: relative;
  display: flex;
  flex-direction: column;
  &:hover {
    .pg-marron-image-wrap {
      &::before {
        block-size: 100%;
      }
    }
    .pg-marron-img {
      transform: scale(1.08);
    }
    .pg-marron-meta {
      opacity: 0;
      transform: translateY(-20px);
    }
    .pg-marron-readmore {
      opacity: 1;
      transform: translateY(-28px);
    }
    .pg-marron-date {
      opacity: 1;
      transform: translateY(0);
    }
    .pg-marron-title {
      a {
        &::before {
          inline-size: 100%;
        }
      }
    }
  }
}
.pg-marron-image-wrap {
  overflow: hidden;
  position: relative;
  block-size: 100%;
  inline-size: 100%;
  border-radius: 10px;
  &::before {
    position: absolute;
    content: "";
    inset-block-start: 0;
    inline-size: 100%;
    block-size: 0;
    background: linear-gradient(180deg, rgba(13, 59, 84, 0.8), transparent);
    z-index: 1;
    transition: block-size 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .pg-marron-img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    vertical-align: middle;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
}
.pg-marron-date {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  margin: 20px;
  font-size: 14px;
  color: #f3f5fd;
  text-transform: uppercase;
  font-weight: 500;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: 1;
}
.pg-marron-content {
  margin-block-start: 20px;
}

.pg-marron-title {
  margin: 0;
  margin-block-end: 7px;
  font-size: 25px;
  text-transform: capitalize;
  font-weight: 700;
  z-index: 1;
  position: relative;
  color: rgba(13, 59, 84, 0.8);
}
.pg-marron-meta {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  font-size: 15px;
  color: rgba(13, 59, 84, 0.8);
}
.pg-marron-readmore {
  opacity: 0;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1),
    opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
    transition: color 0.3s ease-out;
    color: rgba(13, 59, 84, 0.8);
    &:hover {
      color: #0d3b54;
    }
  }
}
