/* Academy landing: compact mobile hero, matching the reference's typography
   and keeping both actions visible sooner. All copy and URLs remain untouched. */
body.tc-redesign.bc-page #content > section.tc-academy-home-hero {
  isolation:isolate;
}
@media (min-width:761px) and (max-width:1023px) {
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero .integrated-media--hero img {
    object-position:80% center!important;
  }
}
@media(min-width:761px) {
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 > div.max-w-3xl {
    max-width:min(940px,100%)!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 {
    max-width:none!important;
    font-size:clamp(52px,5.3vw,76px)!important;
    line-height:1.03!important;
  }
}
@media(max-width:760px) {
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero .integrated-media--hero img {
    object-position:80% center!important;
    opacity:.62;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero {
    min-height:100svh!important;
    padding:0 0 36px!important;
    background:#080808!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 {
    display:flex!important;
    align-items:flex-start!important;
    min-height:0!important;
    width:100%!important;
    max-width:none!important;
    padding:clamp(170px,22svh,210px) 21px 40px!important;
    margin:0!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 > div.max-w-3xl {
    display:flex;
    flex-direction:column;
    width:100%;
    min-width:0;
    max-width:680px!important;
    margin:0!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 > div.max-w-3xl > div:first-child {
    margin:0!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 > div.max-w-3xl > div:first-child > span {
    display:inline-block!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:none!important;
    -webkit-text-fill-color:#e8e8e8!important;
    color:#e8e8e8!important;
    font:500 clamp(17px,4.4vw,23px)/1.3 var(--tc-condensed,"Oswald",Arial,sans-serif)!important;
    letter-spacing:.02em!important;
    text-transform:uppercase;
    white-space:normal!important;
    backdrop-filter:none!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 {
    width:100%!important;
    max-width:13ch!important;
    margin:clamp(22px,3.5vw,32px) 0 0!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font:700 clamp(54px,12.2vw,72px)/1.035 var(--tc-condensed,"Oswald",Arial,sans-serif)!important;
    text-transform:uppercase;
    letter-spacing:-.028em!important;
    overflow-wrap:normal;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p {
    width:100%!important;
    max-width:51ch!important;
    margin:clamp(19px,3vw,28px) 0 0!important;
    color:#ebebeb!important;
    -webkit-text-fill-color:#ebebeb!important;
    font:400 clamp(16px,4.2vw,19px)/1.58 "Montserrat",Arial,sans-serif!important;
    letter-spacing:0!important;
    text-transform:none!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div {
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:11px!important;
    width:100%!important;
    margin:clamp(22px,4vw,32px) 0 0!important;
    padding:0!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div > a {
    display:inline-flex!important;
    width:100%!important;
    min-height:56px!important;
    align-items:center!important;
    justify-content:center!important;
    padding:13px 18px!important;
    margin:0!important;
    border-radius:9px!important;
    box-shadow:none!important;
    font:600 clamp(19px,5vw,24px)/1.2 var(--tc-condensed,"Oswald",Arial,sans-serif)!important;
    text-align:center!important;
    text-transform:uppercase;
    letter-spacing:.02em!important;
    transition:background .16s ease,color .16s ease!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div > a:first-child {
    background:#fff!important;
    color:#101010!important;
    -webkit-text-fill-color:#101010!important;
    border:2px solid #fff!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div > a:last-child {
    background:rgba(0,0,0,.25)!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    border:2px solid #fff!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div > a:first-child span.relative {
    color:#101010!important;
    -webkit-text-fill-color:#101010!important;
    font:inherit!important;
    letter-spacing:inherit!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div > a:first-child span.absolute {display:none!important}
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div > a:focus-visible {
    outline:3px solid #66b5ef!important;
    outline-offset:4px!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div + p {
    margin:14px 0 0!important;
    padding:0!important;
    color:#ddd!important;
    -webkit-text-fill-color:#ddd!important;
    font:400 14px/1.5 "Montserrat",Arial,sans-serif!important;
    text-transform:none!important;
    letter-spacing:0!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div + p a {
    display:inline-flex!important;
    min-height:44px;
    align-items:center;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    text-decoration:underline!important;
    text-underline-offset:4px;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero .tc-academy-hero__stats {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0!important;
    width:100%!important;
    min-width:0;
    margin:27px 0 0!important;
    padding:0!important;
    border-top:1px solid #ffffff80!important;
    border-bottom:1px solid #ffffff80!important;
    background:rgba(7,7,7,.50)!important;
    backdrop-filter:none!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero .tc-academy-hero__stats > div {
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:91px!important;
    margin:0!important;
    padding:14px 9px!important;
    border-right:0!important;
    border-bottom:1px solid #ffffff30!important;
    background:transparent!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero .tc-academy-hero__stats > div:nth-child(odd) {
    border-right:1px solid #ffffff30!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero .tc-academy-hero__stats > div:nth-last-child(-n+2) {
    border-bottom:0!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero .tc-academy-hero__stats strong {
    display:block!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font:700 clamp(25px,6.8vw,33px)/1.06 var(--tc-condensed,"Oswald",Arial,sans-serif)!important;
    letter-spacing:0!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero .tc-academy-hero__stats span {
    display:block!important;
    margin:6px 0 0!important;
    padding:0!important;
    color:#d7d7d7!important;
    -webkit-text-fill-color:#d7d7d7!important;
    font:400 clamp(12px,3vw,15px)/1.35 "Montserrat",Arial,sans-serif!important;
    letter-spacing:0!important;
    text-transform:none!important;
    overflow-wrap:break-word;
  }
}
@media(max-width:355px){
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 {
    padding-inline:17px!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 {
    font-size:12.2vw!important;
  }
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p {
    font-size:15px!important;
  }
}
/* Long localized headlines must remain inside the usable text column.
   A single unbroken English word is wider than the original 54px measure. */
@media(max-width:760px) {
  html[lang="ru"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 {
    max-width:none!important;
    font-size:clamp(41px,10.7vw,54px)!important;
    line-height:1.04!important;
    letter-spacing:-.022em!important;
  }
  html[lang="en"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 {
    max-width:none!important;
    font-size:clamp(40px,10.5vw,53px)!important;
    line-height:1.04!important;
    letter-spacing:-.022em!important;
  }
}

@media(prefers-reduced-motion:reduce){
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero a {transition:none!important;transform:none!important}
}

body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 .tc-academy-title__light {font-weight:300!important}
body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 .tc-academy-title__strong {font-weight:700!important}

@media (min-width:761px) {
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero {padding-top:84px!important}
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 {min-height:calc(100svh - 84px)!important;padding-top:12px!important;padding-bottom:24px!important}
}
@media (max-width:760px) {
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 {padding-top:clamp(96px,13svh,120px)!important}
}

/* The Ukrainian headline must not strand «та» on its own line on iPhone. */
@media (max-width:760px) {
  html[lang="uk"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 {
    padding-top:86px!important;
    padding-bottom:28px!important;
  }
  html[lang="uk"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 {
    max-width:none!important;
    margin-top:17px!important;
    font-size:clamp(38px,10.7vw,46px)!important;
    line-height:1.07!important;
    letter-spacing:-.018em!important;
  }
  html[lang="uk"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 .tc-academy-title__light,
  html[lang="uk"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 .tc-academy-title__strong {
    display:block;
  }
  html[lang="uk"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p {
    margin-top:16px!important;
    font-size:16px!important;
    line-height:1.48!important;
  }
  html[lang="uk"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div {
    gap:9px!important;
    margin-top:18px!important;
  }
  html[lang="uk"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero h1 + p + div > a {
    min-height:54px!important;
    padding:11px 15px!important;
    font-size:18px!important;
  }
}

@media (max-width:760px) {
  body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10,
  html[lang="uk"] body.tc-redesign.bc-page #content > section.tc-academy-home-hero > div.relative.z-10 {
    padding-top:clamp(28px, 5svh, 44px)!important;
  }
}
