/* header styles to make layered menu work */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* end header styles to make layered menu work */

.bhag-layered-menu-container {
    --bhag-menu-max-width: 1440px;
    --bhag-menu-item-gap: 3.37rem;
    --bhag-menu-top-height: 83px;
    --bhag-menu-item-top-gap: 2.25rem;
    --bhag-menu-item-top-font-size: 1rem;
    --bhag-menu-item-top-line-height: 1.625;
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.10));
}

.bhag-menu-wrapper {
    display: flex;
    flex-direction: column;
}

.bhag-menu-row {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.bhag-menu-row-has-groups {
    align-items: flex-start;
}

.bhag-menu-row-level-0 {
    flex-wrap: wrap;
    background-color: transparent;
    position: relative;
}

.bhag-menu-row-level-0>ul {
    padding: 0 0 0 3rem;
}

.bhag-menu-row-level-0>ul>li>a {
    padding: 1.9375rem 0 1.7rem 0;
}

.bhag-menu-row-level-0>ul>li[data-item-id^="custom_link_"]>a {
    padding-top: unset;
    padding-bottom: unset;
}

.bhag-menu-row-level-0.has-active-item>ul {
    background-image: none;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% 1px;
}

.bhag-menu-row-level-0:has(.bhag-menu-item[data-level="1"]:hover) .bhag-menu-row[data-item-level="2"].bhag-menu-row-visible {
    display: none;
    opacity: 0;
}

.bhag-menu-row-level-0:has(.bhag-menu-row[data-item-level="2"].bhag-menu-row-visible) .bhag-menu-clip-path-below-first,
.bhag-menu-row-level-0:has(.bhag-menu-row[data-item-level="2"].bhag-menu-row-keyboard-visible) .bhag-menu-clip-path-below-first,
.bhag-menu-row-level-0:has(.bhag-menu-row[data-item-level="2"]:hover) .bhag-menu-clip-path-below-first,
.bhag-menu-row-level-0:has(.bhag-menu-row[data-item-level="3"]:hover) .bhag-menu-clip-path-below-first {
    display: none;
}

.bhag-menu-row[data-item-level="2"] {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    position: relative;
    /* to fix gap between top level and second level */
    margin-top: -1px;
}

.bhag-menu-row[data-item-level="2"].bhag-menu-row-visible {
    display: flex;
    opacity: 1;
}

.bhag-menu-row[data-item-level="2"]>ul {
    justify-content: center;
    position: relative;
    z-index: 0;
}

.bhag-menu-clip-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 3.875rem), calc(100% - 6.9375rem) 100%, 0% calc(100% - 3.875rem));
    pointer-events: none;
    z-index: -2;
}

.bhag-menu-clip-path-below-first {
    --overlap: 2px;
    position: absolute;
    top: calc(100% - var(--overlap));
    left: 0;
    width: 100%;
    height: calc(3.8125rem + var(--overlap));
}

.bhag-menu-row[data-item-level="2"]>ul>.bhag-menu-item>a {
    text-transform: uppercase;
    padding-top: 1.44rem;
    padding-bottom: 4.57rem;
}

.bhag-menu-row[data-item-level="3"] {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: -3.78rem;
    position: relative;
    background: linear-gradient(to bottom, white, transparent);
    z-index: 0;
}

.bhag-menu-row[data-item-level="3"]:not(.bhag-menu-row-has-groups) {
    padding: 4.57rem 0 5.19rem 8.44rem;
}

.bhag-menu-row[data-item-level="3"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--row-bg-color, #005d8b);
    clip-path: polygon(0% 0%, calc(100% - 6.9375rem) 3.875rem, 100% 0%, 100% 75%, 11% 100%, 0% 75%);
    pointer-events: none;
    z-index: -2;
}

.bhag-menu-row[data-item-level="3"]:hover {
    display: flex;
    opacity: 1;
}

.bhag-menu-row[data-item-level="3"]>* {
    z-index: 1;
}

.bhag-menu-row[data-item-level="3"]>.bhag-layered-menu-sub {
    max-width: var(--bhag-menu-max-width);
    margin-left: auto;
    margin-right: auto;
}

