/* Import Satoshi font from CDN */
@import url('https://fonts.googleapis.com/css2?family=Satoshi:wght@400;500;700&display=swap');

.custom-markdown {
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
}
.custom-markdown h1 {
  color: var(--color-primary, #0346A6);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 32px;
}
.custom-markdown h2 {
  color: var(--color-primary, #0346A6);
  font-size: 20px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
}
.custom-markdown h3 {
  color: var(--color-primary, #0346A6);
  font-size: 18px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}
.custom-markdown p {
  margin-bottom: 16px;
}
.custom-markdown ul, .custom-markdown ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
.custom-markdown li {
  margin-bottom: 8px;
}
.custom-markdown strong {
  color: #444444;
  font-weight: 700;
}
.custom-markdown a {
  color: var(--color-primary, #0346A6);
  text-decoration: underline;
}
.custom-markdown blockquote {
  border-left: 4px solid var(--color-primary, #0346A6);
  padding-left: 16px;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
}
.custom-markdown code {
  background-color: #f5f5f5;
  padding: 2px 4px;
  border-radius: 4px;
}
.custom-markdown pre {
  background-color: #f5f5f5;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
}
.custom-markdown hr {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 24px 0;
}
.custom-markdown table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.custom-markdown th, .custom-markdown td {
  border: 1px solid #e5e5e5;
  padding: 8px 12px;
  text-align: left;
}
.custom-markdown th {
  background-color: #f9f9f9;
  font-weight: 600;
}

/* Restore numbered ordered list style for prose */
.prose ol {
  list-style: decimal inside;
  padding-left: revert;
}
.prose ol li::before {
  content: none;
}

/* Use Satoshi font for prose content */
.prose {
  font-family: 'Satoshi', 'Inter', 'General Sans', Arial, sans-serif;
}

/* Tailwind recommended header styles for prose with General Sans font */
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  font-family: 'General Sans', 'Satoshi', 'Inter', Arial, sans-serif;
}
.prose h1 {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 700;   /* font-bold */
  line-height: 2.5rem; /* leading-tight */
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
.prose h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700;   /* font-bold */
  line-height: 2.25rem; /* leading-tight */
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}
.prose h3 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600;   /* font-semibold */
  line-height: 2rem; /* leading-tight */
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.prose h4 {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600;   /* font-semibold */
  line-height: 1.75rem; /* leading-tight */
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}
.prose h5 {
  font-size: 1rem; /* text-base */
  font-weight: 600;   /* font-semibold */
  line-height: 1.5rem; /* leading-tight */
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
.prose h6 {
  font-size: 0.875rem; /* text-sm */
  font-weight: 600;   /* font-semibold */
  line-height: 1.25rem; /* leading-tight */
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

/* Adequate spacing for prose paragraphs */
.prose p {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}