/* RUN151: scoped only to the approved illustrations on the 24 new pages. */
#main .ergo-integrated .ergo-run151-gallery .ergo-run151-frame {
  display: grid;
  width: 100%;
  aspect-ratio: var(--ergo-gallery-ratio);
  background: #fff;
}
#main .ergo-integrated .ergo-run151-gallery .ergo-run151-slide {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
#main .ergo-integrated .ergo-run151-gallery .ergo-integrated-picture {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
#main .ergo-integrated .ergo-run151-gallery .ergo-integrated-picture img {
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: 50% 50%;
  transform: none;
}
.ergo-run151-gallery [hidden] { display: none !important; }
.ergo-run151-gallery .ergo-run151-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 12px;
}
.ergo-run151-gallery .ergo-run151-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #c9d7d2;
  border-radius: 50%;
  color: #12473d;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  touch-action: manipulation;
}
.ergo-run151-gallery .ergo-run151-control:hover { background: #f3f7f5; }
.ergo-run151-gallery .ergo-run151-control:focus-visible {
  outline: 3px solid #057a66;
  outline-offset: 3px;
}
.ergo-run151-gallery .ergo-run151-control svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ergo-run151-gallery [data-ergo-toggle][data-paused="true"] .ergo-run151-pause,
.ergo-run151-gallery [data-ergo-toggle][data-paused="false"] .ergo-run151-play {
  display: none;
}
.ergo-run151-gallery .ergo-run151-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
