/* Small CSS overrides added by our Flask CMS. Keep this short. */

/* Our server-side pagination. Class is "cms-pager" rather than "pagination"
   so the legacy scripts.min.js paging plugin doesn't hijack it. */
.cms-pager {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  justify-content: center;
  gap: 0.5rem;
}
.cms-pager li:before { display: none; }
.cms-pager .page-link {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  color: #c43c34;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
}
.cms-pager .page-link:hover { background: #f5e9e8; }
.cms-pager .page-item.active .page-link {
  background: #c43c34;
  color: #fff;
  border-color: #c43c34;
}
