
@media only screen and (min-width: 1601px){
    .video-text-scroller-video__heading--line-1,
    .video-text-scroller-video__heading--line-2{
          font-size: 10.5rem !important;
    }
}

@media only screen and (min-width: 1701px){
    .video-text-scroller-text:not(:first-child) h3{
      font-size: 4rem !important;
    }
}

@media only screen and (min-width: 1441px){
    .video-text-scroller-video__pre-title{
      font-size: 2rem !important;
    }

    .video-text-scroller-video__lower-text-area--line-1{
      font-size: 2rem !important;
    }

    .video-text-scroller-video__lower-text-area--line-2{
      font-size: 1.6rem !important;
    }
}

@media only screen and (max-width: 1440px){
  .video-text-scroller-text--grid {
      width: 97%;
  }
}

@media only screen and (min-width: 961px){
  .video-text-scroller-text:not(:first-child) h3,
  .video-text-scroller-text--grid > h3{
    letter-spacing: 0.3em;
  }
}

@media only screen and (min-width: 769px){
  .video-text-scroller-video__heading--line-1,
  .video-text-scroller-video__heading--line-2{
    font-size: 9rem;
    letter-spacing: 1.8px;
  }

  .video-text-scroller-video__pre-title{
    font-size: 1.8rem;
    letter-spacing: 7.38px;
  }

  .video-text-scroller-video__lower-text-area--line-1{
    font-size: 1.8rem !important;
    letter-spacing: 0.36px;
  }

  .video-text-scroller-video__lower-text-area--line-2{
    font-size: 1.4rem !important;
    letter-spacing: 0.28px;
  }
}

@media only screen and (max-width: 960px){
  .video-text-scroller-text:not(:first-child) h3{
    font-size: 2.6rem;
    letter-spacing: 7.8px;
  }

  .video-text-scroller-text:last-child h3{
    padding-bottom: 10vh;
  }
}

@media only screen and (max-width: 768px){
  .video-text-scroller-video__heading--line-1,
  .video-text-scroller-video__heading--line-2{
    font-size: 6rem;
  }

  .video-text-scroller-video__pre-title{
    font-size: 1.4rem;
    letter-spacing: 5.74px;
  }

  .video-text-scroller-video__lower-text-area--line-1{
    font-size: 1.8rem !important;
    letter-spacing: 0.36px;
  }

  .video-text-scroller-video__lower-text-area--line-2{
    font-size: 1.4rem !important;
    letter-spacing: 0.28px;
  }

  .video-text-scroller-text:not(:first-child) h3{
    font-size: 2rem;
    letter-spacing: 6px;
  }

}

@media only screen and (max-width: 640px) {
    .video-text-scroller-text--grid {
        padding-top: calc(var(--headerHeight) * 2) !important;
    }


}

@media only screen and (max-width: 340px){
  .video-text-scroller-video__heading--line-1,
  .video-text-scroller-video__heading--line-2{
    font-size: 5rem;
  }
}


body:has(.sub-nav--dual) .video-text-scroller-video__lower-text-area{
  margin-bottom: calc( var(--sub-nav-height, 5.8rem) / 2 );
}


.video-text-scroller {
	position: relative;
}

.video-text-scroller__container {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	height: 100%;
}

