.guide-page .guide-summary-grid {
  display: block !important;
  padding: 24px 30px 8px !important;
}

.guide-page .guide-summary-grid .summary-toc {
  width: 100% !important;
  max-width: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
  flex: 1 1 auto !important;
}

.guide-page .guide-summary-grid .toc {
  width: 100% !important;
  max-width: none !important;
}

.guide-page .guide-article-grid {
  display: block;
  padding-top: 18px;
}

.guide-page .article-body {
  max-width: none;
}

.guide-page .article-head {
  align-items: end;
}

@media (max-width: 760px) {
  .guide-page .guide-summary-grid {
    padding: 18px 16px 6px !important;
  }

  .guide-page .guide-article-grid {
    padding: 10px 16px 44px;
  }
}

/* Replay guide tables: use the full document width */
.guide-page .doc-table-block .wiki-table-wrap,
.guide-page .doc-tables .wiki-table-wrap {
  width: 100% !important;
  max-width: none !important;
}

.guide-page .wiki-table {
  width: 100% !important;
  max-width: none !important;
  table-layout: fixed;
}

.guide-page .wiki-table td.wiki-table-key {
  width: 32%;
  min-width: 0;
  white-space: normal;
}

@media (max-width: 760px) {
  .guide-page .wiki-table {
    width: 100% !important;
    min-width: 0 !important;
  }

  .guide-page .wiki-table td.wiki-table-key {
    width: 36%;
  }
}
