#legacy-masthead,
#birch-hero-v1{
    display:none;
}

.birch-section{
    position:relative;
}

.birch-about-hero-top{
  background-color:#c3f3ea;
    position:relative;
}

.birch-about-hero-top .text-box{
  position:absolute;
  left:0;
  top:120px;
  z-index:10;
  width:100%;
}

.birch-about-hero-top .birch-section-inner{
    max-width:1300px;
    margin:0 auto;
}

.birch-about-hero-top img.birch-about-img{
    max-width:100% !important;
    display:inline-block;
    position:relative;
    z-index:1;
}

.birch-about-hero-bottom{
    background-color:#FFFFFF;
    background-image:url('/wp-content/uploads/2025/08/about-us-bottom.svg');
    background-position:right bottom;
    background-size:100%;
    background-repeat:no-repeat;
    padding:0 0 120px;
    position:relative;
    min-height:800px; 
}

.birch-row{
    display:flex;
}

.birch-section-inner .birch-row:nth-child(1){
    justify-content:left;
    margin-bottom:60px;
}

.birch-section-inner .birch-row:nth-child(2){
    justify-content:right;
    padding-top:120px;
}

.birch-about-hero-bottom{
  background-color:#c3f3ea;
}

.birch-about-hero-bottom .birch-section-inner{

}

.birch-about-hero-bottom .birch-left,
.birch-about-hero-bottom .birch-right{
    max-width:50%;
}

.birch-about-hero-bottom .birch-left p,
.birch-about-hero-bottom .birch-right p{
  font-size:1.15rem;
}

.birch-about-hero-bottom .birch-left p{
  color:#11252E;
}

.birch-about-hero-bottom .birch-right p{
    color:#FFFFFF;
}

.birch-about-hero-top h1{
    font-family:"Borna Regular", Sans-serif;
    color:#FFFFFF;
    font-size:6rem;
    letter-spacing:1px;
    margin-bottom:30px;
}

.birch-about-hero-top h5{
    color:#C3F3EA !important;
    font-size:1.5rem;
    line-height:1.4;
}

.birch-about-hero-top .lelch-icon-hero{
    position: absolute;
    bottom: 5%;
    right: 10%;
    height: auto;
    width: 25vw;
}

