/* ==========================================================================
   rich_text — generic eyebrow + heading + WYSIWYG body (legal notices, long-form)
   ========================================================================== */

.rich-text {
  padding-block: var(--section-y);
}
.rich-text__eyebrow {
  grid-column: 1 / -1;
  color: var(--color-clay);
  margin: 0 0 0.75rem;
}
.rich-text__heading {
  grid-column: 1 / -1;
  margin: 0;
}
.rich-text__body {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body-sm);
  line-height: var(--lh-body);
}
.rich-text__body p {
  margin: 0 0 1em;
}
.rich-text__body p:last-child {
  margin-bottom: 0;
}
.rich-text__body a {
  color: var(--color-water);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.rich-text__body ul,
.rich-text__body ol {
  margin: 0 0 1em;
  padding-inline-start: 1.25em;
}
.rich-text__body li {
  margin-block-end: 0.4em;
}

/* Narrow = reading column (≈8 of 12). Wide spans the full grid. */
.rich-text--narrow .rich-text__eyebrow,
.rich-text--narrow .rich-text__heading,
.rich-text--narrow .rich-text__body {
  grid-column: 1 / span 8;
}

@media (max-width: 760px) {
  .rich-text--narrow .rich-text__eyebrow,
  .rich-text--narrow .rich-text__heading,
  .rich-text--narrow .rich-text__body {
    grid-column: 1 / -1;
  }
}
