/*
 * 6sets shared site navigation guard.
 * Keeps account/business-center styles from influencing the theme header and
 * gives the current WordPress menu item a compact white active button without changing its typography.
 */

/* Theme-emitted WordPress current-item classes. */
header nav li.current-menu-item > a,
header nav li.current_page_item > a,
header nav li.current-menu-ancestor > a,
.site-header nav li.current-menu-item > a,
.site-header nav li.current_page_item > a,
.site-header nav li.current-menu-ancestor > a,
#masthead nav li.current-menu-item > a,
#masthead nav li.current_page_item > a,
#masthead nav li.current-menu-ancestor > a,
.elementor-location-header nav li.current-menu-item > a,
.elementor-location-header nav li.current_page_item > a,
.elementor-location-header nav li.current-menu-ancestor > a,
/* Runtime fallback for custom links / hash URLs. */
header nav a.sixsets-menu-current,
.site-header nav a.sixsets-menu-current,
#masthead nav a.sixsets-menu-current,
.elementor-location-header nav a.sixsets-menu-current,
footer nav li.current-menu-item > a,
footer nav li.current_page_item > a,
footer nav li.current-menu-ancestor > a,
footer .menu-item.current-menu-item > a,
footer .menu-item.current_page_item > a,
footer .menu-item.current-menu-ancestor > a,
.site-footer nav li.current-menu-item > a,
.site-footer nav li.current_page_item > a,
.site-footer nav li.current-menu-ancestor > a,
#colophon nav li.current-menu-item > a,
#colophon nav li.current_page_item > a,
#colophon nav li.current-menu-ancestor > a,
.elementor-location-footer nav li.current-menu-item > a,
.elementor-location-footer nav li.current_page_item > a,
.elementor-location-footer nav li.current-menu-ancestor > a,
footer a.sixsets-menu-current,
.site-footer a.sixsets-menu-current,
#colophon a.sixsets-menu-current,
.elementor-location-footer a.sixsets-menu-current {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 3px 8px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #2b2b2b !important;
    box-shadow: none !important;
    text-decoration: none !important;
    /* Active state must not make the label look larger or heavier. */
    font-style: inherit !important;
    text-transform: inherit !important;
}

header nav li.current-menu-item > a:hover,
header nav li.current_page_item > a:hover,
header nav li.current-menu-ancestor > a:hover,
.site-header nav li.current-menu-item > a:hover,
.site-header nav li.current_page_item > a:hover,
.site-header nav li.current-menu-ancestor > a:hover,
#masthead nav li.current-menu-item > a:hover,
#masthead nav li.current_page_item > a:hover,
#masthead nav li.current-menu-ancestor > a:hover,
.elementor-location-header nav li.current-menu-item > a:hover,
.elementor-location-header nav li.current_page_item > a:hover,
.elementor-location-header nav li.current-menu-ancestor > a:hover,
header nav a.sixsets-menu-current:hover,
.site-header nav a.sixsets-menu-current:hover,
#masthead nav a.sixsets-menu-current:hover,
.elementor-location-header nav a.sixsets-menu-current:hover,
footer nav li.current-menu-item > a:hover,
footer nav li.current_page_item > a:hover,
footer nav li.current-menu-ancestor > a:hover,
footer .menu-item.current-menu-item > a:hover,
footer .menu-item.current_page_item > a:hover,
footer .menu-item.current-menu-ancestor > a:hover,
.site-footer nav li.current-menu-item > a:hover,
.site-footer nav li.current_page_item > a:hover,
.site-footer nav li.current-menu-ancestor > a:hover,
#colophon nav li.current-menu-item > a:hover,
#colophon nav li.current_page_item > a:hover,
#colophon nav li.current-menu-ancestor > a:hover,
.elementor-location-footer nav li.current-menu-item > a:hover,
.elementor-location-footer nav li.current_page_item > a:hover,
.elementor-location-footer nav li.current-menu-ancestor > a:hover,
footer a.sixsets-menu-current:hover,
.site-footer a.sixsets-menu-current:hover,
#colophon a.sixsets-menu-current:hover,
.elementor-location-footer a.sixsets-menu-current:hover {
    background: #ffffff !important;
    color: #2b2b2b !important;
}

