.card-content.text {
  display: block;
  justify-content: flex-start;
}

.text-content {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  overflow-wrap: break-word;
}

.text-content > :first-child {
  margin-top: 0;
}

.text-content > :last-child {
  margin-bottom: 0;
}

.text-content h1,
.text-content h2,
.text-content h3,
.text-content h4,
.text-content h5,
.text-content h6 {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
}

.text-content h1 {
  font-size: 18px;
}

.text-content h2 {
  font-size: 16px;
}

.text-content h3,
.text-content h4,
.text-content h5,
.text-content h6 {
  font-size: 14px;
}

.text-content p {
  margin: 0 0 8px;
}

.text-content ul,
.text-content ol {
  margin: 0 0 8px;
  padding-left: 1.3em;
}

.text-content li {
  margin: 2px 0;
}

.text-content blockquote {
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 2px solid var(--border);
  color: var(--text-muted);
}

.text-content code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--hover);
  padding: 1px 4px;
  border-radius: var(--radius-small);
}

.text-content pre {
  margin: 0 0 8px;
  padding: 10px 12px;
  background: var(--hover);
  border-radius: var(--radius-small);
  overflow-x: auto;
}

.text-content pre code {
  background: none;
  padding: 0;
}

.text-content a {
  color: var(--series-2);
  text-decoration: none;
}

.text-content a:hover {
  text-decoration: underline;
}

.text-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 10px 0;
}
