/* Release 2026-10-12 corrections. Loaded after site.min.css.
   1) Legal News category badges: brand wine/charcoal/gold family (was bright blue/purple/teal/red).
   2) Cookie banner must never cover the floating consultation/chat button or scroll-top button. */

/* ---- 1. Brand-consistent category badges (white text, >= 4.5:1 contrast) ---- */
.sk-vp-badge-sc      { background: #5b2d2e; }   /* Supreme Court - deep wine   */
.sk-vp-badge-hc      { background: #87494a; }   /* High Court   - brand wine   */
.sk-vp-badge-a498    { background: #2a2625; }   /* 498A         - charcoal     */
.sk-vp-badge-maint   { background: #7a5c1e; }   /* Maintenance  - dark gold    */
.sk-vp-badge-cust    { background: #6b4a2b; }   /* Custody      - warm brown   */
.sk-vp-badge-bnss    { background: #4a3b3b; }   /* BNSS         - taupe        */
.sk-vp-badge-default { background: #87494a; }
.sk-vp-badge { color: #ffffff; }

/* ---- 2. Lift floating buttons above the cookie banner while it is visible ---- */
body:has(#sk-cookie-banner:not(.d-none)) #sk-chat.sk-chat { bottom: 96px !important; }
body:has(#sk-cookie-banner:not(.d-none)) #scroll-top.scroll-top { bottom: 96px !important; }
@media (max-width: 767.98px) {
  /* The banner wraps to ~145px tall on phones. */
  body:has(#sk-cookie-banner:not(.d-none)) #sk-chat.sk-chat { bottom: 170px !important; }
  body:has(#sk-cookie-banner:not(.d-none)) #scroll-top.scroll-top { bottom: 170px !important; }
  #sk-cookie-banner { padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important; }
}
