/* «Мир Дао»: сохраняем размеры, сетки и цветовую систему исходного плагина Федерации. */
.mdh-home .mdh-hero {
  min-height:700px;
  padding:88px 0 72px;
  background-position:center center;
  background-size:cover;
}
.mdh-home .mdh-hero .mbh-hero-overlay {
  background:linear-gradient(90deg,rgba(22,7,18,.78) 0%,rgba(22,7,18,.60) 38%,rgba(22,7,18,.12) 71%,rgba(22,7,18,.05) 100%);
}
.mdh-home .mbh-hero-copy {max-width:820px;}
.mdh-home .mdh-federation-logo {
  display:block;
  width:min(100%, 560px);
  height:auto;
  margin:0 0 14px;
  object-fit:contain;
  object-position:left center;
}
.mdh-home .mbh-hero h1 {font-size:clamp(56px,6.4vw,92px);max-width:790px;margin:0 0 20px;}
.mdh-home .mbh-lead {max-width:660px;font-size:19px;}
.mdh-home .mdh-hero-actions {margin-top:27px;}
.mdh-home .mbh-hero-nav-btn {min-height:50px;}
.mdh-home .mdh-btn-article {background:#6e394a!important;border-color:#935c6d!important;}
.mdh-home .mdh-books {scroll-margin-top:115px;}
.mdh-home .mbh-books .mbh-books-copy p {max-width:640px;}
.mdh-home .mdh-federation {scroll-margin-top:110px;}
.mdh-principles {display:grid;gap:13px;}
.mdh-principles>div {background:#fff;border:1px solid var(--mbh-line);padding:19px 22px;border-radius:13px;box-shadow:0 8px 24px rgba(35,25,30,.035);}
.mdh-principles strong,.mdh-principles span {display:block;}
.mdh-principles strong {font-size:17px;color:#441e2e;margin-bottom:6px;}
.mdh-principles span {font-size:14px;color:var(--mbh-muted);line-height:1.55;}
.mdh-feature {background:var(--mbh-soft);scroll-margin-top:110px;}
.mdh-courses {background:#fff;}
.mdh-feature-grid {display:grid;grid-template-columns:minmax(0,1.5fr) minmax(180px,.5fr);align-items:center;gap:44px;}
.mdh-feature h2 {font-size:clamp(30px,4vw,46px);line-height:1.14;color:var(--mbh-ink);max-width:710px;margin:9px 0 22px;}
.mdh-feature p {color:var(--mbh-muted);max-width:690px;font-size:17px;line-height:1.7;margin-bottom:28px;}
.mdh-feature-symbol {height:185px;width:185px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1px solid #e0c7cc;background:radial-gradient(circle,#fff8f0,#efe5df);font-size:96px;font-family:serif;color:#9f5b59;justify-self:center;}
.mdh-home-bottom {padding:34px 0;background:#262225;color:#fff;}
.mdh-bottom-inner {display:flex;justify-content:space-between;align-items:center;gap:25px;}
.mdh-bottom-inner strong {font-size:14px;line-height:1.5;}
.mdh-bottom-inner p {margin:6px 0 0;color:#c6b8be;font-size:13px;}
.mdh-bottom-inner a {color:#fff!important;text-decoration:underline;}
/* The homepage has its own federation footer. The default Hestia footer stays intact on all other pages. */
body.mbh-new-home footer.footer:not(.mdh-home-bottom) {display:none!important;}
#knigi,#biblioteka,#publikacii,#programmy,#napravleniya {scroll-margin-top:110px;}
@media (max-width:980px) {
 .mdh-home .mdh-hero {min-height:650px;padding:88px 0 70px;background-position:60% center;}
 .mdh-home .mdh-federation-logo {width:min(100%, 490px);}
 .mdh-feature-grid {grid-template-columns:1fr 160px;}
 .mdh-feature-symbol {width:145px;height:145px;font-size:74px;}
}
@media (max-width:680px) {
 .mdh-home .mdh-hero {min-height:600px;padding:82px 0 60px;background-position:71% center;}
 .mdh-home .mdh-federation-logo {width:100%;max-width:400px;margin-bottom:14px;}
 .mdh-home .mdh-hero .mbh-hero-overlay {background:linear-gradient(90deg,rgba(22,7,18,.94),rgba(22,7,18,.76) 68%,rgba(22,7,18,.42));}
 .mdh-home .mbh-hero h1 {font-size:54px;}
 .mdh-home .mbh-lead {font-size:16px;line-height:1.55;}
 .mdh-home .mbh-hero-nav-btn {min-height:45px;padding:11px 13px;font-size:13px;}
 .mdh-feature-grid {grid-template-columns:1fr;}
 .mdh-feature-symbol {display:none;}
 .mdh-bottom-inner {flex-direction:column;align-items:flex-start;}
}

/* BaziPeople: restored from the Federation homepage, locally bundled art. */
.mdh-home #spravochnik-bazi {scroll-margin-top:110px;}