.birch-values {
    max-width: 1300px;
    margin: 0 auto;
    padding:120px 0;
  }

  .birch-values h2{
    font-family:"Borna Regular", Sans-serif;
    margin-bottom:30px;
    color:#FFFFFF;
    font-size:2rem;
  }

  .birch-values .description{
    margin-bottom:60px;
  }

  .birch-values .description p{
    font-size:18px;
    display: inline-block;
    max-width:800px;
  }

  .birch-values-list {
    margin-top: 20px;
  }

  .birch-value-item{
    margin-bottom:60px;
  }

  .birch-value-item .h3-holder{
    position:relative;
  }

  .birch-value-item .h3-holder::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0; /* aligns to element's bottom */
    width: calc(100% + 1200px); /* extend 50px beyond */
    height: 1px; /* border thickness */
    background-color: #FFFFFF; /* or any color */
  }

  .birch-value-item h3 {
    font-family:"Borna Bold", Sans-serif;
    margin-bottom: 20px;
    padding-bottom:10px;
    font-weight: 500;
    font-size:6rem;
    display:block;
  }

  .birch-value-item h3::after {
    content: "";
    display: inline-block;
    width: 30px; /* adjust as needed */
    height: 30px; /* adjust as needed */
    margin-left: 6px; /* space between text and icon */
    background-image: url('/wp-content/uploads/2025/08/lelch-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom:40px;
  }


  .birch-value-item h3:hover::after {
    display: inline-block;
    animation: spinCycle 5s ease-in-out infinite;
  }
  
  /* Keyframes for spin with pause */
  @keyframes spinCycle {
    0% {
      transform: rotate(0deg);
    }
  
    50% {
      transform: rotate(1080deg); /* stop clean at multiple of 360 */
    }
    100% {
      transform: rotate(1080deg); /* hold still = pause */
    }
  }
  


  .birch-value-item p {
    margin: 0 0 16px;
    display:inline-block;
    max-width:800px;
  }
  
  .birch-section-inner{
    max-width:1300px;
    margin:0 auto;
    padding:120px 0;
  }

  .birch-section.lelch-orange{
    background-color:#F04931;
  }

  .birch-section.lelch-orange h3,
  .birch-section.lelch-orange h2{
    color:#FFFFFF;
    font-family:"Borna Regular", Sans-serif;
  }

  .birch-section.lelch-orange p{
    color:#FFFFFF;
  }

  .birch-section.lelch-orange h2{
    font-size:6rem;
    position:relative;
    padding-bottom:60px;
    margin-bottom:60px;
    max-width:800px;
  }

  .birch-section.lelch-orange h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0; /* aligns to element's bottom */
    width: calc(100% + 1200px); /* extend 50px beyond */
    height: 1px; /* border thickness */
    background-color: #FFFFFF; /* or any color */
  }

  .birch-section.lelch-orange h3{
    margin-bottom:30px;
  }

  .overlap-image {
    position: absolute;
    right:10%;
    bottom: -216px; /* pushes half down into next section */
    height:auto;
    width:450px;
    z-index:100;
  }

  .hero_text_holder{
    max-width:800px;
  }


  .lelch-cream{
    background-color: #FFFBF2;
  }

  .team-members-intro{
    max-width:60vw;
  }

  .team-members h3{
    font-family: "Borna Regular", Sans-serif;
    font-size: 48px;
    font-weight: bold;
    line-height: 100px;
    margin-bottom:15px;
  }

  .team-members-intro p{
    font-size: 18px;
    line-height: 31px;
    margin-bottom:60px;
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  
  .team-member {
    position: relative;
  }
  
  .team-image {
    position: relative;
    aspect-ratio: 4 / 5; /* lock aspect ratio */
    overflow: hidden;
  }
  
  .team-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover; /* crops to fill the 4:5 box */
    display: block;
  }

  /* Gradient overlay */
  .team-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%; /* covers bottom portion */
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
    pointer-events: none; /* don’t block clicks */
  }
  
  .team-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    z-index:100;
  }

  
  
  .team-info .job-title {
    display: block;
    font-size: 0.8rem;
    opacity: 0.85;
  }
  
  .team-info .name {
    display: block;
    font-size: 1.15rem;
    font-weight: bold;
  }

  .birch-about-hero-top img.birch-about-img.hide-full{
    display:none;
  }

  .birch-about-hero-top img.birch-about-img.show-full{
    display:inline-block;
  }
  
  @media (max-width: 768px) {
    .team-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .birch-section{
      padding:0 20px;
    }

    .birch-section.birch-about-hero-bottom,
    .birch-section.birch-about-hero-top{
      padding:0;
    }

    .birch-section-inner{
      padding-top:0px;
      padding-left:20px;
      padding-right:20px;
      padding-bottom:60px;
    }

    .birch-about-hero-top img.birch-about-img.hide-full{
      display:inline-block;
    }

    .birch-about-hero-top img.birch-about-img.show-full{
      display:none;
    }

    .birch-about-hero-top .text-box{
      position:relative;
      top:20px;
    }

    .birch-about-hero-top h5{
      color:#11252E !important;
    }

    .birch-about-hero-top h1{
      color:#11252E;
      font-size:3rem;
    }

    .birch-about-hero-bottom .birch-left, .birch-about-hero-bottom .birch-right{
      width:100%;
      max-width:100%;
    }

    .birch-section-inner .birch-row:nth-child(2){
      padding-top:0;
    }

    .birch-about-hero-bottom .birch-right p{
      color:#11252E;
    }

    .birch-value-item h3{
      font-size:4rem;
    }

    .overlap-image{
      right: 50%;
      bottom: -200px;
      width: 200px;
      transform: translate(-50%, -50%);
      left: 50%;
    }

    .birch-section.lelch-blue{
      position:relative
    }

    .birch-section.lelch-orange{
      padding-top:140px;
    }

    .birch-section.lelch-orange h2{
      font-size:3.5rem;
    }

    .birch-section.team-members{
      padding-top:60px;
    }

    .team-members-intro{
      max-width:100%;
    }

  }
  
  em{
    color:#f16521 !important;
  }
