/* Syncrony Adams Menu V2 - frontend mega menu */
.samv2-wrap,
.samv2-wrap * {
    box-sizing: border-box;
}

.samv2-wrap {
    --samv2-blue: #00547f;
    --samv2-bar: #eceae8;
    --samv2-white: #fff;
    --samv2-border: #d9d9d9;
    position: relative;
    z-index: 9990;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    font-family: inherit;
}

.samv2-toggle {
    display: none;
}

.samv2-nav {
    width: 100%;
    background: var(--samv2-bar);
    overflow: visible;
}

.samv2-root {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 1640px;
    margin: 0 auto !important;
    padding: 0 24px !important;
    list-style: none !important;
    position: static;
}

.samv2-root > .samv2-item {
    position: static;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.samv2-root > .samv2-item > .samv2-linkrow {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 10px;
    white-space: nowrap;
}

.samv2-linkrow > .samv2-link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    color: var(--samv2-blue) !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: opacity .18s ease;
}

.samv2-linkrow > .samv2-link:hover,
.samv2-linkrow > .samv2-link:focus {
    opacity: .75;
}

.samv2-expand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 32px;
    margin: 0 0 0 5px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--samv2-blue);
    cursor: pointer;
}

.samv2-expand > span {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transform-origin: center;
    transition: transform .18s ease;
}

.samv2-mega-panel {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: var(--samv2-white);
    box-shadow: 0 10px 18px rgba(0,0,0,.09);
    border-top: 1px solid rgba(0,0,0,.04);
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
    z-index: 9999;
}

.samv2-mega-parent:hover > .samv2-mega-panel,
.samv2-mega-parent:focus-within > .samv2-mega-panel,
.samv2-mega-parent.samv2-open > .samv2-mega-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.samv2-mega-parent.samv2-open > .samv2-linkrow .samv2-expand > span,
.samv2-mega-parent:hover > .samv2-linkrow .samv2-expand > span {
    transform: rotate(225deg) translate(-1px, -1px);
}

.samv2-mega-inner {
    width: min(100%, 1800px);
    margin: 0 auto;
    padding: 42px 58px 52px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.samv2-column {
    min-width: 0;
    padding: 0 12px;
}

.samv2-heading {
    display: block;
    color: var(--samv2-blue) !important;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1.25;
    padding: 0 0 7px;
    border-bottom: 3px solid var(--samv2-blue);
}

.samv2-column-links,
.samv2-column-links ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.samv2-column-links > li {
    margin: 0 !important;
    padding: 0 !important;
}

.samv2-column-links a {
    display: block;
    padding: 12px 16px 7px;
    color: var(--samv2-blue) !important;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none !important;
}

.samv2-column-links a:hover,
.samv2-column-links a:focus {
        color: #A3C7E9 !important;
}

.samv2-column-links ul {
    padding-left: 15px !important;
}

.samv2-root > .samb-mobile-only {
    display: none !important;
}

/* Elementor/editor safety: keep the dropdown from becoming a tall static block. */
.elementor-editor-active .samv2-wrap,
.samv2-admin-preview {
    min-height: 50px;
}

@media (max-width: 1200px) and (min-width: 981px) {
    .samv2-root {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .samv2-root > .samv2-item > .samv2-linkrow {
        padding-left: 8px;
        padding-right: 8px;
    }
    .samv2-linkrow > .samv2-link {
        font-size: 15px;
    }
}

@media (max-width: 980px) {
    .samv2-wrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
        background: var(--samv2-bar);
    }

    .samv2-toggle {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        margin: 10px 14px;
        padding: 9px 13px;
        border: 1px solid var(--samv2-blue);
        background: #fff;
        color: var(--samv2-blue);
        cursor: pointer;
        font: inherit;
    }

    .samv2-toggle span {
        display: none;
    }

    .samv2-toggle b {
        font-size: 14px;
        text-transform: uppercase;
    }

    .samv2-nav {
        display: none;
        background: #fff;
        border-top: 1px solid var(--samv2-border);
    }

    .samv2-wrap.samv2-mobile-open .samv2-nav {
        display: block;
    }

    .samv2-root {
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .samv2-root > .samv2-item,
    .samv2-root > .samb-mobile-only {
        display: block !important;
        border-bottom: 1px solid #e5e5e5;
    }

    .samv2-root > .samv2-item > .samv2-linkrow {
        height: auto;
        min-height: 50px;
        padding: 0 12px 0 18px;
    }

    .samv2-linkrow > .samv2-link {
        flex: 1 1 auto;
        min-width: 0;
        padding: 14px 0;
        font-size: 16px;
    }

    .samv2-expand {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin-left: 8px;
    }

    .samv2-mega-panel {
        display: none;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        border-top: 1px solid #ececec;
        transition: none;
    }

    .samv2-mega-parent:hover > .samv2-mega-panel,
    .samv2-mega-parent:focus-within > .samv2-mega-panel {
        display: none;
    }

    .samv2-mega-parent.samv2-open > .samv2-mega-panel {
        display: block;
    }

    .samv2-mega-inner {
        display: block;
        width: 100%;
        padding: 5px 18px 14px;
    }

    .samv2-column {
        padding: 0;
        border-bottom: 1px solid #ededed;
    }

    .samv2-column:last-child {
        border-bottom: 0;
    }

    .samv2-heading {
        text-align: left;
        font-size: 15px;
        border-bottom: 0;
        padding: 13px 0 5px;
    }

    .samv2-column-links a {
        padding: 8px 12px;
        font-size: 15px;
    }
}
