/* ============================================================================
   GovTheme — article.css
   The article page surface: the full node view under the article banner.
   Theme-owned page layout, not a kit component — the marketing site keeps its
   equivalent in demo/css/site.css.
   ========================================================================== */

/* The article body sits on the page ground, constrained to the wrap width,
   with the design's breathing room: 56px over 64px at desktop, tightening
   with the viewport. */
.gt-article {
  max-width: var(--gt-maxw);
  margin-inline: auto;
  padding-block: clamp(40px, 5vw, 56px) clamp(48px, 6vw, 64px);
}

/* Readability measure: the article's components stack in a 900px column,
   aligned to the wrap's left edge. A wide component dropped into an article
   is constrained with the rest — deliberate: this surface is for reading.
   The measure sits on each item, not the column, so a band item spans the
   centred wrap and its full-bleed maths holds; the band's own content keeps
   the measure. */
.gt-article__inner > .gt-flow > .gt-flow__item:not(:has(> .gt-band)),
.gt-article .gt-band > .gt-wrap > * {
  max-width: 900px;
}

/* A leading or trailing band brings its own padding. */
.gt-article:has(> .gt-article__inner > .gt-flow > .gt-flow__item:first-child > .gt-band) {
  padding-top: 0;
}

.gt-article:has(> .gt-article__inner > .gt-flow > .gt-flow__item:last-child > .gt-band) {
  padding-bottom: 0;
}
