body {
  margin: 0 auto;
  max-width: 50em;
  font-family: "Helvetica", "Arial", sans-serif;
  line-height: 1.5;
  padding: 4em 1em;
  color: #333;
}

:lang(ar) body *, :lang(fa) body * {
  font-family: "Simplified Arabic", "Traditional Arabic", "Arial", sans-serif !important;
}

h1 {
  color:white;
  background-color: #472F5F; /* NVDA purple */
}

h2 {
  margin-top: 1em;
  padding-top: 1em;
}

h2, h3, h4, a {
  color: #472F5F; /* NVDA purple */
}

strong {
  color: #000;
}

/* tables */
table, td, th {
  border:1px solid black;
}
table{
  border-collapse: collapse;
}
td, th {
  padding: 0.25em;
}
th {
  color: #472F5F; /* NVDA purple */
}

/* code / pre */
code,
pre {
  background: #f6f8fa;
  border-bottom: 1px solid #d8dee9;
  color: #33104e;
}

code {
  padding: 2px 4px;
  vertical-align: text-bottom;
}
pre {
  padding: 1em;
  border-left: 2px solid #69c;
}

/*
Definition list

Note these are not exposed correctly in NVDA: #3858
*/
dl {
  display: grid;
  grid-template-columns: auto;
}

/* Term of a definition */
dl > dt {
  grid-column-start: 1;
  font-style: italic;
  font-weight: bold;
  font-size: small;
}

/* Definition of a term */
dl > dd {
  display: inherit;
  grid-column-start: 2;
  margin-inline-start: 1em;
  font-size: small;
  font-style: italic;
}

thead:has(tr > th.hideHeaderRow) {
  display: none;
}
