/* TB Mega Menu: allow deeper dropdowns to open on mobile */
@media (max-width: 991px) {

  /* Show the submenu (it is rendered as .dropdown-menu) when the TBM item is open */
  .c-layout-header .c-navbar .c-mega-menu .tbm-item.c-open > .dropdown-menu,
  .c-layout-header .c-navbar .c-mega-menu .tbm-item.tbm-open > .dropdown-menu {
    display: block !important;
  }

  /* Also cover TBM submenu class */
  .c-layout-header .c-navbar .c-mega-menu .tbm-item.c-open > .tbm-submenu,
  .c-layout-header .c-navbar .c-mega-menu .tbm-item.tbm-open > .tbm-submenu {
    display: block !important;
  }

  /* Ensure stacked (not flyout) behavior on mobile */
  .c-layout-header .c-navbar .c-mega-menu .dropdown-menu,
  .c-layout-header .c-navbar .c-mega-menu .tbm-submenu {
    position: static !important;
    float: none !important;
    width: 100% !important;
  }
  
  .tbm-subnav li ul li {
	  padding: 5px 10px!important;
  }
}