/* ==========================================================================
   ✅ LEGO Pagination – egységes, modern, BEM-szerű struktúra
   Használható: posts, products, gallery
   ========================================================================== */

.tc-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.tc-pagination__list {
  display: flex;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-pagination__item a,
.tc-pagination__item span {
  display: inline-block;
  padding: .45rem .75rem;
  border-radius: .5rem;
  background: #f5f5f5;
  text-decoration: none;
  line-height: 1;
  transition: all .15s ease-in-out;
}

.tc-pagination__item.is-active span,
.tc-pagination__item span.current {
  background: var(--tc-accent, #222);
  color: #fff;
  font-weight: 500;
}

.tc-pagination__item a:hover {
  filter: brightness(0.95);
}

/* opcionális: kisebb betűméret, ha sűrűbb layoutban kell */
.tc-pagination {
  font-size: 0.95rem;
}

.tc-section--dark .tc-pagination__item a,
.tc-section--dark .tc-pagination__item span {
  background: rgba(255,255,255,0.08);
  color: #eee;
}

.tc-section--dark .tc-pagination__item.is-active span {
  background: #fff;
  color: #111;
}
