/**
 * Taken from sklearn's docs
 */
/**
 * This is the styling for API reference pages, currently under `generated/api`.
 * Note that it should be applied *ONLY* to API reference pages, as the selectors are
 * designed based on how `autodoc` and `autosummary` generate the stuff.
 */
div.versionadded,
div.versionchanged,
div.deprecated {
  margin: 1rem auto; }
  div.versionadded > p,
  div.versionchanged > p,
  div.deprecated > p {
    margin: 0.3rem auto; }

dd p:not(table *) {
  margin-bottom: 0.5rem !important; }

dd ul {
  margin-bottom: 0.5rem !important;
  padding-left: 2rem !important; }

dl.py.method:first-of-type {
  margin-top: 2rem; }

dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) {
  margin-bottom: 1.5rem; }
  dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dd {
    margin-left: 1.2rem; }
  dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dt.field-odd,
  dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dt.field-even {
    margin: 0.5rem 0; }
    dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dt.field-odd + dd > dl,
    dl[class]:not(.option-list):not(.field-list):not(.footnote):not(.glossary):not(.simple) dt.field-even + dd > dl {
      margin-bottom: 0.5rem; }

/**
 * The API landing page (`generated/api/index`): one card per module group, each
 * listing its modules as a definition list of `:mod:` link over docstring summary.
 */
.bwb-api-all .sd-card-body > p {
  margin-bottom: 0; }

.bwb-api-groups dl {
  margin-bottom: 0 !important; }
  .bwb-api-groups dl dt {
    font-weight: normal; }
    .bwb-api-groups dl dt:not(:first-of-type) {
      margin-top: 0.6rem; }
  .bwb-api-groups dl dd {
    color: var(--pst-color-text-muted);
    font-size: 0.9em;
    margin-left: 0; }
    .bwb-api-groups dl dd > p {
      margin-bottom: 0 !important; }

.bwb-api-groups .sd-card-body > p:first-child {
  color: var(--pst-color-text-muted);
  margin-bottom: 1rem; }
