.page .entry-title {
    display: none;
}
/* Active item */
.main-header-menu .current-menu-item > a {
    background-color: #38A068 !important;
    color: #ffffff !important;
    padding: 6px 10px !important;
		border-radius: 6px !important;
}

/* Hover effect */
.main-header-menu > li > a:hover {
    background-color: #38A068 !important;
    color: #ffffff !important;
    padding: 6px 10px !important;
		border-radius: 6px !important;

}

.main-header-menu > li {
    margin-right: 10px !important;
    display: inline-block !important;
}
/* Submenu items on hover */
.main-header-menu .sub-menu li a:hover {
    background-color: #38A068 !important;
    color: #ffffff !important;
}
.main-header-menu .current-menu-ancestor > a {
    background-color: #38A068 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
}
/* Reduce top space between parent and submenu */
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu .sub-menu {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Optional: tighten spacing inside submenu items */
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu .sub-menu li a {
    padding: 8px 12px !important;
}
.ast-header-break-point .ast-mobile-popup-drawer .sub-menu {
    position: relative !important;
    top: 0 !important;
}
/* Make off-canvas drawer scrollable */
.ast-header-break-point .ast-mobile-popup-inner {
    max-height: 100vh !important;
    overflow-y: auto !important;
    padding-bottom: 100px; /* optional, adds room at the bottom */
}

/* Prevent submenu from pushing layout */
.ast-header-break-point .main-header-menu .sub-menu {
    position: relative !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 0 !important;
}
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu .sub-menu li a {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-radius: 4px !important;
    margin-bottom: 6px !important;
}
.ast-header-break-point .main-header-menu .sub-menu {
    transition: all 0.3s ease-in-out !important;
}
/* Remove extra spacing above the submenu */
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu .menu-item-has-children > .sub-menu {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Also remove padding from the parent item */
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu .menu-item-has-children > a {
    margin-bottom: 0 !important;
    padding-bottom: 10px !important;
}

/* Ensure submenu stays close and inside its parent container */
.ast-header-break-point .ast-mobile-popup-inner {
    overflow-y: auto !important;
    max-height: 100vh !important;
}

/* Optional: tidy submenu items if they look pushed */
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu .sub-menu li a {
    padding: 8px 12px !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
}
.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
/* Pull up the first item in every submenu */
.ast-header-break-point .main-header-menu .sub-menu li:first-child {
    margin-top: -170px !important;
}