/* Customer case detail images: retain the entire original photograph. */
@media (min-width: 1151px) {
  /* Place the existing controls between the introduction and image rail. */
  .nhj-case-stories {
    display: flex;
    flex-direction: column;
  }
  .nhj-case-stories > .nhj-stories-heading {
    order: 0;
    margin-bottom: 24px;
  }
  .nhj-case-stories > .nhj-stories-controls {
    order: 1;
    width: min(calc(100% - 96px), 44vw, 900px);
    margin: 0 auto 16px;
    flex-shrink: 0;
  }
  .nhj-case-stories > .nhj-stories-rail {
    order: 2;
  }
  body.sg-case-image-preview .cover-media.part {
    height: clamp(280px, 42vh, 420px);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body.sg-case-image-preview .cover-media.part img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 960px;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
    object-position: center;
  }
}
