
/* BCD_APPROVED_HERO_POSITIONS_20261101
   Restored approved positions from November 1, 2026.
   Existing mobile and iPad-portrait rules preserved.
*/

/* Wide desktop */
@media (min-width:1451px) and (min-height:850px) {
  header.hero .heroInner .scribbleImg {
    left:34.5%!important;
    top:45%!important;
    right:auto!important;
    bottom:auto!important;
  }
}

/* Desktop and iPad Pro landscape */
@media (orientation:landscape)
       and (min-width:1200px)
       and (max-width:1450px)
       and (min-height:850px)
       and (max-height:1100px) {
  header.hero .heroInner .scribbleImg {
    left:31%!important;
    top:39%!important;
    right:auto!important;
    bottom:auto!important;
  }
}

/* Compact desktop/tablet: preserve approved vertical CSS */
@media (min-width:1050px)
       and (max-width:1100px)
       and (max-height:1099px) {
  header.hero .heroInner .scribbleImg {
    left:33%!important;
    right:auto!important;
  }
}


/* v36: restore v33 desktop jacket opacity; stronger dissolve only at the very bottom */
@media (min-width: 769px){
  .hero-person{
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 78%,rgba(0,0,0,.98) 82%,rgba(0,0,0,.88) 87%,rgba(0,0,0,.62) 92%,rgba(0,0,0,.36) 95%,rgba(0,0,0,.12) 97.5%,rgba(0,0,0,.025) 99%,transparent 100%) !important;
    mask-image:linear-gradient(to bottom,#000 0%,#000 78%,rgba(0,0,0,.98) 82%,rgba(0,0,0,.88) 87%,rgba(0,0,0,.62) 92%,rgba(0,0,0,.36) 95%,rgba(0,0,0,.12) 97.5%,rgba(0,0,0,.025) 99%,transparent 100%) !important;
  }
}

@media(max-width:900px){}


/* v37: desktop dissolve begins only in the lower sixth; keep hands/jacket fully opaque above it */
@media (min-width: 901px){
  .portrait img{
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 83.33%,rgba(0,0,0,.99) 86%,rgba(0,0,0,.94) 90%,rgba(0,0,0,.78) 94%,rgba(0,0,0,.48) 97%,rgba(0,0,0,.16) 99%,transparent 100%) !important;
    mask-image:linear-gradient(to bottom,#000 0%,#000 83.33%,rgba(0,0,0,.99) 86%,rgba(0,0,0,.94) 90%,rgba(0,0,0,.78) 94%,rgba(0,0,0,.48) 97%,rgba(0,0,0,.16) 99%,transparent 100%) !important;
  }
}

