/* Guides library pagination (22 September 2026). Loaded on the six guides
   index pages only; the pager element is created by guides-search.v3.js. */
.guidesPager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 26px 0 6px;
}

.guidesPager[hidden] {
  display: none;
}

.guidesPagerBtn {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--legal-line, rgba(109, 145, 255, 0.34));
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(10, 27, 46, 0.72), rgba(4, 15, 27, 0.88));
  color: var(--legal-text, #e6eefc);
  font-family: var(--font-display), var(--font-geist-mono), "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.guidesPagerBtn:hover:not(:disabled),
.guidesPagerBtn:focus-visible {
  border-color: var(--legal-mint, #6ff5c8);
  color: var(--legal-mint, #6ff5c8);
  outline: none;
}

.guidesPagerBtn.isCurrent {
  border-color: var(--legal-mint, #6ff5c8);
  color: #041018;
  background: var(--legal-mint, #6ff5c8);
}

.guidesPagerBtn.isEdge {
  font-size: 22px;
  line-height: 1;
}

.guidesPagerBtn:disabled {
  opacity: 0.35;
  cursor: default;
}

.guidesPagerGap {
  color: var(--legal-muted, #8ea3c6);
  padding: 0 2px;
}

@media (prefers-reduced-motion: reduce) {
  .guidesPagerBtn {
    transition: none;
  }
}
