/* Estilos controlados para conteúdo HTML sanitizado */
.rich-text-content {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3 {
  color: #f8fafc;
  font-weight: 700;
  margin-top: 0.9rem;
  margin-bottom: 0.4rem;
}

.rich-text-content h3 {
  font-size: 1rem;
}

.rich-text-content p {
  margin-bottom: 0.6rem;
}

.rich-text-content ul,
.rich-text-content ol {
  margin-left: 1.25rem;
  margin-bottom: 0.65rem;
}

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

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

.rich-text-content strong {
  color: #f1f5f9;
  font-weight: 600;
}

.rich-text-content .table-scroll {
  overflow-x: auto;
  margin: 0.75rem 0;
}

.rich-text-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.rich-text-content th,
.rich-text-content td {
  border: 1px solid #334155;
  padding: 0.4rem 0.6rem;
  text-align: left;
}

.rich-text-content th {
  background-color: #0f172a;
  color: #34d399;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
