html.theme-aek ul.pagination {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 2px;
  vertical-align: middle;
}
html.theme-aek ul.pagination > li {
  display: block;
}
html.theme-aek ul.pagination > li > a,
html.theme-aek ul.pagination > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  float: none;
  min-width: 40px;
  min-height: 40px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 204, 0, 0.35);
  border-radius: 10px;
  background: rgba(30, 35, 36, 0.95);
  color: #f5f5f5;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
html.theme-aek ul.pagination > li:not(.disabled):not(.active) > a:hover,
html.theme-aek ul.pagination > li:not(.disabled):not(.active) > a:focus {
  border-color: #ffcc00;
  background: rgba(255, 204, 0, 0.12);
  color: #ffcc00;
}
html.theme-aek ul.pagination > li > a:focus-visible {
  outline: 2px solid #ffcc00;
  outline-offset: 2px;
}
html.theme-aek ul.pagination > li.active > a,
html.theme-aek ul.pagination > li.active > span,
html.theme-aek ul.pagination > li.active > a:hover,
html.theme-aek ul.pagination > li.active > a:focus {
  border-color: rgba(255, 204, 0, 0.7);
  background: rgba(255, 204, 0, 0.18);
  color: #ffcc00;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.08);
}
html.theme-aek ul.pagination > li.disabled > span,
html.theme-aek ul.pagination > li.disabled > a,
html.theme-aek ul.pagination > li.disabled > a:hover,
html.theme-aek ul.pagination > li.disabled > a:focus {
  border-color: rgba(255, 204, 0, 0.2);
  background: rgba(30, 35, 36, 0.65);
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
}
