
/* Описания курсов занимают всю доступную ширину карточки */
.cards .course .info p:not(.tagline),
#bankSeoPage .bankSeoHero .info p:not(.tagline),
#bankSeoPage .bankSeoHeroCopy > p:not(.bankSeoLead) {
    max-width: none !important;
}


/* Background synchronized with approved B’ANK landing page. */
html {
  background:#061015!important;
}
html body {
  position:relative!important;
  background:#071016!important;
  isolation:isolate!important;
}
html body::before {
  content:""!important;
  display:block!important;
  pointer-events:none!important;
  position:fixed!important;
  z-index:0!important;
  inset:-18px!important;
  background:url("/assets/hero-bg.webp") center top/cover no-repeat!important;
  filter:blur(12px) saturate(.92)!important;
  opacity:.40!important;
  transform:scale(1.03)!important;
}
html body::after {
  content:""!important;
  display:block!important;
  pointer-events:none!important;
  position:fixed!important;
  z-index:0!important;
  inset:0!important;
  background:linear-gradient(180deg,rgba(4,10,14,.48),rgba(4,11,16,.58) 45%,rgba(4,11,16,.72))!important;
}
html body > * {
  position:relative;
  z-index:1;
}


.cards .course.bankCourse .info h2 .productEmoji {
    margin-right:.14em!important;
}


/* All four storefront cards: BANK typography */
@media (min-width:901px) {
  html body #products .course .bankStats span,
  html body #products .course .productStats span {
    font-size:10px!important;
  }
}
@media (max-width:900px) {
  html body #products .course .bankStats span,
  html body #products .course .productStats span {
    font-size:9px!important;
  }
}
html body #products .course .mainPriceLabel {
  display:block!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.1!important;
  letter-spacing:.10em!important;
  text-transform:uppercase!important;
}


/* BCD_HERO_1101_1199_FIX_V1
   Fix only problematic desktop corridor.
   Widths <=1100 and >=1200 remain unchanged.
*/
@media (min-width:1101px) and (max-width:1199.98px)
       and (orientation:landscape) {
  header.hero .heroInner .scribbleImg {
    left:28%!important;
    top:52%!important;
    right:auto!important;
    bottom:auto!important;
    margin-left:0!important;
    translate:none!important;
  }
}


/* BCD_HERO_1050_1100_VERTICAL_V1
   Revised: retain existing 1050px position.
   Remove additional vertical offset at 1051-1100px.
*/

/* Existing approved appearance at 1050px */
@media (min-width:1050px)
       and (max-width:1050px)
       and (orientation:landscape)
       and (max-height:1099px) {
  header.hero .heroInner .scribbleImg {
    translate:0 25px!important;
  }
}

/* No additional vertical displacement at 1051-1100px */
@media (min-width:1051px)
       and (max-width:1100px)
       and (orientation:landscape)
       and (max-height:1099px) {
  header.hero .heroInner .scribbleImg {
    translate:none!important;
  }
}


/* BCD_HERO_901_1049_SHIFT_RIGHT_V1
   Move handwritten phrase 50px right.
   Preserve vertical position, rotation and size.
   Mobile <=900px remains unchanged.
*/
@media (min-width:901px) and (max-width:1049.98px) {
  header.hero .heroInner .scribbleImg {
    translate:50px 0!important;
  }
}


/* BCD_HERO_1050_1100_OFFSET_TUNE_V1
   Match handwritten phrase to its position at 1101px.
   Widths 1050-1100 only.
*/
@media (min-width:1050px) and (max-width:1100px) {
  header.hero .heroInner .scribbleImg {
    margin-left:-30px!important;
    margin-top:20px!important;
  }
}


/* BCD_CHECKOUT_FONT_V1: only purchase controls */
.buyV88, #schoolCheckout .schoolCheckoutPay { font-family:Inter,Arial,sans-serif!important; }


