/*
  Rich-text defaults for marketing/legal pages.

  Why: Some themes (e.g. "taran") ship Tailwind preflight resets which remove
  list markers and margins. This file restores sensible typography inside
  `.rich-text` containers without affecting the rest of the layout.
*/

.rich-text {
  line-height: 1.65;
}

.rich-text p {
  margin: 0 0 0.75rem;
}

.rich-text h2,
.rich-text h3,
.rich-text h4 {
  margin: 1.25rem 0 0.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.rich-text h2 {
  font-size: 1.35em;
}

.rich-text h3 {
  font-size: 1.18em;
}

.rich-text h4 {
  font-size: 1.05em;
}

.rich-text ul,
.rich-text ol {
  margin: 0.25rem 0 0.9rem 1.25rem;
  padding: 0;
}

.rich-text ul {
  list-style: disc;
}

.rich-text ol {
  list-style: decimal;
}

.rich-text li {
  margin: 0.25rem 0;
}

.rich-text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rich-text hr {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: 0.15;
  margin: 1rem 0;
}

