.pj-gallery-pagination-marker { display:block; height:0; overflow:hidden; }
.pj-gallery-pagination-controls { margin:1.5rem 0; text-align:center; }
.pj-gallery-pagination-status { margin:0 0 .7rem; font-size:.92rem; font-weight:600; }
.pj-gallery-pagination-buttons { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:.4rem; }
.pj-gallery-pagination-buttons button { appearance:none; border:1px solid currentColor; border-radius:4px; background:transparent; color:inherit; cursor:pointer; min-width:2.35rem; padding:.5rem .68rem; line-height:1.2; }
.pj-gallery-pagination-buttons button:hover,
.pj-gallery-pagination-buttons button:focus-visible { background:rgba(127,127,127,.16); }
.pj-gallery-pagination-buttons button.is-current { background:#222; border-color:#222; color:#fff; }
.pj-gallery-pagination-buttons button:disabled { cursor:default; opacity:.4; }
.pj-gallery-ellipsis { min-width:1.2rem; text-align:center; }
@media (max-width:520px) {
  .pj-gallery-pagination-buttons { gap:.3rem; }
  .pj-gallery-pagination-buttons button { min-width:2.1rem; padding:.46rem .55rem; }
  .pj-gallery-previous, .pj-gallery-next { flex:0 1 auto; }
}
.pj-gallery-pagination-top { margin-top: 0; margin-bottom: 1.25rem; }
.pj-gallery-pagination-bottom { margin-top: 1.5rem; }
