/* ---- Index(Query) pagination ---- */
.wp-block-query-pagination > .wp-block-query-pagination-next,
.wp-block-query-pagination > .wp-block-query-pagination-numbers,
.wp-block-query-pagination > .wp-block-query-pagination-previous {
  margin: 0;
}

.wp-block-query-pagination {
  border-radius: 0.5em;
  clear: both;
  padding: 0.25em 0.5em;

  .mxs-dark-theme-bg &,
  .mxs-light-theme-bg .mxs-dark-bg & {
    background-color: var(--white-12pcnt);
  }

  .mxs-light-theme-bg &,
  .mxs-dark-theme-bg .mxs-light-bg & {
    background-color: var(--black-12pcnt);
  }
}

@media (min-width: 1366px) {
  .wp-block-query-pagination {
    margin: 0 auto;
    width: 60%;
  }
}
