/* SimplyIrfan Magazine v2.10.71 — consistent monochrome pagination across all templates. */
/* Light mode: black pagination accent; normal page links remain readable black. */
:root:not([data-theme="dark"]) .pagination a,
:root:not([data-theme="dark"]) .pagination span,
:root:not([data-theme="dark"]) .nav-links a,
:root:not([data-theme="dark"]) .nav-links span,
:root:not([data-theme="dark"]) .page-numbers,
:root:not([data-theme="dark"]) .wp-pagenavi a,
:root:not([data-theme="dark"]) .wp-pagenavi span,
:root:not([data-theme="dark"]) .wp-block-query-pagination a,
:root:not([data-theme="dark"]) .wp-block-query-pagination-numbers a,
:root:not([data-theme="dark"]) .wp-block-query-pagination-numbers span {
  color: #111 !important;
  border-color: #d7d7d7 !important;
}
:root:not([data-theme="dark"]) .pagination a:hover,
:root:not([data-theme="dark"]) .pagination .current,
:root:not([data-theme="dark"]) .nav-links a:hover,
:root:not([data-theme="dark"]) .nav-links .current,
:root:not([data-theme="dark"]) .page-numbers.current,
:root:not([data-theme="dark"]) .page-numbers:hover,
:root:not([data-theme="dark"]) .wp-pagenavi a:hover,
:root:not([data-theme="dark"]) .wp-pagenavi .current,
:root:not([data-theme="dark"]) .wp-block-query-pagination a:hover,
:root:not([data-theme="dark"]) .wp-block-query-pagination .current,
:root:not([data-theme="dark"]) .wp-block-query-pagination-numbers .current {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}
/* Dark mode: white pagination accent, with inverse text on the active page. */
:root[data-theme="dark"] .pagination a,
:root[data-theme="dark"] .pagination span,
:root[data-theme="dark"] .nav-links a,
:root[data-theme="dark"] .nav-links span,
:root[data-theme="dark"] .page-numbers,
:root[data-theme="dark"] .wp-pagenavi a,
:root[data-theme="dark"] .wp-pagenavi span,
:root[data-theme="dark"] .wp-block-query-pagination a,
:root[data-theme="dark"] .wp-block-query-pagination-numbers a,
:root[data-theme="dark"] .wp-block-query-pagination-numbers span {
  color: #fff !important;
  border-color: #555 !important;
}
:root[data-theme="dark"] .pagination a:hover,
:root[data-theme="dark"] .pagination .current,
:root[data-theme="dark"] .nav-links a:hover,
:root[data-theme="dark"] .nav-links .current,
:root[data-theme="dark"] .page-numbers.current,
:root[data-theme="dark"] .page-numbers:hover,
:root[data-theme="dark"] .wp-pagenavi a:hover,
:root[data-theme="dark"] .wp-pagenavi .current,
:root[data-theme="dark"] .wp-block-query-pagination a:hover,
:root[data-theme="dark"] .wp-block-query-pagination .current,
:root[data-theme="dark"] .wp-block-query-pagination-numbers .current {
  background: #fff !important;
  color: #111 !important;
  border-color: #fff !important;
}
