/* Phone menu panel (2026-11-04). Scoped to .tg-mobile-panel: the desktop menu is not affected.
   The Main Menu module layout brings its own collapse button and container; in this panel the items show directly.
   Writing / Speaking are separator items: the label is inside the toggle button, so the button is a full row with the arrow on the right. */
.tg-mobile-panel .navbar {
    display: block !important;
    padding: 0 !important;
}
.tg-mobile-panel .navbar-toggler {
    display: none !important;
}
.tg-mobile-panel .navbar-collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
}
.tg-mobile-panel .metismenu-item > button.mm-toggler-nolink {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: auto !important;
    min-height: 46px !important;
    padding: 11px 16px 11px 14px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: var(--tg-text) !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
}
/* template.css draws a triangle here with thick borders; keep one clean chevron */
.tg-mobile-panel .metismenu-item > button.mm-toggler-nolink::after {
    content: "" !important;
    flex: 0 0 auto !important;
    width: 9px !important;
    height: 9px !important;
    margin: 0 2px 0 12px !important;
    border-style: solid !important;
    border-color: currentColor !important;
    border-width: 0 2px 2px 0 !important;
    transform: translateY(-2px) rotate(45deg) !important;
    transition: transform 0.2s ease !important;
}
.tg-mobile-panel li.mobile-submenu-open > button.mm-toggler-nolink::after {
    transform: translateY(2px) rotate(-135deg) !important;
}
.tg-mobile-panel .metismenu-item > button.mm-toggler-nolink:hover,
.tg-mobile-panel .metismenu-item > button.mm-toggler-nolink:focus-visible,
.tg-mobile-panel li.mobile-submenu-open > button.mm-toggler-nolink {
    background: var(--tg-green-soft) !important;
    color: var(--tg-primary) !important;
    text-decoration: none !important;
}
