.solved-problem-content p {
  margin: 1em 0;
  line-height: 1.5rem;
  text-align: justify;
}

.solved-problem-content p:first-child {
  margin-top: 0;
}

.solved-problem-content p:last-child {
  margin-bottom: 0;
}

.solved-problem-content h1 {
  font-size: 1.3em;
  margin: 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #dddfe0;
}

.solved-problem-content h2 {
  font-size: 1.15em;
  margin: 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #dddfe0;
}

.solved-problem-content h3 {
  font-size: 1.1em;
  margin: 1rem 0;
}

.solved-problem-content h4 {
  font-size: 1.1em;
  margin: 1rem 0;
}

.solved-problem-content h5 {
  font-size: 1.1em;
  margin: 1rem 0;
}

.solved-problem-content h6 {
  font-size: 1.1em;
  margin: 1rem 0;
}

.solved-problem-content ul {
  display: block;
  list-style-type: disc;
  padding: 0 1em;
  margin: 1rem 0;
}

.solved-problem-content :is(ul, ol) ::marker {
  color: #8a8f95;
}

.solved-problem-content ol {
  display: block;
  list-style-type: decimal;
  padding: 0 1em;
  margin: 1rem 0;
}

.solved-problem-content hr {
  border: none;
  border-bottom: 1px dashed #dddfe0;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  margin: 1rem 0;
}

.solved-problem-content code {
  font-family: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono",
    "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
}

.solved-problem-content .solved-inline-code {
  border: 1px solid #dddfe0;
  background: rgba(247, 248, 249, 0.5);
  color: #e74c3c;
  padding: 0 0.25ch;
  margin: 0 0.25ch;
}

.solved-problem-content pre {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: rgb(240, 240, 240);
  color: rgb(68, 68, 68);
}

.solved-problem-content table {
  display: table;
  border-collapse: collapse;
  border-spacing: 0;
}

.solved-problem-content thead {
  display: table-header-group;
}

.solved-problem-content tbody {
  display: table-row-group;
}

.solved-problem-content tr {
  display: table-row;
  position: relative;
}

.solved-problem-content td {
  display: table-cell;
  border: 1px solid #dddfe0;
  padding: 8px;
  position: relative;
  vertical-align: top;
}

.solved-problem-content th {
  display: table-cell;
  border: 1px solid #dddfe0;
  padding: 8px;
  font-weight: 700;
  vertical-align: top;
}

.solved-problem-content.solved-content-editable table :is(td, th) {
  border: 1px solid #dddfe0;
  min-width: 48px;
}
