/*
 * Compact page sidebar – "sidebar_style = ks" (ACF → Page → Side Bar).
 * Matches the member-registry HTML design (.ks-side): orange title, short text, links framed by
 * two thin lines, navy links, orange for the current one. The column width and the gap to the
 * content stay the theme's own (.contentSideMenu / .contentTextWrap).
 */
/* Same token names as the design system. */
.ksSide{
	--blue-900:#00335E;
	--orange-500:#FF6F00;
	--text-body:#23405C;
	--border-subtle:#DFE4E9;
	color:var(--text-body);
}
.ksSide > *{max-width:220px;}
.ksSide .ksSideTitle{
	color:var(--orange-500);
	font-size:26px;
	font-weight:600;
	line-height:1.2;
	margin:0;
}
.ksSide .ksSideText{
	font-size:14px;
	line-height:1.6;
	margin:10px 0 14px;
}
.ksSide .ksSideTitle + .ksSideLinks{margin-top:14px;}
.ksSide .ksSideLinks{
	display:flex;
	flex-direction:column;
	gap:10px;
	padding:12px 0;
	border-top:1px solid var(--border-subtle);
	border-bottom:1px solid var(--border-subtle);
}
/* Links: navy (--blue-900); the page/view you are on: orange (--orange-500). No hover colour –
   as in the design, where the colour is set on the link itself. The selectors are long on purpose,
   so the theme's global a{color:#FF6F00;text-decoration:underline} and a:hover never win. */
aside.contentSideMenu.ksSide .ksSideLinks a,
aside.contentSideMenu.ksSide .ksSideLinks a:hover,
aside.contentSideMenu.ksSide .ksSideLinks a:visited{
	display:block;
	font-size:13px;
	font-weight:700;
	line-height:1.5;
	color:var(--blue-900);
	text-decoration:none;
}
aside.contentSideMenu.ksSide .ksSideLinks a.active,
aside.contentSideMenu.ksSide .ksSideLinks a[aria-current]{color:var(--orange-500);}
aside.contentSideMenu.ksSide .ksSideLinks a:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(2,121,179,.35);border-radius:2px;}
.ksSide .shareBtnsList{margin-top:40px;}

/* Below the theme's two-column breakpoint: full width, no text, links in one row (as in the design). */
@media screen and (max-width:991px){
	.ksSide{padding:32px 20px 0;}
	.ksSide > *{max-width:none;}
	.ksSide .ksSideTitle{font-size:20px;}
	.ksSide .ksSideText{display:none;}
	.ksSide .ksSideLinks{flex-direction:row;flex-wrap:wrap;gap:8px 20px;margin-top:12px;}
	.ksSide + .contentTextWrap{padding-top:28px;}
	.ksSide .shareBtnsList{margin:20px 0 0;}
}
