:root {
  --doc-max-width: min(1200px, calc(100vw - 64px));
  --doc-max-width-with-aside: min(1200px, calc(100vw - var(--vp-sidebar-width) - 96px));
}

@media (min-width: 960px) {
  .VPDoc .container {
    max-width: calc(100vw - 64px) !important;
  }

  .VPDoc .content {
    max-width: var(--doc-max-width) !important;
  }

  .VPDoc .content-container {
    max-width: var(--doc-max-width) !important;
  }

  .VPDoc.has-aside .content-container {
    max-width: var(--doc-max-width-with-aside) !important;
  }
}
