#hero {
  background-image: url('../../images/about/hero-bg.png');
  background-image: image-set(url('../../images/about/hero-bg.png') 1x,
      url('../../images/about/hero-bg@2x.png') 2x);
  background-repeat: no-repeat;
  background-position: -0.5% 24%;
  background-color: #000;
  margin-top: 14px;
  padding: 42px 0 47px 0;
  position: relative;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: scaleX(-1);
  background-image: url('../../images/about/hero-bg.png');
  background-image: image-set(url('../../images/about/hero-bg.png') 1x,
      url('../../images/about/hero-bg@2x.png') 2x);
  background-repeat: no-repeat;
  background-position: -0.5% 24%;
}

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

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

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

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

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

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

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

#hero img {
  margin: 0 auto;
}

@media screen and (max-width: 992px) {
  #hero p br {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  #hero {
    background-image: url(../../images/home/perks-bg-m.png);
    background-image: -webkit-image-set(url(../../images/home/perks-bg-m.png) 1x,
        url(../../images/home/perks-bg-m@2x.png) 2x);
    background-position: left 2%;
    background-repeat: no-repeat;
  }

  #hero::after {
    background-image: url(../../images/home/perks-bg-m.png);
    background-image: -webkit-image-set(url(../../images/home/perks-bg-m.png) 1x, url(../../images/home/perks-bg-m@2x.png) 2x);
    background-position: left 2%;
    background-repeat: no-repeat;
    transform: scaleX(-1);
  }

  #hero p {
    font-size: 16px;
    line-height: 24px;
  }
}

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

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

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

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

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

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