/* A5 public layout: cinematic where permitted, no unconditional 100vw overflow. */
.maqdraft-scene.md2-scene{
  position:relative;left:auto;right:auto;
  width:min(calc(100vw - 32px),1600px);
  max-width:none;
  margin-left:calc(50% - min(calc(50vw - 16px),800px));
  margin-right:0;
  padding:clamp(25px,3.4vw,64px) clamp(18px,3vw,64px);
  isolation:isolate;
  container-type:inline-size;
  box-sizing:border-box;
}
.maqdraft-scene.md2-scene .md2-shell,.maqdraft-scene.md2-scene .md2-scene-notes{max-width:1360px;margin-inline:auto}
.maqdraft-scene.md2-scene .md2-summary{max-width:64ch}
.maqdraft-scene.md2-scene .md2-scene-media img,.maqdraft-scene.md2-scene .md2-scene-media video{max-width:100%;height:auto}
@container (max-width:800px){
 .maqdraft-scene.md2-scene .md2-shell{grid-template-columns:minmax(0,1fr)!important}
 .maqdraft-scene.md2-scene .md2-shell > *{min-width:0;grid-column:1/-1}
 .maqdraft-scene.md2-scene .md2-layout-image-text .md2-scene-gallery{order:2}
 .maqdraft-scene.md2-scene .md2-layout-image-text .md2-copy{order:1}
}
@media(max-width:767px){
 .maqdraft-scene.md2-scene{width:100%;max-width:100%;margin-inline:0;left:auto;padding:24px clamp(12px,3vw,24px)}
 .maqdraft-scene.md2-scene .md2-scene-media .md2-asset{aspect-ratio:4/3}
}
@media(prefers-reduced-motion:reduce){.maqdraft-scene.md2-scene *{transition:none!important;animation:none!important;transform:none!important}}
