/*! ============================================================================= */
/*! Post preview teaser (used in portfolio and home pages). Style 4. */
/*! ============================================================================= */
.vc-post-teaser--style-4.vc-post-teaser {
  position: relative;
  overflow: hidden;
  background: #ebe8e4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.vc-post-teaser--style-4.vc-post-teaser:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  transition: opacity 250ms;
  opacity: 0;
  z-index: 5;
}

.vc-post-teaser--style-4.vc-post-teaser:hover:after {
  opacity: 0.5;
}

.vc-post-teaser--style-4.vc-post-teaser:hover .vc-post-teaser__hover-btn {
  opacity: 1;
}

.vc-post-teaser--style-4 .vc-post-teaser__hover-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  padding: 18px 45px;
  line-height: 20px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: #000000;
  z-index: 10;
  opacity: 0;
  transition: opacity 250ms;
}

.vc-post-teaser--style-4 .vc-post-teaser__image {
  flex: 1 1 400px;
  position: relative;
}

.vc-post-teaser--style-4 .vc-post-teaser__image img {
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  font-family: 'object-fit: cover;';
  width: 100%;
  height: 100%;
}

.vc-post-teaser--style-4 .vc-post-teaser__caption {
  padding: 35px;
}

.vc-post-teaser--style-4 .vc-post-teaser__sticky-badge {
  margin-right: 2px;
}

.vc-post-teaser--style-4 .vc-post-teaser__title {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-size: 24px;
  color: #000000;
}

.vc-post-teaser--style-4 .vc-post-teaser__additional-info {
  margin-bottom: 12px;
}

.vc-post-teaser--style-4 .vc-post-teaser__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: transparent;
  z-index: 15;
  text-indent: -9999px;
}
