.markdown {
  line-height: 1.6;
  color: var(--text-primary, #1a1a1a);

  // Headers
  .h1 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 8px 0 6px;

    &:first-child {
      margin-top: 0;
    }
  }

  .h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 8px 0 4px;

    &:first-child {
      margin-top: 0;
    }
  }

  .h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    margin: 6px 0 4px;

    &:first-child {
      margin-top: 0;
    }
  }

  .h4,
  .h5,
  .h6 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 6px 0 4px;

    &:first-child {
      margin-top: 0;
    }
  }

  // Paragraph
  .paragraph {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 6px;

    &:last-child {
      margin-bottom: 0;
    }
  }

  // Lists
  .listItem {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 1px 0 1px 24px;
    list-style-position: outside;
  }

  // Inline formatting
  .bold {
    font-weight: 600;
  }

  .italic {
    font-style: italic;
  }

  // Line breaks
  br {
    display: block;
    content: "";
    margin: 2px 0;
  }
}
