[data-studio-story] .story-opening .mdq-hero .article-hero {
  --mdq-hero-height:clamp(300px,52vw,760px);
  height:var(--mdq-hero-height);
  overflow:hidden;
  background:#131313;
}
.mdq-hero .article-hero iframe {
  position:absolute;
  top:50%;
  left:50%;
  width:max(100%,calc(var(--mdq-hero-height) * 16 / 9));
  height:max(100%,56.25vw);
  border:0;
  transform:translate(-50%,-50%);
  pointer-events:none;
  opacity:0;
  transition:opacity .25s ease;
}
.mdq-hero .article-hero[data-video-playing] iframe { opacity:1; }
.mdq-hero .article-hero__scrim { z-index:1; pointer-events:none; }
.mdq-hero .article-hero__content { z-index:2; }
@media(max-width:640px) {
  [data-studio-story] .mdq-hero .article-hero__content { padding:18px 16px; }
  [data-studio-story] .story-opening .mdq-hero .article-hero h1 { font-size:clamp(27px,7vw,36px); }
  [data-studio-story] .mdq-hero .article-hero__summary { margin-top:10px; }
  [data-studio-story] .mdq-hero .article-hero__summary p { font-size:14px; }
}
.mdq-figures { display:grid; }
.mdq-figures figure { margin:0; }
.mdq-figures figure img { display:block; width:auto; height:auto; max-width:100%; max-height:770px; margin:auto; object-fit:contain; border-radius:12px; }
.mdq-caption { margin:0 auto; max-width:610px; text-align:left; color:var(--color-ink-soft); font:400 14px/1.5 var(--font-body); }
[data-studio-story] #main-content .legacy-article-content.mdq-body .legacy-gallery-shell {
  width:min(calc(100vw - 48px),900px);
}
[data-studio-story] #main-content .legacy-article-content.mdq-body .legacy-gallery figure { width:100%; }
[data-studio-story] #main-content .legacy-article-content.mdq-body .legacy-gallery img {
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  aspect-ratio:auto;
  object-fit:contain;
  border-radius:12px;
}
@media(min-width:641px) {
  [data-studio-story] #main-content .mdq-body .legacy-gallery-stage .legacy-gallery:has(> figure:nth-child(2):last-child) {
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
    gap:20px;
  }
  [data-studio-story] #main-content .mdq-body .legacy-gallery:has(> figure:nth-child(2):last-child) > figure:nth-child(2) {
    margin-top:0;
  }
}
#main-content .legacy-article-content :is(.mdq-figures, .legacy-gallery-shell) > .mdq-caption {
  margin:clamp(24px,2.5vw,34px) auto 0;
}
.mdq-caption a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.mdq-artifact-link { display:block; border-radius:12px; }
.mdq-figures .mdq-artifact-link { width:fit-content; max-width:100%; margin-inline:auto; }
.mdq-artifact-link:focus-visible img { outline:2px solid var(--color-ink-soft); outline-offset:3px; }
.mdq-talkback video { display:block; width:100%; height:auto; aspect-ratio:16/9; border-radius:12px; }
