.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0px;float:left;
}

.card {
 float:left;
  width:calc((100% - 150px)/3);
  margin: 25px;
  padding:0px; 
  overflow:hidden;
  background-color: white;
}
.card:hover .card__caption {
  top: 50%;
  transform: translateY(-50%);
}
.card:hover .card__image {
  
}
.card:hover .card__thumb::after {
  top:0px;
}
.card:hover .card__snippet {
 margin-top: 30px;
 margin-bottom: 40px;
}
.card__thumb {
  position: relative;
  height: 580px;
  overflow: hidden;
}
.card__thumb::after {
  position: absolute;
  top: 0;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
  transition: .3s;
}
@media (min-width: 1024px) {
  .card__thumb::after {
    top: calc(100% - 100px);
  }
}
.card__image {
  width:100%;
  height: 580px;
  transition: .5s ease-in-out;
}
.card__caption {
  position: absolute;
  top: 50%;
  z-index: 1;
  padding: 0 20px;
  color: white;
  transform: translateY(-50%);
  text-align: center;
  transition: .3s;
}
@media (min-width: 1024px) {
  .card__caption {
    top: calc(100% - 100px);
    transform: unset;
  }
}
.card__title {
  display: -webkit-box;
  max-height: 85px;
  overflow: hidden;font-family: "Microsoft JhengHei";
  font-size: 1.2vw;
  font-weight:bold;
  line-height: 2vw;
  border-bottom: 3px solid #fff;
  text-shadow: 0px 1px 5px black;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-left:50px;
  margin-right:50px;
  min-width:10vw;
}
.card__em {
font-style:normal;  font-size: 12px;
}

.card__snippet {
  display: -webkit-box;
  max-height: 150px;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  text-overflow: ellipsis;
  transition: .5s ease-in-out;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
@media (min-width: 1024px) {
  .card__snippet {
    margin: 60px 20px;
  }
}
.card__button {
  display: inline-block;
  padding: 5px 20px;
  color: white;
  border: 1px solid white;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  transition: .3s;
}
.card__button:hover {
  color: black;
  background-color: white;
}

