.mdx {
  line-height: 1.6;
}

.mdx h1,
.mdx h2,
.mdx h3,
.mdx h4,
.mdx h5,
.mdx h6 {
  font-weight: bold;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.mdx h1 {
  font-size: 2rem;
  padding-bottom: 0.3rem;
}

.mdx h2 {
  font-size: 1.75rem;
  padding-bottom: 0.3rem;
}

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

.mdx h4 {
  font-size: 1.25rem;
}

.mdx h5 {
  font-size: 1rem;
}

.mdx h6 {
  font-size: 0.875rem;
  color: hsl(var(--muted));
}

.mdx p {
  margin-top: 0.5rem;
}

.mdx a {
  color: hsl(var(--primary));
  text-decoration: none;
}

.mdx a:hover {
  text-decoration: underline;
}

.mdx ul,
.mdx ol {
  margin: 1rem 0;
}

.mdx ul li,
.mdx ol li {
  margin-left: 1rem;
}

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

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

.mdx blockquote {
  margin: 1.5rem 0;
  padding: 0.5rem 1rem;
  color: hsl(var(--muted));
  border-left: 0.25rem solid hsl(var(--border));
  background-color: hsla(var(--foreground), 0.1);
}

.mdx code {
  font-family: "Courier New", Courier, monospace;
  background-color: hsla(var(--foreground), 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.mdx pre {
  background-color: hsla(var(--foreground), 0.1);
  padding: 1rem;
  overflow-x: auto;
  border-radius: var(--radius);
}

.mdx pre code {
  background-color: transparent;
  padding: 0;
}

.mdx table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.mdx table th,
.mdx table td {
  border: 1px solid hsl(var(--border));
  padding: 0.5rem;
  text-align: left;
}

.mdx table th {
  background-color: hsla(var(--foreground), 0.1);
}

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