/* PP Smart Category Menu v0.7.52 */

.ppscm,
.ppscm *,
.ppscm *::before,
.ppscm *::after {
    box-sizing: border-box;
}

.ppscm {
    position: relative;
    z-index: 900;
    width: 100%;
    font-size: 15px;
    line-height: 1.35;
}

.ppscm a {
    text-decoration: none;
}

/* Site-wide Categories launcher for a horizontal header navigation. */
.ppscm-header-menu-item,
.ppscm-product-launcher {
    position: relative;
}

/*
 * Header navigation locations are often centred by the theme when they have
 * only one item. The selected menu contains our marker item, so this targets
 * that menu alone and keeps Categories at the left with normal links after it.
 */
:where(ul, ol):has(> .ppscm-header-menu-item) {
    justify-content: flex-start !important;
    width: 100%;
    text-align: left !important;
}

:where(ul, ol):has(> .ppscm-header-menu-item) > .ppscm-header-menu-item {
    float: left;
    margin-left: 0 !important;
}

/* menu.js adds these classes because some themes centre an outer navigation
 * wrapper rather than the list itself. */
.ppscm-header-menu-container {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

.ppscm-header-menu-list {
    display: flex !important;
    flex: 1 1 100% !important;
    justify-content: flex-start !important;
    align-items: center;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--ppscm-header-page-offset, max(0px, calc((100vw - 1520px) / 2))) !important;
    padding-right: var(--ppscm-header-page-offset, max(0px, calc((100vw - 1520px) / 2))) !important;
    text-align: left !important;
}

