.card__container.row {
  gap: 12px;
}

.card__container.row > div:not(.col-12):not(.col-6):not(.col-4):not(.col-3) {
  flex: 1 1 calc(25% - 9px);
}

@media (max-width: 992px) {
  .card__container.row > div:not(.col-12):not(.col-6):not(.col-4):not(.col-3) {
    flex: 1 1 calc(50% - 6px);
  }
}

@media (max-width: 767px) {
  .card__container.row > div:not(.col-12):not(.col-6):not(.col-4):not(.col-3) {
    flex: 1 1 100%;
  }
}

a.card__callout:hover {
  cursor: pointer;
}

.card__callout {
  height: 100%;
  text-decoration: none;
  text-align: center;
  color: #222;
  font-weight: 600;
  line-height: 24px;
  background: #f5f5f5;
  border: 1px solid #e7e7e7;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  opacity: 0;
  transition: opacity .5s;
}

.card__callout.card__callout__visible {
  opacity: 1;
}

.card__callout:hover .card__callout__photo:before {
  height: 100%;
}

.card__callout:hover .card__callout__description {
  color: #fff;
}

.card__callout .card__callout__photo {
  position: relative;
  background-size: cover;
  height: 150px;
}

.card__callout .card__callout__photo:before {
  content: '';
  background: rgba(0, 0, 255, 0.6);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  transition: height .3s ease;
}

.card__callout .card__callout__description {
  padding: 10px 16px;
  color: #fff;
}

.card__callout .card__callout__description span {
  margin-left: 6px;
}
