/*!
Theme Name: Ashley Child
Theme URI: https://bslthemes.com/
Author: bslthemes
Author URI: https://themeforest.net/user/bslthemes
Description: Ashley - Creative Potfolio WordPress Theme
Version: 1.0.0
License: General Public License
License URI: http://www.gnu.org/licenses/gpl.html
Template: ashley
Text Domain: ashley-child
Tags: full-width-template, editor-style, featured-images, sticky-post, threaded-comments, translation-ready, theme-options
*/

/* ============================================
   Practitioner Toolkit Sidebar Navigation
   ============================================ */

/* Sidebar container */
.toolkit-sidebar {
    position: sticky;
    top: 120px;
    padding-left: 30px;
}

/* Widget title */
.toolkit-sidebar .widget-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.toolkit-sidebar .mil-ib-title-frame {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffc107;
}

/* Reset default list styles */
.toolkit-sidebar .menu,
.toolkit-sidebar .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* All menu links - base style */
.toolkit-sidebar .menu a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #555;
    font-size: 15px;
    font-weight: 400;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
    line-height: 1.5;
}

/* Hover state */
.toolkit-sidebar .menu a:hover {
    color: #111;
    background-color: #f8f8f8;
    border-left-color: #ddd;
}

/* Top-level parent items (section headers) */
.toolkit-sidebar .menu > .menu-item-has-children > a {
    font-weight: 600;
    color: #222;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 12px;
    margin-top: 15px;
    pointer-events: none;
    border-left-color: transparent;
    background: none;
}

/* Remove top margin from first section */
.toolkit-sidebar .menu > .menu-item-has-children:first-child > a {
    margin-top: 0;
}

/* Sub-menu (level 2) */
.toolkit-sidebar .menu > .menu-item > .sub-menu {
    margin-bottom: 10px;
}

/* Sub-menu links */
.toolkit-sidebar .sub-menu a {
    font-size: 14px;
    padding: 7px 12px 7px 16px;
    color: #666;
}

/* Sub-sub-menu (level 3, e.g., Sprint Planning under Lean-Scrum) */
.toolkit-sidebar .sub-menu .sub-menu {
    margin-left: 12px;
    border-left: 1px solid #e5e5e5;
    margin-top: 2px;
    margin-bottom: 2px;
}

.toolkit-sidebar .sub-menu .sub-menu a {
    font-size: 13px;
    padding: 5px 12px 5px 14px;
    color: #888;
}

.toolkit-sidebar .sub-menu .sub-menu a:hover {
    color: #333;
}

/* ============================================
   Current / Active page states
   ============================================ */

/* Current page link */
.toolkit-sidebar .menu .current-menu-item > a,
.toolkit-sidebar .menu .current_page_item > a {
    color: #111;
    font-weight: 600;
    border-left-color: #ffc107;
    background-color: #fffbeb;
}

/* Active ancestor (parent of current page) */
.toolkit-sidebar .menu .current-menu-ancestor > a {
    color: #222;
}

/* Current page hover - keep active style */
.toolkit-sidebar .menu .current-menu-item > a:hover,
.toolkit-sidebar .menu .current_page_item > a:hover {
    border-left-color: #ffc107;
    background-color: #fff8db;
}

/* ============================================
   Responsive adjustments
   ============================================ */

@media (max-width: 991px) {
    .toolkit-sidebar {
        position: static;
        padding-left: 0;
        margin-top: 60px;
        padding-top: 40px;
        border-top: 1px solid #eee;
    }
}










