.cardWithBgImg {
  border-radius: 10px;
  padding: 25px 20px;
  margin-bottom: 15px;
  position: relative;
  background-size: cover;
  background-position: center center;
}
.cardWithBgImg::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
  border-radius: 10px;
}