.section2 {
  box-sizing: border-box;
  font-size: 62.5%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section2 *,
.section2 *:before,
.section2 *:after {
  box-sizing: inherit;
}

.section2 .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.card__image {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.section2-card {
  width: 300px;
  margin: 30px;
  background-color: white;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
}
.section2-card:hover .section2-card__caption {
  top: 50%;
  transform: translateY(-50%);
}
.section2-card:hover .section2-card__image {
  transform: translateY(-10px);
}
.section2-card:hover .section2-card__thumb::after {
  top: 0;
}
.section2-card:hover .section2-card__title {
  color: #a5cfa0 !important;
}
.section2-card:hover .section2-card__snippet {
  margin: 20px 0;
}
.section2-card__thumb {
  position: relative;
  max-height: 400px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .section2-card__thumb {
    max-height: 500px;
  }
}
.section2-card__thumb::after {
  position: absolute;
  top: 0;
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 100%, rgba(255, 255, 255, 0) 100%);
  transition: 0.3s;
}
@media (min-width: 1024px) {
  .section2-card__thumb::after {
    top: calc(100% - 100px);
  }
}
.section2-card__image {
  transition: 0.5s ease-in-out;
}
.section2-card__caption {
  position: absolute;
  top: 50%;
  z-index: 1;
  padding: 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: white;
  transform: translateY(-50%);
  text-align: center;
  transition: 0.3s;
}
@media (min-width: 1024px) {
  .section2-card__caption {
    top: calc(100% - 80px);
    transform: unset;
  }
}
.section2-card__title {
  display: -webkit-box;
  max-height: 85px;
  overflow: hidden;
  font-size: 23px;
  line-height: 28px;
  color: white !important;
  text-shadow: 0px 1px 5px black;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.section2-card__snippet {
  display: -webkit-box;
  max-height: 150px;
  margin: 20px 0;
  overflow: hidden;
  font-size: 16px;
  line-height: 20px;
  text-overflow: ellipsis;
  transition: 0.5s ease-in-out;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
@media (min-width: 1024px) {
  .section2-card__snippet {
    margin: 80px 0;
  }
}

.section2-card__caption h2 {
  color: #fff;
}

.section2-card figure {
  margin: 0 !important;
}/*# sourceMappingURL=section2.css.map */