

.pages-nav li:nth-child(5n+1) {
	--item-color: #f6c039;
	--item-bg-hover: rgba(246, 192, 57, 0.08);
	--item-bg-active: rgba(246, 192, 57, 0.18);
	--item-text-hover: #785a00;
}

.pages-nav li:nth-child(5n+2) {
	--item-color: #c1dd8f;
	--item-bg-hover: rgba(193, 221, 143, 0.12);
	--item-bg-active: rgba(193, 221, 143, 0.25);
	--item-text-hover: #3d5c07;
}

.pages-nav li:nth-child(5n+3) {
	--item-color: #38cde5;
	--item-bg-hover: rgba(56, 205, 229, 0.08);
	--item-bg-active: rgba(56, 205, 229, 0.18);
	--item-text-hover: #07546d;
}

.pages-nav li:nth-child(5n+4) {
	--item-color: #f69368;
	--item-bg-hover: rgba(246, 147, 104, 0.08);
	--item-bg-active: rgba(246, 147, 104, 0.18);
	--item-text-hover: #9c330b;
}

.pages-nav li:nth-child(5n+5) {
	--item-color: #da8ae2;
	--item-bg-hover: rgba(218, 138, 226, 0.08);
	--item-bg-active: rgba(218, 138, 226, 0.18);
	--item-text-hover: #631d6c;
}



aside {
	background: transparent;
	margin-top: 5rem;
	margin-bottom: 2rem;
	box-shadow: none;
	border-radius: 0;
	overflow: visible;
}

.pages-nav-title {
	color: #273143;

	font-size: 1.25rem;
	margin: 0 0 16px 0;
	padding: 0 0 10px 0;
	position: relative;
	letter-spacing: -0.01em;
}

.pages-nav-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 75px;
	height: 2px;
	background: linear-gradient(90deg, #fdece4 0%, #f5ad8b 100%);
	border-radius: 3px;
}

.pages-nav ul {
	margin: 0;
	padding: 0; 
	list-style: none;
	display: flex;
	flex-direction: column;
}

.pages-nav li {
	position: relative;
	border-bottom: 1px solid rgba(11, 89, 162, 0.08);
}

.pages-nav li:last-child {
	border-bottom: none;
}

.pages-nav li > span {
	display: block;
	position: relative;
}

.pages-nav a {
	color: #1e293b;
	text-decoration: none;
	display: flex;
	align-items: center;
	padding: 0.85rem 12px 0.85rem 42px;
	font-size: 1.02rem;
	font-weight: 500;
	border-radius: 8px;
	background: transparent;
	position: relative;
	transition: all 0.25s ease;
	will-change: transform, background-color, color;
}

.pages-nav li:after {
	font-family: 'FontAwesome';
	content: '\f104';
	position: absolute;
	top: 50%;
	left: 8px;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--item-bg-active);
	color: var(--item-text-hover);
	font-size: 0.85rem;
	transition: all 0.25s ease;
	pointer-events: none;
}

.pages-nav a:hover,
.pages-nav a:focus {
	color: var(--item-text-hover);
	background: var(--item-bg-hover);
	transform: translateX(-4px);
}

.pages-nav li:hover:after {
	background: var(--item-color);
	color: #ffffff;
	transform: translate(-3px, -50%);
	box-shadow: 0 3px 10px var(--item-bg-active);
}

.pages-nav a.on,
.pages-nav li.on > span > a {
	color: var(--item-text-hover);
	font-weight: 700;
	background: var(--item-bg-active);
}

.pages-nav li.on:after {
	background: var(--item-color);
	color: #ffffff;
	transform: translate(-3px, -50%);
	box-shadow: 0 3px 10px var(--item-bg-active);
}

.pages-nav li.on > ul {
	display: flex;
}

.pages-nav li > ul {
	display: none;
	flex-direction: column;
	gap: 2px;
	margin: 4px 12px 8px 0;
	padding: 2px 0 2px 10px;
	border-right: 1.5px solid rgba(11, 89, 162, 0.15);
}

.pages-nav li > ul li {
	border-bottom: none; 
}

.pages-nav li > ul a {
	padding: 0.45rem 10px;
	font-size: 0.94rem;
	font-weight: 400;
	color: #475569;
	border-radius: 6px;
}

.pages-nav li > ul a:hover,
.pages-nav li > ul a.on {
	color: var(--item-text-hover);
	background: var(--item-bg-hover);
	transform: translateX(-3px);
}

.pages-nav button {
	position: absolute;
	top: 0;
	right: 0;
	font-family: 'FontAwesome';
	font-style: normal;
	width: 25px;
	height: 100%;
	padding: 5px;
	background: none;
	border: 0;
	color: var(--item-color);
	display: none;
}

.pages-nav button:before { content: '\f053'; }
.pages-nav button.opened:before { content: '\f078'; }
.pages-nav button.no-sub-menu { font-size: 80%; padding-top: 2px; display: none; }
.pages-nav button.no-sub-menu:before { content: '\f1db'; }
.pages-nav button.external-link:before { content: '\f08e'; }

@media (min-width: 991px) {
	.page-content-nav {
		display: none;
	}
}

@media (max-width: 991px) {
	aside {
		display: none;
	}
}