/* Increase indentation for Off-Canvas Submenus */
.ast-header-break-point .main-header-menu .sub-menu .menu-item a {
    padding-left: 30px; /* Level 2 Indent */
}

/* Increase indentation for Sub-Submenus (Grandchildren) */
.ast-header-break-point .main-header-menu .sub-menu .sub-menu .menu-item a {
    padding-left: 50px; /* Level 3 Indent - The Deepest Links */
}

/* Remove default borders to look cleaner like the mockup */
.ast-header-break-point .main-header-menu, 
.ast-header-break-point .main-header-menu .menu-item {
    border-bottom: none !important;
    border-top: none !important;
}

/* --- ASTRA OFF-CANVAS MENU FIX --- */

/* 1. FORCE OPEN: Make all sub-menus visible by default (no toggle needed) */
.ast-header-break-point .main-header-menu .sub-menu,
.ast-header-break-point .main-header-menu .sub-menu .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* 2. HIDE TOGGLES: Remove the arrow/plus icons since menu is now open */
.ast-header-break-point .menu-item .ast-menu-toggle {
    display: none !important;
}

/* 3. PARENT LINKS (Bold Headers) */
.ast-header-break-point .main-header-menu > .menu-item > .menu-link {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #024902 !important; /* Dark Green */
    border-bottom: 1px solid #eee; /* Divider */
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* 4. SUB-LINKS (Level 1 Indent) */
.ast-header-break-point .main-header-menu .sub-menu .menu-item > .menu-link {
    font-family: 'Lato', sans-serif !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    color: #2f3b40 !important;
    padding-left: 20px !important; /* Indent */
    border: none !important;
}

/* 5. GRANDCHILD LINKS (Level 2 Deep Indent) */
.ast-header-break-point .main-header-menu .sub-menu .sub-menu .menu-item > .menu-link {
    padding-left: 40px !important; /* Deep Indent */
    color: #555 !important;
    font-size: 14px !important;
}

/* 6. REMOVE DEFAULT BORDERS */
.ast-header-break-point .main-header-menu .menu-item,
.ast-header-break-point .main-header-menu .sub-menu .menu-item {
    border-width: 0 !important;
}

.x-off-canvas-content ul.sub-menu {
    display: block !important;
}

.ast-header-break-point .main-header-menu .sub-menu {
    display: block !important;
}
.ast-header-break-point .main-header-menu .dropdown-menu-toggle {
    display: none !important;
}

/* --- READ MORE FIX --- */

/* Use 'body' to force higher priority over Astra */
body .elementor-element.read-more-clean .elementor-button,
body .elementor-element.read-more-clean a.elementor-button {
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #067AAB !important;
    
    /* Reset any height/width forcing */
    min-height: 0 !important;
    height: auto !important;
    width: auto !important;
    line-height: 1 !important;
}

/* Fix Hover State */
body .elementor-element.read-more-clean .elementor-button:hover,
body .elementor-element.read-more-clean a.elementor-button:hover {
    background-color: transparent !important;
    color: #01B1FD !important;
    box-shadow: none !important;
    transform: none !important;
}

@media (max-width: 921px) {
    /* 1. Prevent Astra from adding height spacers */
    .ast-mobile-header-wrap, 
    .main-header-bar-wrap {
        height: 0 !important;
        min-height: 0 !important;
        position: absolute !important;
        width: 100%;
        pointer-events: none;
    }

    /* 2. Force the page content to the very top */
    #page, .site-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 3. Disable Astra's native sticky behavior if it's fighting us */
    .ast-sticky-main-header-wrapper {
        display: none !important;
    }
    
    /* 4. Fix for jumpy scrolling on iOS/Android */
    html {
        scroll-padding-top: 80px; /* Ensures anchor links don't hide under your header */
    }
}