/*
 * 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.
 */
/* fonts must be at top */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */
/* this tailwindcss is not present. so no need that. */
/* @import "tailwindcss"; */
/* Utility to hide scrollbar while preserving scroll functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Ensure in-page anchor links and direct hash navigation clear the 64px (h-16) fixed header */
html {
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Native Pagy navigation after the version 43 API upgrade. */
nav.pagy.series-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  margin-block: 1rem;
}
nav.pagy.series-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  background: #fff;
}
nav.pagy.series-nav a[aria-current="page"] {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}
nav.pagy.series-nav a[aria-disabled="true"]:not([aria-current]) {
  opacity: 0.5;
}
nav.pagy.series-nav a[role="separator"] {
  border: 0;
  background: transparent;
}
nav.pagy.series-nav a[href]:hover {
  background: #f1f5f9;
}
