.rich-content {
  display: flow-root;
  word-break: break-word;
}
.rich-content p {
  margin: 0 0 0.5em;
}
.rich-content ul,
.rich-content ol {
  padding-left: 2em;
  margin: 0 0 0.5em;
}
.rich-content ul,
.rich-content ul li {
  list-style-type: disc;
}
.rich-content ol,
.rich-content ol li {
  list-style-type: decimal;
}
.rich-content ul ul,
.rich-content ul ul > li {
  list-style-type: circle;
}
.rich-content table {
  border-collapse: collapse;
  max-width: 100%;
  margin: 0.5em 0;
}
.rich-content th,
.rich-content td {
  border: 1px solid #999;
  padding: 4px 8px;
}
.rich-content img {
  max-width: 100%;
  height: auto !important;
}
.rich-content.is-collapsed {
  max-height: 21rem;
  overflow: hidden;
  position: relative;
}
.rich-content.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4rem;
  background: linear-gradient(rgba(245, 246, 250, 0), #f5f6fa);
}
