/* CAMBRIDGE_B1_HERO_RESTORE_V31_7_20260906
   HERO ONLY.
   Restores the photographic desktop/mobile hero requested by the user.
   All later page sections remain untouched.
*/

/* =====================================================================
   SHARED HERO RESET
   Neutralises the later compact blue/navy hero overrides only.
   ===================================================================== */
.b1x-page .b1x-hero.b1x-hero-v24{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate!important;
  color:#fff!important;
  background:#21120e!important;
}

.b1x-page .b1x-hero-v24::before{
  display:none!important;
  content:none!important;
}

.b1x-page .b1x-hero-v24 .b1x-hero-photo{
  position:absolute!important;
  z-index:0!important;
  inset:0!important;
  display:block!important;
  opacity:1!important;
  background-image:url("../images/public/cambridge-b1/hero-webveda.png")!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  transform:none!important;
  will-change:auto!important;
}

.b1x-page .b1x-hero-v24 .b1x-hero-shade{
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
  display:block!important;
  pointer-events:none!important;
}

.b1x-page .b1x-hero-v24::after{
  position:absolute!important;
  z-index:2!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  display:block!important;
  content:""!important;
  pointer-events:none!important;
}

.b1x-page .b1x-hero-v24 .b1x-hero-content{
  position:relative!important;
  z-index:4!important;
}

.b1x-page .b1x-hero-v24 .b1x-hero-copy{
  position:relative!important;
  z-index:5!important;
}

/* The supplied composite already contains the coach. Never stack another body image. */
.b1x-page .b1x-hero-v24 .b1x-hero-person-mobile{
  display:none!important;
  visibility:hidden!important;
}


/* =====================================================================
   DESKTOP — matches the requested reference:
   copy on dark left, coach on right, image fully visible and balanced.
   ===================================================================== */
