section:has(+ .text-background){
	margin-bottom: -18.75rem;
}

.text-background .text-background__text {
  line-height: 140%;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0em;
}

.text-background .text-background__text p{
  margin: 0;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
  }

.lenis.lenis-smooth [data-lenis-prevent] {
      overscroll-behavior: contain;
    }

  .lenis.lenis-stopped {
    overflow: hidden;
  }

  .lenis.lenis-scrolling iframe {
    pointer-events: none;
  }

.text-background {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.text-background .section__content {
  position: relative;
  width: 100%;
  min-height: auto; 
}

.text-background .section__content .section__pin{
	position: relative; 
	height: 100vh;
	width: 100%;
}

.text-background  .reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: justify;
  font-kerning: none;
}
.text-background .reveal-child{
  text-align: center;
}

@media (max-width: 767px) {
	section:has(+ .text-background){
		margin-bottom: 0px;
	}
	
  .text-background .text-background__text {
    width: 16.6875rem;
  }
}

.text-background .text-background__text {
  font-size: var(--text-size, 2rem);
  color: var(--text-color, #000);
  font-family: var(--font);
  text-transform: var(--text-transform);
}

.text-background .text-background__text .word {
  font-size: inherit;
  color: inherit;
}
.text-background .text-background__image-block {
  width: 100%;
  height: 10rem; 
  background-size: cover;
  background-position: center;
}
.text-background .text-background__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.text-background__video-full {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; 
    height: 80%;
    z-index: 1;
}

.text-background__video-full video {
    width: 100%;
    height: 100%;
}

.text-background__content-wrapper {
    position: relative;
    z-index: 2; 
    text-align: center;
    max-width: 80%;
}

@media (max-width: 767px) {
  .text-background .text-background__image--top {
    width: 5.4375rem;
  }
  .text-background .text-background__image--bottom {
    width: 7.5625rem;
    bottom: 5%;
  }
  .text-background .text-background__image-block {
    height: auto; 
  }
  
  .text-background .text-background__text br{
    display: none;
  }
  
}
@media (min-width: 767px) {
  .text-background .text-background__image--top {
    width: 12.25rem;
  }
  .text-background .text-background__image--bottom {
    width: 17rem;
    bottom: 10%;
  }
  .text-background .text-background__text {
    width: max-content;
  }
  .text-background .text-background__image-block {
    height: 10rem; 
  }
}
.text-background .text-background__image--top {
  position: absolute;
  top: 8%;
  left: 0;
  z-index: 1;
}
.text-background .text-background__image--bottom {
  position: absolute;
  right: 0;
  z-index: 1;
}
.text-background .text-background__image-block {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/* DEFAULT */
.text-background .text-background__image--top {
  position: absolute;
  top: 8%;
  left: 0;
}

.text-background .text-background__image--bottom {
  position: absolute;
  right: 0;
}

/* MIRROR */
.text-background .text-background__item.is-odd .text-background__image--top {
  left: auto;
  right: 0;
}

.text-background .text-background__item.is-odd .text-background__image--bottom {
  right: auto;
  left: 0;
}
