/*
  Robert Juliat updated CSS document 2026
  designed by Mr Atif BUX

  Responsive UX Design for RJ websites
*/
/* Bound the flex item before Swiper measures its slides. Otherwise the
   intrinsic track width can repeatedly expand the article on narrow screens. */
@media (max-width: 760px) {
  body.rj-site-chrome-2026.rj-archive-gallery-page #contenuarticle #article {
    width: 100% !important;
    max-width: 100%;
    min-width: 0 !important;
  }
}

/* Resized desktop archives must keep normal document scrolling. The legacy
   responsive stack combines 100% root height with overflow-x: hidden. */
html.rj-archive-document,
body.rj-archive-gallery-page {
  height: auto !important;
  overflow: visible !important;
}
body.rj-archive-gallery-page #container {
  overflow: visible !important;
}