.bhag-menu-row[data-item-level="3"].bhag-menu-row-has-groups .bhag-menu-row-content {
    display: flex;
    padding: 6rem 0 5.19rem 8.44rem;
    z-index: -1;
}

.bhag-menu-close-button {
    position: absolute;
    top: 5.75rem;
    right: 2.36rem;
    width: 1.9375rem;
    height: 1.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--row-text-color, #ffffff);
}

.bhag-menu-close-button svg path {
    stroke: currentColor;
}

.bhag-menu-close-button svg {
    width: 100%;
    height: 100%;
    display: block;
}

.bhag-menu-row[data-item-level="3"].bhag-menu-row-closed {
    display: none !important;
    opacity: 0;
}

.bhag-menu-groups {
    display: flex;
    flex-wrap: wrap;
    font-size: 1rem;
    gap: 4.5rem;
    width: fit-content;
    align-items: flex-start;
}

.bhag-menu-group {
    flex: 1;
    min-width: fit-content;
    display: flex;
    flex-direction: column;
}

.bhag-menu-group-headline {
    margin: 0 0 2rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0;
    color: var(--row-text-color, #ffffff);
}

.bhag-menu-group ul.bhag-layered-menu,
.bhag-menu-group ul.bhag-layered-menu-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
}

.bhag-menu-group ul.bhag-layered-menu li,
.bhag-menu-group ul.bhag-layered-menu-sub li {
    margin-bottom: 0;
    width: 100%;
    display: block;
}

.bhag-menu-group .bhag-menu-item {
    display: block;
    width: 100%;
}

.bhag-menu-group .bhag-menu-link {
    display: block;
    width: 100%;
}

.bhag-layered-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.bhag-layered-menu-top {
    flex-direction: row;
    flex-wrap: wrap;
    background: white;
    max-width: var(--bhag-menu-max-width);
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
}

.bhag-layered-menu-top:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    max-width: 1920px;
    height: var(--bhag-menu-top-height);
    background: white;
    z-index: -1;
}

.bhag-layered-menu-sub {
    flex-direction: row;
    flex-wrap: wrap;
    flex: 1;
    /* fix gap between layers */
    margin-bottom: -1px;
}

.bhag-menu-item {
    display: inline-block;
    text-underline-offset: 0.5rem;
    /* position: relative; */
}

.bhag-menu-item>a {
    padding-right: calc(var(--bhag-menu-item-gap) * 0.5);
    padding-left: calc(var(--bhag-menu-item-gap) * 0.5);
}

.bhag-menu-group .bhag-menu-item>a {
    padding-right: 0;
    padding-left: 0;
}

.bhag-menu-item[data-level="2"] {
    position: relative;
}

.bhag-menu-desktop .bhag-menu-item[data-level="2"]:hover>.bhag-menu-link>.bhag-menu-link-text {
    text-decoration: underline;
}

.bhag-menu-item[data-level="2"]:first-of-type:hover:after,
.bhag-menu-item[data-level="2"]:last-of-type:hover:after {
    content: '';
    position: absolute;
    top: 0;
    width: 200%;
    height: 100%;
    z-index: -1;
}

.bhag-menu-item[data-level="2"]:first-of-type:hover:after {
    left: -100%;
}

.bhag-menu-item[data-level="2"]:last-of-type:hover:after {
    right: -100%;
}

.bhag-menu-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.bhag-menu-item.bhag-menu-item-top {
    font-size: var(--bhag-menu-item-top-font-size, 1rem);
    line-height: var(--bhag-menu-item-top-line-height, 1.625)
}

.bhag-menu-wrapper .bhag-menu-item.bhag-menu-item-top:not(:first-of-type)>a {
    padding-right: calc(var(--bhag-menu-item-top-gap) * 0.5);
    padding-left: calc(var(--bhag-menu-item-top-gap) * 0.5);
}

.bhag-menu-item-active[data-level="1"]>.bhag-menu-link>.bhag-menu-link-text,
.bhag-menu-item-active[data-level="1"]>.bhag-menu-link:hover>.bhag-menu-link-text {
    text-decoration: underline;
    text-decoration-color: #4d5664;
}

