/* Brodnik system pagination. Loaded automatically only when the russiaraw pager template is rendered. */

.pagination{display: flex;
	justify-content: center;
	width: 100%;
	margin: 0 0 24px 0;}

.pagination__list{display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 0 auto;
	padding: 0;
	list-style: none;}

.pagination__item{display: flex;}

.pagination__link{display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	border: 1px solid rgba(80, 65, 45, 0.14);
	border-radius: 8px;
	background: #f8f4ec;
	color: #5a5047;
	font-size: 17px;
	line-height: 1;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(43, 35, 26, 0.04);
	transition:
			color 0.2s ease,
			border-color 0.2s ease,
			background-color 0.2s ease,
			box-shadow 0.2s ease,
			transform 0.2s ease;}

a.pagination__link:hover{color: #17382c;
	border-color: rgba(23, 56, 44, 0.28);
	background: #fffaf1;
	box-shadow: 0 4px 14px rgba(43, 35, 26, 0.08);
	transform: translateY(-1px);}

.pagination__link--current{border-color: #17382c;
	background: #17382c;
	color: #f8f4ec;
	box-shadow: 0 6px 16px rgba(23, 56, 44, 0.2);}

.pagination__link--arrow{font-size: 22px;
	font-weight: 500;}

.pagination__link--dots{min-width: 54px;
	color: #8b8177;
	pointer-events: none;}

.pagination__link--disabled{opacity: 0.45;
	pointer-events: none;}

@media (max-width: 520px){
.pagination{justify-content: center;
		margin-bottom: 24px;
		overflow-x: auto;
		padding-bottom: 4px;}
.pagination__list{justify-content: center;
		gap: 10px;
		margin: 0 auto;
		padding: 0 2px;}
.pagination__link{min-width: 40px;
		height: 40px;
		padding: 0 10px;
		border-radius: 7px;
		font-size: 15px;}
.pagination__link--arrow{font-size: 20px;}
.pagination__link--dots{min-width: 42px;}
}
