.wy-nav-content {
  max-width: none;
  width: auto;
  padding: 2.5rem clamp(1.5rem, 4vw, 5rem);
}

.rst-content {
  width: 100%;
}

.rst-content table.docutils,
.wy-table-responsive {
  width: 100%;
}

.wy-table-responsive {
  overflow-x: auto;
}

/* The theme forces nowrap on table cells, turning prose cells into one
   endlessly scrolling line; let them wrap like normal text instead. */
.wy-table-responsive table td,
.wy-table-responsive table th,
.rst-content table.docutils td,
.rst-content table.docutils th {
  white-space: normal;
}

.rst-content table.docutils td {
  vertical-align: top;
}

.rst-content pre {
  overflow-x: auto;
}

@media screen and (max-width: 768px) {
  .wy-nav-content {
    padding: 1.5rem 1rem;
  }
}
