﻿/* Modern compact pagination */
.jp-pagination-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  margin:28px auto 24px;
  width:100%;
}
.jp-pagination{
  display:inline-flex;
  align-items:stretch;
  justify-content:center;
  border:1px solid #d6e2ef;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,76,129,.08);
}
.jp-pagination a,
.jp-pagination span{
  min-width:46px;
  height:44px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-right:1px solid #d6e2ef;
  background:#fff;
  color:#075db5;
  text-decoration:none;
  font-weight:700;
  line-height:1;
  box-sizing:border-box;
}
.jp-pagination a:last-child,
.jp-pagination span:last-child{border-right:0}
.jp-pagination a:hover{
  background:#f1f7ff;
  color:#004f9e;
}
.jp-pagination .active{
  color:#fff;
  background:linear-gradient(135deg,#0879df 0%,#0758c9 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
}
.jp-pagination .dots{
  color:#64748b;
  background:#fff;
}
.jp-page-summary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
  padding:14px 24px;
  border:1px solid #dce7f1;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,76,129,.06);
  color:#475569;
  font-size:15px;
}
.jp-page-summary strong{
  color:#075fc7;
  font-size:18px;
}
.jp-page-summary .sep{
  width:1px;
  height:28px;
  background:#dce7f1;
}
@media(max-width:640px){
  .jp-pagination-wrap{
    padding:0 8px;
    box-sizing:border-box;
  }
  .jp-pagination{
    width:100%;
    max-width:100%;
    overflow:hidden;
    justify-content:center;
    border-radius:12px;
  }
  .jp-pagination a,
  .jp-pagination span{
    min-width:0;
    height:44px;
    padding:0;
    flex:1 1 0;
    font-size:15px;
  }
  .jp-page-summary{
    width:100%;
    box-sizing:border-box;
    gap:10px 18px;
    padding:12px 14px;
  }
  .jp-page-summary .sep{display:none}
}
