/* Hover mosaic effects */
.hover-mosaic {
  position: relative;
  overflow: hidden;
}

.hover-mosaic img {
  width: 100%;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}

.hover-mosaic:hover img {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

.hover-mosaic .hover-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgb(254 174 147 / 0);
  display: flex;
  align-items: end;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}

.hover-mosaic .hover-overlay .hover-content {
  text-align: center;
  width: 100%;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
}

.hover-mosaic .hover-overlay .hover-intro-title {
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.6rem;
  padding: 0 0.5rem;
  margin-bottom: 0.8rem;
}

.hover-mosaic .hover-overlay .hover-intro p {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  padding: 0 0.5rem;
  opacity: 0;
}

.hover-mosaic .hover-overlay .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hover-mosaic:hover .hover-overlay .hover-content {
  margin-bottom: 2rem;
}

.hover-mosaic:hover .hover-overlay .hover-intro p {
  opacity: 1;
}

@media (max-width: 575.98px) {
  .hover-mosaic .hover-overlay .hover-intro-title {
    font-size: 1.2rem;
    line-height: 1.5rem;
    padding: 0;
    margin-bottom: 0;
  }

  .hover-mosaic .hover-overlay .hover-intro p {
    font-size: 0.8rem;
    padding: 0;
  }
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .hover-mosaic .hover-overlay .hover-intro-title {
    font-size: 1.5rem;
    line-height: 1.8rem;
    padding: 0;
    margin-bottom: 0;
  }

  .hover-mosaic .hover-overlay .hover-intro p {
    font-size: 0.9rem;
    padding: 0;
  }
}

@media (max-width: 1199.98px) {
  .hover-mosaic:hover .hover-overlay .hover-content {
    margin-bottom: 1rem;
  }
}
