/* Compact, smaller font sizes for better readability */

/* Base typography - more compact */
.md-typeset {
  font-size: 0.75rem !important;  /* 12px base */
  line-height: 1.5 !important;  /* Tighter line spacing */
}

/* Body text - paragraphs and lists */
.md-typeset p,
.md-typeset ul,
.md-typeset ol,
.md-typeset li {
  font-size: 0.75rem !important;  /* 12px */
  line-height: 1.5 !important;
  margin-bottom: 0.75rem !important;  /* Less space between paragraphs */
}

/* Code blocks */
.md-typeset pre,
.md-typeset pre code,
.md-typeset code {
  font-size: 0.6rem !important;  /* ~9.5px */
  line-height: 1.3 !important;
}

/* Inline code */
.md-typeset :not(pre) > code {
  font-size: 0.6rem !important;  /* ~9.5px */
  padding: 0.1rem 0.3rem !important;
}

/* Headings - smaller and more compact */
.md-typeset h1 {
  font-size: 1.5rem !important;  /* 24px */
  margin-top: 1rem !important;
  margin-bottom: 0.75rem !important;
}

.md-typeset h2 {
  font-size: 1.25rem !important;  /* 20px */
  margin-top: 1rem !important;
  margin-bottom: 0.625rem !important;
}

.md-typeset h3 {
  font-size: 1rem !important;  /* 16px */
  margin-top: 0.875rem !important;
  margin-bottom: 0.5rem !important;
}

/* Reduce spacing in lists */
.md-typeset ul,
.md-typeset ol {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.md-typeset li {
  margin-top: 0.25rem !important;
  margin-bottom: 0.25rem !important;
}

/* Compact tables */
.md-typeset table:not([class]) {
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}

.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  padding: 0.3rem 0.5rem !important;  /* Reduced from default ~1rem */
  line-height: 1.1 !important;
}
