.wy-nav-content {
    max-width: 90% !important;
}

/* tall: increase height in table if content includes <p> */
table.tall td p,
table.tall td span,
table.tall td li,
table.tall td ul,
table.tall td ol,
table.tall td code,
table.tall td pre {
  line-height: 1.4 !important;
}

/* Sphinx sometimes renders forced breaks as line-blocks */
table.tall td .line-block,
table.tall td .line-block .line {
  line-height: 1.4 !important;
}

/* If RTD wraps tables responsively, mirror the above selectors */
.wy-table-responsive table.tall td,
.wy-table-responsive table.tall th,
.wy-table-responsive table.tall td p,
.wy-table-responsive table.tall td span,
.wy-table-responsive table.tall td li,
.wy-table-responsive table.tall td ul,
.wy-table-responsive table.tall td ol,
.wy-table-responsive table.tall td code,
.wy-table-responsive table.tall td pre,
.wy-table-responsive table.tall td .line-block,
.wy-table-responsive table.tall td .line-block .line {
  line-height: 1.4 !important;
}

/* Split into two colmns*/
.two-column {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Children share the row on wide screens */
.two-column .left,
.two-column .right {
  flex: 1 1 0;
}

/* Image niceties */
.two-column .left img {
  max-width: 100%;
  height: auto;
}

/* On narrow screens, stack top–bottom instead of side-by-side */
@media (max-width: 1000px) {
  .two-column {
    flex-direction: column;
  }

  .two-column .left,
  .two-column .right {
    width: 100%;
  }
}

