.host {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  background-position: center;
  background-size: cover;
  border-radius: var(--card-border-radius);
  box-shadow: var(--card-box-shadow);
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
}
.host img {
  position: absolute;
  height: 100%;
  top: 0;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}
.host.visible {
  opacity: 1 !important;
}
.host.visible .info {
  opacity: 1;
  transform: translateY(0%);
}
.host.visible:hover .overlay {
  opacity: 0.9 !important;
}
.host.visible:hover.min .overlay {
  opacity: 0.7 !important;
}
.host.visible:hover.min .info {
  transform: translateY(90%) !important;
}
.host.visible:hover .info {
  transform: translateY(40%) !important;
}
.host.vertical {
  flex-direction: row;
}
.host.vertical .info {
  justify-content: flex-end;
  width: 40%;
}

.overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  transition: opacity 0.3s;
}

.info {
  display: flex;
  flex-direction: column;
  padding: 10px;
  z-index: 1;
  opacity: 0;
  transform: translateY(40%);
  transition: transform 0.3s;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}