/* BOLE V33 — additive text contrast patch. Load after all existing CSS.
   No layout, database, image, or script changes. */
/* Explicit dark surfaces from the existing homepage source and V32 theme. */
html body:has(#main #home) :is(.top, .header-cta, #menu-toggle, #nav-links > a, #contact, .chat13-launch, .chat13-head),
html body #main :is(#home.bole-hero23 .hero23-copy, #home.bole-hero23 .hero23-placeholder, #home.bole-hero23 .hero23-controls, #home.bole-hero23 .hero23-arrow, .v10-quick .quick-card, #about .district-panel, #snapshot .v10-stats, #complaint .service-banner, .r32-carousel-tools button:not(:disabled)),
html body:has(#main #home) :is(.top, .header-cta, #menu-toggle, #nav-links > a, #contact, .chat13-launch, .chat13-head) :is(h1,h2,h3,h4,h5,p,a,span,strong,b,small,em,label,li,button,div),
html body #main :is(#home.bole-hero23 .hero23-copy, #home.bole-hero23 .hero23-placeholder, #home.bole-hero23 .hero23-controls, #home.bole-hero23 .hero23-arrow, .v10-quick .quick-card, #about .district-panel, #snapshot .v10-stats, #complaint .service-banner, .r32-carousel-tools button:not(:disabled)) :is(h1,h2,h3,h4,h5,p,a,span,strong,b,small,em,label,li,button,div) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
/* Make the foreground/background contrast unambiguous on controls. */
html body:has(#main #home) :is(.top, #contact) { background-color:#082d56 !important; }
html body:has(#main #home) :is(.header-cta, #menu-toggle, #nav-links > a, .chat13-launch, .chat13-head),
html body:has(#main #home) .top .languages a[aria-current="true"] { background:#1464ac !important; }
html body:has(#main #home) #nav-links > a:hover { background:#082d56 !important; }
/* Concept slider and leadership photo caption: white text on navy. */
html body #main :is(.v14-caption, #leader .executive-photo-v9 figcaption) {
  background-color:#082d56 !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
html body #main :is(.v14-caption, #leader .executive-photo-v9 figcaption) :is(h2,h3,h4,p,span,strong,small,a) {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}
/* Keep V32's intentionally light complaint action readable. */
html body #main #complaint .service-banner :is(.primary,.pending),
html body #main #complaint .service-banner :is(.primary,.pending) :is(span,strong,small) {
  background-color:#ffffff !important;
  color:#082d56 !important;
  -webkit-text-fill-color:#082d56 !important;
}
