.tiptap :first-child {
  margin-top: 0;
}

/* List styles */
.tiptap ul,
.tiptap ol {
  padding: 0 1rem;
  margin: 1.25rem 1rem 1.25rem 0.4rem;
}

.tiptap ul li p,
.tiptap ol li p {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.tiptap ul {
  list-style-type: disc;
}

.tiptap ol {
  list-style-type: decimal;
}

.tiptap a{
  color:  #66437a;
  text-decoration: underline;

}
.tiptap a:hover{
  color:  #66437a;
  text-decoration: underline;
}

/* Heading styles */
.tiptap h1,
.tiptap h2,
.tiptap h3,
.tiptap h4,
.tiptap h5,
.tiptap h6 {
  line-height: 1.1;
  margin-top: 2.5rem;
  text-wrap: pretty;
}

.tiptap h1,
.tiptap h2 {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
}

.tiptap h1 { 
  font-size: 3rem; 
}

.tiptap h2 { 
  font-size: 2rem; 
}

.tiptap h3 { 
  font-size: 1.5rem; 
}

.tiptap h4,
.tiptap h5,
.tiptap h6 { 
  font-size: 1.2rem; 
}

  .tiptap em{
    font-style: italic;
  }

  .tiptap strong{
    font-weight: bold;
  }

/* Code and preformatted text styles */
.tiptap code {
  background-color: var(--purple-light);
  border-radius: 0.4rem;
  color: var(--black);
  font-size: 0.85rem;
  padding: 0.25em 0.3em;
}

.tiptap pre {
  background: var(--black);
  border-radius: 0.5rem;
  color: var(--white);
  font-family: 'JetBrainsMono', monospace;
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
}

.tiptap pre code {
  background: none;
  color: inherit;
  font-size: 0.8rem;
  padding: 0;
}

.tiptap blockquote {
  border-left: 3px solid var(--gray-3);
  margin: 1.5rem 0;
  padding-left: 1rem;
}

.tiptap hr {
  border: none;
  border-top: 1px solid var(--gray-2);
  margin: 2rem 0;
}

/* Add this at the bottom of your CSS file */
.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.prose :first-child {
  margin-top: 0;
}

.prose img {
  max-width: 100%;
  height: auto;
}