.bhag-menu-item-active[data-level="2"]>.bhag-menu-link>.bhag-menu-link-text,
.bhag-menu-item-active[data-level="3"]>.bhag-menu-link>.bhag-menu-link-text,
.bhag-menu-item-active[data-level="4"]>.bhag-menu-link>.bhag-menu-link-text,
.bhag-menu-item-active[data-level="2"]>.bhag-menu-link:hover>.bhag-menu-link-text,
.bhag-menu-item-active[data-level="3"]>.bhag-menu-link:hover>.bhag-menu-link-text,
.bhag-menu-item-active[data-level="4"]>.bhag-menu-link:hover>.bhag-menu-link-text {
    text-decoration: underline;
}

.bhag-menu-desktop .bhag-menu-item[data-underline-color]:not([data-level="3"])>.bhag-menu-link:hover>.bhag-menu-link-text {
    text-decoration: underline;
    text-decoration-color: var(--item-underline-color);
}

.bhag-menu-item[data-level="3"] .bhag-menu-link>.bhag-menu-link-text {
    color: var(--row-text-color, #ffffff);
}

.bhag-menu-item[data-level="3"] .bhag-menu-link:hover>.bhag-menu-link-text,
.bhag-menu-item-active[data-level="3"] .bhag-menu-link>.bhag-menu-link-text {
    text-decoration: underline;
    text-decoration-color: var(--row-text-color, #ffffff);
}

.bhag-menu-item-active[data-underline-color]:not([data-level="3"])>.bhag-menu-link>.bhag-menu-link-text,
.bhag-menu-item-active[data-underline-color]:not([data-level="3"])>.bhag-menu-link:hover>.bhag-menu-link-text {
    text-decoration: underline;
    text-decoration-color: var(--item-underline-color);
}

.bhag-menu-link:hover,
.bhag-menu-link:focus {
    outline: none;
}

.bhag-menu-link:focus-visible {
    outline: none;
}

.bhag-menu-link:focus-visible:not(:has(.bhag-menu-link-text)),
.bhag-menu-link:focus-visible .bhag-menu-link-text {
    outline: 2px solid currentColor;
    outline-offset: 7px;
}

.bhag-menu-link-text {
    display: inline-block;
}

.bhag-menu-burger:focus-visible,
.bhag-menu-close-button:focus-visible,
.bhag-menu-mobile-overlay-close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.bhag-menu-row-level-0.bhag-menu-keyboard-open .bhag-menu-row[data-item-level="2"] {
    display: none;
    opacity: 0;
}

.bhag-menu-row-level-0.bhag-menu-keyboard-open .bhag-menu-row[data-item-level="2"].bhag-menu-row-keyboard-visible {
    display: flex;
    opacity: 1;
}

.bhag-menu-row[data-item-level="3"].bhag-menu-row-keyboard-visible {
    display: flex !important;
    opacity: 1;
}

.bhag-menu-link svg {
    display: inline-block;
    vertical-align: middle;
}

.bhag-menu-item-site-icon {
    margin-right: 3rem;
}

.bhag-site-icon {
    display: block;
    width: 12.9375rem;
    height: auto;
    object-fit: contain;
}

.bhag-menu-layer-image {
    margin-left: 6.44rem;
}

.bhag-menu-layer-image img {
    max-width: 24.125rem;
    height: auto;
    display: block;
    clip-path: polygon(0 0, 100% 0, 100% 93%, 90% 100%, 0 95%);
}

.bhag-menu-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: auto;
    background: white;
    z-index: 1001;
    padding: 1.27rem 2.15rem 1.23rem 1.19rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    overflow-y: visible;
    --overlap: 2px;
    gap: 0;
}

.bhag-menu-mobile-header>.bhag-menu-item-site-icon {
    flex-shrink: 0;
}

.bhag-menu-mobile-custom-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
    margin-right: 2rem;
}

.bhag-menu-mobile-custom-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bhag-menu-mobile-custom-link svg {
    display: block;
    width: auto;
    height: auto;
}

