
/* V48 — audit page alignment and hero proportions */

.v43-audit-hero{
  min-height:640px!important;
  height:auto!important;
  max-height:none!important;
  display:flex!important;
  align-items:center!important;
  background:
    linear-gradient(90deg,rgba(7,14,20,.94) 0%,rgba(7,14,20,.83) 43%,rgba(7,14,20,.42) 72%,rgba(7,14,20,.18) 100%),
    url("../images/hero-main.webp") 62% center/cover no-repeat!important;
}

/* Critical fix: do not let the page-specific rule stretch the container to 100% */
.v43-audit-hero .v42-container{
  width:min(1180px,calc(100% - 44px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-top:74px!important;
  padding-bottom:74px!important;
}

.v44-hero-core{
  width:100%!important;
  max-width:720px!important;
}

.v43-audit-hero h1{
  max-width:720px!important;
  margin:0 0 22px!important;
  font-size:clamp(48px,4.5vw,68px)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
}

.v43-audit-hero .v42-lead{
  max-width:620px!important;
  margin:0 0 28px!important;
  color:rgba(255,255,255,.86)!important;
  font-size:19px!important;
  line-height:1.58!important;
}

.v43-audit-hero .v42-btns{
  margin:0!important;
}

.v43-audit-hero .v42-btn{
  min-width:245px!important;
}

/* The next section starts as a separate, clean screen */
.v43-audit-hero + .v43-audit-section{
  padding-top:82px!important;
}

@media(max-width:1080px){
  .v43-audit-hero{
    min-height:590px!important;
    background-position:68% center!important;
  }
  .v43-audit-hero .v42-container{
    width:min(100% - 40px,1180px)!important;
    padding-top:64px!important;
    padding-bottom:64px!important;
  }
  .v44-hero-core{
    max-width:650px!important;
  }
  .v43-audit-hero h1{
    max-width:650px!important;
    font-size:clamp(44px,6vw,60px)!important;
  }
}

@media(max-width:760px){
  .v43-audit-hero{
    min-height:590px!important;
    background:
      linear-gradient(90deg,rgba(7,14,20,.95) 0%,rgba(7,14,20,.82) 72%,rgba(7,14,20,.58) 100%),
      url("../images/hero-main.webp") 69% center/cover no-repeat!important;
  }
  .v43-audit-hero .v42-container{
    width:calc(100% - 28px)!important;
    padding-top:54px!important;
    padding-bottom:54px!important;
  }
  .v44-hero-core{
    max-width:none!important;
  }
  .v43-audit-hero h1{
    max-width:560px!important;
    margin-bottom:18px!important;
    font-size:clamp(38px,10.5vw,50px)!important;
    line-height:1.03!important;
  }
  .v43-audit-hero .v42-lead{
    max-width:520px!important;
    margin-bottom:24px!important;
    font-size:17px!important;
    line-height:1.55!important;
  }
  .v43-audit-hero .v42-btn{
    width:100%!important;
    min-width:0!important;
  }
  .v43-audit-hero + .v43-audit-section{
    padding-top:60px!important;
  }
}
