/* Things to do: uniform dark category badges + one text colour on every card (Duncan 28 Sep 2026).
   Badge = the one-off slate #2F4A63 with #F7F9FC text. Card text = #1F2933 (15.4:1 on white). Shadows untouched. */
/* Kind badges on list cards: Regular, Monthly, Brigade, Place, One-off, School holidays */
html body [data-slot="badge"].h-5:is(.bg-primary, .bg-forest\/10, .bg-muted),
/* Closing soon badges: Book now, Join in, Get a team together, Nominations, Register, Get a table together, Enter now */
html body #closing-soon [data-slot="badge"].h-6,
html body [role="dialog"] [data-slot="badge"]:is(.bg-primary, .bg-forest, .bg-forest\/10, .bg-muted) {
  background: #2F4A63 !important; background-color: #2F4A63 !important;
  color: #F7F9FC !important; border-color: #2F4A63 !important;
}
/* Active category filter chip (was forest blue) */
html body [role="group"][aria-label="Community categories"] button[aria-pressed="true"] {
  background: #2F4A63 !important; border-color: #2F4A63 !important; color: #FFFFFF !important;
}
/* One text colour on every event card, whatever its type */
html body main li > button.scroll-mt-32 :is(h3, p, dd, dt),
html body #closing-soon article :is(h3, p, dd, dt, strong),
html body [role="dialog"] :is(h2, h3, p, dd, dt, li, strong):not(a):not(button),
html body .hcr-hit :is(.hcr-hit-title, .hcr-hit-meta) {
  color: #1F2933 !important;
}
/* Tentative (status tbc) badge in the details panel */
.hcr-tentative-badge { display: inline-flex; white-space: nowrap; align-self: flex-start; align-items: center; width: fit-content; margin: 6px 0 2px; padding: 2px 10px; border-radius: 999px; background: #2F4A63; color: #FFFFFF !important; font-size: 13px; font-weight: 600; line-height: 1.4; }