.bhag-menu-mobile-toggle-wrapper {
    flex-shrink: 0;
}

.bhag-menu-mobile-header:has(~ .bhag-menu-mobile-wrapper:not(.bhag-menu-open)) {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bhag-menu-mobile-header:has(~ .bhag-menu-mobile-wrapper.bhag-menu-open) {
    border-bottom: 1px solid #D9D9D9;
}

.bhag-menu-mobile-header:has(~ .bhag-menu-mobile-wrapper:not(.bhag-menu-open))::after {
    content: '';
    position: absolute;
    top: calc(100% - var(--overlap));
    left: 0;
    width: 100%;
    height: calc(1.87rem + var(--overlap));
    background: white;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 1.125rem), calc(100% - 1.875rem) 100%, 0% calc(100% - 1.125rem));
}

.bhag-menu-mobile-header .bhag-menu-item-site-icon {
    margin: 0;
    flex-shrink: 0;
    width: 9.1875rem;
}

.bhag-menu-mobile-header .bhag-menu-item-site-icon>a {
    padding-left: 0;
}

.bhag-menu-mobile-header .bhag-menu-link {
    display: block;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.bhag-menu-mobile-header .bhag-site-icon {
    width: auto;
    height: 2.5rem;
    max-width: 100%;
    object-fit: contain;
}

.bhag-menu-burger {
    display: none;
    background: white;
    padding: 0;
    cursor: pointer;
    width: 1.875rem;
    height: 1.25rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    border: none;
}

.bhag-menu-burger-line {
    width: 100%;
    height: 2px;
    background-color: #464E5C;
    transition: all 0.3s ease;
    display: block;
}

.bhag-menu-burger[aria-expanded="true"] {
    background: white;
    justify-content: center;
}

.bhag-menu-burger[aria-expanded="true"] .bhag-menu-burger-line {
    position: absolute;
    width: 1.25rem;
    top: 50%;
    left: 50%;
    margin-left: -0.625rem;
    margin-top: -1px;
}

.bhag-menu-burger[aria-expanded="true"] .bhag-menu-burger-line:nth-child(1) {
    transform: rotate(45deg);
}

.bhag-menu-burger[aria-expanded="true"] .bhag-menu-burger-line:nth-child(2) {
    opacity: 0;
}

.bhag-menu-burger[aria-expanded="true"] .bhag-menu-burger-line:nth-child(3) {
    transform: rotate(-45deg);
}

.bhag-menu-mobile-wrapper {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background: white;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 1.125rem), calc(100% - 1.875rem) 100%, 0% calc(100% - 1.125rem));
    height: 0;
    pointer-events: none;
}

.bhag-menu-mobile-wrapper.bhag-menu-open {
    transform: translateY(0);
    z-index: 1000;
    padding-top: 0;
    top: var(--bhag-menu-top-height);
    height: auto;
    pointer-events: auto;
}

.bhag-menu-mobile {
    width: 100%;
    max-width: 100vw;
    padding: 1.06rem 2.5rem 4.75rem 5rem;
    box-sizing: border-box;
    --item-gap: 0.94rem;
}

.bhag-menu-mobile p,
.bhag-menu-mobile-overlay p {
    margin: 0;
}

.bhag-menu-mobile .bhag-layered-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow-x: visible;
}

.bhag-menu-mobile .bhag-menu-item {
    width: 100%;
    margin-bottom: 0;
}

