body.wue-process-landscape main article > .wue-process-landscape-frame {
  aspect-ratio: 16 / 9;
  display: grid;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #fff;
}

body.wue-process-landscape .wue-process-landscape-frame > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain;
  object-position: center;
}

body.wue-process-page.wue-process-landscape main section article > .wue-process-landscape-frame {
  padding: 0;
}

body.wue-process-page.wue-process-landscape main section article > .wue-process-landscape-frame > img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (min-width: 1024px) {
  body.wue-process-page.wue-process-landscape main section div.grid:has(> div > article) {
    height: calc(100svh - 1cm - 10rem);
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  body.wue-process-page.wue-process-landscape main section article > .wue-process-landscape-frame {
    height: 100% !important;
    aspect-ratio: auto;
  }
}

body.wue-process-landscape .wue-process-landscape-frame.is-collage {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

body.wue-process-landscape .wue-process-landscape-frame.is-collage > img {
  min-width: 0;
  min-height: 0;
}

@media (max-width: 767px) {
  body.wue-process-landscape main article > .wue-process-landscape-frame {
    aspect-ratio: 16 / 9;
  }
}