@media (min-width:701px){
  .b1x-page .b1x-hero,
  .b1x-page .b1x-hero-v5,
  .b1x-page .b1x-hero-v24{
    min-height:560px!important;
    height:560px!important;
    max-height:560px!important;
    align-items:stretch!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-photo{
    background-size:cover!important;
    background-position:center center!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-shade{
    background:
      linear-gradient(90deg,
        rgba(20,10,7,.90) 0%,
        rgba(20,10,7,.82) 29%,
        rgba(20,10,7,.53) 48%,
        rgba(20,10,7,.12) 66%,
        rgba(20,10,7,.02) 100%),
      linear-gradient(0deg,rgba(15,7,5,.40),transparent 38%)!important;
  }

  .b1x-page .b1x-hero-v24::after{
    height:150px!important;
    background:linear-gradient(0deg,rgba(15,7,5,.50),transparent)!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-content{
    width:min(1180px,calc(100% - 72px))!important;
    min-height:560px!important;
    height:560px!important;
    margin:0 auto!important;
    padding:70px 0 42px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-copy{
    width:540px!important;
    max-width:540px!important;
    margin:0!important;
    padding:0!important;
    text-align:left!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-proof{
    width:max-content!important;
    max-width:520px!important;
    margin:0 0 24px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.3!important;
    letter-spacing:-.015em!important;
    text-transform:none!important;
    text-shadow:0 2px 12px rgba(0,0,0,.38)!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-proof-avatars{
    position:relative!important;
    width:56px!important;
    height:25px!important;
    min-width:56px!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-proof-avatars img{
    position:absolute!important;
    top:0!important;
    width:25px!important;
    height:25px!important;
    border:2px solid #fff!important;
    border-radius:50%!important;
    object-fit:cover!important;
  }
  .b1x-page .b1x-hero-v24 .b1x-proof-avatars img:nth-child(1){left:0!important}
  .b1x-page .b1x-hero-v24 .b1x-proof-avatars img:nth-child(2){left:15px!important}
  .b1x-page .b1x-hero-v24 .b1x-proof-avatars img:nth-child(3){left:30px!important}

  .b1x-page .b1x-hero-v24 h1{
    max-width:510px!important;
    margin:0!important;
    color:#fff!important;
    font-size:clamp(3.9rem,5.35vw,5rem)!important;
    font-weight:800!important;
    line-height:.94!important;
    letter-spacing:-.06em!important;
    text-align:left!important;
    text-shadow:0 3px 18px rgba(0,0,0,.22)!important;
  }

  .b1x-page .b1x-hero-v24 h1 span,
  .b1x-page .b1x-hero-v24 h1 em{
    display:inline!important;
  }

  .b1x-page .b1x-hero-v24 h1 span{
    color:#fff!important;
  }

  .b1x-page .b1x-hero-v24 h1 em{
    margin:0!important;
    color:#fff!important;
    font-family:var(--b1x-nepali)!important;
    font-size:.96em!important;
    font-style:normal!important;
    font-weight:760!important;
    line-height:1!important;
    letter-spacing:-.045em!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-lead{
    max-width:500px!important;
    margin:26px 0 0!important;
    color:#fff!important;
    font-family:var(--b1x-nepali)!important;
    font-size:20px!important;
    font-weight:600!important;
    line-height:1.48!important;
    text-align:left!important;
    text-shadow:0 2px 12px rgba(0,0,0,.38)!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-actions{
    margin:24px 0 0!important;
    display:flex!important;
    justify-content:flex-start!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-actions .b1x-button-blue{
    width:auto!important;
    min-width:252px!important;
    min-height:52px!important;
    padding:0 26px!important;
    border:0!important;
    border-radius:999px!important;
    color:#fff!important;
    background:linear-gradient(135deg,#4055e9,#485cf0)!important;
    box-shadow:0 14px 30px rgba(42,62,225,.30)!important;
    font-size:13px!important;
    font-weight:750!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-actions .b1x-button-blue::after{
    display:none!important;
    content:none!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-features,
  .b1x-page .b1x-hero-v24 .b1x-hero-features-inline{
    position:absolute!important;
    right:auto!important;
    bottom:27px!important;
    left:0!important;
    width:530px!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:23px!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-features-inline>div{
    min-width:0!important;
    padding:0!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:9px!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    text-align:left!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-features-inline svg{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    stroke:#fff!important;
    stroke-width:1.5!important;
    filter:drop-shadow(0 2px 6px rgba(0,0,0,.30))!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-features-inline span{
    color:#fff!important;
    font-size:10px!important;
    font-weight:700!important;
    line-height:1.2!important;
    text-shadow:0 2px 7px rgba(0,0,0,.40)!important;
  }
}


/* =====================================================================
   MOBILE — same composition as the user's correct reference:
   photo is the background, centred coach, text over top, benefits at bottom.
   ===================================================================== */
@media (max-width:700px){
  .b1x-page .b1x-hero,
  .b1x-page .b1x-hero-v5,
  .b1x-page .b1x-hero-v24{
    min-height:calc(100svh - 76px)!important;
    height:auto!important;
    max-height:none!important;
    align-items:stretch!important;
    background:#21120e!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-photo{
    background-size:auto 96%!important;
    background-position:84% calc(100% + 72px)!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-shade{
    background:
      linear-gradient(180deg,
        rgba(30,16,11,.80) 0%,
        rgba(30,16,11,.61) 28%,
        rgba(27,14,10,.24) 56%,
        rgba(20,10,8,.14) 70%,
        rgba(18,9,7,.79) 100%),
      radial-gradient(circle at 50% 24%,rgba(0,0,0,.03),rgba(0,0,0,.24) 72%)!important;
  }

  .b1x-page .b1x-hero-v24::after{
    height:190px!important;
    background:linear-gradient(0deg,rgba(18,9,7,.90),rgba(18,9,7,0))!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-content{
    width:calc(100% - 28px)!important;
    min-height:calc(100svh - 76px)!important;
    margin:0 auto!important;
    padding:32px 0 26px!important;
    display:block!important;
    text-align:center!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-copy{
    width:100%!important;
    max-width:none!important;
    min-height:calc(100svh - 134px)!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    flex-direction:column!important;
    text-align:center!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-proof{
    width:auto!important;
    max-width:100%!important;
    margin:0 auto 18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    color:#fff!important;
    font-size:10px!important;
    font-weight:700!important;
    line-height:1.25!important;
    letter-spacing:-.012em!important;
    text-transform:none!important;
    text-align:center!important;
    text-shadow:0 2px 12px rgba(0,0,0,.62)!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-proof-avatars{
    position:relative!important;
    width:50px!important;
    height:22px!important;
    min-width:50px!important;
  }
  .b1x-page .b1x-hero-v24 .b1x-proof-avatars img{
    position:absolute!important;
    top:0!important;
    width:22px!important;
    height:22px!important;
    border:1.5px solid #fff!important;
    border-radius:50%!important;
    object-fit:cover!important;
  }
  .b1x-page .b1x-hero-v24 .b1x-proof-avatars img:nth-child(1){left:0!important}
  .b1x-page .b1x-hero-v24 .b1x-proof-avatars img:nth-child(2){left:13px!important}
  .b1x-page .b1x-hero-v24 .b1x-proof-avatars img:nth-child(3){left:26px!important}

  .b1x-page .b1x-hero-v24 h1{
    width:100%!important;
    max-width:390px!important;
    margin:0 auto!important;
    color:#fff!important;
    font-size:clamp(3.15rem,14vw,4rem)!important;
    font-weight:800!important;
    line-height:.95!important;
    letter-spacing:-.065em!important;
    text-align:center!important;
    text-shadow:0 3px 20px rgba(0,0,0,.28)!important;
  }

  .b1x-page .b1x-hero-v24 h1 span,
  .b1x-page .b1x-hero-v24 h1 em{
    display:inline!important;
  }

  .b1x-page .b1x-hero-v24 h1 span,
  .b1x-page .b1x-hero-v24 h1 em{
    color:#fff!important;
  }

  .b1x-page .b1x-hero-v24 h1 em{
    margin:0!important;
    font-family:var(--b1x-nepali)!important;
    font-size:.95em!important;
    font-style:normal!important;
    font-weight:730!important;
    line-height:1!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-lead{
    width:100%!important;
    max-width:330px!important;
    margin:18px auto 0!important;
    color:#fff!important;
    font-family:var(--b1x-nepali)!important;
    font-size:16px!important;
    font-weight:600!important;
    line-height:1.42!important;
    text-align:center!important;
    text-shadow:0 2px 12px rgba(0,0,0,.62)!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-actions{
    width:100%!important;
    margin:21px auto 0!important;
    display:flex!important;
    justify-content:center!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-actions .b1x-button-blue{
    width:min(100%,278px)!important;
    min-height:52px!important;
    padding:0 20px!important;
    border:0!important;
    border-radius:999px!important;
    color:#fff!important;
    background:linear-gradient(135deg,#4055e9,#485cf0)!important;
    box-shadow:0 0 0 5px rgba(64,85,233,.18),0 14px 32px rgba(10,20,75,.28)!important;
    font-size:13px!important;
    font-weight:750!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-actions .b1x-button-blue::after{
    display:none!important;
    content:none!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-features,
  .b1x-page .b1x-hero-v24 .b1x-hero-features-inline{
    position:absolute!important;
    z-index:7!important;
    right:4px!important;
    bottom:18px!important;
    left:4px!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:3px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-features-inline>div{
    min-width:0!important;
    padding:0 2px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-direction:column!important;
    gap:5px!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    text-align:center!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-features-inline svg{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    stroke:#fff!important;
    stroke-width:1.55!important;
    filter:drop-shadow(0 2px 5px rgba(0,0,0,.60))!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-features-inline span{
    max-width:105px!important;
    color:#fff!important;
    font-size:8.7px!important;
    font-weight:750!important;
    line-height:1.12!important;
    text-align:center!important;
    text-shadow:0 2px 6px rgba(0,0,0,.80)!important;
  }
}

@media (max-width:390px){
  .b1x-page .b1x-hero-v24 .b1x-hero-photo{
    background-size:auto 95%!important;
    background-position:84% calc(100% + 64px)!important;
  }

  .b1x-page .b1x-hero-v24 h1{
    font-size:clamp(2.85rem,13.5vw,3.45rem)!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-lead{
    max-width:300px!important;
    font-size:15px!important;
  }

  .b1x-page .b1x-hero-v24 .b1x-hero-actions .b1x-button-blue{
    width:min(100%,252px)!important;
    min-height:49px!important;
    font-size:12.5px!important;
  }
}

@media (max-width:700px) and (max-height:720px){
  .b1x-page .b1x-hero-v24 .b1x-hero-content{
    padding-top:24px!important;
  }
  .b1x-page .b1x-hero-v24 .b1x-proof{
    margin-bottom:13px!important;
  }
  .b1x-page .b1x-hero-v24 h1{
    font-size:clamp(2.75rem,12.5vw,3.35rem)!important;
  }
  .b1x-page .b1x-hero-v24 .b1x-hero-lead{
    margin-top:13px!important;
    font-size:14.5px!important;
  }
  .b1x-page .b1x-hero-v24 .b1x-hero-actions{
    margin-top:16px!important;
  }
  .b1x-page .b1x-hero-v24 .b1x-hero-photo{
    background-position:84% calc(100% + 58px)!important;
  }
}
