/* 全主题共用分页样式（作用域 .sd-theme-pagination） */
.sd-theme-pagination .sd-pagination {
	margin-bottom: 0;
	font-family: inherit;
}

.sd-theme-pagination nav {
	display: flex;
	justify-content: center;
	width: 100%;
}

.sd-theme-pagination .sd-page-item:not(:first-child) .sd-page-link {
	margin-left: 0 !important;
}

.sd-theme-pagination .sd-page-item:first-child .sd-page-link,
.sd-theme-pagination .sd-page-item:last-child .sd-page-link {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.sd-theme-pagination .sd-page-link,
.sd-theme-pagination .sd-page-link.g-text-secondary-button {
	min-width: 36px;
	padding: 0.375rem 0.75rem;
	text-align: center;
	border-radius: 0;
	color: var(--title-color, #212529) !important;
	border: 1px solid transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

.sd-theme-pagination .pagination-nav-icon,
.sd-theme-pagination .sd-page-link.pagination-nav-icon {
	border: none !important;
}

.sd-theme-pagination .sd-page-item:not(.active):not(.disabled) .sd-page-link:hover,
.sd-theme-pagination .sd-page-item:not(.active):not(.disabled) .sd-page-link:focus {
	color: var(--title-color, #212529) !important;
	background-color: transparent !important;
	border-color: transparent !important;
	opacity: 0.65;
}

.sd-theme-pagination .sd-page-item.active > .sd-page-link,
.sd-theme-pagination .sd-page-item.active .sd-page-link {
	color: var(--title-color, #212529) !important;
	background-color: transparent !important;
	border-color: #dee2e6 !important;
	opacity: 1;
}

.sd-theme-pagination .sd-page-item.active .sd-page-link:hover,
.sd-theme-pagination .sd-page-item.active .sd-page-link:focus {
	color: var(--title-color, #212529) !important;
	border-color: #dee2e6 !important;
	opacity: 1;
}

.sd-theme-pagination .sd-page-item.disabled .sd-page-link {
	color: var(--detail-color, #adb5bd) !important;
	opacity: 0.55;
	pointer-events: none;
}

.sd-theme-pagination .pagination-ellipsis .sd-page-link {
	color: var(--detail-color, #6c757d) !important;
	border: none !important;
}

.sd-theme-pagination .pagination-nav-icon i,
.sd-theme-pagination .sd-page-link.pagination-nav-icon i {
	color: inherit;
}

@media (max-width: 575px) {
	.sd-theme-pagination .sd-pagination {
		font-size: 14px !important;
	}

	.sd-theme-pagination .sd-page-link {
		padding: 0.375rem 0.75rem !important;
	}
}
