/* J6 only. Helix's supported custom stylesheet; no generated preset is edited. */
@import url('../../../media/com_obss/css/j6-theme.css?v=20260920-preopen1');


/* Content-sized Helix dropdowns; do not inherit the desktop navigation nowrap. */
body.site .sp-megamenu-parent .sp-dropdown {
    width: max-content !important;
    min-width: 200px;
    max-width: min(32rem, calc(100vw - 32px));
    white-space: normal;
}
body.site .sp-megamenu-parent .sp-dropdown li.sp-menu-item > :is(a, .sp-menu-heading) {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
}
/* Keep the rightmost menu and its flyouts inside the viewport. */
body.site .sp-megamenu-parent > li:nth-last-child(-n+2) > .sp-dropdown-main {
    left: auto;
    right: 0;
}
body.site .sp-megamenu-parent > li:nth-last-child(-n+2) .sp-dropdown-sub {
    left: auto;
    right: 100%;
}
