.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.6rem 0;
  flex-shrink: 0;
  border-top: 1px solid #ccc;
}

.pagination-btn {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  padding: 0.3rem 1rem;
  border: 1px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}

.page-flash {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.35s ease-out;
}

.page-flash.active {
  opacity: 1;
  transition: none;
}

.pagination-btn:hover {
  background: #1a1a1a;
  color: #f5f0e8;
}

.pagination-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
  border-color: #999;
}

.page-indicator {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  color: #666;
}

/* Front page JS pagination */
.front-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.page {
  display: none;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.page.active {
  display: flex;
}
