.growfund-rich-text-content {
  color: hsl(var(--growfund-gray-15));
  font-size: 1rem;
  line-height: 1.25;
  font-family: var(--growfund-font-family);
}

.growfund-rich-text-content h1 {
  font-size: 36px;
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
  margin-block: 1.2em 0.8em;
}

.growfund-rich-text-content h2 {
  font-size: 30px;
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
  margin-block: 1.2em 0.8em;
}

.growfund-rich-text-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: inherit;
  line-height: 1.3;
  margin-block: 1.2em 0.8em;
}

.growfund-rich-text-content h4 {
  font-size: 20px;
  font-weight: 600;
  color: inherit;
  line-height: 1.4;
  margin-block: 1em 0.6em;
}

.growfund-rich-text-content h5 {
  font-size: 18px;
  font-weight: 600;
  color: inherit;
  line-height: 1.4;
  margin-block: 1em 0.6em;
}

.growfund-rich-text-content h6 {
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  line-height: 1.4;
  margin-block: 1em 0.6em;
}

.growfund-rich-text-content ul {
  list-style-type: disc;
  margin-block: 0.5rem;
}

.growfund-rich-text-content ol {
  list-style-type: decimal;
  padding-left: calc(var(--growfund-spacing) * 2);
  margin-block: 0.5rem;
}

.growfund-rich-text-content li {
  list-style-type: inherit;
  display: list-item;
  margin-block: 0.5rem;
  color: inherit;
  line-height: 1.75;
}

.growfund-rich-text-content ul ul,
.growfund-rich-text-content ul ol,
.growfund-rich-text-content ol ul,
.growfund-rich-text-content ol ol {
  margin-block: 0.5rem;
  padding-left: calc(var(--growfund-spacing) * 3 / 2);
}

.growfund-rich-text-content ul ul {
  list-style-type: circle;
}

.growfund-rich-text-content ul ul ul {
  list-style-type: square;
}

.growfund-rich-text-content a {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

.growfund-rich-text-content a:hover {
  color: inherit;
  text-decoration: underline;
}

.growfund-rich-text-content strong,
.growfund-rich-text-content b {
  font-weight: 700;
  color: inherit;
}

.growfund-rich-text-content em,
.growfund-rich-text-content i {
  font-style: italic;
}

.growfund-rich-text-content u {
  text-decoration: underline;
}

.growfund-rich-text-content del,
.growfund-rich-text-content s {
  text-decoration: line-through;
  opacity: 0.7;
}

.growfund-rich-text-content mark {
  background-color: hsl(var(--growfund-yellow-1));
  color: inherit;
  padding: 0.125em 0.25em;
  border-radius: var(--growfund-radius);
}

.growfund-rich-text-content blockquote {
  border-left: 4px solid hsl(var(--growfund-green-4));
  padding-left: calc(var(--growfund-spacing) * 2);
  margin-block: 1.5em;
  margin-inline: 0;
  color: inherit;
  font-style: italic;
  background-color: hsl(hsl(var(--growfund-gray-3)));
  padding: var(--growfund-spacing) calc(var(--growfund-spacing) * 2);
  border-radius: var(--growfund-radius);
}

.growfund-rich-text-content blockquote p {
  margin-block: 0.5em;
}

.growfund-rich-text-content blockquote p:first-child {
  margin-block-start: 0;
}

.growfund-rich-text-content blockquote p:last-child {
  margin-block-end: 0;
}

.growfund-rich-text-content code {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
  background-color: hsl(var(--growfund-gray-5));
  color: inherit;
  padding: 0.2em 0.4em;
  border-radius: var(--growfund-radius);
  border: 1px solid hsl(hsl(var(--growfund-gray-8)));
}

.growfund-rich-text-content pre {
  background-color: hsl(var(--growfund-gray-7));
  border: 1px solid hsl(var(--growfund-gray-9));
  border-radius: var(--growfund-radius);
  padding: var(--growfund-spacing);
  margin-block: 1.5em;
  overflow-x: auto;
  line-height: 1.5;
}

.growfund-rich-text-content pre code {
  background-color: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font-size: 12px;
}

.growfund-rich-text-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--growfund-radius);
  margin-block: 1.5em;
  display: block;
}

.growfund-rich-text-content figure {
  margin-block: 1.5em;
  margin-inline: 0;
}

.growfund-rich-text-content figcaption {
  font-size: 12px;
  color: inherit;
  text-align: center;
  margin-top: calc(var(--growfund-spacing) * 2);
  font-style: italic;
}

.growfund-rich-text-content hr {
  border: none;
  border-top: 2px solid hsl(var(--growfund-gray-8));
  margin-block: 2em;
}

.growfund-rich-text-content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5em;
  background-color: hsl(var(--growfund-gray-1));
  border: 1px solid hsl(var(--growfund-gray-9));
  border-radius: calc(var(--growfund-radius) * 2);
  overflow: hidden;
}

.growfund-rich-text-content thead {
  background-color: hsl(var(--growfund-gray-6));
}

.growfund-rich-text-content th {
  padding: calc(var(--growfund-spacing) * 3) calc(var(--growfund-spacing) * 4);
  text-align: left;
  font-weight: 600;
  color: inherit;
  border-bottom: 2px solid hsl(var(--growfund-gray-9));
}

.growfund-rich-text-content td {
  padding: calc(var(--growfund-spacing) * 3) calc(var(--growfund-spacing) * 4);
  border-bottom: 1px solid hsl(var(--growfund-gray-8));
  color: inherit;
}

.growfund-rich-text-content tbody tr:last-child td {
  border-bottom: none;
}

.growfund-rich-text-content tbody tr:hover {
  background-color: hsl(var(--growfund-gray-3));
}

.growfund-rich-text-content kbd {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9em;
  background-color: hsl(var(--growfund-gray-7));
  color: inherit;
  padding: 0.2em 0.5em;
  border-radius: calc(var(--growfund-radius) * 2);
  border: 1px solid hsl(var(--growfund-gray-10));
  box-shadow: 0 2px 0 hsl(var(--growfund-gray-9));
}

.growfund-rich-text-content sup {
  font-size: 0.75em;
  vertical-align: super;
}

.growfund-rich-text-content sub {
  font-size: 0.75em;
  vertical-align: sub;
}

.growfund-rich-text-content abbr {
  text-decoration: underline dotted;
  cursor: help;
}

.growfund-rich-text-content small {
  font-size: 0.875em;
  color: inherit;
}

@media (max-width: 767px) {
  .growfund-rich-text-content h1 {
    font-size: 28px;
  }

  .growfund-rich-text-content h2 {
    font-size: 24px;
  }

  .growfund-rich-text-content h3 {
    font-size: 18px;
  }

  .growfund-rich-text-content h4 {
    font-size: 14px;
  }

  .growfund-rich-text-content h5,
  .growfund-rich-text-content h6 {
    font-size: 12px;
  }

  .growfund-rich-text-content ul,
  .growfund-rich-text-content ol {
    padding-left: calc(var(--growfund-spacing) * 6);
  }

  .growfund-rich-text-content blockquote {
    padding: 12px 16px;
    margin-block: 1em;
  }

  .growfund-rich-text-content pre {
    padding: 12px;
    font-size: 10px;
  }

  .growfund-rich-text-content table {
    font-size: 12px;
  }

  .growfund-rich-text-content th,
  .growfund-rich-text-content td {
    padding: 8px 12px;
  }
}
