:root {
  --md-primary-fg-color: #1565c0;
  --md-accent-fg-color: #1e88e5;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
}

h2 {
  font-weight: 600;
  margin-top: 2em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid #e0e0e0;
}

[data-md-color-scheme="slate"] h2 {
  border-bottom-color: #333;
}

h3 {
  font-weight: 600;
}

.md-typeset p {
  line-height: 1.75;
}

.md-typeset li {
  line-height: 1.75;
  margin-bottom: 0.3em;
}

.md-content img {
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  margin: 1.2em 0;
}

.md-typeset table:not([class]) {
  font-size: 0.85rem;
  border-radius: 6px;
  overflow: hidden;
}

.md-typeset table:not([class]) th {
  background-color: var(--md-primary-fg-color);
  color: white;
  font-weight: 600;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) th {
  background-color: #1e88e5;
}

.md-typeset .admonition,
.md-typeset details {
  border-radius: 6px;
}

.md-typeset code {
  border-radius: 4px;
  padding: 0.15em 0.4em;
}

.md-typeset .tabbed-labels > label {
  font-weight: 600;
}

.md-typeset hr {
  margin: 2em 0;
}

.md-typeset blockquote {
  border-left: 4px solid var(--md-primary-fg-color);
  padding: 0.5em 1em;
  background: rgba(21, 101, 192, 0.04);
  border-radius: 0 6px 6px 0;
}

[data-md-color-scheme="slate"] .md-typeset blockquote {
  background: rgba(30, 136, 229, 0.08);
}
