* {
    box-sizing: border-box;
  }

 
  

  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
  }
  
  /* Hidden source image for JS background logic */
  .full-img-back-hero-source {
    display: none;
  }
  
  /* OUTER HERO WRAPPER */
  .full-img-back-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* image background behavior (from your original) */
    height: auto;
  }
  
  /* FULL-SCREEN VIDEO BACKGROUND (BEHIND OVERLAY + CONTENT) */
  .full-img-back-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none; /* keep it non-interactive as a background */
  }
  
  /* OPTIONAL: FULL-SCREEN HTML BACKGROUND (BEHIND OVERLAY + CONTENT) */
  .full-img-back-hero-html {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* remove this if you want interactive background */
  }
  
  /* PNG overlay above bg media (image/video/html), below content */
  .full-img-back-hero-media {
    position: absolute;
    inset: 0;
    z-index: 1; /* above video/html, below content */
    pointer-events: none;
  }
  
  .full-img-back-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    pointer-events: none;
  }
  
  /* CONTENT AREA – 1300px wide on desktop, centered */
  .full-img-back-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    padding-bottom: 0px;
  
    width: 70%;
    max-width: 1400px;
    margin: 0 auto;
  
    display: flex;
    justify-content: center;
    height: auto;
  }
  
  /* Make everything inside fill the content width, at least 100px tall, white */
  .full-img-back-hero-content > * {
    width: 70%;
    height: auto;
  }
  
  /* Inner white bar (100px height, full width) */
  .full-img-back-hero-inner {
    width: 100%;
    min-height: auto;
    background-color:transparent!important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #bannerpng {
    width: 1300px!important;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    float: none;
  }

 
  


  @media (max-width: 1300px) {

    #bannerpng {
      width: 70%;
      height: auto;
      
    }

      .full-img-back-hero-content {
        width: 70%;
        max-width:100%;
        margin: 0 auto;
      }
  }
  
  /* At 1300px and below, content becomes 90% width, centered (down to mobile) */
  @media (max-width: 650px) {
    .full-img-back-hero-content {
      width: 90%;
      max-width: 100%;
      margin: 0 auto;
    }
	
    .full-img-back-hero-content > * {
      width: 100%;
    }

    .fullwidthscrollbanner-hero {
      margin-top: -100px;
    }



 
  }



  <style>
  :root{
    --eyebrow-line: 1.4;
  }

  /* Force consistent font like your attached module */
  .dept-module,
  .dept-module *{
    font-family:'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing:border-box;
  }

  /* Full width wrapper */
  .dept-module{
    width:100%;
    max-width:100vw;
    margin:0;
    padding:0;
    overflow:hidden;
  }

  /* Main row */
  .dept-row{
    width:100%;
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    gap:25px;
  }

  /* Left image panel */
  .dept-left{
    width:38%;
    min-width:400px;
    position:relative;
    border-radius: 25px;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .dept-image{
    width:120%;
    height:auto;
    min-height:520px;
    display:block;
    object-fit:cover;
    object-position:center;
    border-radius: 0;
    transform: scale(1);
    transition: transform 0.55s ease;
    will-change: transform;
    margin: 0;
    padding: 0;
  }

  /* Zoom effect */
  .dept-left:hover .dept-image{
    transform: scale(1.12);
  }

  /* Right text panel with white background and shadow */
  .dept-right{
    flex:1;
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    padding:48px 40px 48px 40px;
    background:#ffffff;
    border-radius: 25px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
    margin: 10px 10px 10px 0;
  }

  .dept-content{
    max-width:880px;
  }

  /* Text styling */
  .dept-eyebrow{
    font-size:10px;
    line-height:var(--eyebrow-line);
    text-transform:uppercase;
    letter-spacing:.6px;
    margin:0 0 12px 0;
    color:#3b0b64;
  }

  .dept-title{
    margin:0 0 18px 0;
    font-size:30px;
    line-height:40px;
    font-weight:600;
    letter-spacing:-.03em;
    color:#111320;
  }

  .dept-subhead{
    margin:0 0 10px 0;
    font-size:14px;
    line-height:20px;
    font-weight:600;
    color:#40475c;
  }

  .dept-desc{
    margin:0 0 26px 0;
    font-size:14px;
    line-height:20px;
    font-weight:600;
    color:#4e556a;
    max-width:760px;
  }

  .dept-cta{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    text-decoration:none;
    font-weight:800;
    text-transform:uppercase;
    font-size:26px;
    color:#111320;
    position:relative;
    padding:4px 0;
  }

  .dept-cta::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;
    height:2px;
    width:100%;
    background:currentColor;
    transform:scaleX(0);
    transform-origin:left;
    transition:transform .22s ease;
  }

  .dept-cta:hover::after,
  .dept-cta:focus-visible::after{
    transform:scaleX(1);
  }
  @media (max-width: 1300px){
  .dept-module{
    width:100%;
    padding-left: 10px;
    padding-right: 10px;
  }

 

  .dept-row{
    gap:25px;
    width: 93%;
    margin-left: auto;
    margin-right: auto;
  }

  .dept-left{
    margin-left: 10px;
  }

}


  /* MOBILE: keep stacked layout */
  @media (max-width: 880px){
    .dept-row{
      flex-direction:column;
      align-items:stretch;
      gap:0;
    }

    .dept-module{
    width:100%;
  
  }

    .dept-left{
      width:100%!important;
      min-width:100%!important;
      height:auto!important;
      border-radius:25px!important;
      overflow:hidden!important;
      transform: translateZ(0);
      margin: 0;
      padding: 0;
    }

    .dept-image{
      min-height:auto;
      width: 140%!important;
      max-width: 140%!important;
      height: 0px;
      overflow: hidden;
      border-radius: 0!important;
      margin-top: -50px;
      margin-left: 0px!important;
      margin-right: 90px;
      padding: 0;
    }

    .dept-right{
      padding:26px 18px 34px 18px;
      margin-top: 22px;
    }

    .dept-title{
      font-size:34px;
      line-height:40px;
    }

    @media (max-width: 650px){
      .dept-image {
        min-height:auto;
        width: 100%!important;
        max-width: 100%!important;
        height: auto;
        border-radius: 0!important;
        margin-top: 75px;
        display: none;
      }

      .dept-right,.dept-row
     {
        margin-top: 25px;
        padding: 45px!important;
        border-radius: 15px!important;
      }

      .dept-row {
        width: 110%!important;
        margin-left: -3%!important;
        margin-top: -15px!important;
      }

      .dept-left{
      width:100%!important;
      min-width:100%!important;
      height:0px!important;
      border-radius:25px!important;
      max-height: 500px;
      overflow:hidden!important;
      transform: translateZ(0);
      margin: 0;
      padding: 0;
      margin-top: -50px;
    }

    .dept-title {
      font-size: 20px!important;
      line-height: 25px!important;
    }

    #greyline1 {
      margin-top: -25px;
    }

  .hideevent {
    display: none;
  }
    }
  }
</style>
  