.banner-v2 {
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  z-index: 2;
}

.banner-v2:not(.banner-v2--short) {
  min-height: 100vh;
}

.banner-v2--green {
  background: linear-gradient(90deg, #C8D6C6 0%, #D5D5B4 100%);
}

.banner-v2--blue {
  background: linear-gradient(90deg, #ABCDD9 0%, #909FC4 100%);
}

.banner-v2--pink {
  background: linear-gradient(90deg, #C2B1C4 0%, #CC98B1 100%);
}

.banner-v2--gray {
  background: #d9d9d9;
}

.banner-v2--yellow_blue {
  background: linear-gradient(88.43deg, #FCEFB6 8.32%, #C3EEED 98.19%);
}

.banner-v2--pink_2 {
  background: linear-gradient(105.69deg, #B095B3 27.78%, #B75986 76.92%);
}

.banner-v2--white {
  background: #ffffff;
}

.banner-v2__bg,
.banner-v2__image {
  height: calc(100% + 100px);
  inset: 0;
  pointer-events: none;
  width: 100%;
  z-index: -2;
}

.banner-v2__image {
  -o-object-fit: cover;
  object-fit: cover;
  z-index: -3;
}

.banner-v2__image--secondary {
  z-index: -4;
}

.banner-v2__overlay {
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.banner-v2__img {
  inset: 0;
  pointer-events: none;
  width: 69.3rem;
  max-width: 60%;
  aspect-ratio: 693 / 488;
  z-index: -3;
}

.banner-v2__img img {
  object-fit: contain;
}

/*.banner-v2__img:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(217,217,217, 0) 0%, rgba(217,217,217, 1) 100%);
}*/

.banner-v2__img-first {
  left: 50%;
  top: 75%;
  transform: translate(-50%, 0);
}

.banner-v2__img-last {
  left: -4rem;
  top: 8rem;
}

.banner-v2__infinity {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  pointer-events: none;
  z-index: -1;
}

.banner-v2__infinity svg {
  transition: ease opacity: .5s;
}

.banner-v2__content-wrapper.content-wrapper {
  width: 100%;
}

.banner-v2__content-text--bold {
  font-weight: 500;
}

.banner-v2__content-text--fancy {
  font-family: var(--Turbinado);
}

.banner-v2__content {
  transition: ease opacity .5s;
}

.banner-v2__content.hideOnLeave {
  opacity: 0;
}

.banner-v2__content .banner-v2__content-text--fancy {
  color: var(--blue-headline);
  font-size: 8rem;
  line-height: 0.7;
}

.banner-v2__content .banner-v2__content-text--fancy span {
  color: var(--base-color);
}

.banner-v2__content .banner-v2__content-text--ptext {
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 0;
}

.banner-v2__content .banner-v2__content-text--ptext2 {
  font-family: var(--primary-font-family);
  font-size: 2.2rem;
  line-height: 1.65;
  margin-top: 0.8rem;
  max-width: 78rem;
}

.banner-v2__content .banner-v2__content-row:not(:last-child) .banner-v2__content-text--ptext2 {
  margin-bottom: 3.2rem;
}

.banner-v2__content.white-text {
  color: #fff;
}

.banner-v2__content.white-text .banner-v2__content-text--fancy {
  color: #fff;
}

.banner-v2__content.bg-glow::before {
  aspect-ratio: 5/4;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.85) 25%, rgba(255, 255, 255, 0) 94%);
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 870px;
  z-index: -1;
}

.banner-v2__content-row {
  gap: 0 1.6rem;
}

.banner-v2__content-row:last-child *:last-child {
  margin-bottom: 0;
}

@media (min-width: 952px) {
  .banner-v2:not(.banner-v2--short) {
    min-height: 150vh;
  }

  .banner-v2__image--mobile {
    display: none;
  }

  .banner-v2__content .banner-v2__content-text--ptext {
    font-size: 4.5rem;
  }

  .banner-v2__content .banner-v2__content-text--ptext2 {
    font-size: 2.6rem;
  }

  .banner-v2__content {
    font-size: 5.5rem;
  }
  
  .banner-v2__content .banner-v2__content-text--fancy {
    font-size: 13.5rem;
  }

  .banner-v2__content .banner-v2__content-row:not(:last-child) .banner-v2__content-text--ptext2 {
    margin-bottom: 5.2rem;
  }

  .banner-v2__content-wrapper.flex-start:not(.text-center) .banner-v2__content-row:nth-child(2) {
    margin-left: 8rem;
  }
  
  .banner-v2__content-wrapper.flex-start:not(.text-center) .banner-v2__content-row:nth-child(3) {
    margin-left: 20rem;
  }
  
  .banner-v2__content-wrapper.flex-end:not(.text-center) .banner-v2__content-row:nth-child(2) {
    margin-right: 8rem;
  }
  
  .banner-v2__content-wrapper.flex-end:not(.text-center) .banner-v2__content-row:nth-child(3) {
    margin-right: 20rem;
  }
  
  .banner-v2__content-wrapper.flex-start:not(.text-center) .banner-v2__content-row.small-margin:nth-child(2) {
    margin-left: 7.5rem;
  }
  
  .banner-v2__content-wrapper.flex-start:not(.text-center) .banner-v2__content-row.small-margin:nth-child(3) {
    margin-left: 3rem;
  }
  
  .banner-v2__content-wrapper.flex-end:not(.text-center) .banner-v2__content-row.small-margin:nth-child(2) {
    margin-right: 7.5rem;
  }
  
  .banner-v2__content-wrapper.flex-end:not(.text-center) .banner-v2__content-row.small-margin:nth-child(3) {
    margin-right: 3rem;
  }
}

/* @media (min-width: 992px) {  
  .banner-v2__content-wrapper.text-left.flex-center .banner-v2__content-row {
    justify-content: start;
  }
  
  .banner-v2__content-wrapper.text-left.flex-center .banner-v2__content-row:not(:first-child) {
    margin-left: 18rem;
  }
  
  .banner-v2__content-wrapper.text-right.flex-center .banner-v2__content-row {
    justify-content: end;
  }
  
  .banner-v2__content-wrapper.text-right.flex-center .banner-v2__content-row:not(:first-child) {
    margin-right: 18rem;
  }
} */

@media (max-height: 780px) and (min-width: 1280px) {
  .banner-v2__infinity {
    max-height: 90%;
  }
}

@media (max-width: 951px) {
  .banner-v2 {
    justify-content: space-between;
    padding-top: 8rem;
    padding-bottom: 0;
  }

  .banner-v2__image--desktop {
    display: none;
  }

  .banner-v2__infinity { 
    scale: 0.35;
    transform-origin: left top;
  }

  .banner-v2__content {
    margin-inline: auto;
    max-width: 35rem;
    width: 100%;
  }

  .banner-v2__content-row {
    row-gap: 0.6rem;
  }

  .banner-v2__content-row:not(:first-child) {
    margin-top: 1.6rem;
  }

  .banner-v2__img-first {
    left: 32%;
    top: 105%;
  }

  .banner-v2__img-last {
    left: -4%;
    top: 58%;
  }

  .banner-v2--mobile-stacked .banner-v2__bg {
    bottom: 4rem;
    height: 50%;
    top: initial;
  }

  .banner-v2--mobile-stacked .banner-v2__bg img {
    right: 0;
    left: auto;
    height: 100%;
    width: auto;
  }

  .banner-v2__content-row {
    justify-content: center;
  }

  .banner-v2--mobile-stacked .banner-v2__content-wrapper.flex-start:not(.text-center) .banner-v2__content-row:nth-child(2) {
    margin-left: auto;
    margin-top: 0.6rem;
  }

  .banner-v2--mobile-stacked .banner-v2__content .banner-v2__content-text--fancy {
    font-size: 6.2rem;
  }

  .banner-v2__content-wrapper.flex-end,
  .banner-v2__content-wrapper.flex-start {
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1025px) {
  .banner-v2 {
    padding-top: 12rem;
  }

  .banner-v2--mobile-stacked .banner-v2__bg {
    bottom: 4rem;
    height: 75%;
    top: initial;
  }

  .banner-v2--mobile-stacked .banner-v2__bg img {
    height: 100%;
    width: auto;
  }
}

@media (max-width: 767px) {
  .banner-v2.banner-v2--no-mobile-transition {
    padding-block: 8rem;
  }

  .banner-v2.banner-v2--no-mobile-transition .banner-v2__bg.pos-fixed,
  .banner-v2.banner-v2--no-mobile-transition .banner-v2__image.pos-fixed {
    position: absolute;
  }

  .banner-v2__content.bg-glow::before {
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 102%);
    width: 125%;
  }
}


/* Section ID Styles */

#our-story-hero .banner-v2__content{
  z-index: 4;
}

#our-story-banner-v2-4 .banner-v2__content-row:nth-child(2) {
  margin-top: 1.6rem;
}

#our-story-banner-v2-4 .banner-v2__content-row:last-child {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  #home-banner-v2-1 .banner-v2__content > .banner-v2__content-row:nth-child(2) {
    margin-top: 1.6rem;
  }

  #home-banner-v2-1 .banner-v2__content > .banner-v2__content-row:nth-child(2) > .banner-v2__content-text:first-child {
    font-size: 8rem;
  }

  #our-story-hero.banner-v2:not(.banner-v2--short) {
    min-height: 100vh !important;
  }

  #about-banner-v2-3 .banner-v2__content-row:nth-child(2) {
    justify-self: flex-start;
  }

  #about-banner-v2-3 .banner-v2__content-row:last-child {
    justify-self: flex-end;
    transform: translateX(6rem);
  }
}

