/* Quiet section rhythm for text-heavy pages. Keep the existing brand, type and
   centered composition; distinguish real topics without decorative UI. */
body.wr-rebuild {
  --wr-section-surface: #11121a;
  --wr-section-rule: #343041;
}

body.wr-rebuild #main-content section[data-wr-section] {
  border-top: 1px solid var(--wr-section-rule);
  border-bottom: 0;
  border-radius: 0;
  background-color: #090a0f;
  background-image: none;
  box-shadow: none;
}

body.wr-rebuild #main-content section[data-wr-section="soft"] {
  background-color: var(--wr-section-surface);
}

body.wr-rebuild #main-content section[data-wr-section] > h2,
body.wr-rebuild #main-content section[data-wr-section] > .rq-prose > h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

/* Long articles and policies use compact topic bands, not full-page spacing. */
body.wr-rebuild #main-content article > section[data-wr-section] {
  margin-block: 0;
  padding-block: 32px;
}

/* Use the existing horizontal gutters and line length. Only the unbroken
   service-page prose needs a slightly tighter, consistent vertical interval. */
body.wr-rebuild #main-content.wr-rebuild-content .rq-section[data-wr-section] {
  padding-block: 52px;
}
body.wr-rebuild #main-content.wr-rebuild-content .rq-prose > p + p {
  margin-top: 24px;
}

@media (max-width: 600px) {
  body.wr-rebuild #main-content.wr-rebuild-content .rq-section[data-wr-section] {
    padding-block: 40px;
  }
  body.wr-rebuild #main-content article > section[data-wr-section] {
    padding-block: 28px;
  }
}

@media print {
  body.wr-rebuild #main-content section[data-wr-section] {
    background: transparent !important;
    box-shadow: none !important;
  }
}