.footerV43{margin-top:34px;padding:46px 22px 28px;display:grid;grid-template-columns:1fr auto;gap:34px;border-top:1px solid #263944;background:radial-gradient(circle at 85% 0%,#6e171d2b,transparent 34%),linear-gradient(180deg,#09141b,#060c10);border-radius:22px 22px 0 0}.footerBrand{display:flex;flex-direction:column;gap:8px}.footerBrand strong{font-family:"Arial Black","Segoe UI",Arial,sans-serif;font-size:28px;line-height:.9;color:#fff}.footerBrand span{color:#fff;font-weight:800}.footerBrand small{color:#87969e}.footerSocials{display:flex;gap:10px;align-items:flex-start}.footerSocials a{width:42px;height:42px;border:1px solid #40525c;border-radius:50%;display:grid;place-items:center;color:#fff;text-decoration:none;font-size:11px;font-weight:900;transition:.2s}.footerSocials a:hover{border-color:#ef3136;background:#ef313618}.footerBottom{grid-column:1/-1;border-top:1px solid #26343c;padding-top:18px;display:flex;justify-content:space-between;align-items:center;color:#74838b;font-size:12px}.footlinks button{border:0;background:none;color:#aab4b9;font:inherit;cursor:pointer;padding:0}.footlinks button:hover{color:#fff}.legalModal{position:fixed;inset:0;z-index:1300;display:none;place-items:center;padding:24px}.legalModal.open{display:grid}.legalBackdrop{position:absolute;inset:0;background:#02070bd9;backdrop-filter:blur(8px)}.legalPanel{position:relative;width:min(820px,100%);max-height:min(82vh,850px);background:linear-gradient(145deg,#0c1820,#091218);border:1px solid #344852;border-radius:20px;box-shadow:0 30px 100px #000b;overflow:hidden}.legalScroll{max-height:min(82vh,850px);overflow:auto;padding:42px 50px 50px;color:#c6d0d5;line-height:1.7}.legalScroll h2{font-family:"Arial Black","Segoe UI",Arial,sans-serif;color:#fff;font-size:36px;line-height:1.05;margin:8px 50px 24px 0}.legalScroll h3{color:#fff;margin-top:28px}.legalKicker{color:#ef3136;text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.12em}.legalClose{position:absolute;right:16px;top:14px;z-index:3;width:38px;height:38px;border:1px solid #4b5a62;border-radius:50%;background:#101b21;color:#fff;font-size:24px;cursor:pointer}@media(max-width:900px){.footerV43{grid-template-columns:1fr;padding:34px 20px 24px}.footerSocials{justify-content:flex-start}.footerBottom{display:grid;gap:16px}.footlinks{gap:18px}.legalModal{padding:0}.legalPanel{width:100%;height:100%;max-height:none;border-radius:0;border:0}.legalScroll{max-height:100%;height:100%;padding:72px 22px 40px}.legalScroll h2{font-size:30px}.legalClose{top:18px;right:18px}}


/* v45 footer refinements */
.footerV44{background:radial-gradient(circle at 88% 20%,#18303a22,transparent 30%),linear-gradient(180deg,#071016,#071016)!important;border-top:1px solid #263944!important;box-shadow:none!important}
.footerV44 .footerSocials a{border:0!important;border-radius:0!important;background:none!important;width:30px!important;height:30px!important}
.footerV44 .footerSocials svg{width:27px!important;height:27px!important}
.footerMotto{transform:none!important;padding:0!important;width:210px;max-width:100%;display:flex;justify-content:flex-end}
.footerMotto:after{display:none!important}
.footerMotto img{display:block;width:100%;height:auto;object-fit:contain}
@media(max-width:900px){.footerMotto{width:150px;justify-self:end}.footerV44{background:#071016!important}}


/* v52 definitive footer brand fix */
.footerV44 .footerBrand strong > .brandMoney{
  color:var(--red)!important;
  font-family:inherit!important;
  font-size:1em!important;
  font-weight:inherit!important;
  line-height:inherit!important;
  letter-spacing:inherit!important;
}


/* V120 — tablet hero/footer polish only. Desktop and mobile untouched. */
@media (min-width:901px) and (max-width:1199.98px){
  /* Raise Yuri without changing the approved tablet composition. */
  .portrait{
    left:20%!important;
    width:80%!important;
    height:72%!important;
    bottom:0!important;
  }
  .portrait img{height:100%!important;object-position:right bottom!important}

  /* Keep the main headline where it works; move only the small name down. */
  .heroCopy .smallname{transform:translateY(10px)!important;margin-bottom:22px!important}

  /* Handwritten “Жизнь — тоже игра” sits in the free field by Yuri's left ear. */
  .scribbleImg{
    left:39%!important;
    top:35%!important;
    width:17vw!important;
    max-width:190px!important;
  }

  /* Real V44 footer structure: brand left, socials centre, motto right, legal links below. */
  footer.footerV44{
    display:grid!important;
    grid-template-columns:minmax(180px,1fr) auto minmax(180px,1fr)!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    column-gap:24px!important;
    row-gap:16px!important;
    padding:24px 28px 20px!important;
    min-height:0!important;
  }
  footer.footerV44 .footerBrand{
    grid-column:1!important;grid-row:1!important;
    justify-self:start!important;min-width:0!important;
  }
  footer.footerV44 .footerSocials{
    grid-column:2!important;grid-row:1!important;
    justify-self:center!important;justify-content:center!important;
    gap:22px!important;
  }
  footer.footerV44 .footerMotto{
    grid-column:3!important;grid-row:1!important;
    justify-self:end!important;width:175px!important;max-width:100%!important;
  }
  footer.footerV44 .footlinks,
  footer.footerV44 .legalLinksV112{
    grid-column:1/-1!important;grid-row:2!important;
    justify-self:center!important;justify-content:center!important;
    width:100%!important;
    border-top:1px solid #242d32!important;
    padding-top:13px!important;
    gap:7px!important;
    white-space:nowrap!important;
    flex-wrap:nowrap!important;
    font-size:12px!important;
  }
  footer.footerV44 .legalSlash{display:inline!important;opacity:.55!important;margin:0 2px!important}
}
@media (min-width:901px) and (max-width:1050px){
  .portrait{left:18%!important;width:82%!important;height:70%!important}
  .scribbleImg{left:40%!important;top:34%!important;width:18vw!important}
  footer.footerV44{grid-template-columns:minmax(155px,1fr) auto minmax(155px,1fr)!important;padding-left:22px!important;padding-right:22px!important}
  footer.footerV44 .footerMotto{width:155px!important}
}


/* V123 — iPad hero correction. This block is intentionally last in cascade. */
@media (min-width:901px) and (max-width:1199.98px){
  /* Move Yuri distinctly right and lift the whole portrait off the bottom edge. */
  .portrait{
    left:38%!important;
    right:-7%!important;
    width:69%!important;
    height:82%!important;
    top:auto!important;
    bottom:8%!important;
    justify-content:flex-end!important;
  }
  .portrait img{
    height:100%!important;
    width:auto!important;
    max-width:none!important;
    object-position:right bottom!important;
  }

  /* Only the small name goes lower; the main headline stays where it is. */
  .heroCopy .smallname{
    transform:translateY(24px)!important;
    margin-bottom:34px!important;
  }

  /* “Жизнь — тоже игра”: much farther left and lower, away from Yuri's head. */
  .scribbleImg{
    left:17%!important;
    top:48%!important;
    width:16.5vw!important;
    max-width:180px!important;
  }
}
@media (min-width:901px) and (max-width:1050px){
  .portrait{
    left:39%!important;
    right:-8%!important;
    width:69%!important;
    height:83%!important;
    bottom:9%!important;
  }
  .heroCopy .smallname{transform:translateY(26px)!important;margin-bottom:36px!important}
  .scribbleImg{left:14%!important;top:50%!important;width:17vw!important;max-width:175px!important}
}


/* V126 — iPad orientation polish. Desktop and mobile untouched. */

/* iPad Pro landscape, including 1376×1032. */
@media (orientation:landscape) and (min-width:1200px) and (max-width:1450px) and (min-height:850px) and (max-height:1100px){
  .heroCopy{
    top:44%!important;
    transform:translateY(-44%) scale(.92)!important;
  }
  .scribbleImg{
    left:31.5%!important;
    top:32%!important;
  }
  .signatureImg{
    top:calc(67% + clamp(132px,10vw,176px))!important;
  }
}

/* iPad portrait, including 1032×1376: legal links stay in the footer. */
@media (orientation:portrait) and (min-width:901px) and (max-width:1100px) and (min-height:1100px){
  footer.footerV44{
    display:grid!important;
    grid-template-columns:minmax(145px,1fr) minmax(250px,1.45fr) auto minmax(125px,.8fr)!important;
    grid-template-rows:auto!important;
    align-items:center!important;
    column-gap:14px!important;
    row-gap:0!important;
    min-height:72px!important;
    height:auto!important;
    padding:12px 18px!important;
    overflow:visible!important;
  }
  footer.footerV44 .footerBrand{
    grid-column:1!important;grid-row:1!important;justify-self:start!important;
  }
  footer.footerV44 .footlinks.legalLinksV112{
    grid-column:2!important;grid-row:1!important;
    display:flex!important;visibility:visible!important;opacity:1!important;
    position:static!important;transform:none!important;
    justify-self:center!important;justify-content:center!important;align-items:center!important;
    width:auto!important;height:auto!important;min-height:0!important;
    margin:0!important;padding:0!important;border:0!important;
    gap:5px!important;white-space:nowrap!important;flex-wrap:nowrap!important;
    font-size:10px!important;line-height:1.2!important;overflow:visible!important;
  }
  footer.footerV44 .footlinks.legalLinksV112 a{
    display:inline!important;visibility:visible!important;opacity:1!important;
    color:#aab4b9!important;text-decoration:none!important;white-space:nowrap!important;
  }
  footer.footerV44 .legalSlash{
    display:inline!important;visibility:visible!important;opacity:.55!important;margin:0 1px!important;
  }
  footer.footerV44 .footerSocials{
    grid-column:3!important;grid-row:1!important;
    justify-self:center!important;gap:13px!important;flex-wrap:nowrap!important;
  }
  footer.footerV44 .footerMotto{
    grid-column:4!important;grid-row:1!important;
    justify-self:end!important;width:125px!important;
  }
}


/* V137 — final iPad portrait scribble fine-tune; keep last in cascade. */
@media (orientation:portrait) and (min-width:901px) and (max-width:1100px) and (min-height:1100px){
  .scribbleImg{
    left:29%!important;
    right:auto!important;
    top:55%!important;
    bottom:auto!important;
    width:16.5vw!important;
    max-width:180px!important;
  }
}


/* V139 — last-in-cascade explicit iPad portrait position; only handwritten quote moves left. */
@media (orientation:portrait) and (min-width:901px) and (max-width:1100px) and (min-height:1100px){
  .scribbleImg{left:24.15%!important;right:auto!important;top:55%!important;bottom:auto!important;width:16.5vw!important;max-width:180px!important;}
}


/* V140 — iPad Pro landscape 1376×1032 fine tune only. Portrait v139 remains untouched. */
@media (orientation:landscape) and (min-width:1200px) and (max-width:1450px) and (min-height:850px) and (max-height:1100px){
  .heroCopy{
    top:42.5%!important;
    transform:translateY(-44%) scale(.92)!important;
  }
  .scribbleImg{
    left:31.5%!important;
    top:34%!important;
  }
}
