#pk_flex_content .flex_layout.hero_image{
    max-width: unset;
    padding: 0px;
    overflow: hidden;
    margin-inline: auto;
   /* background: linear-gradient(90deg, rgba(0, 48, 66, 0.44) 0%, rgba(0, 48, 66, 0.8) 100%); */
   background-color: #4F4F4F; 
}

#pk_flex_content .flex_layout.hero_image:nth-of-type(2) {
  
}

#pk_flex_content .flex_layout.hero_image .flex_container{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    min-height: 80vh;
    display: flex;
    align-items: flex-end;
    background-image: url('./hero_background.png');
}

#pk_flex_content .flex_layout.hero_image .flex_container::after{
 content: '';
    position: absolute;
    width: 120%;
    height: 100%;
    left: -20%;
    top: 10%;
   background-image: url('/wp-content/themes/bb-theme-child/assets/images/lines_hero_image2.png');
    background-position: left top;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

#pk_flex_content .flex_layout.hero_image .flex_container::before{
 content: '';
    position: absolute;
    width: 110%;
    height: 100%;
    left: -0%;
    top: 5%;
   background-image: url('/wp-content/themes/bb-theme-child/assets/images/lines_hero_image1.png');
    background-position: left top;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
}

#pk_flex_content .flex_layout.hero_image .flex_container_inner{
    max-width: 1392px;
    width: 100%;
    /* padding: 120px 80px 60px 80px; */
    padding: 120px 40px 60px 40px;
    margin: 0px auto;
    position: relative;
    z-index: -1;
}

#pk_flex_content .flex_layout.hero_image .content_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-width: var(--site-grid);
  margin-inline: auto;
}

#pk_flex_content .flex_layout.hero_image .content_container .text_wrapper {
  /* flex: 0 0 55%; */
  width: 55%;
}


#pk_flex_content .flex_layout.hero_image .content_container .text {
display: flex;
flex-direction: column;
gap: 20px;
height: 100%;
justify-content: flex-end
}

#pk_flex_content .flex_layout.hero_image .content_container .text .title {
max-width: 338px;
}

#pk_flex_content .flex_layout.hero_image .content_container .heading_text{
font-size: var(--heading-1-page);
font-weight: 700;
}

#pk_flex_content .flex_layout.hero_image .content_container .text .title .heading{
color: white;
}

#pk_flex_content .flex_layout.hero_image .content_container .text .description {
max-width: 536px;
color: white;
font-size: 20px;
font-weight: 300;
}

#pk_flex_content .flex_layout.hero_image .content_container .image_wrapper {
width: 45%;
display: flex;
justify-content: flex-end;
z-index: -2;
}

#pk_flex_content .flex_layout.hero_image .content_container .image_wrapper img{
border-radius: 10px;
aspect-ratio: 1;
object-fit: cover;
width: 575px;
}


@media screen and (max-width: 1000px){
    
   #pk_flex_content .flex_layout.hero_image .flex_container{
       height: auto;
   }
   
    #pk_flex_content .flex_layout.hero_image .content_container .text_wrapper {
      /* flex: 0 0 55%; */
      width: 100%;
    }

    #pk_flex_content .flex_layout.hero_image .content_container .image_wrapper {
    width: 100%;
    margin-top: 32px;
    justify-content: flex-start;
    }
    
    #pk_flex_content .flex_layout.hero_image .content_container .image_wrapper img{
    aspect-ratio: 2/1;
    object-fit: cover;
    }

}

@media screen and (max-width: 767px){
  #pk_flex_content .flex_layout.hero_image .flex_container_inner{
      padding-inline: 20px;
  }
}


@media screen and (max-width: 425px){

}