/* Keep the complete method diagram, clipping only its outer white margin. */
#maskedvggt .maskedvggt-figure {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 1577 / 577;
  overflow: hidden;
}
#maskedvggt .maskedvggt-figure img {
  position: absolute;
  width: 101.4585%;
  max-width: none;
  height: auto;
  left: -0.5707%;
  top: -9.1854%;
  margin: 0;
  border: 0;
  box-shadow: none;
  display: block;
}
.paper-box .paper-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 0.9em; }
.paper-box .paper-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid;
  border-radius: 6px;
  font-size: 0.83em;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.paper-box .paper-link-code { color: #245780; background: #f2f7fc; border-color: #c6d8e8; }
.paper-box .paper-link-code:hover { background: #e4eff8; border-color: #729dbf; }
.paper-box .paper-link-code:focus-visible { outline: 2px solid #245780; outline-offset: 3px; }

.paper-box .paper-link-project { color: #23746b; background: #f0faf7; border-color: #bdded5; }
.paper-box .paper-link-project:hover { background: #e0f3ed; border-color: #70afa0; }
.paper-box .paper-link-project:focus-visible { outline: 2px solid #23746b; outline-offset: 3px; }
@media (min-width: 48em) {
  .paper-box .paper-box-image { max-width: 48%; }
  .paper-box .paper-box-text { max-width: 52%; padding-left: 1.5em; }
}

.paper-box .paper-box-image > div { width: 100%; }
.paper-box .paper-box-image img { width: 100%; max-width: none; height: auto; }
