/**/

.sitemap {
	margin: 0 auto;
}

.sitemap ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* ===== Level 1 - Top level items ===== */
.sitemap > div > ul > li {
	
}

.sitemap > div > ul > li > .sitemap-item-row > span > a {
	font-size: 22px;
	font-weight: 700;
}

/* ===== Level 2 ===== */
.sitemap > div > ul > li > ul {
	padding-right: 20px;
	border-right: 2px solid var(--primary-light, #e0f2f3);
	margin-right: 14px;
	margin-top: 4px;
	margin-bottom: 8px;
}

.sitemap > div > ul > li > ul > li > .sitemap-item-row > span > a {
	font-size: 17px;
	font-weight: 600;
	color: #334155;
}

/* ===== Level 3+ ===== */
.sitemap ul ul ul {
	padding-right: 18px;
	border-right: 2px solid #eef2f6;
	margin-right: 12px;
	margin-top: 2px;
}

.sitemap ul ul ul li > .sitemap-item-row > span > a {
	font-size: 15px;
	font-weight: 400;
	color: #475569;
}

/* ===== Item row (link + toggle wrapper) ===== */
.sitemap-item-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	transition: background-color 0.15s ease;
}

.sitemap-item-row:hover {
	background-color: #f7fafa;
}

.sitemap li + li > .sitemap-item-row {
	border-top: 1px solid #eef1f5;
}

/* first item in a sub-list also gets top border */
.sitemap ul > li:first-child > .sitemap-item-row {
	border-top: 1px solid #eef1f5;
}

.sitemap-item-row > span {
	min-width: 0;
	text-align: right;
}

.sitemap-item-row > span > a {
	text-decoration: none;
	display: block;
	transition: color 0.15s ease;
}

.sitemap-item-row > span > a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sitemap-item-row > span > a .arrow {
	display: none;
}

.sitemap-item-row > span > a .fa-external-link {
	font-size: 0.7em;
	opacity: 0.5;
	margin-right: 4px;
}

/* ===== Toggle spacer (for items without children) ===== */
.sitemap-toggle-spacer {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background-color: #f3f4f6;
	color: #c5cad1;
	font-size: 12px;
	line-height: 1;
}

/* ===== Toggle button ===== */
.sitemap-toggle {
	cursor: pointer;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	border: none;
	border-radius: 6px;
	background-color: var(--primary-light, #e0f2f3);
	color: var(--primary, #0d7377);
	transition: all 0.2s ease;
	padding: 0;
}

.sitemap-toggle:hover {
	background-color: var(--primary, #0d7377);
	color: #fff;
	transform: scale(1.1);
}

.sitemap-toggle[aria-expanded="true"] {
	background-color: var(--primary, #0d7377);
	color: #fff;
}

/* ===== <hr> separators ===== */
.sitemap hr {
	border: none;
	border-top: 1px solid #e5eaef;
	margin: 12px 0;
}

/* ===== Empty state ===== */
.sitemap .empty a {
	opacity: 0.45;
	pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
	.sitemap > div > ul > li > .sitemap-item-row > span > a {
		font-size: 19px;
	}
	.sitemap > div > ul > li > ul > li > .sitemap-item-row > span > a {
		font-size: 16px;
	}
	.sitemap-item-row {
		padding: 6px 8px;
	}
	.sitemap > div > ul > li > ul {
		padding-right: 14px;
		margin-right: 10px;
	}
}