main .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1rem 0;
}

.card {
  width: 340px;
  height: auto;
  border-radius: 10px;
}

.card .card-img {
  width: 100%;
  height: 250px;
  border-radius: 10px 10px 0px 0px;
}

.card .card-img img {
  width: 100%;
  height: 100%;
  border-radius: 10px 10px 0px 0px;
}

.card .card-content {
  border-radius: 0px 0px 10px 10px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  padding: 25px 20px;
}

.card .card-content .card-tag {
  background: #f97316;
  color: #fff;
  width: fit-content;
  padding: 5px 12px;
  font-size: 14px;
  border-radius: 15px;
}

.card .card-content .card-title {
  color: #383f51;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
} 

.card .card-content .card-desc {
  color: #383f51;
  line-height: 20px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;  
  overflow: hidden; 
}

.card .card-content .card-profile {
  display: flex;
  column-gap: 15px;
  margin-top: 15px;
}

.card .card-content .card-profile .card-profile-img {
  width: 55px;
  height: 57px;
}

.card .card-content .card-profile .card-profile-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.card .card-content .card-profile .card-profile-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 3px;
  color: #383f51;
}

.card .card-content .card-profile .card-profile-content h3 {
  font-size: 18px;
}

.card .card-content .card-profile .card-profile-content span {
  font-size: 14px;
  color: #a2a6b7;
}


@media (max-width: 576px) {
  main .container {
    grid-template-columns: repeat(1, 1fr);
  }
 
  main .container .card {
    margin: auto;
    margin-bottom: 1rem;
  }
}