.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  width: fit-content;
  margin: 78px auto 0;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(8, 16, 30, .72);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
.blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 50%;
  color: rgba(255,255,255,.56);
  font-family: Oldschoolgrotesk, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.blog-pagination a:hover { color: #fff; background: rgba(255,255,255,.07); }
.blog-pagination a[aria-current="page"] { color: #050b14; background: #fff; box-shadow: none; }
.blog-pagination .pagination-arrow { min-width: auto; padding-inline: 18px; border-radius: 999px; color: rgba(255,255,255,.82); }

/* Keep every blog-grid title in the same two-line rhythm. */
.blog-grid-section .blog-card-title {
  display: -webkit-box;
  min-height: 2.4em;
  overflow: hidden;
  line-height: 1.2;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

@media (max-width: 600px) {
  .blog-pagination { gap: 2px; width: auto; max-width: 100%; margin-top: 52px; padding: 6px; }
  .blog-pagination a { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; }
  .blog-pagination .pagination-arrow { padding-inline: 11px; font-size: 12px; }
}
