/* site-narrow.css 0.1-draft -- XLLI-Web-Sites, 2026-11-24. Loaded after site.css; site.css is unchanged.
   Why: site.css fixes four grid columns (56 + 240 + article + 300 px). At 390 px wide that leaves the article 0 px
   (Xlli-SJ-Jobs-Web, 2026-11-24 REPORT First Renderer Comparison: 0 px on both renderers at 390x844), and the 30 px
   banner, which wraps on a phone, overlaps what is under it.
   Below 900 px: one column. The language ribbon becomes a row, then the article, then the page menu, then the
   right-hand panel. The banner grows to fit and stops being sticky; the section bar sticks to the top.
   At every width: a styled table keeps the widths the renderer told it, and scrolls inside its own box instead of
   making the page scroll sideways. */
#xlli-article .xw-table-styled{display:block;max-width:100%;overflow-x:auto}
#xlli-article pre{max-width:100%;overflow-x:auto}
@media (max-width:900px){
  #app,.no-rail #app{display:flex;flex-direction:column;min-height:0}
  #banner{position:static;height:auto;flex-wrap:wrap;row-gap:6px}
  #sections{top:0}
  #ribbon,#menu,#right{position:static;height:auto;max-height:none;align-self:stretch}
  #ribbon{order:0;flex-direction:row;flex-wrap:wrap;justify-content:center;border-right:0;border-bottom:1px solid var(--xw-border,#e3e2de)}
  #centre{order:1;padding:14px 16px;overflow:visible}
  #menu{order:2;border-right:0;border-top:1px solid var(--xw-border,#e3e2de)}
  #right{order:3;border-left:0;border-top:1px solid var(--xw-border,#e3e2de)}
  #xlli-article{max-width:100%}
  [data-section-id]{scroll-margin-top:48px}
  #xlli-source .xs-bar{flex-wrap:wrap}
}
