/* Hero image on the home page */
.tj-hero {
  float: right;
  width: 230px;
  margin: 0 0 1rem 1.5rem;
}

@media screen and (max-width: 44.9375em) {
  .tj-hero {
    float: none;
    display: block;
    margin: 0 auto 1rem;
  }
}

/* Keep wide parameter tables readable */
.md-typeset table:not([class]) {
  font-size: 0.72rem;
}

.md-typeset table:not([class]) td:first-child code {
  white-space: nowrap;
}

/* API reference: a little more air between members */
.doc-object + .doc-object {
  margin-top: 1.5rem;
}

/* Dense numeric tables (e.g. the cross-tabulation in the BERTopic walkthrough) */
.md-typeset .tj-compact table:not([class]) th,
.md-typeset .tj-compact table:not([class]) td {
  min-width: 0;
  padding: 0.4em 0.7em;
  white-space: nowrap;
}

/* The logo has a white background: show it as a rounded tile in the dark header */
.md-header__button.md-logo img {
  background: #fff;
  border-radius: 0.3rem;
  padding: 0.1rem;
}
