/* Each edited photograph reserves its own proportions so the subject, hands
   and gestures stay inside the frame at intermediate viewport widths too. */
body[class] #main .hero-picture > .framed-editorial,
body[class] #main .hero-picture > .framed-editorial .photo-crop,
body[class] #main .framed-editorial,
body[class] #main .framed-editorial .photo-crop {
  display:block;
  position:relative;
  inset:auto;
  align-self:center;
  height:auto;
  min-height:0;
  max-height:none;
  width:100%;
  margin:0;
  aspect-ratio:var(--source-ratio);
  overflow:hidden;
  border-radius:var(--ds-photo-radius, 18px);
}
body[class] #main .hero-picture > .framed-editorial .photo-crop > img,
body[class] #main .framed-editorial .photo-crop > img {
  display:block;
  position:static;
  inset:auto;
  width:100%;
  height:auto;
  min-height:0;
  max-height:none;
  aspect-ratio:var(--source-ratio);
  object-fit:contain;
  mask:none;
  padding:0;
  transform:none;
}
body.page-service-3 #main figure[data-scene="scanning"] {
  container: grant-tablet / inline-size;
  aspect-ratio: auto;
  background: var(--ds-card);
}
body.page-service-3 #main figure[data-scene="scanning"] > figcaption.tablet-note {
  position:absolute;
  inset:16% auto auto 29%;
  width:46%;
  display:grid;
  gap:.52em;
  margin:0;
  padding:0;
  background:transparent;
  font:500 2.95cqw/1.12 var(--rc-text-font);
  color:#243b2b;
  text-align:left;
}
body.page-service-3 #main figure[data-scene="scanning"] > figcaption.tablet-note b {font-weight:750;margin-bottom:.3em}
body.page-service-3 #main figure[data-scene="scanning"] > figcaption.tablet-note ul {
  display: grid;
  gap: .45em;
  padding: 0;
  margin: 0;
  list-style: none;
}
body.page-service-3 #main figure[data-scene="scanning"] > figcaption.tablet-note li {
  display: flex;
  align-items: baseline;
  gap: .4em;
}
body.page-service-3 #main figure[data-scene="scanning"] > figcaption.tablet-note li::before {
  content: "";
  width: .48em;
  height: .75em;
  flex: none;
  align-self: center;
  border: solid #3d684a;
  border-width: 0 2px 2px 0;
  transform: translateY(-.08em) rotate(42deg);
}
/* A narrow tablet still carries its title. The details use the entire
   width underneath the photograph, including on a two-column tablet page. */
@container grant-tablet (max-width: 500px) {
  body.page-service-3 #main figure[data-scene="scanning"] > figcaption.tablet-note {
    position: static;
    width: auto;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.45;
  }
  body.page-service-3 #main figure[data-scene="scanning"] > figcaption.tablet-note b {
    position: absolute;
    top: 12cqw;
    left: 30%;
    width: 44%;
    margin: 0;
    font-size: clamp(15px, 4.5cqw, 21px);
    line-height: 1.16;
    text-wrap: balance;
  }
  body.page-service-3 #main figure[data-scene="scanning"] > figcaption.tablet-note ul {
    gap: 5px;
  }
}
body[class] #main :is(.media-photo,.partners-photo) {
  top:5px;
  left:50%;
  width:min(63%,370px);
  height:auto;
  border-radius:24px;
  transform:translateX(-50%);
}
body[class] #main .partners-photo {width:min(60%,350px)}
body.page-service-6 #main .scene-stage {
  display: grid;
  grid-template:
    "forum photo mic" auto
    ". label ." auto
    ". caption ." auto / minmax(0,1fr) minmax(0,410px) minmax(0,1fr);
  align-items: center;
  justify-items: center;
  gap: 10px 20px;
  width: min(100%, 820px);
  height: auto;
}
body.page-service-6 #main .scene-stage > :is(.stage-photo,.stage-label,.stage-caption,.hero-object) {
  position: static;
  inset: auto;
  transform: none;
  rotate: none;
}
body.page-service-6 #main .stage-photo {
  grid-area: photo;
  width: 100%;
  height: auto;
  border-radius: var(--ds-photo-radius);
}
body.page-service-6 #main .stage-platform { display: none; }
body.page-service-6 #main .stage-forum { grid-area: forum; }
body.page-service-6 #main .stage-mic { grid-area: mic; }
body.page-service-6 #main .scene-stage .hero-object {
  width: min(100%, 82px);
  height: auto;
}
body.page-service-6 #main .stage-label {
  grid-area: label;
  margin: 4px 0 0;
  padding: 9px 18px;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;
}
body.page-service-6 #main .stage-caption {
  grid-area: caption;
  color: var(--ds-ink);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
body.page-news #main .scene-press {
  display:grid;height:auto;grid-template-columns:minmax(155px,.7fr) minmax(0,1.5fr);
  gap:12px 22px;align-items:center;width:min(100%,830px);
}
body.page-news #main .press-photo {
  position:relative;inset:auto;grid-row:1/3;grid-column:2;min-width:0;width:100%;height:auto;
}
body.page-news #main .press-edition,
body.page-news #main .press-labels {position:static;grid-column:1;width:auto;max-width:100%;rotate:0}
body.page-news #main .press-edition {grid-row:1;align-self:end}
body.page-news #main .press-labels {grid-row:2;align-self:start}
body.page-news #main .press-object {
  position:relative;inset:auto;grid-column:1;grid-row:1;align-self:start;justify-self:end;width:40px;height:40px;
}
body.page-news #main .story-image:has(.framed-editorial) {
  align-self:center;min-height:0;width:100%;height:auto;aspect-ratio:3/2;
}
body.page-events #main .section-filterCards .framed-editorial {align-self:center}
@media (max-width:767px) {
  body[class] #main :is(.media-photo,.partners-photo) {width:76%;top:12px}
  body.page-service-6 #main .scene-stage {
    grid-template:
      "photo photo photo" auto
      "forum label mic" auto
      "caption caption caption" auto / minmax(0,1fr) minmax(0,auto) minmax(0,1fr);
    gap: 8px;
    width: min(100%, 430px);
  }
  body.page-service-6 #main .scene-stage .hero-object {
    width: min(100%, 32px);
    animation: none;
  }
  body.page-service-6 #main .stage-forum { justify-self: end; }
  body.page-service-6 #main .stage-mic { justify-self: start; }
  body.page-news #main .scene-press {grid-template-columns:1fr;gap:12px}
  body.page-news #main .press-edition {grid-row:1;box-shadow:none;padding:12px 16px}
  body.page-news #main .press-edition strong br,body.page-news #main .press-edition .paper-rule {display:none}
  body.page-news #main .press-photo {grid-row:2;grid-column:1}
  body.page-news #main .press-labels {grid-row:3;justify-content:center}
  body.page-news #main .press-object {align-self:center;margin-right:8px}
}