.bhag-menu-mobile .bhag-menu-item>a {
    padding: calc(var(--item-gap) * 0.5) 0;
    font-size: 1rem;
    line-height: 1.625rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bhag-menu-mobile .bhag-menu-item>a:hover {
    text-decoration: none;
}

.bhag-menu-mobile .bhag-menu-item-active>.bhag-menu-link {
    text-decoration: underline;
    text-decoration-color: var(--item-underline-color, #4d5664);
}

.bhag-menu-mobile .bhag-menu-toggle {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    transform: rotate(180deg);
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1rem;
    min-height: 0.5rem;
}

.bhag-menu-mobile .bhag-menu-item.bhag-menu-item-open .bhag-menu-toggle {
    transform: rotate(0deg);
}

.bhag-menu-mobile-sub {
    display: none;
    list-style: none;
    padding: 0;
}

.bhag-menu-mobile .bhag-menu-item.bhag-menu-item-open>.bhag-menu-mobile-sub {
    display: flex;
    flex-direction: column;
    padding-left: 1.94rem;
}

.bhag-menu-mobile-top-level-divider {
    width: calc(100vw - 2.26rem);
    height: 1px;
    background-color: #d9d9d9;
    margin: 1.5rem 0 1.25rem -3.87rem;
    display: none;
}

.bhag-menu-mobile .bhag-menu-item.bhag-menu-item-open .bhag-menu-mobile-top-level-divider {
    display: block;
}

.bhag-menu-mobile-sub .bhag-menu-item {
    width: 100%;
}

.bhag-menu-mobile-sub .bhag-menu-item>a {
    padding: calc(var(--item-gap) * 0.5) 0;
    font-size: 1rem;
    line-height: 1.625rem;
    font-weight: 400;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.bhag-menu-mobile-overlay {
    display: none;
    position: fixed;
    top: var(--bhag-menu-top-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--bhag-menu-top-height));
    z-index: 1002;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.06rem 2.5rem 4.75rem 4.94rem;
    box-sizing: border-box;
    background-color: #4D5664;
    color: white;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 2.625rem 100%, 0% calc(100% - 1.13125rem));
}

.bhag-menu-mobile-overlay.bhag-menu-mobile-overlay-open {
    display: block;
}

.bhag-menu-mobile-overlay-close {
    position: absolute;
    top: 1.7rem;
    right: 2.65rem;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    z-index: 10;
    color: var(--row-text-color, #ffffff);
}

.bhag-menu-mobile-overlay-close svg {
    width: 100%;
    height: 100%;
    display: block;
}

.bhag-menu-mobile-overlay-close svg path {
    stroke: currentColor;
}

.bhag-layered-menu-mobile-overlay {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.10));
}

.bhag-menu-mobile-overlay>.bhag-layered-menu-mobile-overlay {
    padding-top: 2rem;
}

.bhag-layered-menu-mobile-overlay .bhag-menu-item {
    width: 100%;
    margin-bottom: 0;
}

.bhag-layered-menu-mobile-overlay .bhag-menu-item>a {
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.625rem;
    font-weight: 700;
    display: block;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--row-text-color, #ffffff);
}

.bhag-layered-menu-mobile-overlay .bhag-menu-item>a:hover {
    text-decoration: none;
}

