.hover-content-block {
  position: relative;
}
.hover-content-block .background-wrapper {
  height: 0;
  overflow: hidden;
  padding-top: 75%;
  position: relative;
}
.hover-content-block .background-wrapper .background {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
}
.hover-content-block .content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  pointer-events: none;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.hover-content-block .content-wrapper .content {
  color: #ffffff;
  width: 75%;
}
@media screen and (max-width: 1024px) {
  .hover-content-block .content-wrapper .content {
    width: 80%;
  }
}
@media screen and (max-width: 768px) {
  .hover-content-block .content-wrapper .content {
    width: 85%;
  }
}
.hover-content-block .content-wrapper .content .title {
  position: relative;
  font-size: 22px;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.hover-content-block .content-wrapper .content .title:after {
  position: absolute;
  bottom: 0;
  left: 5px;
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  content: '';
}
.hover-content-block:hover .content-wrapper,
.hover-content-block.hovered .content-wrapper {
  opacity: 1;
  pointer-events: all;
}
.hover-content-block-editor {
  border: solid 1px #222222;
  border-radius: 10px;
  padding: 10px;
}
.hover-content-block-editor .background-wrapper .background {
  min-height: 150px;
  background-size: cover;
  background-position: center center;
}
