/* Variables
Variables that the other CSS sections depend upon
*/
{% include '../../css/variables/_colors.css' %}

.bs-features {
  padding: 130px 0;
  background-color: #000;
  color: #fff;
}

@media (max-width: 991px) {
  .bs-features {
    display: none;
  }
}

.bs-features * {
  color: #fff;
}

.bs-features__inner {
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
}

.bs-features__left {
  width: 50%;
  padding-right: 100px;
}

.bs-features h2 {
  max-width: 1650px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: 80px;
  line-height: 1.1625em;
  margin-bottom: 100px;
}

.bs-features h2 span {
  display: inline-block;
  width: 50%;
  padding-right: 100px;
}

.bs-features__single {
  padding-top: 50px;
  padding-bottom: 50px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.bs-features__single.not-hovered {
  opacity: 0.5;
}

.bs-features__single h3 {
  margin-bottom: 5px;
  font-size: 38px;
  line-height: 1.176em;
  font-weight: 500;
}

.bs-features__single p {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.25em;
  letter-spacing: 0.01em;
}

.bs-features__right {
  width: 50%;
  padding-left: 100px;
  position: relative;
  text-align: right;
}

.bs-features__graphic {
  position: sticky;
  top: 117px;
  background-color: #cccccc;
  width: 100%;
  max-width: 500px;
  right: 0;
  display: inline-block;
  margin-right: 0;
  transition: background-image 0.25s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bs-features__graphic__background {
  height: calc(100% - 2px);
  width: 100%;
  top: 2px;
  left: 0;
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.bs-features__graphic img {
  display: block;
  position: relative;
  z-index: 2;
}

.bs-features__button-container {
  margin-top: 50px;
}

.bs-features-mobile {
  display: none;
  background-color: #000;
  padding: 100px 0;
  color: #fff;
}

@media (max-width: 991px) {
  .bs-features-mobile {
    display: block;
  }
}

.bs-features-mobile h2 {
  color: #fff;
  font-size: 46px;
  line-height: 1.17em;
}

.bs-features-mobile__single {
  padding-top: 20px;
  padding-bottom: 20px;
}


.bs-features-mobile__single h3 {
  margin-bottom: 5px;
  font-size: 28px;
  line-height: 1.176em;
  font-weight: 500;
  color: #fff !important;
}

.bs-features-mobile__single p {
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1.25em;
  letter-spacing: 0.01em;
}

.bs-features-mobile__button-container {
  margin-top: 30px;
}

.bs-features-mobile__graphics {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.bs-features-mobile__graphic__single {
  text-align: center;
  width: 30%;
  overflow: hidden;
  display: block;
  justify-content: flex-start;
  height: max-content;
  max-width: 200px;
}

.bs-features-mobile__graphic__single__bg {
  height: max-content;
}

.bs-features-mobile__graphic__single__bg img {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.bs-features-mobile__graphic__single__bg img::after {
  height: 400px;
  width: 100%;
  background-color: #000;
  bottom: -400px;
  content: '';
  left: 0;
  position: absolute;
}

.bs-features-mobile__button-container {
  margin-top: 50px;
}

.bs-features-mobile__button-container a {
  width: 100%;
}