/* Mobile Menu Widget Styles */
/* Note: Magnetic cursor uses z-index: 99999 with pointer-events: none, 
   so mobile menu elements (z-index: 9997-9999) work below it but remain clickable */
.mobile-menu-widget {
    position: relative;
    display: inline-block;
    pointer-events: auto;
}

/* Ensure widget works with ScrollSmoother - fixed elements should be outside smooth-content */
.smooth-wrapper .mobile-menu-widget,
.smooth-content .mobile-menu-widget {
    position: static;
}

/* Fixed positioning elements must be outside ScrollSmoother context */
.mobile-menu-overlay,
.mobile-menu-panel {
    position: fixed;
}

/* Hamburger Button - ensure it's always clickable (cursor is above with pointer-events: none) */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    min-width: 40px;
    min-height: 40px;
    pointer-events: auto;
    /* iOS Safari specific fixes */
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Fallback hamburger icon */
.hamburger-icon-fallback {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    display: block;
    opacity: 1 !important;
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
}

/* .mobile-menu-toggle:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
} */

/* Mobile Menu Overlay - below magnetic cursor (99999) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(128, 128, 128, 0.8);
    z-index: 9997;
    opacity: 0;
    /* visibility: hidden; */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    /* visibility: visible; */
    pointer-events: auto;
}

/* Mobile Menu Panel - below magnetic cursor (99999) */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px;
    max-width: 90vw;
    height: 100vh;
    background: #ffffff; /* default panel background */
    color: #233963; /* default text color */
    box-shadow:
        5px 0 25px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(71, 176, 163, 0.1),
        inset -3px 0 15px rgba(71, 176, 163, 0.05);
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 9998;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.mobile-menu-panel.active {
    transform: translateX(0);
}

