/* Classic PHP-Nuke inspired sidebar links, scoped to Site Navigation only. */
.kb-site-sidebar .kb-classic-modules-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}
.kb-site-sidebar .kb-classic-modules-list li{margin:0;padding:0;border-bottom:1px solid rgba(139,92,246,.16)}
.kb-site-sidebar .kb-classic-modules-list li:last-child{border-bottom:0}
.kb-site-sidebar .kb-classic-modules-link{display:block;padding:8px 7px;color:inherit;text-decoration:none;font-size:13px;line-height:1.35;overflow-wrap:anywhere;border-left:2px solid transparent;transition:background-color .12s ease,color .12s ease}
.kb-site-sidebar .kb-classic-modules-link::before{content:'›';color:#a78bfa;margin-right:7px;font-weight:700}
.kb-site-sidebar .kb-classic-modules-link:hover,.kb-site-sidebar .kb-classic-modules-link:focus-visible{background:rgba(139,92,246,.13);color:#ddd6fe}
.kb-site-sidebar .kb-classic-modules-link.is-active{background:rgba(139,92,246,.17);border-left-color:#8b5cf6;color:#e9d5ff;font-weight:700}

/* Phase 9A: restore the full 170px sidebar width for independent cards.
   The outer sidebar is the grid item; cards provide their own padding. */
.kb-content-container .kb-content-with-twitch > .kb-site-sidebar {
  box-sizing:border-box; width:100%; max-width:100%; min-width:0; padding:0;
}
.kb-site-sidebar > .kb-custom-block {
  box-sizing:border-box; width:100%; max-width:100%; min-width:0; padding:12px 9px;
}
.kb-site-sidebar > .kb-custom-block .kb-custom-block-header {gap:5px !important;}
.kb-site-sidebar > .kb-custom-block .kb-custom-block-logo {width:18px !important; min-width:18px !important; max-width:18px !important; height:18px !important; min-height:18px !important; max-height:18px !important; flex:0 0 18px !important;}
.kb-site-sidebar > .kb-custom-block .kb-custom-block-header h2 {font-size:13px !important; letter-spacing:-.2px; overflow:visible !important; text-overflow:clip !important;}
.kb-site-sidebar .kb-classic-modules-link {font-size:12px; padding:8px 4px; overflow-wrap:normal; word-break:normal;}
.kb-site-sidebar .kb-classic-modules-link::before {margin-right:5px;}
