/* Keep the standard Read the Docs theme while using the browser's available width. */
.wy-nav-content {
  max-width: none;
  width: auto;
}

.rst-content .wy-table-responsive {
  overflow: visible;
}

.rst-content table {
  display: table;
  width: 100%;
  table-layout: auto;
}

.rst-content table th,
.rst-content table td {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  vertical-align: top;
}

@media screen and (min-width: 1100px) {
  .wy-nav-content {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .rst-content table th,
  .rst-content table td {
    padding: 0.55rem 0.65rem;
  }
}

@media screen and (max-width: 1099px) {
  .wy-nav-content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .rst-content table {
    font-size: 0.82rem;
  }

  .rst-content table th,
  .rst-content table td {
    padding: 0.4rem;
  }
}

/* Sorcerer image gallery */
.rocket-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.rocket-gallery a { display: block; }
.rocket-gallery img { display: block; width: 100%; height: auto; }
.rocket-gallery-wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .rocket-gallery { grid-template-columns: 1fr; gap: 24px; } }

.rst-content img.sorcerer-profile { display: block; width: 100%; max-width: 640px; height: auto; margin: 24px 0; }
