/* V54 — precise follow-up to V53: shorter seamless transition, no repeated bio panel,
   and shorter Nadya-inspired prelearning introduction. Existing fonts, imagery, card
   design, motion, other sections and legal documents are untouched. */

/* Remove the excessive empty gap without losing the luminous transition.
   Its final pixel deliberately matches the start of chapter-contents below. */
.immersion-threshold {
  height:clamp(165px,17vw,250px) !important;
  background:linear-gradient(180deg,
    #ffffff 0%,
    #faf6f1 9%,
    #f1e6db 20%,
    #dfc8b7 36%,
    #c39d88 53%,
    #997261 69%,
    #60463b 85%,
    #392823 94%,
    #291d1c 100%) !important;
}
.chapter-contents {
  padding-top:28px !important;
  background:linear-gradient(180deg,
    #291d1c 0%,
    #251c1d 95px,
    rgba(15,13,16,.96) 225px,
    rgba(10,10,13,.76) 100%) !important;
}
.chapter-contents .site-contents-wrap{margin-top:0 !important;}

/* 'Знает цену ошибок' duplicated the four stories above: only 'Чему учит' remains. */
#author .bio-grid {
  grid-template-columns:minmax(0,1fr) !important;
  max-width:860px;
  margin-left:auto;
  margin-right:auto;
}

@media (max-width:700px) {
  .immersion-threshold {
    height:154px !important;
    background:linear-gradient(180deg,
      #ffffff 0%,
      #faf6f1 10%,
      #f0e5d9 22%,
      #dbbdab 38%,
      #ba917d 53%,
      #8f6858 70%,
      #5a3f35 86%,
      #291d1c 100%) !important;
  }
  .chapter-contents {padding-top:18px !important;}
  .chapter-contents .site-contents-wrap {margin-top:0 !important;}
}
@media (max-width:380px) {
  .immersion-threshold{height:142px !important;}
}
