/* Wider tables in Scroll Sites articles */
main table {
  width: 100%;
  max-width: 100%;
}

/* Let cell text wrap instead of forcing horizontal overflow */
main table th,
main table td {
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Give the colour mode picker more breathing room */
.header-pickers mode-picker auto-width-select.picker {
  --auto-width-select: 72px !important;
  min-width: 72px;
}

/* Native select spacing */
.header-pickers mode-picker select[name="color-mode"] {
  padding-inline: 0.75rem 1.75rem;
  padding-block: 0.35rem;
  min-height: 2rem;
  line-height: 1.4;
}

/* Decorative image above article TOC */
nav.toc.sticky::before {
  content: "";
  display: block;

  inline-size: 100%;
  block-size: 110px;

  margin-block-end: 1rem;

  background-image: url("https://austlinkwebresources.s3.ap-southeast-2.amazonaws.com/www.jiwatraining.com.au/mainsite/images/JiwaTrainingNeedHelp_4.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  border-radius: 8px;
}
