/* ============================================================
   page/bs5-shim.css  —  Bootstrap 3 -> 5.3.9 bridge overrides
   ------------------------------------------------------------
   Loaded AFTER the Bootstrap 5.3.9 CDN css (last-wins rule, per
   FRONTEND_UPDATE_PLAN.md section 4.3/4.6). The compiled
   Bootstrap 3 bundle (styles.ef3814798ca0c77a8fba.css) stays
   untouched; every visual fix for the upgrade lives HERE so it
   is reviewable and reversible.

   Add any rule the visual QA finds (section 4.7) in the marked
   slots below. DO NOT edit the compiled bundle or the CDN tag.
   ============================================================ */


/* ------------------------------------------------------------
   B7: keep the site's classic 3-bar hamburger under the
   Bootstrap 5 class names. The buttons were renamed
   navbar-toggle -> navbar-toggler and each now holds a single
   <span class="navbar-toggler-icon">. We override Bootstrap 5's
   background-image icon and draw the old 22px x 2px bars (4px
   gaps) instead, so the header looks unchanged.
   ------------------------------------------------------------ */
.navbar-toggler.toggle_btn,
.navbar-toggler.navbar-toggle1 {
  position: relative;
  float: right;
  padding: 9px 10px;
  margin: 8px 15px 8px 0;
  min-height: 0;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.navbar-toggler.toggle_btn:focus,
.navbar-toggler.navbar-toggle1:focus {
  outline: 0;
}
/* center the icon box inside the button */
.navbar-toggler.toggle_btn .navbar-toggler-icon,
.navbar-toggler.navbar-toggle1 .navbar-toggler-icon {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background-color: #888;
  background-image: none;
  border-radius: 1px;
  vertical-align: middle;
  position: relative;
}
/* the other two bars, stacked 4px apart */
.navbar-toggler.toggle_btn .navbar-toggler-icon::before,
.navbar-toggler.navbar-toggle1 .navbar-toggler-icon::before,
.navbar-toggler.toggle_btn .navbar-toggler-icon::after,
.navbar-toggler.navbar-toggle1 .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: #888;
  border-radius: 1px;
}
.navbar-toggler.toggle_btn .navbar-toggler-icon::before,
.navbar-toggler.navbar-toggle1 .navbar-toggler-icon::before { top: -6px; }
.navbar-toggler.toggle_btn .navbar-toggler-icon::after,
.navbar-toggler.navbar-toggle1 .navbar-toggler-icon::after  { top: 6px; }


/* ------------------------------------------------------------
   SLOT: col-xs-* fallbacks.
   B5 already rewrote col-xs-N markup to col-N on every full
   page, and non-bundle pages now load the Bootstrap 5 CDN css,
   so these are no longer required. If a page that does NOT load
   Bootstrap 5 css still needs a column definition, add it here,
   e.g.:  .col-3 { width: 25%; }
   ------------------------------------------------------------ */


/* ------------------------------------------------------------
    U1: utility .hidden — removed in Bootstrap 4+.
    Legacy markup (e.g. the p_header "Open Modal" logout test
    button, .btn.hidden) still relies on the old
    .hidden{display:none!important}. Restored here so those
    elements stay hidden on every page that loads this shim
    (24 Nov 2026 — prod news-page visual QA).
    ------------------------------------------------------------ */
.hidden { display: none !important; }
/* ------------------------------------------------------------
   SLOT: QA overrides (section 4.7 visual diff findings).
   Add targeted, low-specificity rules here. Example shapes:
   .row { display: flex; }
   .modal-dialog { max-width: 600px; margin: 1.75rem auto; }
   ---------------------------------------------------------------- */
