:root{--site-width:1440px;--site-gutter:32px}

/* One shared content width for the homepage and every functional page. */
.home-shell,
.home-portal,
.directory-layout,
.blog-shell,
.path-shell,
.content-page,
.solution-guide,
.casebook,
.standard-solution,
.report-layout,
.robot-catalog-compact,
.robot-shell,
.form-page,
.reading-shell{
  max-width:var(--site-width);
  margin-inline:auto;
}

/* Directory already has its own sidebar; keep the main column fluid inside the shell. */
.directory-main{max-width:none;width:100%}

/* Long-form pages stay readable, but their outer shell matches the rest of the site. */
.article-layout{max-width:1100px;margin-inline:auto}
.article-heading{max-width:940px;margin-inline:auto}
.blog-heading{max-width:900px}
.reading-shell>.path-body{max-width:850px;margin-inline:auto}
.report-sidebar{max-height:calc(100vh - 40px)}
.prose{max-width:900px}

@media(max-width:760px){
  .home-shell,.home-portal,.blog-shell,.path-shell,.content-page,.solution-guide,.casebook,.standard-solution,.report-layout,.robot-catalog-compact,.robot-shell,.form-page,.reading-shell{
    max-width:100%;
  }
}
@media(min-width:761px){
  .home-shell,.blog-shell,.path-shell,.content-page,.solution-guide,.casebook,.standard-solution,.report-layout,.reading-shell,.form-page{
    padding-left:32px;
    padding-right:32px;
  }
  .directory-main{padding-left:32px;padding-right:32px}
}
