.public-blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  margin: 28px 0 10px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 85, 164, 0.10);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(242, 247, 255, 0.94));
  box-shadow: 0 18px 42px rgba(7, 27, 58, 0.08);
}

.public-blog-pagination a,
.public-blog-pagination span {
  flex: 0 1 auto;
  min-width: 46px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(0, 85, 164, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #0055a4;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(7, 27, 58, 0.06);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.public-blog-pagination a:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 85, 164, 0.28);
  box-shadow: 0 12px 24px rgba(0, 85, 164, 0.14);
}

.public-blog-pagination a:focus-visible {
  outline: 3px solid rgba(0, 85, 164, 0.18);
  outline-offset: 2px;
}

.public-blog-pagination .is-muted {
  color: #647084;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  border-style: dashed;
}

.public-blog-pagination .is-current {
  border-color: #0055a4;
  background: linear-gradient(135deg, #0055a4, #2f7fe0);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 85, 164, 0.24);
}

@media (max-width: 720px) {
  .public-blog-pagination {
    justify-content: center;
    gap: 8px;
    padding: 12px;
  }

  .public-blog-pagination a,
  .public-blog-pagination span {
    flex: 1 1 calc(25% - 8px);
    min-width: 0;
    padding: 10px 8px;
  }
}
