/* SOLVEN TEAM HERO v14 - visual match with DLA CZLONKOW (v2).
   Applies only to HERO, preserving section dividers, players and navigation links. */
html body.sv-team-page main#team-content.classic-team .ct-hero {
  box-sizing: border-box !important;
  position: relative !important;
  isolation: isolate !important;
  height: 380px !important;
  min-height: 380px !important;
  max-height: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 35px 18px 42px !important;
  text-align: center !important;
  overflow: visible !important;
}

/* Original image is 1920x430: using full available width prevents 'cover' zoom. */
html body.sv-team-page main#team-content.classic-team .ct-hero::before {
  background-color: #080808 !important;
  background-image: url('/assets/team/team-arena-d.webp') !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
  background-position: center center !important;
}

/* Keep the side spotlights visible and the copy legible, same mood as members. */
html body.sv-team-page main#team-content.classic-team .ct-hero::after {
  background: linear-gradient(90deg,
    rgba(8,8,8,.28) 0%,
    rgba(8,8,8,.68) 22%,
    rgba(8,8,8,.91) 41%,
    rgba(8,8,8,.87) 60%,
    rgba(8,8,8,.66) 80%,
    rgba(8,8,8,.26) 100%) !important;
  border-bottom: 1px solid #39302a !important;
}

/* Same type scale and gradient as 'DLA CZLONKOW' centered HERO. */
html body.sv-team-page main#team-content.classic-team .ct-hero h1.sv-team-unified-v13 {
  display: block !important;
  box-sizing: border-box !important;
  width: max-content !important;
  max-width: calc(100vw - 36px) !important;
  margin: 19px auto 20px !important;
  padding: 0 0 .13em !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  font-weight: 950 !important;
  font-size: clamp(23px, 3.55vw, 62px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.055em !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  background-image: linear-gradient(90deg,
    #ffffff 0%, #fff9f0 11%, #f9e4ca 25%, #ffd29b 40%,
    #ffb25e 56%, #ff992e 73%, #ff7a00 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: none !important;
  transform: none !important;
}

html body.sv-team-page main#team-content.classic-team .ct-hero h1.sv-team-unified-v13::before {
  content: 'TEAM' !important;
  display: block !important;
  width: 210px !important;
  max-width: 100% !important;
  height: 20px !important;
  line-height: 20px !important;
  padding: 0 !important;
  margin: 0 auto 0 !important;
  color: #e8e8e8 !important;
  -webkit-text-fill-color: #e8e8e8 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .45em !important;
  background: linear-gradient(#ff7a00, #ff7a00) left center / 35px 2px no-repeat,
              linear-gradient(#ff7a00, #ff7a00) right center / 35px 2px no-repeat !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
}

html body.sv-team-page main#team-content.classic-team .ct-hero > p {
  max-width: 650px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: clamp(13px, 1.2vw, 16px) !important;
  line-height: 1.6 !important;
  color: #f1eae5 !important;
}

/* Buttons still belong inside hero, with spacing from the reference. */
html body.sv-team-page main#team-content.classic-team .ct-hero > .ct-jump {
  margin: 28px auto 0 !important;
}

@media (max-width: 900px) {
  html body.sv-team-page main#team-content.classic-team .ct-hero {
    height: 380px !important;
    min-height: 380px !important;
    padding: 35px 16px 42px !important;
  }
  html body.sv-team-page main#team-content.classic-team .ct-hero::before {
    background-size: auto 100% !important;
  }
}

@media (max-width: 760px) {
  html body.sv-team-page main#team-content.classic-team .ct-hero {
    height: auto !important;
    min-height: 400px !important;
    padding: 42px 14px 48px !important;
  }
  html body.sv-team-page main#team-content.classic-team .ct-hero h1.sv-team-unified-v13 {
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    white-space: normal !important;
    font-size: clamp(29px, 6.3vw, 43px) !important;
    line-height: 1.21 !important;
  }
  html body.sv-team-page main#team-content.classic-team .ct-hero h1.sv-team-unified-v13::before {
    letter-spacing: .22em !important;
  }
  html body.sv-team-page main#team-content.classic-team .ct-hero::before {
    background-size: cover !important;
  }
  html body.sv-team-page main#team-content.classic-team .ct-hero::after {
    background: rgba(9,9,9,.75) !important;
  }
  html body.sv-team-page main#team-content.classic-team .ct-hero > .ct-jump {
    margin-top: 22px !important;
  }
}

@media (max-width: 420px) {
  html body.sv-team-page main#team-content.classic-team .ct-hero h1.sv-team-unified-v13 {
    font-size: clamp(27px, 7.3vw, 32px) !important;
  }
}
