/* Example: tighten spacing in RiverLea / Walbrook */

/* 1) Tweak RiverLea spacing variables */
:root {
  /* Global “rhythm” unit used for vertical spacing in RiverLea */
  --crm-r: 0.85rem;  /* lower than the default to reduce whitespace */

  /* Optional: slightly smaller margin utility size used in various places */
  --crm-m2: 0.5rem;
}

/* 2) Make form sections a bit tighter */
.crm-container .crm-section {
  margin-bottom: 0.5rem;
}

/* 3) Compact tables (SearchKit, search results, etc.) */
.crm-container table.display tbody td,
.crm-container table.selector tbody td {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}


/* Make the blue count badges (e.g. Contributions 19, Memberships 3) larger */

/* Enlarge the count badges on contact tabs/side nav */
.crm-container .crm-tab-button em {
  display: inline-block;
  font-size: 0.8rem !important;      /* bump text size */
  font-weight: 600;
  line-height: 1.4;
  padding: 0.1rem 0.5rem !important; /* more pill padding */
  min-width: 1.6rem;
  text-align: center;
  border-radius: 999px;              /* ensure pill shape if needed */
}
