/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Pagy v43 pagination */
nav.pagy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

nav.pagy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #6b7280;
  transition: background-color 0.15s;
}

nav.pagy a:hover {
  background-color: #f3f4f6;
}

nav.pagy a[aria-disabled] {
  color: #d1d5db;
  pointer-events: none;
}

nav.pagy a[aria-current] {
  background-color: #111827;
  color: #ffffff;
}

/* Type scale — 3 levels (heading 28px, body 16px default, meta 13px) */
.text-heading {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.text-meta {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}