/* Keep nested labels/icons inside the selected menu item on the same dark text color. */
header nav a.sixsets-menu-current *,
.site-header nav a.sixsets-menu-current *,
#masthead nav a.sixsets-menu-current *,
.elementor-location-header nav a.sixsets-menu-current *,
footer a.sixsets-menu-current *,
.site-footer a.sixsets-menu-current *,
#colophon a.sixsets-menu-current *,
.elementor-location-footer a.sixsets-menu-current *,
header nav li.current-menu-item > a *,
header nav li.current_page_item > a *,
header nav li.current-menu-ancestor > a *,
footer nav li.current-menu-item > a *,
footer nav li.current_page_item > a *,
footer nav li.current-menu-ancestor > a * {
    color: #2b2b2b !important;
}

/* Do not let this site-menu treatment touch the language picker. */
.smp-language-switcher a.sixsets-menu-current {
    min-height: 0;
    padding: initial !important;
    border-radius: inherit !important;
    background: inherit !important;
    color: inherit !important;
}

/*
 * Keep the desktop WordPress header navigation at the compact size previously
 * seen on the account/business-center pages, but do it deliberately and
 * consistently instead of inheriting a body-level font-size override.
 */
header nav:not(.smp-language-switcher) .menu-item > a,
.site-header nav:not(.smp-language-switcher) .menu-item > a,
#masthead nav:not(.smp-language-switcher) .menu-item > a,
.elementor-location-header nav:not(.smp-language-switcher) .menu-item > a {
    font-size: 13px !important;
    line-height: 1.3;
}

/* The active white button uses exactly the same compact type size. */
header nav li.current-menu-item > a,
header nav li.current_page_item > a,
header nav li.current-menu-ancestor > a,
.site-header nav li.current-menu-item > a,
.site-header nav li.current_page_item > a,
.site-header nav li.current-menu-ancestor > a,
#masthead nav li.current-menu-item > a,
#masthead nav li.current_page_item > a,
#masthead nav li.current-menu-ancestor > a,
.elementor-location-header nav li.current-menu-item > a,
.elementor-location-header nav li.current_page_item > a,
.elementor-location-header nav li.current-menu-ancestor > a,
header nav a.sixsets-menu-current,
.site-header nav a.sixsets-menu-current,
#masthead nav a.sixsets-menu-current,
.elementor-location-header nav a.sixsets-menu-current {
    font-size: 13px !important;
}

/* Language choices are not part of the primary navigation sizing rule. */
.smp-language-switcher a.sixsets-menu-current {
    font-size: inherit !important;
}


/*
 * Footer current items must keep exactly the same type metrics as their
 * neighbouring non-current links. JS copies the computed normal metrics to the
 * active link after the theme/page builder has finished styling the menu.
 * These declarations are only a non-JS safety net and deliberately do not set
 * a new footer font size.
 */
footer nav li.current-menu-item > a,
footer nav li.current_page_item > a,
footer nav li.current-menu-ancestor > a,
footer .menu-item.current-menu-item > a,
footer .menu-item.current_page_item > a,
footer .menu-item.current-menu-ancestor > a,
.site-footer nav li.current-menu-item > a,
.site-footer nav li.current_page_item > a,
.site-footer nav li.current-menu-ancestor > a,
#colophon nav li.current-menu-item > a,
#colophon nav li.current_page_item > a,
#colophon nav li.current-menu-ancestor > a,
.elementor-location-footer nav li.current-menu-item > a,
.elementor-location-footer nav li.current_page_item > a,
.elementor-location-footer nav li.current-menu-ancestor > a,
footer a.sixsets-menu-current,
.site-footer a.sixsets-menu-current,
#colophon a.sixsets-menu-current,
.elementor-location-footer a.sixsets-menu-current {
    font-style: inherit !important;
    text-transform: inherit !important;
}

/* Current header item: highlight only, never enlarge its label. */
header nav li.current-menu-item > a *,
header nav li.current_page_item > a *,
header nav li.current-menu-ancestor > a *,
.site-header nav li.current-menu-item > a *,
.site-header nav li.current_page_item > a *,
.site-header nav li.current-menu-ancestor > a *,
#masthead nav li.current-menu-item > a *,
#masthead nav li.current_page_item > a *,
#masthead nav li.current-menu-ancestor > a *,
.elementor-location-header nav li.current-menu-item > a *,
.elementor-location-header nav li.current_page_item > a *,
.elementor-location-header nav li.current-menu-ancestor > a *,
header nav a.sixsets-menu-current *,
.site-header nav a.sixsets-menu-current *,
#masthead nav a.sixsets-menu-current *,
.elementor-location-header nav a.sixsets-menu-current * {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}
