/* Makindo R27.4 — homepage aligned to the reader's full-width layout.
   Purposefully scoped to the homepage: no change to clinical chapters or editor.
   Matches the 245px left textbook gutter and small outer padding on desktop. */
@media screen and (min-width:761px) {
  body[data-page="0"] .home-shell {
    box-sizing:border-box!important;
    display:grid!important;
    width:100%!important; max-width:none!important;
    margin:0!important;
    padding:14px clamp(12px,1vw,18px) 70px!important;
    grid-template-columns:245px minmax(0,1fr)!important;
    gap:14px!important; align-items:start!important;
  }
  body[data-page="0"] .home-shell > .book-index-sidebar {
    box-sizing:border-box!important;
    width:100%!important; min-width:0!important; max-width:none!important;
    margin:0!important;
  }
  body[data-page="0"] .home-shell > .home-inner {
    box-sizing:border-box!important;
    width:100%!important; min-width:0!important; max-width:none!important;
    margin:0!important; padding:0!important;
  }
  body[data-page="0"] .home-inner > .mk-first-cover,
  body[data-page="0"] .home-inner > .mk-book-first-search,
  body[data-page="0"] .home-inner > .mk-app-strip,
  body[data-page="0"] .home-inner > .mk-home-questions,
  body[data-page="0"] .home-inner > .mainindex {
    box-sizing:border-box!important;
    width:100%!important; max-width:none!important;
    margin-left:0!important; margin-right:0!important;
  }
  body.sidebar-collapsed[data-page="0"] .home-shell {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media screen and (min-width:761px) and (max-width:1050px) {
  body[data-page="0"] .home-shell {
    grid-template-columns:215px minmax(0,1fr)!important;
    gap:12px!important;
  }
}
