
.featured-image-with-text-img__wrap{
  flex: 1 0 45%;
}
.featured-image-with-text-img{
  width: 100%;
  height: auto;
}
.featured-image-with-text-text__wrap{
  flex: 1 0 55%;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Vertical centered layout - DESKTOP */
.featured-image-with-text-wrap--vertical{
  display: flex;
  flex-direction: column;
}

/* Override container for vertical layout to allow image breakout */
.featured-image-with-text-section .featured-image-with-text-wrap--vertical{
  position: relative;
}

/* Desktop: Massive headline at top - full width */
.vertical-headline-wrapper{
  text-align: center;
  margin-bottom: 10px;
}

.vertical-headline-wrapper .heading{
  font-family: 'Neue Haas Grotesk Display Pro Medium', sans-serif !important;
  line-height: 1;
  font-size: 110px;
  margin: 0;
  padding: 0 40px;
  letter-spacing: normal;
}

.vertical-headline-wrapper .first_line,
.vertical-headline-wrapper .second_line{
  display: block;
}

/* Desktop: Image + Content row */
.vertical-content-row{
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 600px;
}

.featured-image-with-text-img__wrap--vertical{
  flex: 1 0 50%;
  padding: 0 !important;
  margin: 0 !important;
  position: relative;
}

.featured-image-with-text-img__wrap--vertical img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.featured-image-with-text-text__wrap--vertical{
  flex: 1 0 50%;
  padding: 80px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-image-with-text-wrap--vertical .rte{
  margin-bottom: 40px;
  font-size: 18px;
  line-height: 1.6;
}

.featured-image-with-text-wrap--vertical .btn{
  min-width: 300px;
  padding: 1rem 2rem;
  font-size: 18px;
}

/* Responsive headline sizes - Desktop */
@media only screen and (min-width: 1400px){
  .vertical-headline-wrapper .heading{
    font-size: 150px;
  }
}
@media only screen and (min-width: 1269px) and (max-width: 1399px){
  .vertical-headline-wrapper .heading{
    font-size: 8em;
  }
}
@media only screen and (min-width: 1000px) and (max-width: 1268px){
  .vertical-headline-wrapper .heading{
    font-size: 6em;
  }
  .featured-image-with-text-text__wrap--vertical{
    padding: 60px;
  }
}
@media only screen and (min-width: 850px) and (max-width: 999px){
  .vertical-headline-wrapper .heading{
    font-size: 4.5em;
  }
  .featured-image-with-text-text__wrap--vertical{
    padding: 40px;
  }
}
@media only screen and (min-width: 769px) and (max-width: 849px){
  .vertical-headline-wrapper .heading{
    font-size: 4em;
  }
  .featured-image-with-text-text__wrap--vertical{
    padding: 40px;
  }
}
.featured-image-with-text-section .heading{
  font-family: 'Morganite Medium' !important;  
  line-height: 80%;
  letter-spacing: 0.02em;
}

/* Override for vertical layout - use hero title font */
.featured-image-with-text-section .vertical-headline-wrapper .heading{
  font-family: 'Neue Haas Grotesk Display Pro Medium', sans-serif !important;
  line-height: 1 !important;
  letter-spacing: normal !important;
}
.second_line.heading{
  position: relative;
}
.featured-image-with-text-section .btn{
  font-size: 20px;
  padding: 1rem;
}
@media only screen and (min-width: 1400px){
  .featured-image-with-text-text__wrap .rte{
    margin-bottom: 60px;
  }  
  .featured-image-with-text-section .heading{
    font-size: 150px;    
  }
}
@media only screen and (min-width: 1125px) and (max-width: 1368px){
  .featured-image-with-text-section .heading{
    font-size: 7em;
  }
}
@media only screen and (min-width: 769px) and (max-width: 1124px){
  .featured-image-with-text-section .heading{
    font-size: 5em;
  }
}
@media only screen and (max-width: 768px){
  .featured-image-with-text-wrap{
    display: block;
  }
  .featured-image-with-text-text__wrap{
    padding: 0 20px;
  }
  .featured-image-with-text-section .heading{
    font-size: 100px;
  }
  .featured-image-with-text-section .mobile-heading-wrap{
    padding: 0 20px;
  }
  .featured-image-with-text-img__wrap{
    text-align: right;
  }
  .featured-image-with-text-img{
    min-width: 280px;
    margin: 0px 0 15px;
    width: auto;
  }
  .featured-image-with-text-section .rte{
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 60px;
  }
  .featured-image-with-text-section .btn{
    font-size: 15px;
    min-width: 160px;
    padding: 10px 20px;
    letter-spacing: 0.5px;
  }
  
  /* Vertical layout mobile adjustments */
  .featured-image-with-text-wrap--vertical{
    display: block;
  }
  
  /* Mobile: Stack vertically - Image at top touching edges */
  .vertical-content-row{
    display: block;
    min-height: unset;
  }
  
  .featured-image-with-text-img__wrap--vertical{
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 0;
    padding: 0 !important;
    position: static;
  }
  
  .featured-image-with-text-img__wrap--vertical img{
    width: 100%;
    height: auto;
    object-fit: cover;
    position: static;
  }
  
  .featured-image-with-text-text__wrap--vertical{
    padding: 40px 20px;
  }
  
  /* Mobile headline styling */
  .vertical-headline-wrapper .heading{
    font-size: 44px;
    line-height: 1;
    margin-bottom: 30px;
    padding: 0;
  }
  
  .featured-image-with-text-wrap--vertical .rte{
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  
  /* Mobile: Full width CTA, bigger */
  .featured-image-with-text-wrap--vertical .btn{
    width: 100%;
    min-width: unset;
    padding: 18px 20px;
    font-size: 16px;
    display: block;
    text-align: center;
  }
}