body,
.scrolltext {
  background: #fff;
}

#single-study {
  padding-top: 0;
  background: transparent;
}

#single-study p,
#single-study h1,
#single-study h2,
#single-study h3,
#single-study h4,
#single-study h5,
#single-study h6,
#single-study .scrolltext .text-inner {
  color: #000;
}

#single-study #hero {
  padding: 161px 0 56px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: calc(var(--svh) * 100);
}

#hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--vh) * 100);
  background-attachment: scroll;
  background-position: 50% 0%;
  background-repeat: no-repeat;
  background-size: cover;
}



#hero-bg~* {
  z-index: 2;
  position: relative;
}

#single-study #hero {
  position: relative;
}

#single-study #hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  z-index: 1;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0.4),
      transparent);
  /* height: 100%;
  background: linear-gradient( #0c0f0e 0%, rgba(12, 15, 14, 0) 100%);
  opacity: 0.8; */

}

#single-study #hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  z-index: 1;
  background: linear-gradient(rgba(12, 15, 14, 0) 0%, #0c0f0e 100%);
  opacity: 0.5;
  /* background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9),
      rgba(0, 0, 0, 0.5),
      transparent); */
}

#single-study #hero .container {
  height: 100%;
  z-index: 2;
  position: relative;
}

#single-study #hero .top {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.11em;
  letter-spacing: 0.06em;
}

#single-study #hero .top p {
  color: #fff;
}

#single-study #hero .top strong {
  color: var(--orange);
  font-size: 24px;
  letter-spacing: 0.02em;
  font-weight: 600;
}

#single-study #hero .title {
  color: #fff;
}

#single-study #hero~.b-white {
  position: relative;
  z-index: 1;
  background: #fff;
}

#single-study section.text {
  font-size: 21px;
  line-height: 1.43em;
}

#single-study section.text .container {
  width: calc(772px + 60px);
}

#single-study section.text h1,
#single-study section.text h2,
#single-study section.text h3,
#single-study section.text h4,
#single-study section.text h5,
#single-study section.text h6 {
  font-size: 52px;
  line-height: 1.13em;
  margin-bottom: 16px;
}

#single-study section.text h1 strong,
#single-study section.text h2 strong,
#single-study section.text h3 strong,
#single-study section.text h4 strong,
#single-study section.text h5 strong,
#single-study section.text h6 strong {
  color: var(--orange);
}

#single-study #text1 {
  padding: 107px 0 116px 0;
  background: #000;
}

#single-study #text1 .container>* {
  color: #fff;
}

#single-study #text1 p {
  margin-top: 37px;
}

#single-study #full-image {
  position: relative;
  z-index: 2;
}

#single-study .fullimage img {
  width: 100%;
}

#single-study #carousel {
  height: calc(100*var(--vh));
  height: auto;
}

#single-study #carousel .swiper {
  overflow: hidden;
}

#single-study #carousel .swiper-slide {
  height: calc(100*var(--vh));
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#single-study #text2 {
  position: relative;
  top: 80px;
  opacity: 0;
  margin-top: -219px;
  padding: 182px 0 74px 0;
  background: linear-gradient(to bottom,
      #ffffff 0%,
      #eee 70%,
      #ffffff 100%);
}

#single-study #text2 p {
  margin-top: 38px;
}

#single-study #text3 {
  padding-top: 120px;
}

#single-study #text3 p {
  margin-top: 23px;
}

#full-image-2 {
  padding-top: 89px;
}

#image-3 {
  margin-top: -197px;
}

#image-3 img {
  margin: 0 auto;
  display: block;
}

#single-study #text4 p {
  margin-top: 23px;
  padding-right: 20px;
}

#image-4 {
  padding: 80px 0 100px 0;
  background: linear-gradient(rgba(84, 84, 84, 0) 0%, rgba(0, 0, 0, 0.04) 100%);
}

#image-4 img {
  opacity: 0;
  position: relative;
  top: 80px;
}

#text_with_video .container {
  display: flex;
  width: calc(983px + 60px);
}

#text_with_video .text {
  width: 50%;
  padding: 76px 0 83px 0;
  position: relative;
  z-index: 2;
  opacity: 0;
  left: -40px;
}

#text_with_video .text p {
  max-width: 470px;
}

#text_with_video .video {
  width: 50%;
  position: relative;
}

#text_with_video .video::before {
  content: '';
  position: absolute;
  width: 478px;
  top: 0;
  bottom: 0;
  left: -146px;
  background: linear-gradient(to right,
      #fff,
      rgba(255, 255, 255, 0) 62%,
      rgba(255, 255, 254, 0) 100%);
}

#text_with_video video {
  width: 1052px;
  margin-left: -146px;
}

#single-study #text5 {
  padding-top: 79px;
}

#single-study .b-blackfull section.text .container {
  width: 1229px;
}

#single-study .b-blackfull section.text .container>* {
  color: #fff;
  max-width: 925px;
}

#single-study #text5 .container p {
  margin-bottom: 31px;
}

#single-study #text5 .container> :first-child {
  margin-bottom: 30px;
}

