/* Only layout at the boundary between the shared site shell and Academy content. */
html { min-width: 0; }
/* Clip decoration without creating a scroll container that breaks sticky UI. */
body { overflow-x: clip; }

.shell > main > .hero,
.shell > main > .truth-strip,
.shell > main > .section,
.shell > main > .final-cta {
  width: 100%;
  margin-inline: 0;
}

/* Match the homepage's UI metrics rather than inheriting article line-height. */
.topbar,
.shell > footer,
.privacy-notice { line-height: normal; }
.topbar .menu-toggle { box-shadow: none; }
.shell > footer { margin: 0; }
.privacy-notice .primary-action { width: auto; }

.shell > main .section { scroll-margin-top: 150px; }
.shell > main .filter-panel,
.shell > main .case-answer { top: 116px; }

@media (min-width: 701px) and (max-width: 1280px) {
  .shell > main .section { scroll-margin-top: 190px; }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .shell > main .filter-panel,
  .shell > main .case-answer { top: 170px; }
}