.ppscm-product-launcher--header > .ppscm-product-launcher__toggle {
    background: var(--ppscm-header-button-color, #315f8b) !important;
}

.ppscm-product-launcher--header > .ppscm-product-launcher__toggle:hover,
.ppscm-product-launcher--header > .ppscm-product-launcher__toggle:focus-visible,
.ppscm-product-launcher--header > .ppscm-product-launcher__toggle[aria-expanded="true"] {
    background: var(--ppscm-header-button-color, #315f8b) !important;
    filter: brightness(.86);
}

.ppscm-mobile-links-toggle-item {
    display: none !important;
}

/* Keep Categories on the page margin while centring the remaining secondary
 * navigation links as a single group on desktop. */
@media (min-width: 1000px) {
    .ppscm-header-menu-list {
        position: relative !important;
        justify-content: center !important;
        min-height: 42px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ppscm-header-menu-list > .ppscm-header-menu-item {
        position: absolute !important;
        top: 50%;
        left: var(--ppscm-header-page-offset, max(0px, calc((100vw - 1520px) / 2))) !important;
        margin: 0 !important;
        transform: translateY(-50%);
    }
}

/*
 * Theme navigation styles commonly hide every nested UL as a submenu. Reset
 * those rules inside our flyout so Menu Builder children remain visible.
 */
.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__items {
    position: static !important;
    inset: auto !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__items > li {
    position: static !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__items a {
    display: inline !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    color: #5a6876 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__panel-heading,
.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__grid,
.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__group,
.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__group-title,
.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__heading-text,
.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__items,
.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__items > li {
    text-align: left !important;
}

.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__panel-heading > a,
.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__group-title,
.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__heading-text {
    position: static !important;
    display: block !important;
    float: none !important;
    justify-content: flex-start !important;
    left: auto !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
    transform: none !important;
}

.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__group-title {
    font-weight: 700 !important;
}

.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__heading-text--normal {
    font-weight: 400 !important;
}

.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__heading-text--semibold {
    font-weight: 600 !important;
}

.ppscm-header-menu-item .ppscm-product-launcher__panel .ppscm__heading-text--bold {
    font-weight: 700 !important;
}

/* Applied by menu.js to the former homepage shortcode column and its sibling. */
.ppscm-home-menu-column--hidden {
    display: none !important;
}

.ppscm-home-menu-content--expanded {
    grid-column: 1 / -1 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
}

/*
 * Header mode replaces the old homepage shortcode. Hide its page-builder
 * column during initial layout, before the JavaScript fallback runs, so the
 * obsolete left column cannot flash briefly on slower pages.
 */
body.home #secondary:has(.ppscm-suppressed-menu-marker),
body.home .widget-area:has(.ppscm-suppressed-menu-marker),
body.home .site-sidebar:has(.ppscm-suppressed-menu-marker),
body.home .left-sidebar:has(.ppscm-suppressed-menu-marker),
body.home .elementor-column:has(.ppscm-suppressed-menu-marker),
body.home .wp-block-column:has(.ppscm-suppressed-menu-marker),
body.home .vc_column_container:has(.ppscm-suppressed-menu-marker),
body.home .wpb_column:has(.ppscm-suppressed-menu-marker),
body.home .fusion-layout-column:has(.ppscm-suppressed-menu-marker) {
    display: none !important;
}

body.home .elementor-column:has(.ppscm-suppressed-menu-marker) ~ .elementor-column,
body.home .wp-block-column:has(.ppscm-suppressed-menu-marker) ~ .wp-block-column,
body.home .vc_column_container:has(.ppscm-suppressed-menu-marker) ~ .vc_column_container,
body.home .wpb_column:has(.ppscm-suppressed-menu-marker) ~ .wpb_column,
body.home .fusion-layout-column:has(.ppscm-suppressed-menu-marker) ~ .fusion-layout-column {
    grid-column: 1 / -1 !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
}

.ppscm-product-launcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    margin: 0;
    padding: 9px 15px;
    border: 0;
    border-radius: 4px;
    background: #315f8b;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.ppscm-product-launcher__toggle:hover,
.ppscm-product-launcher__toggle:focus-visible,
.ppscm-product-launcher__toggle[aria-expanded="true"] {
    background: #274f75;
    color: #ffffff;
}

.ppscm-product-launcher__hamburger {
    display: grid;
    gap: 3px;
}

.ppscm-product-launcher__hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
}

.ppscm-product-launcher__panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: min(1040px, calc(100vw - 24px));
    min-height: 1px;
    z-index: 99990;
}

.ppscm-product-launcher__panel--detached {
    position: fixed;
}

.ppscm-product-launcher__panel[hidden] {
    display: none !important;
}

.ppscm-product-launcher__panel .ppscm--rail {
    width: 220px;
    max-width: 220px;
    flex: 0 0 220px;
}

.ppscm-product-launcher__close {
    display: none;
}

.ppscm-product-launcher__panel .ppscm__flyout {
    width: min(800px, calc(100vw - 260px));
}

/* Homepage rail */
.ppscm--rail {
    overflow: visible;
}

.ppscm__rail {
    width: 100%;
    overflow: visible;
    border-radius: 8px;
    background: #315f8b;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .10);
}

.ppscm__rail-item,
.ppscm__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 43px;
    margin: 0;
    padding: 9px 15px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: transparent;
    color: #ffffff !important;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.ppscm__rail > :first-child {
    border-radius: 8px 8px 0 0;
}

.ppscm__rail > :last-child {
    border-bottom: 0;
    border-radius: 0 0 8px 8px;
}

.ppscm__rail-item:hover,
.ppscm__rail-item:focus-visible,
.ppscm__rail-item.is-active,
.ppscm__more:hover,
.ppscm__more:focus-visible {
    background: rgba(255,255,255,.12);
    color: #ffffff !important;
}

.ppscm__rail-label {
    min-width: 0;
}

.ppscm__rail-arrow {
    flex: 0 0 auto;
    font-size: 23px;
    line-height: 1;
    opacity: .85;
}

.ppscm__more {
    justify-content: flex-start;
}

.ppscm__more-icon {
    letter-spacing: 2px;
}

.ppscm__rail-more-items[hidden] {
    display: none !important;
}

/* Desktop flyout
 * The panel overlaps the rail edge by 1px so there is no dead hover gap.
 */
.ppscm__flyout {
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    width: min(800px, calc(80vw - 40px));
    min-height: 0;
    max-height: min(680px, calc(100vh - 80px));
    overflow-y: auto;
    padding: 22px 26px 18px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    background: #ffffff;
    box-shadow:
        0 18px 42px rgba(15,23,42,.15),
        0 4px 12px rgba(15,23,42,.07);
    z-index: 1000;
}

.ppscm__flyout[hidden] {
    display: none !important;
}

.ppscm__flyout .ppscm__category-panel {
    display: none;
}

.ppscm__flyout .ppscm__category-panel.is-active {
    display: block;
}

/* Category panel */
.ppscm__panel-heading {
    margin: 0 0 16px;
    padding: 0 0 11px;
    border-bottom: 1px solid #e7edf3;
}

.ppscm__panel-heading a {
    color: #244b72;
    font-size: 20px;
    font-weight: 700;
}

.ppscm__grid {
    display: block;
    column-count: 3;
    column-gap: 34px;
    column-fill: balance;
}

.ppscm__grid.ppscm__grid--fixed-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    column-count: auto;
}

.ppscm__column {
    min-width: 0;
}

.ppscm__column > .ppscm__group,
.ppscm__column > .ppscm__group-stack {
    display: block;
    width: 100%;
}

.ppscm__group {
    display: inline-block;
    width: 100%;
    min-width: 0;
    margin: 0 0 20px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    vertical-align: top;
}

.ppscm__group-title {
    display: inline-block;
    margin: 0 0 7px;
    color: #26384a;
    font-weight: 700;
}

.ppscm__heading-text {
    display: inline-block;
    margin: 0 0 7px;
    color: #26384a;
    font-size: 15px;
    line-height: 1.3;
}

.ppscm__heading-text--normal {
    font-weight: 400;
}

.ppscm__heading-text--semibold {
    font-weight: 600;
}

.ppscm__heading-text--bold {
    font-weight: 700;
}

.ppscm__items .ppscm__heading-text {
    margin: 7px 0 2px;
    color: #34495e;
}

.ppscm__group--heading {
    margin-bottom: 20px;
    break-after: avoid-column;
    -webkit-column-break-after: avoid;
}

.ppscm__group-stack {
    display: inline-block;
    width: 100%;
    min-width: 0;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    vertical-align: top;
}

.ppscm__group-stack > .ppscm__group {
    display: block;
}

.ppscm__group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ppscm__group li + li {
    margin-top: 5px;
}

.ppscm__group li a {
    color: #5a6876;
    font-size: 14px;
    font-weight: 400;
}

.ppscm__group .ppscm__items .ppscm__items {
    margin: 6px 0 9px;
    padding-left: 14px;
    border-left: 2px solid #e7edf3;
}

.ppscm__group .ppscm__item--has-children {
    break-inside: avoid;
}

.ppscm__group .ppscm__item--has-children > a {
    color: #34495e;
    font-weight: 600;
}

.ppscm__group .ppscm__item--heading > .ppscm__heading-text--normal {
    font-weight: 400;
}

.ppscm__group .ppscm__item--heading > .ppscm__heading-text--semibold {
    font-weight: 600;
}

.ppscm__group .ppscm__item--heading > .ppscm__heading-text--bold {
    font-weight: 700;
}

.ppscm__group a:hover,
.ppscm__group a:focus-visible,
.ppscm__view-all:hover,
.ppscm__view-all:focus-visible {
    color: #1e73be;
    text-decoration: underline;
}

.ppscm__view-all {
    display: inline-block;
    margin-top: 10px;
    color: #1e73be;
    font-weight: 700;
}

.ppscm__empty {
    color: #667585;
}

/* Compact dropdown mode */
.ppscm__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 4px;
    background: #111827;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.ppscm__hamburger {
    display: grid;
    gap: 3px;
}

.ppscm__hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
}

