/* Responsive Page Sitemap — theme accent #2A4E96 */
.rps-sitemap {
	--rps-accent: #2A4E96;
	--rps-border: #dce3ef;
	--rps-hover: #f3f6fb;
	--rps-text: #202938;
	width: 100%;
	max-width: 100%;
	color: var(--rps-text);
	font-size: 16px;
	line-height: 1.5;
	box-sizing: border-box;
}

.rps-sitemap *,
.rps-sitemap *::before,
.rps-sitemap *::after {
	box-sizing: border-box;
}

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

.rps-item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--rps-border);
}

.rps-list > .rps-item:first-child {
	border-top: 1px solid var(--rps-border);
}

.rps-row {
	display: flex;
	align-items: stretch;
	width: 100%;
	min-width: 0;
}

.rps-link {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 14px;
	color: var(--rps-accent);
	font-weight: 500;
	text-decoration: none;
	overflow-wrap: anywhere;
	transition: background-color 0.18s ease;
}

.rps-link:hover {
	background: var(--rps-hover);
	color: var(--rps-accent);
	text-decoration: underline;
}

.rps-link:focus-visible,
.rps-toggle:focus-visible {
	outline: 2px solid var(--rps-accent);
	outline-offset: -2px;
}

.rps-link-only {
	display: block;
}

.rps-toggle {
	display: inline-flex;
	flex: 0 0 46px;
	align-items: center;
	justify-content: center;
	width: 46px;
	min-height: 46px;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--rps-border);
	border-radius: 0;
	background: transparent;
	color: var(--rps-accent);
	cursor: pointer;
}

.rps-toggle:hover {
	background: var(--rps-hover);
}

.rps-arrow {
	width: 9px;
	height: 9px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.18s ease;
}

.rps-item.is-open > .rps-row .rps-arrow {
	margin-top: 4px;
	transform: rotate(225deg);
}

.rps-children {
	margin: 0;
	padding: 0 0 0 20px;
	border-left: 3px solid var(--rps-accent);
	background: #fafbfd;
}

.rps-children .rps-link {
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 0.96em;
}

.rps-empty {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--rps-border);
}

.rps-sitemap [hidden] {
	display: none !important;
}

@media (max-width: 600px) {
	.rps-sitemap {
		font-size: 15px;
	}

	.rps-link {
		padding: 11px 12px;
	}

	.rps-toggle {
		flex-basis: 44px;
		width: 44px;
		min-height: 44px;
	}

	.rps-children {
		padding-left: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rps-arrow {
		transition: none;
	}
}
