.card-wraper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.modalidade-card,
.udidade-card {
  flex: 1 1 400px;
  width: 100%;
  height: 400px;
  position: relative;
  border-radius: 5px;
  transition: ease all .3s;
}

.modalidade-card:hover,
.udidade-card:hover {
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .4);
  transition: ease all .3s;
}

.modalidade-card img,
.udidade-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 5px;
}

.modalidade-card div,
.udidade-card div {
  position: absolute;
  bottom: 0px;
  border-radius: 0 0 0 5px;
  width: 100%;
  background: #00a2c1;
  background: linear-gradient(90deg, rgba(0, 162, 193, .4178046218) 0%, #08a5c3 0%, rgba(255, 255, 255, 0) 100%);
}

.modalidade-card p,
.udidade-card p {
  color: #fff;
  padding: 10px 0 5px 10px;
}

.modalidade-card h3,
.udidade-card h3 {
  color: #fff;
  padding: 0 10px 10px;
  font-size: 25px;
}

.clamp-4-line p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.keep-reading a {
  text-decoration: none;
  color: #333;
  opacity: .7;
}

.after-p::after {
  content: "...";
}
