/* Let long links and inline code wrap inside articles and summary cards. */
#dream-single-post-main,
.dream-grid .card-body {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Plain-text blocks need the same scroll containment as highlighted code. */
#dream-single-post-main pre,
.dream-grid .card-body pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
  overflow-wrap: normal;
  word-break: normal;
}

/* Scroll wide tables without squeezing columns or widening the page. */
#dream-single-post-main table,
.dream-grid .card-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overflow-wrap: normal;
}

.dream-grid .card-body pre,
.dream-grid .card-body table {
  /* Allow scrolling and selecting code above the full-card article link. */
  position: relative;
  z-index: 10;
}