@media (min-width: 952px) {
  #our-story-banner-v2-3 .banner-v2__content-wrapper,
  #our-story-banner-v2-4 .banner-v2__content-wrapper {
    margin-top: -15rem;
  }
}

@media (min-width: 1180px) {
  #our-story-hero .banner-v2__bg > .banner-v2__image {
    width: auto;
    height: 85%;
    left: auto;
    right: 0;
    top: auto;
    bottom: 8rem;
  }

  #about-banner-v2-3 .banner-v2__content-row:last-child {
    transform: translateX(10rem);
  }
}

@media (max-width: 1024px) {
  #our-story-hero .banner-v2__image {
    object-position: 80% !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #our-story-banner-v2-3 .banner-v2__image { 
    object-position: 35% !important;
  }

  #our-story-banner-v2-3 .banner-v2__content-text {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 0px 1.8rem;
  }

  #our-story-banner-v2-3 .banner-v2__content-text > .banner-v2__content-row:first-child {
    width: 100%;
  }
}

@media (max-width: 900px) {
  #our-story-banner-v2-3 .banner-v2__overlay {
    display: none;
  }

  #our-story-banner-v2-3 .banner-v2__content-row {
    margin-top: 0;
  }

  #our-story-banner-v2-4 .banner-v2__content-row:not(:first-child) {
    margin-top: 1rem;
  }

  #our-story-text-banner-v2-2 .banner-v2__content-row:not(:first-child) {
    margin-top: 0.4rem;
  }
}

@media (max-width: 600px) {
  #home-banner-v2-1 .banner-v2__content-text--fancy {
    width: 100%;
  } 
} 