html body #decisions .badge.green,
html body #gameModal .badge.green {
    background: #177254 !important;
    color: #fff !important;
}


html body #investments .info > h2 {
    display: flex !important;
    align-items: center !important;
}


/* V127 — restore header login on iPad portrait only. */
@media (orientation:portrait) and (min-width:901px) and (max-width:1100px) and (min-height:1100px){
  header.hero .login,
  .hero .login{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    right:3.2%!important;
    top:24px!important;
    width:auto!important;
    min-width:58px!important;
    height:28px!important;
    padding:0 11px!important;
    align-items:center!important;
    justify-content:center!important;
    white-space:nowrap!important;
    font-size:10px!important;
    line-height:1!important;
    z-index:30!important;
  }
}


/* V128 — actual desktop-header login selector on iPad portrait. */
@media (orientation:portrait) and (min-width:901px) and (max-width:1100px) and (min-height:1100px){
  nav .navLogin{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    justify-self:end!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    width:auto!important;
    min-width:54px!important;
    min-height:28px!important;
    height:28px!important;
    padding:0 10px!important;
    border:1px solid rgba(255,255,255,.28)!important;
    border-radius:8px!important;
    color:#f5f0e7!important;
    white-space:nowrap!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:700!important;
    z-index:30!important;
  }
}


/* V129 — iPad portrait: keep login independent of the crowded 3-column nav grid. */
@media (orientation:portrait) and (min-width:901px) and (max-width:1100px) and (min-height:1100px){
  .hero > nav.nav{
    position:absolute!important;
    padding-right:92px!important;
  }
  .hero > nav.nav > .navLogin{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:absolute!important;
    right:18px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin:0!important;
    width:auto!important;
    min-width:58px!important;
    height:28px!important;
    min-height:28px!important;
    padding:0 10px!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid rgba(255,255,255,.28)!important;
    border-radius:8px!important;
    color:#f5f0e7!important;
    background:rgba(6,16,21,.18)!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:700!important;
    white-space:nowrap!important;
    z-index:100!important;
    pointer-events:auto!important;
  }
}


/* V133 — independent header zones: brand left, menu true-center, login right. */
@media (min-width:901px){
  header.hero > nav.nav{
    position:absolute!important;
    left:0!important; right:0!important; top:0!important;
    transform:none!important;
    width:100%!important;
    max-width:none!important;
    padding-left:clamp(18px,2.5vw,38px)!important;
    padding-right:clamp(18px,2.5vw,38px)!important;
    display:block!important;
  }
  header.hero .desktopBrand{
    display:block!important;
    position:absolute!important;
    left:clamp(18px,2.5vw,38px)!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    margin:0!important;
    z-index:3!important;
  }
  header.hero .desktopNavLinks{
    display:flex!important;
    position:absolute!important;
    left:50%!important; top:50%!important;
    transform:translate(-50%,-50%)!important;
    margin:0!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    z-index:2!important;
  }
  header.hero .navLogin{
    display:inline-flex!important;
    visibility:visible!important; opacity:1!important;
    position:absolute!important;
    right:clamp(18px,2.5vw,38px)!important;
    left:auto!important; top:50%!important;
    transform:translateY(-50%)!important;
    margin:0!important;
    width:auto!important;
    align-items:center!important; justify-content:center!important;
    white-space:nowrap!important;
    z-index:4!important;
  }
}
@media (min-width:901px) and (max-width:1100px){
  header.hero .desktopBrand{font-size:13px!important;line-height:.96!important;}
  header.hero .desktopNavLinks{gap:16px!important;font-size:11.5px!important;}
  header.hero .navLogin{
    min-width:58px!important;height:30px!important;min-height:30px!important;
    padding:0 10px!important;font-size:11px!important;
  }
}
@media (min-width:1101px) and (max-width:1400px){
  header.hero .desktopNavLinks{gap:26px!important;font-size:13px!important;}
}