#single-study #text6 .container {
  display: flex;
  gap: 77px;
  padding-top: 52px;
  padding-bottom: 52px;
}

#single-study #text6 .container>*:not(.button) {
  font-size: 36px;
  line-height: 1.64em;
  font-weight: 700;
}

#single-study #text6 .button {
  margin-top: 15px;
  color: var(--orange);
}

#single-study #text6 .button:hover {
  color: #fff;
}

.scrolltext .text {
  height: 238px;
}

.scrolltext .text-inner {
  font-size: 100px;
}

#post-nav {
  padding: 87px 0 48px 0;
}

/* #post-nav .swiper-slide:nth-child(1)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  width: 100%;
  height: 100%;
}

#post-nav .swiper-slide:not(:nth-child(1))::after {
  display: none;
} */

/* #post-nav .swiper-button-prev,
#post-nav .swiper-button-next {
  background-color: var(--orange);
  background-image: none;
  width: 140px;
  height: 38px;
  line-height: 38px;
  transform: none;
  top: 41px !important;
}

#post-nav .swiper-button-prev::after,
#post-nav .swiper-button-next::after {
  display: block;
  font-size: 17px !important;
  font-family: 'ProximaNova';
  letter-spacing: 0.03em;
  width: auto;
  height: auto;
}

#post-nav .swiper-button-prev::after {
  content: 'Back';
}

#post-nav .swiper-button-next::after {
  content: 'Next';
} */

#post-nav .bottomlogo {
  margin-top: 81px;
  display: block;
}

@media screen and (max-width: 992px) {
  body.scrolled #masthead .headercontent {
    background: transparent;
  }

  #text_with_video .video::before {
    left: -226px;
  }

  #text_with_video video {
    margin-left: -226px;
  }
  
  #single-study #text3 {
    padding-top: 60px;
  }
}

@media screen and (max-width: 767px) {
  #single-study #hero {
    padding: 139px 0 50px 0;
  }

  #single-study #hero .top {
    font-size: 16px;
    line-height: 1.3em;
    padding-left: 31px;
  }

  #single-study #hero .top strong {
    font-size: 22px;
  }

  #single-study section.text .container {
    padding: 0 35px;
  }

  #single-study section.text p {
    font-size: 16px;
    line-height: 1.375em;
  }

  #single-study section.text h1,
  #single-study section.text h2,
  #single-study section.text h3,
  #single-study section.text h4,
  #single-study section.text h5,
  #single-study section.text h6 {
    font-size: 32px;
    line-height: 1.1875em;
  }

  #single-study section.text h1 br,
  #single-study section.text h2 br,
  #single-study section.text h3 br,
  #single-study section.text h4 br,
  #single-study section.text h5 br,
  #single-study section.text h6 br {
    display: none;
  }

  #single-study #text1 {
    padding: 50px 0;
  }

  #single-study #text1 p,
  #single-study #text2 p,
  #single-study #text3 p,
  #single-study #text4 p,
  #single-study #text5 p {
    margin-top: 20px;
    padding: 0;
  }

  #single-study #text2 {
    margin-top: -209px;
    padding-bottom: 50px;
  }

  #full-image-2 {
    padding-top: 50px;
  }

  #image-3 {
    margin-top: -18%;
  }

  #image-4 {
    padding: 50px 15px;
  }

  #text_with_video .container {
    flex-direction: column;
  }

  #text_with_video .text {
    width: 100%;
    padding: 50px 0;
  }

  #text_with_video .text p {
    max-width: 100%;
  }

  #text_with_video .video::before {
    height: 100px;
    top: -50px;
    right: -30px;
    left: -30px;
    bottom: unset;
    width: unset;
    background: linear-gradient(#fff, rgba(255, 255, 255, 0));
  }

  #text_with_video .video,
  #text_with_video video {
    width: 100%;
    margin-left: 0;
  }

  #single-study #text5 {
    padding-top: 50px;
  }

  #single-study #text6 {
    padding-top: 34px;
  }

  #single-study #text6 .container {
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 60px;
    gap: 26px;
  }

  #single-study #text6 .container>*:not(.button) {
    font-size: 20px;
    line-height: 1.45em;
  }

  #single-study #text6 .button {
    max-width: 202px;
    margin: 0 auto;
  }

  .scrolltext .text {
    height: 94px;
  }

  .scrolltext .text-inner {
    font-size: 44px;
  }

  #post-nav {
    padding: 38px 0 20px 0;
  }

  #post-nav .swiper img {
    height: 107px;
  }

  /* #post-nav .swiper-button-prev,
  #post-nav .swiper-button-next {
    width: 64px;
    height: 19px;
    top: 32px;
    padding: 4px 0 0 0;
  }

  #post-nav .swiper-button-prev::after,
  #post-nav .swiper-button-next::after {
    font-size: 9px !important;
  } */

  #post-nav .bottomlogo {
    margin-top: 36px;
  }

  #post-nav .bottomlogo img {
    max-width: 44px;
  }
}

@media screen and (max-width: 576px) {
  #single-study #carousel .swiper-slide {
    width: 120%;
    margin-left: -10%;
  }

  #text_with_video video {
    margin-bottom: 50px;
  }
}