.wp-block-query-pagination,
.wp-block-comments-pagination {
	.wp-block-query & {
		gap: 0;
	}

	&-numbers .page-numbers,
	&-previous,
	&-next {
		line-height: 1;
		padding: 10px 1em;
		background-color: var(--wp--preset--color--primary);
		&:hover {
			background-color: var(--wp--preset--color--primary-hover);
		}
		:root & {
			text-decoration: none;
			color: #fff; // BG Secondary and Dark both white
		}
	}

	.page-numbers.current {
		color: var(--wp--preset--color--text-normal);
		background-color: var(--wp--preset--color--bg-light-gray);
		border: 1px solid var(--wp--preset--color--border-normal);
	}

	.wp-block-query-pagination-next {
		margin-inline-start: .5em;
	}

	.wp-block-query-pagination-previous {
		margin-inline-end: .5em;
	}
}