/* Offcut book: fit the outer mobile page while preserving the horizontal strip. */
@media (max-width: 979px) {
  body[data-replica-route="/copy-of-exhibitions-1"] {
    --site-width: 100%;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] #site-root {
    width: 100%;
    min-width: 0;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] :is(#comp-luh8phcf, #comp-luh8phcf1, #comp-luh8phcg) {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    left: 0;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] [data-mesh-id="comp-luh8phcfinlineContent-gridContainer"] {
    min-height: 0;
    grid-template-rows: auto;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] #comp-judo6uul {
    /* Room for the shared duration and controls note, outside the video frame. */
    margin-bottom: 88px;
    overflow: visible;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] #comp-j88fsc6i {
    width: calc(100% - 32px);
    min-width: 0;
    margin: 0 16px;
    left: 0;
    overflow-wrap: anywhere;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] :is(#i10cyktx, #i10k47da) {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    min-width: 0;
    left: 0 !important;
    margin-left: 16px !important;
    justify-self: start !important;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] :is(#i10cyktxnavContainer, #i10k47danavContainer) {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] :is(#i10cyktxitemsContainer, #i10k47daitemsContainer) {
    display: flex;
    width: max-content;
    min-width: 100%;
    justify-content: center;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] :is(#i10cyktxitemsContainer, #i10k47daitemsContainer) > li:not([id$="__more__"]) {
    flex: 0 0 auto;
    width: auto !important;
  }
  body[data-replica-route="/copy-of-exhibitions-1"] :is(#i10cyktxitemsContainer, #i10k47daitemsContainer) > li > a {
    padding-inline: 12px;
    box-sizing: border-box;
  }
}
