/* Full-bleed section backgrounds surround the same inner frame as the product-line guide.
   Only direct page modules own the gutter. A table, inset note or form inside keeps its own width. */
@media screen {
  main[data-collection-frame] {
    --collection-frame-edge:max(clamp(20px,4.5vw,72px),calc((100vw - 1310px)/2));
  }
  main[data-collection-frame] > :is(section,nav) {
    padding-inline:var(--chapter-measure,var(--collection-frame-edge)) !important;
  }
  main[data-collection-frame] > [data-frame-reading=story] {
    --chapter-measure:max(var(--collection-frame-edge),calc((100% - 55rem)/2));
  }
}
@media screen and (min-width:880px) {
  main[data-collection-frame] > [data-frame-reading=catalog] {
    --chapter-measure:max(var(--collection-frame-edge),calc((100vw - 57rem)/2));
  }
}
@media screen and (min-width:901px) {
  main[data-collection-frame] > [data-frame-reading=article] {
    --chapter-measure:max(var(--collection-frame-edge),9vw,calc((100vw - 1030px)/2));
  }
}
