/* Tighten parameter/attribute tables produced by autodoc/napoleon */
dl.field-list {
  margin-top: 0.5rem;
  margin-bottom: 1.0rem;
}

dl.field-list > dt {
  font-weight: 600;
  color: var(--pst-color-primary);
}

dl.field-list > dd {
  margin-left: 0.75rem;
}

/* Reduce excess padding in definition lists inside API pages */
dl > dt {
  margin-top: 0.35rem;
}

/* Make parameter names stand out slightly */
dl.field-list > dt code,
dl.field-list > dt tt {
  font-weight: 700;
}

/* Keep content width comfortable on wide screens */
.bd-article-container {
  max-width: 1100px;
}

/* Version label under logo */
.version-label {
  font-size: 0.9rem;
  color: var(--pst-color-text-muted);
  margin-top: 0.25rem;
}

/* Softer code block background / border */
.highlight pre,
pre.literal-block {
  background-color: rgb(29, 43, 100); /* 2e3f84ff */
  border: 1px solid #000000;  
  border-radius: 6px;
  padding: 0.9rem;
}

/* Inline code */
/* code, tt { */
  /* background-color: #eef3fb; */
  /* color: #a0ff11ff; */
  /* border-radius: 4px; */
  /* padding: 0.08em 0.25em; */
/* } */

/* Inline code – light mode */
html[data-theme="light"] code,
html[data-theme="light"] tt {
  background-color: #eeffed;
  color: #232d71;
  border-radius: 4px;
  padding: 0.08em 0.25em;
}

/* Inline code – dark mode */
html[data-theme="dark"] code,
html[data-theme="dark"] tt {
  background-color: #2a2f45;
  color: #a0ff11ff;
  border-radius: 4px;
  padding: 0.08em 0.25em;
}