.pages-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pages-nav a {
	color: inherit;
	text-decoration: none;
	display: block;
	padding: 1rem 0;
	font-size: 1.15rem;
}

.pages-nav li {
	position: relative;
}

.pages-nav li:not(:last-child)::before {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	left: auto;
	transform: none;
	width: 80%;
	height: 1px;
	background-color: rgba(0, 0, 0, 0.1);
}

.pages-nav li:after {
	font-family: "FontAwesome";
	content: "\f104";
	position: absolute;
	top: 10px;
	left: 0;
	color: #0075e1;
	font-size: 1.4rem;
}

.pages-nav li > span {
	display: block;
	position: relative;
}

.pages-nav a:hover,
.pages-nav a:focus,
.pages-nav a.on {
	color: var(--prime1);
}

.pages-nav a.on {
	font-weight: 7800;
}

.pages-nav li.on > ul {
	display: block;
}

.pages-nav li > ul {
	display: none;
	margin-right: 25px;
}

.pages-nav button {
	position: absolute;
	top: 0;
	left: 10px;
	font-family: 'FontAwesome';
	font-style: normal;
	width: 25px;
	height: 100%;
	padding: 5px;
	background: none;
	border: 0;
	color: var(--prime2);
}

.pages-nav button:before {
	content: '\2b';
}

.pages-nav button.opened:before {
	content: '\f068';
}

.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';
}

aside {
	position: relative;
	padding-right: 30px;
	background: #fff;
	padding: 7px 5px;
	width: 100%;

	& .pages-nav ul {
		padding-inline: 1.5rem;
		margin-top: 10px;

		& ul {
			background-color: rgb(from var(--prime1) r g b / 0.1);
			padding-inline: 0.5rem;
			margin-right: 0;
		}
	}
}

aside::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	top: auto;
	transform: none;
	height: 75%;
	width: 1px;
	background-color: color(srgb 0.13 0.13 0.13 / 0.12);
}

.pages-nav-title {
	padding: 0.75rem;
	color: #11499f;
	font-weight: bold;
	position: relative;
	border-radius: 15px;
	font-size: calc(0.9rem + 16px);
}

@media (max-width: 991px) {
	aside {
		display: none;
	}
}