/* SERBUNIB V21.1: page-specific layout width, no #filterForm dependency.
   Loaded after existing V18/V20; only the Home routes receive the HTML class.
   This changes layout width/spacing only, never chart data, colors or functionality. */
html.serbunib-home-centered-v211 body main,
html.serbunib-home-centered-v211 body main.container,
html.serbunib-home-centered-v211 body main.container-fluid,
html.serbunib-home-centered-v211 body > .main {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 1140px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}
html.serbunib-home-centered-v211 body main .main {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  float: none !important;
  transform: none !important;
}
html.serbunib-home-centered-v211 body main .row,
html.serbunib-home-centered-v211 body main .card,
html.serbunib-home-centered-v211 body main .stats-card,
html.serbunib-home-centered-v211 body main .chart-container,
html.serbunib-home-centered-v211 body main canvas {
  min-width: 0;
  max-width: 100%;
}
/* Navbar fixed: maintain distance to first Home filter card. */
html.serbunib-home-centered-v211 body main { padding-top: 86px !important; }
html.serbunib-home-centered-v211 body main .main { padding-top: 0 !important; }
@media (min-width: 576px) and (max-width: 767.98px) {
  html.serbunib-home-centered-v211 body main { max-width: 540px !important; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  html.serbunib-home-centered-v211 body main { max-width: 720px !important; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  html.serbunib-home-centered-v211 body main { max-width: 960px !important; }
}
@media (max-width: 575.98px) {
  html.serbunib-home-centered-v211 body main {
    padding-top: 78px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
