/* Loopout test: fluid document, proportional media up to 500 CSS pixels. */
.site-body .layout-inner {
  width: 100%;
  max-width: none;
  padding-inline: clamp(16px, 2vw, 32px);
  column-gap: 24px;
}
.layout-inner .layout-inner-center,
.layout-inner .page-main,
.layout-inner .page-body,
.layout-inner .rendered-mdx {
  min-width: 0;
  width: 100%;
  max-width: none;
}
.rendered-mdx img,
.rendered-mdx video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 500px);
  max-height: 500px;
  object-fit: contain;
}
.rendered-mdx .loopout-video {
  max-width: 100%;
  margin-block: 1.5rem;
}
/* Native fullscreen must not inherit the thumbnail size cap. */
.rendered-mdx video:fullscreen {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}
