/* Styles for dynamically rendered rich text blocks */
.richtext h1 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.richtext h2 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.richtext h3 {
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.richtext h4 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.richtext h5 {
  font-size: 0.83rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.richtext h6 {
  font-size: 0.67rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.richtext p {
  margin-bottom: 0.5rem;
}

.richtext ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.richtext ol {
  list-style-type: decimal;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.richtext blockquote {
  border-left: 4px solid #cbd5e1;
  padding-left: 1rem;
  color: #475569;
  font-style: italic;
  margin: 1rem 0;
}

.richtext ul { list-style-type: disc; }      /* top level */
.richtext ul ul { list-style-type: circle; } /* 2nd level */
.richtext ul ul ul { list-style-type: square; }

/* Improve table header contrast within rich text tables */
/* .richtext table thead th {
  background-color: #e2e8f0;
} */

.richtext hr {
  margin: 1rem 0;
}

.richtext * {
  user-select: none;
}
