/* A single-item inquiry centers its form; use that same column for the introduction. */
main:has(> [data-quote-cart] [data-quote-selection][hidden]) > .page-intro > .wrap {
  max-width: 38rem;
}

/* Supplemental sections use the same gutter as the page they belong to. */
.b3-main > .buying-note.wrap {
  width: 100%;
}

.b3-resource + .arch-related.wrap {
  max-width: 1140px;
}

main:has(> .eco-ref-page > .trust-about) > .arch-related.wrap {
  width: 100%;
  max-width: 1200px;
  padding-inline: clamp(18px, 4vw, 54px);
}

/* Match the journal's bordered reading area around the topic listings. */
.editorial-section + .arch-related.wrap {
  --journal-outer: 1rem;
  --journal-inner: 1rem;
  --journal-max: 1280px;
  width: min(calc(100% - 2 * var(--journal-outer)), var(--journal-max));
  padding-inline: calc(var(--journal-inner) + 1px);
}

@media (min-width: 40rem) {
  .editorial-section + .arch-related.wrap { --journal-outer: 1.5rem; }
}

@media (min-width: 48rem) {
  .editorial-section + .arch-related.wrap {
    --journal-outer: 2rem;
    --journal-inner: 2rem;
  }
}

@media (min-width: 1600px) {
  .editorial-section + .arch-related.wrap { --journal-max: 1440px; }
}
