/* Captions live outside the screen, in the surrounding case typography. */
.project-popup .case-screen-caption {
  display:block;
  margin:12px 0 0;
  color:var(--ds-muted-500,#96929e);
  font:400 12px/1.6 Inter,Arial,sans-serif;
  text-align:left;
}
.project-popup .case-screen-caption > * {
  display:block;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  color:inherit!important;
  font:inherit!important;
  letter-spacing:normal!important;
}
.project-popup .case-screen-caption > * + * {margin-top:4px!important;}
.motion-study.has-screen-caption:not(.room-study) {row-gap:12px;}
.motion-study.has-screen-caption:not(.room-study) > .study-stage {grid-column:1;grid-row:1;}
.motion-study.has-screen-caption:not(.room-study) > .study-copy {grid-column:2;grid-row:1 / 3;}
.motion-study.has-screen-caption:not(.room-study) > .case-screen-caption {grid-column:1;grid-row:2;width:100%;max-width:420px;margin:0 auto;}
.room-study > .case-screen-caption {order:2;margin-top:-14px;}
.sc-split.has-screen-caption {row-gap:12px;}
.sc-split.has-screen-caption > .sc-phone {grid-column:1;grid-row:1;}
.sc-split.has-screen-caption > .sc-narrative {grid-column:2;grid-row:1 / 3;}
.sc-split.has-screen-caption > .case-screen-caption {grid-column:1;grid-row:2;margin-top:0;}
@media (min-width:581px) and (max-width:800px) {
  .sc-screen-item.has-screen-caption {row-gap:12px;}
  .sc-screen-item.has-screen-caption > .sc-phone {grid-column:1;grid-row:1;}
  .sc-screen-item.has-screen-caption > .sc-screen-copy {grid-column:2;grid-row:1 / 3;}
  .sc-screen-item.has-screen-caption > .case-screen-caption {grid-column:1;grid-row:2;margin-top:0;}
}
@media (max-width:700px) {
  .motion-study.has-screen-caption:not(.room-study) > .study-copy {grid-column:1;grid-row:3;margin-top:12px;}
}
@media (max-width:580px) {
  .sc-split.has-screen-caption > .sc-narrative {grid-column:1;grid-row:3;margin-top:20px;}
  .sc-screen-item.has-screen-caption {row-gap:12px;}
}