.video-text-scroller-video.canvas-container {
	position: sticky;
	top: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-text-scroller-video canvas {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.video-text-scroller-video__pre-title{
  color: #FFF;
  text-align: center;
  font-style: normal;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: 8.575px;
  text-transform: uppercase;
  font-family: var(--font-h1Font);
}

.video-text-scroller-video__heading{
  margin: 0;
}

.video-text-scroller-video__heading--line-1,
.video-text-scroller-video__heading--line-2{
    font-family: var(--font-h1Font);
    font-weight: 500;
    line-height: 0.86;
    text-transform: uppercase;
}

.video-text-scroller-video__heading--line-1{
    background: linear-gradient(355deg, #DCDCDC 20.21%, #8A8A8A 91.3%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.video-text-scroller-video__heading--line-2{
    color: #F39207;
}

.video-text-scroller-video__lower-text-area{
  margin-top: auto;
}

.video-text-scroller:has(.video-text-scroller-video__link) .video-text-scroller-video__lower-text-area{
  margin-bottom: 6rem;
}

.video-text-scroller-text:first-child:has(.video-text-scroller-video__link) .video-text-scroller-video__link{
  margin-top: auto;
}

.video-text-scroller-video__lower-text-area--line-1{
  color: #7A7A7A;
  text-align: center;
  font-weight: 500;
  line-height: 1.63;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 0;
}

.video-text-scroller-video__lower-text-area--line-2{
  margin-top: 1rem !important;
  color: #7A7A7A;
  text-align: center;
  font-size: 1.6rem !important;
  font-weight: 500;
  line-height: 1.63;
  letter-spacing: 0.32px;
}

.video-text-scroller-text:not(:first-child) h3 strong{
	font-weight: 500;
	text-transform: uppercase;
}

.video-text-scroller-video__link{
  display: inline-flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  position: sticky;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
}

.video-text-scroller-video__link:hover{
  text-decoration: none;
}

.video-text-scroller-video.canvas-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-text-scroller__text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-text-scroller-text {
  position: absolute;
  width: 90%;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(60vh);
}

.video-text-scroller-text--full-height{
  min-height: calc(100vh);
}

@supports (height: 100svh) {
  .video-text-scroller-video.canvas-container,
  .video-text-scroller-text--full-height {
    height: 100svh;
    min-height: 100svh;
  }
}

.video-text-scroller-text:first-child {
  opacity: 1;
  transform: translateY(0vh);
  padding-top: calc(var(--headerHeight, 13.7rem) + 15vh);
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
}

.video-text-scroller-text:not(:first-child) h3{
	color: #F0F0F0;
  font-family: var(--font-h1Font);
	font-weight: 300;
	line-height: 1.3;
	text-transform: uppercase;
  margin: 0;
}

.video-text-scroller-text:not(:first-child) h3 strong{
	font-weight: 500;
	text-transform: uppercase;
}

.video-text-scroller-text--grid{
  display: flex;
  justify-content: space-between;
  max-width: none;
}

@media only screen and (min-width: 1441px){
  .video-text-scroller-text--grid > h3:first-child{
    left: 5vw;
    position: relative;
  }
}

@media only screen and (min-width: 961px) and (max-width: 1200px) {

  .video-text-scroller-text--grid > h3{
    font-size: max(1.8rem, min(2.2rem, 1.8rem + 2 * (100vw - 960px) / 180) + max(0rem, 4 * (100vw - 1140px) / 60)) !important;
    letter-spacing: 7.8px;
  }
}

@media only screen and (min-width: 961px) and (max-width: 1100px) {
  .video-text-scroller-text:not(:first-child):not(:last-child) h3 strong{
    display: block;
  }

  .video-text-scroller-text:not(:first-child):not(:last-child) h3:first-of-type{
    text-align: left;
  }

  .video-text-scroller-text:not(:first-child):not(:last-child) h3:last-of-type{
    text-align: right;
  }
}

@media only screen and (min-width: 961px) and (max-height: 900px) {
  .video-text-scroller-text:first-child{
    padding-top: calc(var(--headerHeight, 13.7rem) + 10vh);
  }
}

@media only screen and (min-width: 961px) and (max-height: 800px) {
  body:has(.video-text-scroller-video__lower-text-area) .sub-nav__link {
    font-size: 1.6rem;
    line-height: 1.2;
    padding-block: 0.5rem;
  }

  body:has(.sub-nav--dual) .video-text-scroller-video__lower-text-area--line-2 {
      margin-top: 0.2rem !important;
  }
}


@media only screen and (max-width: 960px){
  .video-text-scroller-text--grid{
    flex-direction: column;
    gap: 1.5rem;
    align-self: flex-start;
    padding-top: var(--headerHeight);
  }
}

@media only screen and (max-width: 768px){
  .dual-hero .bg-video video {
    object-position: center right;
  }
}