/* Glassmorphism Header */
.mobile-menu-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(71, 176, 163, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

/* Logo - properly aligned to left */
.mobile-menu-logo {
    flex: 0 0 auto;
    max-width: 180px;
    margin-right: auto;
}

/* Close Button - properly aligned to right */
.mobile-menu-close {
    position: fixed;
    background: linear-gradient(135deg, #47B0A3 0%, #4FB799 50%, #4CC86F 100%);
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    transition: all 0.3s ease;
    pointer-events: none; /* Disable clicks when hidden */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    /* visibility: hidden; */
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(71, 176, 163, 0.3);
    margin-left: auto;
    top:0px;
    right:0px;
}

.mobile-menu-close:hover {
    background: linear-gradient(135deg, #4FB799 0%, #4CC86F 50%, #84BA4C 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(79, 183, 153, 0.4);
    color: #ffffff;
}
.mobile-menu-close svg {
    fill: #ffffff !important;
    width: 16px;
    height: 16px !important;
}
.mobile-menu-close:active {
    transform: scale(0.95);
    opacity: 0.8;
    transition: transform 0.05s ease, opacity 0.05s ease;
}

/* .mobile-menu-close:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
} */

.mobile-menu-close:focus:not(:focus-visible) {
    outline: none;
}

.mobile-menu-logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-logo img {
    display: block;
    max-width: 100%;
    height: auto;
    width: auto;
    max-height: 45px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.mobile-menu-logo a:hover {
    text-decoration: none;
}

/* Menu Navigation */
.mobile-menu-nav {
    flex: 1;
    padding: 20px 0 20px;
    overflow-y: auto;
}

/* Adjust navigation padding when header is present */
.mobile-menu-panel:has(.mobile-menu-header) .mobile-menu-nav {
    padding-top: 20px;
}

.mobile-menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav .rk-d-menu-item {
    margin: 0;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, rgba(71, 176, 163, 0.3) 0%, rgba(79, 183, 153, 0.3) 30%, rgba(76, 200, 111, 0.3) 77%, rgba(132, 186, 76, 0.3) 100%) 1;
    opacity: 0;
    transform: translateX(0);
    /* GSAP will control visibility via inline styles */
    transition: none; /* Disable CSS transitions - GSAP handles animation */
}

.mobile-menu-nav .rk-d-menu-item:last-child {
    border-bottom: none;    
}

.mobile-menu-nav .rk-d-menu-item.animate-in {
    opacity: 1 !important;
    /* visibility: visible !important; */
    transform: translateX(0) !important;
}

.mobile-menu-nav .rk-d-menu-item a {
    display: block;
    padding: 20px 30px;
    text-decoration: none;
    color: #233963; /* default link color */
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-nav .rk-d-menu-item a:hover {
    color: #4FB799 !important;
    background-color: #f8f9fa;
}

/* Prevent parent item from shifting when opened */
.mobile-menu-nav > .rk-d-menu-item.menu-item-has-children.open {
    transform: translateX(0) !important;
}

.mobile-menu-nav > .rk-d-menu-item.menu-item-has-children.open > a {
    padding-left: 30px !important;
    background: linear-gradient(135deg, #47B0A3 0%, #4FB799 50%, #4CC86F 100%);
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 8px;
    margin: 2px 15px;
    box-shadow: 0 2px 8px rgba(71, 176, 163, 0.3);
}

.mobile-menu-nav > .rk-d-menu-item.menu-item-has-children.open > .sub-menu > a {
    padding-left: 20px !important;
}

.mobile-menu-nav .rk-d-menu-item a:focus {
    outline: 2px solid #4FB799;
    outline-offset: -2px;
}

/* Submenu Styles */
.mobile-menu-nav .sub-menu {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu-nav .rk-d-menu-item.menu-item-has-children .sub-menu {
    max-height: 0;
}

.mobile-menu-nav .rk-d-menu-item.menu-item-has-children.open .sub-menu {
    max-height: 500px;
}

/* Prevent parent items from shifting when opened - reset after GSAP animation completes */
.mobile-menu-nav > .rk-d-menu-item.menu-item-has-children.open {
    will-change: auto;
    transform: translateX(0) !important;
    border-left: none !important;
}

/* Reset border when parent is collapsed */
.mobile-menu-nav > .rk-d-menu-item.menu-item-has-children:not(.open) {
    border-left: none !important;
}

/* Parent item links should not have border */
.mobile-menu-nav > .rk-d-menu-item.menu-item-has-children > a {
    border-left: none !important;
}

/* Ensure sibling items are never affected by transforms when other items toggle */
.mobile-menu-nav > .rk-d-menu-item:not(.open) {
    transform: translateX(0) !important;
    will-change: auto;
}

/* Ensure submenu items are properly aligned and never animated */
.mobile-menu-nav .sub-menu {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.mobile-menu-nav .sub-menu .rk-d-menu-item {
    border-bottom: 1px solid #e9ecef;
    opacity: 1 !important;
    transform: none !important;
    clear: both;
    position: relative;
    margin-left: 0 !important;
    /* Reset any GSAP transforms */
    will-change: auto !important;
}

.mobile-menu-nav .sub-menu .rk-d-menu-item:last-child {
    border-bottom: none;
}

/* 2nd level items (first submenu) - no animation, fixed indentation */
.mobile-menu-nav .sub-menu .rk-d-menu-item a {
    padding: 15px 30px 15px 30px !important; /* 2nd level indentation */
    font-size: 14px;
    color: #666;
    display: block;
    margin-left: 10px !important;
    border-left: none !important;
    transition: color 0.2s ease, background-color 0.2s ease;
    transform: none !important;
}

.mobile-menu-nav .sub-menu .rk-d-menu-item a:hover {
    color: #4FB799;
    background-color: #f8f9fa;
    transform: none !important;
}

/* 3rd level items (nested submenu) - hover animation only */
.mobile-menu-nav .sub-menu .sub-menu .rk-d-menu-item a {
    padding: 15px 30px 15px 40px !important; /* 3rd level indentation (50px + 20px) */
    font-size: 13px;
    color: #666;
    margin-left: 10px !important; /* Additional visual indentation */
    border-left: 2px;
    border-image: linear-gradient(90deg, #47B0A3 0%, #4FB799 30%, #4CC86F 77%, #84BA4C 100%) 1;
    transition: padding-left 0.3s ease, color 0.2s ease, background-color 0.2s ease, border-image 0.3s ease;
    transform: none !important;
}

.mobile-menu-nav .sub-menu .sub-menu .rk-d-menu-item a:hover {
    color: #4FB799;
    background-color: #ffffff;
    border-image: linear-gradient(90deg, #4FB799 0%, #4CC86F 50%, #84BA4C 100%) 1;
    transform: none !important;
}

/* Dropdown Toggle */
.mobile-menu-nav .menu-item-has-children > a::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.mobile-menu-nav .menu-item-has-children.open > a::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Animation Classes */
.mobile-menu-panel .rk-d-menu-item {
    animation-delay: calc(var(--item-delay, 0.1s) * var(--item-index, 0));
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mobile-menu-panel {
        width: 100vw;
        max-width: 100vw;
    }
    
    .mobile-menu-nav .rk-d-menu-item a {
        padding: 18px 25px;
        font-size: 15px;
    }
    
    .mobile-menu-nav .sub-menu .rk-d-menu-item a {
        padding: 12px 25px 12px 40px;
        font-size: 13px;
    }
    
    .mobile-menu-close {
        top: 15px;
        right: 15px;
        font-size: 20px;
    }

    /* Hide theme header's default burger to avoid double hamburger on mobile/tablet */
    .site-navigation-toggle-holder,
    .site-navigation-toggle {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .mobile-menu-nav {
        padding: 70px 0 15px;
    }
    
    .mobile-menu-nav .rk-d-menu-item a {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .mobile-menu-nav .sub-menu .rk-d-menu-item a {
        padding: 10px 20px 10px 35px;
        font-size: 12px;
    }
}

/* High contrast mode support */
/* @media (prefers-contrast: high) {
    .mobile-menu-panel {
        border: 2px solid #000;
    }
    
    .mobile-menu-nav .menu-item a {
        border-bottom: 1px solid #000;
    }
    
    .mobile-menu-nav .menu-item a:focus {
        outline: 3px solid #000;
    }
} */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu-panel,
    .mobile-menu-overlay,
    .mobile-menu-nav .rk-d-menu-item,
    .mobile-menu-nav .sub-menu {
        transition: none;
    }
    
    .mobile-menu-nav .rk-d-menu-item {
        opacity: 1;
        transform: none;
    }
}

/* Dark mode class-based support */
/* 
/* Loading state */
.mobile-menu-widget.loading .mobile-menu-toggle {
    opacity: 0.6;
    pointer-events: none;
}

/* Accessibility improvements */
.mobile-menu-widget.is-open .mobile-menu-toggle {
    display: none !important;
}

.mobile-menu-widget.is-open .mobile-menu-close {
    display: flex !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    /* visibility: visible !important; */
}

/* Focus trap for keyboard navigation */
/* .mobile-menu-overlay.active {
} */

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Error message styling */
.mobile-menu-error {
    padding: 40px 30px;
    text-align: center;
    color: #666;
}

.mobile-menu-error p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Ensure mobile menu is always on top of everything */
body.mobile-menu-open {
    overflow: hidden;
}

/* Ensure mobile menu elements stay on top when open (below magnetic cursor 99999) */
body.mobile-menu-open .mobile-menu-overlay {
    z-index: 9997;
}

body.mobile-menu-open .mobile-menu-panel {
    z-index: 9998;
}

body.mobile-menu-open .mobile-menu-close {
    z-index: 9999;
}

/* Mobile Search Bar */
.mobile-menu-search {
    padding: 15px 20px 10px;
    border-bottom: 1px solid rgba(71, 176, 163, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 1000; /* Base z-index for search container */
    /* Allow search results to overflow beyond this container */
    overflow: visible;
}

/* Ensure search form appears above menu when results are active */
.mobile-menu-search.has-results {
    z-index: 10001;
}

.mobile-search-form {
    position: relative;
}

.mobile-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid rgba(71, 176, 163, 0.2);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-search-input-wrapper:focus-within {
    border-color: #47B0A3;
    box-shadow: 0 0 0 3px rgba(71, 176, 163, 0.1);
    background: #ffffff;
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 45px 12px 20px; /* Keep space for clear button */
    font-size: 16px; /* Prevents zoom on iOS */
    color: #233963;
    outline: none;
    font-weight: 400;
}

.mobile-search-input::placeholder {
    color: #6c757d;
    opacity: 1;
}

.mobile-search-clear {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px;
    border: none;
    background: transparent;
    color: #6c757d;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-search-clear:hover {
    color: #495057;
}

.clear-icon {
    font-size: 18px;
    line-height: 1;
    font-weight: 300;
}

.mobile-search-results {
    position: absolute;
    top: 100%;
    left: -10px; /* Extend slightly beyond search container */
    right: -10px; /* Extend slightly beyond search container */
    width: calc(100% + 20px); /* Account for the negative margins */
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 10000; /* Increased to appear above menu items */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
    /* Ensure it appears above all menu content */
    pointer-events: auto;
    /* Prevent clipping by parent containers */
    contain: none;
}

.mobile-search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Modern compact search results */
.mobile-search-result-card {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(71, 176, 163, 0.1);
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.mobile-search-result-card:last-child {
    border-bottom: none;
}

.mobile-search-result-card:hover {
    background: rgba(71, 176, 163, 0.05);
    transform: translateX(2px);
}

.mobile-result-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-result-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fa;
    flex-shrink: 0;
    border: 1px solid rgba(71, 176, 163, 0.1);
}

.mobile-result-text {
    flex: 1;
    min-width: 0;
}

.mobile-result-title {
    font-size: 13px;
    font-weight: 600;
    color: #233963;
    line-height: 1.3;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-result-excerpt {
    font-size: 11px;
    color: #6c757d;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-result-meta {
    font-size: 10px;
    color: #47B0A3;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-search-results .rk-no-results-msg {
    padding: 15px;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
}

/* Hamburger visibility controls */
.mobile-menu-widget[data-hamburger-visibility="mobile-only"] .mobile-menu-toggle {
    display: flex !important;
}

@media (min-width: 1025px) {
    .mobile-menu-widget[data-hamburger-visibility="mobile-only"] .mobile-menu-toggle {
        display: none !important;
    }
}

.mobile-menu-widget[data-hamburger-visibility="desktop-only"] .mobile-menu-toggle {
    display: none !important;
}

@media (min-width: 1025px) {
    .mobile-menu-widget[data-hamburger-visibility="desktop-only"] .mobile-menu-toggle {
        display: flex !important;
    }
}

.mobile-menu-widget[data-hamburger-visibility="always"] .mobile-menu-toggle {
    display: flex;
}

/* Force hamburger visibility for screens up to 1024px - override Elementor visibility */
@media (max-width: 1024px) {
    /* Ensure widget is visible on tablet and mobile */
    .elementor-widget-mobile-menu.elementor-hidden-tablet,
    .elementor-widget-mobile-menu.elementor-hidden-mobile {
        display: block !important;
    }
}

/* Specific rule for tablet range (767px - 1024px) to ensure visibility */
@media (min-width: 767px) and (max-width: 1024px) {
    /* Override any Elementor visibility settings for tablet */
    .elementor-widget-mobile-menu {
        display: block !important;
        opacity: 1 !important;
    }

    .elementor-widget-mobile-menu .mobile-menu-widget {
        display: inline-block !important;
        opacity: 1 !important;
    }

    .elementor-widget-mobile-menu .mobile-menu-toggle {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* iOS Safari specific fixes - ensure hamburger is always visible on iOS devices */
@media screen and (max-width: 1024px) {
    /* iPhone and iPad specific fixes */
    .mobile-menu-toggle {
        /* Ensure button is clickable */
        touch-action: manipulation;
    }
}

/* iOS Safari hover fix - prevent transform issues on touch devices */
@media (hover: none) and (pointer: coarse) {
    .mobile-menu-toggle:hover {
        transform: none;
    }
}

/* iOS Safari specific fix - target only iOS devices */
@supports (-webkit-touch-callout: none) {
    .mobile-menu-toggle {
        -webkit-user-select: none;
        user-select: none;
        -webkit-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Fix hamburger icon visibility on iOS Safari */
    .mobile-menu-toggle i,
    .mobile-menu-toggle svg,
    .mobile-menu-toggle .hamburger-icon-fallback {
        color: #333333 !important;
        fill: #333333 !important;
        font-size: 20px !important;
        opacity: 1 !important;
        -webkit-text-fill-color: #333333 !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* Force hamburger button to be visible on iOS Safari */
    @media (max-width: 1024px) {
        .mobile-menu-toggle {
            display: flex !important;
            opacity: 1 !important;
            pointer-events: auto !important;
        }

        /* Ensure FontAwesome icons render on iOS */
        .mobile-menu-toggle .fa,
        .mobile-menu-toggle .fas,
        .mobile-menu-toggle .far,
        .mobile-menu-toggle .fab {
            font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
            font-weight: 900 !important;
            color: #333333 !important;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Ensure SVG icons render properly */
        .mobile-menu-toggle svg {
            fill: #333333 !important;
            stroke: none !important;
            width: 20px !important;
            height: 20px !important;
        }
    }
}


/* Panel position controls */
.mobile-menu-widget[data-panel-position="right"] .mobile-menu-panel {
    left: auto;
    right: 0;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-menu-widget[data-panel-position="left"] .mobile-menu-panel {
    left: 0;
    right: auto;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
}

/* Debug styles - uncomment to troubleshoot hamburger visibility issues */
/*
.mobile-menu-toggle {
    border: 2px solid red !important;
    background: rgba(255, 0, 0, 0.1) !important;
}

.mobile-menu-toggle::before {
    content: "HAMBURGER";
    position: absolute;
    top: -20px;
    left: 0;
    background: yellow;
    color: black;
    font-size: 10px;
    padding: 2px 4px;
    white-space: nowrap;
}
*/

/* Emergency fix: Force hamburger visibility on mobile devices */
@media (max-width: 1024px) {
    .mobile-menu-widget .mobile-menu-toggle {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Ensure hamburger icon is visible and properly colored */
    .mobile-menu-widget .mobile-menu-toggle i,
    .mobile-menu-widget .mobile-menu-toggle svg,
    .mobile-menu-widget .mobile-menu-toggle .fa,
    .mobile-menu-widget .mobile-menu-toggle .fas,
    .mobile-menu-widget .mobile-menu-toggle .hamburger-icon-fallback {
        color: #333333 !important;
        fill: #333333 !important;
        opacity: 1 !important;
        font-size: 20px !important;
    }

    /* FontAwesome specific fixes */
    .mobile-menu-widget .mobile-menu-toggle .fa-bars:before {
        content: "\f0c9" !important;
        color: #333333 !important;
    }

    /* Only hide hamburger when menu is actually open */
    .mobile-menu-widget.is-open .mobile-menu-toggle {
        display: none !important;
    }
}