.ppscm__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: min(1100px, calc(100vw - 32px));
    min-height: 420px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(0,0,0,.14);
}

.ppscm__panel:not([hidden]) {
    display: grid;
    grid-template-columns: 250px 1fr;
}

.ppscm__departments {
    padding: 10px 0;
    border-right: 1px solid #e5e7eb;
    background: #f8fafc;
}

.ppscm__department {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 9px 16px;
    border: 0;
    background: transparent;
    color: #111827;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.ppscm__department:hover,
.ppscm__department:focus-visible,
.ppscm__department.is-active {
    background: #ffffff;
    font-weight: 600;
}

.ppscm__arrow {
    font-size: 22px;
    line-height: 1;
    opacity: .55;
}

.ppscm__content {
    min-width: 0;
    padding: 24px 28px 18px;
}

.ppscm__content .ppscm__category-panel[hidden] {
    display: none !important;
}


@media (min-width: 769px) and (max-width: 1180px) {
    .ppscm__grid {
        column-count: 2;
    }

    .ppscm__grid.ppscm__grid--fixed-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ppscm-header-menu-list {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .ppscm-header-menu-list.ppscm-mobile-links-ready > .ppscm-header-menu-item,
    .ppscm-header-menu-list.ppscm-mobile-links-ready > .ppscm-mobile-links-toggle-item {
        display: block !important;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        float: none !important;
    }

    .ppscm-header-menu-list.ppscm-mobile-links-ready > .ppscm-header-menu-item > .ppscm-product-launcher {
        width: auto !important;
    }

    .ppscm-header-menu-list.ppscm-mobile-links-ready > li:not(.ppscm-header-menu-item):not(.ppscm-mobile-links-toggle-item) {
        display: none !important;
        order: 3;
        flex: 0 0 50% !important;
        width: 50% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ppscm-header-menu-list.ppscm-mobile-links-ready.ppscm-mobile-links-open > li:not(.ppscm-header-menu-item):not(.ppscm-mobile-links-toggle-item) {
        display: block !important;
    }

    .ppscm-header-menu-list.ppscm-mobile-links-ready > .ppscm-header-menu-item {
        order: 1;
    }

    .ppscm-header-menu-list.ppscm-mobile-links-ready > .ppscm-mobile-links-toggle-item {
        order: 2;
    }

    .ppscm-mobile-links-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 42px;
        padding: 8px 13px;
        border: 0;
        background: transparent;
        color: #fff;
        font: inherit;
        cursor: pointer;
    }

    .ppscm-mobile-links-toggle[aria-expanded="true"] {
        background: rgba(0, 0, 0, .16);
    }

    .ppscm-mobile-links-icon {
        display: inline-grid;
        gap: 3px;
        width: 17px;
    }

    .ppscm-mobile-links-icon span {
        display: block;
        height: 2px;
        background: currentColor;
    }

    .ppscm-header-menu-list.ppscm-mobile-links-ready > li:not(.ppscm-header-menu-item):not(.ppscm-mobile-links-toggle-item) > a {
        display: block !important;
        width: 100% !important;
        padding: 7px 12px !important;
        text-align: left !important;
    }

    /*
     * Mobile header launcher.
     *
     * v0.7.52 used inset:0 and turned the Categories panel into a full-screen
     * white overlay. Keep the lazy-loaded menu, but present it as a normal
     * full-width dropdown directly below the header/navigation instead.
     */
    .ppscm-product-launcher__panel {
        position: fixed;
        top: var(--ppscm-mobile-panel-top, 0px);
        left: 0;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        max-height: calc(100dvh - var(--ppscm-mobile-panel-top, 0px));
        padding: 8px 10px 14px;
        overflow-x: hidden;
        overflow-y: auto;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .16);
    }

    /* Override the desktop 220px rail sizing completely on mobile. */
    .ppscm-product-launcher__panel > .ppscm--rail {
        width: 100%;
        max-width: none;
        flex: 1 1 auto;
    }

    /* The Categories toggle remains visible immediately above the dropdown. */
    .ppscm-product-launcher__close {
        display: none;
    }

    .ppscm--rail .ppscm__rail {
        border-radius: 6px;
    }

    .ppscm--rail .ppscm__rail-item,
    .ppscm--rail .ppscm__more {
        min-height: 46px;
        padding: 10px 14px;
    }

    .ppscm--rail .ppscm__rail-arrow {
        display: none;
    }

    .ppscm--rail .ppscm__flyout {
        position: static;
        inset: auto;
        width: 100%;
        max-height: none;
        margin-top: 14px;
        padding: 18px 16px;
        overflow: visible;
        border-radius: 6px;
    }

    .ppscm--rail .ppscm__flyout:not([hidden]) {
        display: block !important;
    }

    .ppscm--rail .ppscm__flyout .ppscm__category-panel.is-active {
        display: block !important;
    }

    .ppscm--dropdown {
        position: static;
    }

    .ppscm--dropdown .ppscm__panel {
        position: fixed;
        inset: 0;
        width: 100%;
        min-height: 100%;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        z-index: 99999;
    }

    .ppscm--dropdown .ppscm__panel:not([hidden]) {
        display: block;
    }

    .ppscm--dropdown .ppscm__departments {
        border-right: 0;
        background: #ffffff;
    }

    .ppscm--dropdown .ppscm__department {
        min-height: 50px;
        border-bottom: 1px solid #eef0f2;
        padding-inline: 18px;
    }

    .ppscm--dropdown .ppscm__content {
        display: none;
    }

    .ppscm__grid {
        column-count: 1;
    }

    .ppscm__grid.ppscm__grid--fixed-columns {
        grid-template-columns: 1fr;
    }
}


.ppscm__group-title--virtual {
    cursor: default;
}


/* Lazy-loaded header category menu status. */
.ppscm-product-launcher__loading {
    padding: 22px 24px;
    color: #5a6876;
    font-size: 14px;
}

.ppscm-product-launcher__content:empty {
    display: none;
}
