#careers-hero {
  margin-top: 15px;
  background-image: url('../../images/careers/hero-bg.png');
  background-image: image-set(url('../../images/careers/hero-bg.png') 1x,
      url('../../images/careers/hero-bg@2x.png') 2x);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #000;
  padding: 31px 0 43px 0;
}

#careers-hero .inner {
  overflow: hidden;
}

#careers-hero .title {
  font-size: 38px;
  margin-bottom: 9px;
}

#careers-hero .title span {
  font-size: 55px;
  position: relative;
  text-transform: none;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

#careers-hero .title span::before,
#careers-hero .title span::after {
  content: '';
  position: absolute;
  background-color: var(--yellow);
  height: 2px;
  width: 115px;
  top: 0.6em;
}

#careers-hero .title span::before {
  left: -129px;
}

#careers-hero .title span::after {
  right: -129px;
}

#careers-hero .button {
  color: #000;
  font-size: 17px;
  height: 52px;
  line-height: 52px;
  background-color: var(--yellow);
  padding: 3px 22px 0;
}

#careers-hero p {
  font-size: 19px;
  line-height: 26px;
  max-width: 790px;
  margin: 0 auto 18px auto;
}

.video-container {
  margin-top: -48px;
}

@media screen and (max-width: 768px) {
  #careers-hero p {
    font-size: 16px;
    line-height: 24px;
  }
}

@media screen and (max-width: 567px) {
  #careers-hero {
    padding: 30px 0 50px 0;
  }

  #careers-hero .title {
    max-width: 320px;
    margin: 0 auto 15px auto;
    font-size: 36px;
  }

  #careers-hero .title span {
    font-size: 36px;
  }

  #careers-hero .title span::before,
  #careers-hero .title span::after {
    width: 50px;
  }

  #careers-hero .title span::before {
    left: -60px;
  }

  #careers-hero .title span::after {
    right: -60px;
  }
}