.projects-section .proj-count-item {
    padding: 0 6px;
    line-height: 1.2em;
}

@media only screen and (min-width: 1024px) {
    .genesis-nav-menu .sub-menu a {
        font-size: 13px !important;
    }
}

/* Add scroll to long nav */
@media screen and (max-width: 1366px) and (max-height: 990px) {

    /* Genesis uses .genesis-nav-menu and .sub-menu */
    .genesis-nav-menu .sub-menu {
        max-height: 300px;    /* Height limit to trigger scroll */
        overflow-y: auto;     /* Vertical scroll */
        overflow-x: hidden;   /* Hide horizontal scroll */
        
        /* Ensures the dropdown doesn't vanish behind other layers */
        z-index: 9999; 
        
        /* Optional: Smooth scrolling for mobile/touch */
        -webkit-overflow-scrolling: touch;
    }

    /* Genesis sub-menus often have absolute positioning that can 
       interfere with scrolling. This ensures it behaves like a box. */
    .genesis-nav-menu .menu-item-has-children {
        position: relative;
    }
}