
/* SOLVEN TEAM HERO v6 - height and typography aligned with REKRUTACJA v5. */
body.sv-team-page main.classic-team .ct-shell{padding-top:0 !important}
body.sv-team-page main.classic-team .ct-hero{
  position:relative !important;
  isolation:isolate !important;
  height:auto !important;
  min-height:410px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  padding:55px 18px 60px !important;
  text-align:center !important;
  background:none !important;
  overflow:visible !important;
}
body.sv-team-page main.classic-team .ct-hero::before{
  content:"" !important;
  position:absolute !important;
  top:0 !important;
  bottom:0 !important;
  left:50% !important;
  right:auto !important;
  width:100vw !important;
  height:100% !important;
  transform:translateX(-50%) !important;
  background:#080808 url('/assets/team/team-arena-d.webp') center center / cover no-repeat !important;
  pointer-events:none !important;
  z-index:-2 !important;
}
body.sv-team-page main.classic-team .ct-hero::after{
  content:"" !important;
  position:absolute !important;
  top:0 !important;
  bottom:0 !important;
  left:50% !important;
  right:auto !important;
  width:100vw !important;
  height:100% !important;
  transform:translateX(-50%) !important;
  background:linear-gradient(90deg,rgba(8,8,8,.14) 0%,rgba(8,8,8,.70) 31%,rgba(8,8,8,.90) 45%,rgba(8,8,8,.88) 55%,rgba(8,8,8,.70) 69%,rgba(8,8,8,.14) 100%) !important;
  border-bottom:1px solid #28282a !important;
  pointer-events:none !important;
  z-index:-1 !important;
}
body.sv-team-page main.classic-team .ct-hero > *{position:relative;z-index:1}
body.sv-team-page main.classic-team .ct-hero h1.sv-team-unified-v13{
  display:block !important;
  width:max-content !important;
  max-width:calc(100vw - 30px) !important;
  margin:18px auto 9px !important;
  padding:.06em 0 .16em !important;
  box-sizing:content-box !important;
  overflow:visible !important;
  font-family:"Arial Black","Segoe UI",Arial,Helvetica,sans-serif !important;
  font-style:normal !important;
  font-synthesis:none !important;
  font-weight:900 !important;
  font-size:clamp(15px,4.05vw,70px) !important;
  line-height:1.22 !important;
  letter-spacing:-.065em !important;
  text-align:center !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
  background-image:linear-gradient(90deg,#fff 0%,#f6f6f6 22%,#ffe6c1 39%,#ffbf75 53%,#ff9425 70%,#ff7a00 88%,#ffa533 100%) !important;
  background-clip:text !important;
  -webkit-background-clip:text !important;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important;
  text-shadow:none !important;
  transform:none !important;
}
body.sv-team-page main.classic-team .ct-hero h1.sv-team-unified-v13::before{
  content:"TEAM" !important;
  display:block !important;
  box-sizing:border-box !important;
  width:210px !important;
  max-width:100% !important;
  height:20px !important;
  line-height:20px !important;
  margin:0 auto 16px !important;
  padding:0 !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:11px !important;
  font-weight:800 !important;
  font-style:normal !important;
  letter-spacing:.45em !important;
  text-align:center !important;
  text-shadow:none !important;
  color:#e8e8e8 !important;
  -webkit-text-fill-color:#e8e8e8 !important;
  background:linear-gradient(90deg,#ff7a00 0%,#ff7a00 100%) left center / 35px 2px no-repeat,
             linear-gradient(90deg,#ff7a00 0%,#ff7a00 100%) right center / 35px 2px no-repeat !important;
  -webkit-background-clip:border-box !important;
  background-clip:border-box !important;
}
body.sv-team-page main.classic-team .ct-hero p{
  max-width:650px !important;
  margin:0 auto !important;
  padding:0 !important;
  color:#dbd8d6 !important;
  font-size:clamp(13px,1.2vw,16px) !important;
  line-height:1.6 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.6) !important;
}
/* Jump links remain below the hero, outside the background image. */
body.sv-team-page main.classic-team .ct-jump{
  position:relative !important;
  z-index:2 !important;
  margin-top:0 !important;
  background:transparent !important;
  padding:16px 0 26px !important;
}
@media(max-width:900px){
  body.sv-team-page main.classic-team .ct-hero{min-height:370px !important;}
}
@media(max-width:650px){
  body.sv-team-page main.classic-team .ct-hero{min-height:425px !important;padding:55px 14px !important;}
  body.sv-team-page main.classic-team .ct-hero h1.sv-team-unified-v13{
    font-size:clamp(14px,3.9vw,27px) !important;
    letter-spacing:-.07em !important;
  }
  body.sv-team-page main.classic-team .ct-hero h1.sv-team-unified-v13::before{
    width:180px !important;
    margin-bottom:12px !important;
    letter-spacing:.22em !important;
  }
  body.sv-team-page main.classic-team .ct-hero::after{background:rgba(7,7,7,.62) !important;}
  body.sv-team-page main.classic-team .ct-jump{padding-top:12px !important;}
}


/* v7 - real visual alignment with the REKRUTACJA hero reference.
   The original TEAM h1 (and its TEAM eyebrow) remain untouched in HTML. */
body.sv-team-page main.classic-team .ct-hero {
  box-sizing:border-box !important;
  height:410px !important;
  min-height:410px !important;
  justify-content:flex-start !important;
  padding:69px 18px 40px !important;
}
/* Keep the full arena visible instead of zooming it with cover. */
body.sv-team-page main.classic-team .ct-hero::before {
  background-size:100% 100% !important;
  background-position:center center !important;
}
/* The kicker, title and description have the same top rhythm as REKRUTACJA. */
body.sv-team-page main.classic-team .ct-hero h1.sv-team-unified-v13 {
  margin:0 auto 9px !important;
  padding:.06em 0 .16em !important;
}
body.sv-team-page main.classic-team .ct-hero h1.sv-team-unified-v13::before {
  margin:0 auto 16px !important;
}
body.sv-team-page main.classic-team .ct-hero p {
  margin:0 auto !important;
}
@media (max-width:900px) {
  body.sv-team-page main.classic-team .ct-hero {
    height:370px !important;
    min-height:370px !important;
    padding:63px 16px 35px !important;
  }
}
@media (max-width:650px) {
  body.sv-team-page main.classic-team .ct-hero {
    height:425px !important;
    min-height:425px !important;
    padding:75px 14px 35px !important;
  }
  body.sv-team-page main.classic-team .ct-hero h1.sv-team-unified-v13 {
    white-space:normal !important;
    font-size:clamp(22px,6vw,37px) !important;
    line-height:1.14 !important;
  }
  body.sv-team-page main.classic-team .ct-hero::before {
    background-size:cover !important;
    background-position:center !important;
  }
}
