.hero-homepage {
  position: relative;
  margin-top: -140px;
  padding-bottom: 170px;
  margin-bottom: -70px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-homepage + section {
  position: relative;
  z-index: 1;
}
.hero-homepage .picture-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
}
.hero-homepage .picture-wrapper picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-position: left top;
  object-fit: cover;
  z-index: 0;
}
.hero-homepage .video-wrapper {
  display: none;
}
.hero-homepage.video .picture-wrapper {
  display: none;
}
.hero-homepage.video .video-wrapper {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}
.hero-homepage.video .video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-position: center top;
  object-fit: cover;
}
.hero-homepage.video .video-wrapper .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background-color: #000;
  opacity: 0.5;
}
.hero-homepage .hero-content {
  position: relative;
  z-index: 1;
  padding: 160px 20px 170px;
  max-width: 1130px;
  margin: 0 auto;
}
.hero-homepage .hero-content .reviews-logo {
  display: block;
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 15px;
}
.hero-homepage .hero-content .btn {
  width: 100%;
}
.hero-homepage .bottom-clip {
  height: 20%;
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  background-color: #fff;
  clip-path: url(#clip-white);
  margin-bottom: -1px;
}
@media (min-width: 768px) {
  .hero-homepage {
    margin-top: -145px;
    display: flex;
    justify-content: flex-end;
    padding-bottom: 220px;
    margin-bottom: -190px;
  }
  .hero-homepage .hero-content {
    padding: 160px 40px 20px 40px;
  }
  .hero-homepage .hero-content .reviews-logo {
    height: 52px;
  }
  .hero-homepage .hero-content .btn {
    width: auto;
    display: inline-block;
  }
  .hero-homepage .shape {
    bottom: -100px;
  }
  .hero-homepage .bottom-clip {
    height: 20%;
  }
}
@media (min-width: 1280px) {
  .hero-homepage {
    margin-top: -185px;
    padding-bottom: 500px;
    margin-bottom: -310px;
  }
  .hero-homepage .hero-content {
    padding: 260px 40px 20px 40px;
  }
  .hero-homepage .hero-content .reviews-logo {
    margin-bottom: 25px;
  }
  .hero-homepage .bottom-clip {
    height: 40%;
  }
}

.video-trigger {
  position: absolute;
  width: 137px;
  height: 137px;
  right: 20%;
  bottom: 280px;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
@media (max-width: 1280px) {
  .video-trigger {
    right: 10%;
    bottom: 100px;
  }
}
@media (max-width: 767px) {
  .video-trigger {
    position: relative;
    left: unset;
    right: unset;
    z-index: 99;
  }
}

#hero-video-popup .close {
  color: #FFF;
  font-size: 36px;
  position: absolute;
  top: anchor(top);
  right: anchor(right);
  background: none;
  border: none;
  cursor: pointer;
  position-anchor: --video-container-hero;
  z-index: 10;
  transform: translate(32px, -32px);
}
#hero-video-popup .video-wrapper {
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16/9;
  anchor-name: --video-container-hero;
}
@media (max-width: 767px) {
  #hero-video-popup .video-wrapper {
    width: 100%;
    max-width: calc(100% - 50px);
    max-height: calc(100% - 50px);
  }
}
#hero-video-popup .video-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-family: "Roboto Slab", serif;
  font-size: 40px;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 52px;
  line-height: 3.25rem;
  display: block;
  color: #FFFFFF;
  margin-bottom: 15px;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 60px;
    font-size: 3.75rem;
    line-height: 72px;
    line-height: 4.5rem;
    margin-bottom: 30px;
  }
}
@media (min-width: 1280px) {
  .hero-title {
    font-size: 80px;
    font-size: 5rem;
    line-height: 92px;
    line-height: 5.75rem;
    margin-bottom: 40px;
  }
}

.hero-subtitle {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 30px;
  line-height: 1.875rem;
  display: block;
  margin: 0 0 30px;
  color: #FFFFFF;
}
@media (min-width: 768px) {
  .hero-subtitle {
    margin-bottom: 30px;
  }
}
@media (min-width: 1280px) {
  .hero-subtitle {
    font-size: 32px;
    font-size: 2rem;
    line-height: 40px;
    line-height: 2.5rem;
    margin-bottom: 40px;
  }
}

.home.page-template-template-homepage .ti-widget[data-layout-id="5"] {
  overflow: hidden !important;
  padding: 0 20px;
}
