section.hero-banner {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding-top: 180px;
  background-color: #e6f9fe;
  overflow-x: clip;
}

.hero-banner__mask {
  position: absolute;
  left: 50%;
  transform: translateX(-55%);
  width: 2040px;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  bottom: 0;
  z-index: 0;
}

.hero-banner__grid {
  max-width: 1066px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  z-index: 2;
}

.hero-banner__grid h1 {
  font-weight: 400;
}

.hero-banner__grid p {
  font-size: 24px;
}

.hero-banner__people img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
}

.hero-banner__content {
  padding-left: 20px;
  max-width: 740px;
}

.hero-banner__content__bottom {
  display: flex;
  gap: 30px;
}

.hero-banner__content__bottom .video-cta__container {
  position: relative;
}

.hero-banner__content__bottom .video-cta__container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  background-color: transparent;
  border: 1px solid var(--dark-blue);
  border-radius: 100%;
}

.hero-banner__content__bottom .video-cta {
  text-decoration: underline;
  transition: 0.3s;
}

.hero-banner__content__bottom .video-cta:hover {
  transform: translateY(-5px) !important;
}

.hero-banner__content__bottom .video-cta svg {
  margin-right: 12px;
}

.hero-banner__video-wrapper {
  height: 100%;
  position: absolute;
  max-width: 1000px;
  width: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  opacity: 0;
  transition: 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0 20px;
}

.hero-banner__video-wrapper.open {
  opacity: 1;
  z-index: 10000000;
}

.hero-banner__video-wrapper.play svg {
  opacity: 0;
}

.hero-banner__video-wrapper svg path,
.hero-banner__video-wrapper svg > g > g {
  transition: all 0.3s ease-in-out;
}

.hero-banner__video-wrapper video {
  width: 100%;
  height: 100%;
  cursor: pointer;
}


}

.hero-banner__video-wrapper svg {
  position: absolute;
  display: block;
  bottom: 50%;
  right: 50%;
  opacity: 0;
  transition: 0.3s ease-in-out;
  transform: translate(50%, 50%);
  cursor: pointer;
  width: 50%;
  height: 25%;
}
.hero-banner__video-wrapper svg:hover > g > path {
  fill: var(--white);
}

.hero-banner__video-wrapper svg:hover > g > g {
  stroke: var(--white);
}

.hero-banner__video-wrapper svg:hover > g > path,
.hero-banner__video-wrapper svg:hover > g > g {
  transition: 0.25s ease-in-out;

}

button#close-video {
  margin-bottom: 15px;
}

@media screen and (max-width: 1024px) and (min-width: 768px) {
  .hero-banner__content {
    max-width: 60%;
  }
}

@media screen and (max-width: 767px) {
  section.hero-banner {
    padding-top: 130px;
  }

  section.hero-banner::before {
    position: absolute;
    width: 100%;
    height: 50%;
    background-color: var(--light-grey);
    content: "";
    top: 0;
    left: 0;
    z-index: 2;
  }

  .hero-banner__mask {
    background-position: bottom -64px right;
    width: 121%;
    transform: translateX(21%);
    left: -26%;
    height: 171vw;
    max-height: 960px;
  }

  .hero-banner__content {
    padding: 0 20px;
  }

  .hero-banner__content__bottom {
    display: block;
  }
  
  .video-cta__container {
    margin-top: 10px;
  }
  
}

@media screen and (max-width: 450px) {
  section.hero-banner::before {
    height: 60%;
  }
}
