.prose {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    @apply font-bold mb-4;
  }

  h1 {
    @apply text-4xl;
  }

  h2 {
    @apply text-3xl;
  }

  h3 {
    @apply text-2xl;
  }

  h4 {
    @apply text-xl;
  }

  ul,
  ol,
  p,
  pre {
    @apply mb-4;
  }

  p:has(+ ul),
  p:has(+ ol) {
    @apply mb-0;
  }

  ul li {
    @apply list-disc list-inside ml-4;
  }

  ol li {
    @apply list-decimal list-inside ml-4;
  }

  blockquote {
    @apply border-l-4 border-base-content/20 pl-4 italic mb-4;
  }

  table {
    @apply w-full mb-4 border-collapse;
  }

  th,
  td {
    @apply border border-base-content/20 px-3 py-1.5 text-left align-top;
  }

  thead th {
    @apply bg-base-200 font-semibold;
  }

  li:has(input[type="checkbox"]) {
    @apply list-none ml-0 flex items-baseline gap-2;
  }

  li:has(input[type="checkbox"]) p {
    @apply mb-0;
  }

  a {
    @apply link link-primary underline;
  }

  hr {
    @apply my-4;
  }
}
