.wp-block-query-pagination {
	gap: var(--wp--preset--spacing--40) !important;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers {
	display: flex;
	gap: var(--wp--preset--spacing--40);
}

.wp-block-query-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-next,
.wp-block-query-pagination .wp-block-query-pagination-numbers > * {
	border: 1px solid var(--wp--preset--color--realizer-lightgrey);
	border-radius: 4px;
	height: 2rem;
	line-height: 2rem;
	text-align: center;
	width: 2rem;
}

.wp-block-query-pagination .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-next,
.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers {
	text-decoration: none;
}

.wp-block-query-pagination .wp-block-query-pagination-previous .wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination .wp-block-query-pagination-next .wp-block-query-pagination-next-arrow {
	margin: 0;
}

.wp-block-query-pagination .wp-block-query-pagination-previous:hover,
.wp-block-query-pagination .wp-block-query-pagination-next:hover,
.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers:not(.dots):not(.current):hover {
	background: var(--wp--preset--color--realizer-contrast);
	color: var(--wp--preset--color--realizer-base);
	transition: 0.5s ease;
}

.wp-block-query-pagination .wp-block-query-pagination-numbers .current {
	background: var(--wp--preset--color--realizer-contrast);
	color: var(--wp--preset--color--realizer-base);
}