/* Slightly wider content, and room to breathe around the equations. */
.bd-page-width {
  max-width: 94rem;
}

.bd-main .bd-content .bd-article-container {
  max-width: 72rem;
}

mjx-container[jax="SVG"][display="true"] {
  margin: 1.2rem 0;
  overflow-x: auto;
  overflow-y: hidden;
}

/* The comparison tables carry the results, so make them easy to scan. */
table.docutils {
  font-variant-numeric: tabular-nums;
  font-size: 0.92em;
}

/* A wide table scrolls rather than spilling out of the column. */
.bd-article-container table.docutils {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

/* The figures are drawn twice, one per theme, and sized to the text column. */
img.only-light,
img.only-dark {
  display: block;
  max-width: 100%;
  margin: 1.4rem auto;
}

.sd-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}
