/* Wider pages: the figures and the tables need the room */
.md-grid {
  max-width: 1440px;
}

/* Figures: full width of the text column, on a card, caption underneath */
.md-typeset figure {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.6em 0;
  padding: 1em 1em 0.6em;
  border-radius: 8px;
  background: var(--md-code-bg-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.md-typeset figure img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.md-typeset figcaption {
  max-width: none;
  margin: 0.6em auto 0;
  font-size: 0.68rem;
  font-style: normal;
  color: var(--md-default-fg-color--light);
}

/* Tables: aligned digits, a little more air */
.md-typeset table:not([class]) {
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
}

.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
  padding: 0.45em 1em;
  white-space: nowrap;
}

.md-typeset table:not([class]) tbody tr:hover {
  background: var(--md-accent-fg-color--transparent);
}

/* Key numbers at the top of the performance page */
.md-typeset .grid.cards > ul > li,
.md-typeset .grid > .card {
  border-radius: 8px;
}

.md-typeset .grid.cards .big {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--md-primary-fg-color);
}

[data-md-color-scheme="slate"] .md-typeset .grid.cards .big {
  color: var(--md-accent-fg-color);
}