.bhag-layered-menu-mobile-overlay .bhag-menu-item-active>.bhag-menu-link {
    text-decoration: underline;
    text-decoration-color: var(--item-underline-color, var(--row-text-color, #ffffff));
}

.bhag-menu-mobile-overlay-group {
    margin-bottom: 0;
}

.bhag-menu-mobile-overlay-group-headline {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: normal;
    margin: 0 0 1rem 0;
    padding: 0;
    color: var(--row-text-color, #ffffff);
}

.bhag-menu-mobile-overlay-group-divider {
    width: calc(100vw - 2.26rem);
    height: 1px;
    background-color: var(--row-text-color, #ffffff);
    margin: 2.12rem 0rem 1.69rem -3.87rem;
}

.bhag-menu-mobile .bhag-menu-item-site-icon {
    margin-bottom: 1rem;
}

.bhag-menu-mobile .bhag-site-icon {
    width: 8rem;
    height: auto;
}

@media (max-width: 1299.98px) {
    .bhag-menu-desktop {
        display: none;
    }

    .bhag-menu-mobile-header {
        display: flex;
    }

    .bhag-menu-burger {
        display: flex;
    }

    .bhag-menu-mobile-wrapper {
        display: block;
        visibility: visible;
    }

    .bhag-menu-mobile-wrapper:not(.bhag-menu-open) {
        height: 0;
        pointer-events: none;
    }

    .bhag-layered-menu-container {
        --bhag-menu-top-height: 80.98px;
        min-height: 4rem;
    }

    .bhag-layered-menu-container.bhag-menu-mobile-open {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100vw;
        z-index: 998;
    }

    .bhag-menu-mobile-header {
        z-index: 1001;
    }
    
    .bhag-menu-mobile .bhag-layered-menu {
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .bhag-menu-mobile .bhag-menu-item {
        width: auto;
        flex: 0 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .bhag-menu-mobile-sub {
        flex-wrap: wrap;
        flex-direction: row;
        padding-left: 0;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .bhag-menu-mobile-sub .bhag-menu-item {
        width: auto;
        flex: 0 0 auto;
    }

    body {
        overflow-x: hidden;
    }

    body.bhag-menu-mobile-open {
        overflow: hidden;
    }
}

@media (max-width: 767.98px) {
    .bhag-menu-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .bhag-menu-groups {
        flex-direction: column;
        gap: 20px;
    }

    .bhag-menu-group {
        width: 100%;
        min-width: 100%;
    }

    .bhag-layered-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .bhag-menu-item {
        width: 100%;
        margin-bottom: 5px;
    }

    .bhag-menu-item a {
        padding-right: 0;
    }

    .bhag-menu-layer-image {
        margin-left: 0;
        margin-top: 1rem;
        padding-left: 0;
        width: 100%;
    }

    .bhag-menu-layer-image img {
        max-width: 100%;
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .bhag-menu-mobile .bhag-menu-item {
        width: 100%;
    }

    .bhag-menu-mobile-sub {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .bhag-menu-mobile-sub .bhag-menu-item {
        width: 100%;
    }

    .bhag-menu-mobile-overlay {
        padding: 1.06rem 1.12rem 4.75rem 5rem;
    }
}

@media (min-width: 1300px) {
    .bhag-menu-desktop {
        display: block;
    }

    .bhag-menu-mobile-wrapper {
        display: none;
    }

    .bhag-menu-burger {
        display: none;
    }

    .bhag-menu-row-level-0.has-active-item>ul {
        background-image: none;
    }

    .bhag-menu-row-level-0.has-active-item:has(.bhag-menu-row[data-item-level="2"].bhag-menu-row-visible)>ul,
    .bhag-menu-row-level-0.has-active-item:has(.bhag-menu-row[data-item-level="2"]:hover)>ul,
    .bhag-menu-row-level-0.has-active-item:has(.bhag-menu-item[data-level="1"][data-has-children="1"]:hover)>ul {
        background-image: linear-gradient(to right, white 0%, white 7.7%, #dfded0 7.7%, #dfded0 92.3%, white 92.3%, white 100%);
    }

    .bhag-menu-item[data-level="2"][data-has-children="1"] .bhag-menu-link {
        pointer-events: none;
        cursor: default;
    }

    .bhag-menu-item[data-level="1"][data-has-children="1"] .bhag-menu-link {
        cursor: default;
    }
}

@media (min-width: 1440px) {
    .bhag-menu-row[data-item-level="2"] {
        /* to fix gap between top level and second level */
        margin-top: -2px;
    }

    .bhag-menu-row-level-0.has-active-item:has(.bhag-menu-row[data-item-level="2"].bhag-menu-row-visible)>ul,
    .bhag-menu-row-level-0.has-active-item:has(.bhag-menu-row[data-item-level="2"]:hover)>ul,
    .bhag-menu-row-level-0.has-active-item:has(.bhag-menu-item[data-level="1"][data-has-children="1"]:hover)>ul {
        background-image: linear-gradient(to right, white 0%, white 6.9375rem, #dfded0 6.9375rem, #dfded0 83.0625rem, white 83.0625rem, white 100%);
    }

    .bhag-menu-row[data-item-level="3"].bhag-menu-row-has-groups .bhag-menu-row-content {
        width: calc(1440px + 8.44rem);
        margin-left: auto;
        margin-right: auto;
    }

}

@media (min-width: 1920px) {
    .bhag-menu-row[data-item-level="2"] {
        /* to fix gap between top level and second level */
        margin-top: -3px;
    }

    .bhag-menu-clip-path-below-first {
        --overlap: 3px;
    }
}