/* RB-2040 LAYOUT — desktop responsive (2026-11-23, desktop-responsive task).
   DIAGNOSIS (staging, measured): .container was capped at 1150px (ringbd,
   Bootstrap 3 in general-style-plugins.css) / 1280px (sunshine style.css
   @min-width:1350px) while body reserves 250px on the right for the fixed
   chat panel (body{padding-right:250px} at >=~1200px). At a 1920px viewport
   the feed column (col-md-7 of 12) was only 648px wide with 260px empty on
   the left and 510px on the right. The earlier sunshine-only >=1400px rule
   (rb-2040-components.css, max-width:1360px) never applied on staging
   because staging serves the ringbd theme to logged-in users. This sheet
   loads AFTER style.css in both themes, so these rules win
   same-specificity ties; the 1360px rule is superseded here (left in
   place, overridden by load order).
   SCOPE: desktop-large only. 1280-1400px is already 100% of its area
   (feed 580-629px; further gain needs a 2/7/3 -> 2/8/2 grid rebalance,
   deliberately NOT done: right-column fit unverified). 1024px keeps its
   890px width (the fixed chat panel already overlays its right edge
   there). 768/390px keep 97% stacked full-width. The 250px chat reserve
   is functional and is NOT removed. */

/* Desktop large (>1400px): fill the content area (viewport minus the
   250px chat reserve), cap 1600px so ultra-wide stays readable.
   At 1920px: container 1150 -> 1600px, feed 648 -> ~918px, header
   (.header-fixed1000 / .header-fixed1200) widened to match. */
@media (min-width: 1401px) {
  .container,
  .header-fixed1000,
  .header-fixed1200 {
    width: 100%;
    max-width: 1600px;
  }
}

/* Directory pagination at mobile widths: UL.pagination is display:flex
   with nowrap — 17 page links form a 730px row inside a 358px parent at
   390px and are clipped unreachable (body{overflow-x:clip} hides the
   scroll). Let the links wrap. */
@media (max-width: 840px) {
  .pagination {
    flex-wrap: wrap;
  }
}
