:root {
    --ams-sh-container: 1240px;
    --ams-sh-logo-d: 220px;
    --ams-sh-logo-m: 148px;
    --ams-sh-h-m: 72px;
    --ams-sh-h-d: 84px;
    --ams-sh-shadow: 0 10px 30px rgba(15, 23, 42, .10);
    --ams-sh-bg: #fff;
    --ams-sh-text: #0f172a;
    --ams-sh-soft: #475569;
    --ams-sh-line: rgba(15, 23, 42, .08);
    --ams-sh-accent: #0f172a;
    --ams-sh-accent-text: #fff;
    --ams-sh-radius: 20px
}

.ams-sh {
    position: relative;
    z-index: 9999;
    background: var(--ams-sh-bg);
    color: var(--ams-sh-text);
    border-bottom: 1px solid var(--ams-sh-line);
    box-shadow: var(--ams-sh-shadow);
    transform: translateY(0);
    transition: transform .28s ease, background .28s ease, box-shadow .28s ease, backdrop-filter .28s ease
}

.ams-sh.is-sticky-mobile {
    position: sticky;
    top: 0
}

.ams-sh.is-hidden-scroll {
    transform: translateY(-110%)
}

.ams-sh__inner {
    max-width: var(--ams-sh-container);
    min-height: var(--ams-sh-h-m);
    margin: 0 auto;
    padding: 10px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px
}

.ams-sh__brand {
    min-width: 0
}

.ams-sh__brand-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-height: 40px
}

.ams-sh__brand-text {
    font-weight: 800;
    color: var(--ams-sh-text);
    font-size: 1.05rem;
    letter-spacing: -.02em
}

.ams-sh__logo {
    display: block;
    height: auto;
    max-width: 100%;
    width: var(--ams-sh-logo-m);
    object-fit: contain
}

.ams-sh__logo--desktop {
    display: none
}

.ams-sh__toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer
}

.ams-sh__toggle span {
    width: 22px;
    height: 2px;
    background: var(--ams-sh-text);
    border-radius: 10px;
    transition: transform .25s ease, opacity .25s ease
}

.ams-sh__nav {
    grid-column: 1/-1;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 10px 0 14px
}

.ams-sh.is-open .ams-sh__nav {
    display: flex
}

.ams-sh__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px
}

.ams-sh__link {
    display: block;
    text-decoration: none;
    color: var(--ams-sh-text);
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(15, 23, 42, .02)
}

.ams-sh__link:hover {
    background: rgba(15, 23, 42, .06)
}

.ams-sh__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    background: var(--ams-sh-accent);
    color: var(--ams-sh-accent-text)
}

.ams-sh.is-open .ams-sh__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.ams-sh.is-open .ams-sh__toggle span:nth-child(2) {
    opacity: 0
}

.ams-sh.is-open .ams-sh__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.ams-sh--logo-center .ams-sh__inner {
    grid-template-columns: auto 1fr auto
}

.ams-sh--logo-center .ams-sh__brand {
    justify-self: center
}

.ams-sh--logo-right .ams-sh__brand {
    order: 2;
    justify-self: end
}

.ams-sh--logo-right .ams-sh__toggle {
    order: 1
}

.ams-sh--logo-right .ams-sh__nav {
    order: 3
}

.ams-sh--preset-glass {
    background: rgba(255, 255, 255, .68);
    backdrop-filter: saturate(160%) blur(14px)
}

.ams-sh--preset-glass.is-scrolled {
    background: rgba(255, 255, 255, .88)
}

.ams-sh--preset-minimal {
    --ams-sh-shadow: none;
    --ams-sh-line: rgba(15, 23, 42, .05)
}

.ams-sh--preset-bold {
    --ams-sh-accent: #7c3aed;
    --ams-sh-accent-text: #fff
}

.ams-sh--preset-bold .ams-sh__link {
    font-size: 1rem
}

.ams-sh--preset-academy {
    --ams-sh-accent: #111827;
    --ams-sh-accent-text: #fff
}

.ams-sh.is-transparent {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none
}

.ams-sh.is-transparent.is-scrolled {
    background: var(--ams-sh-bg);
    border-bottom: 1px solid var(--ams-sh-line);
    box-shadow: var(--ams-sh-shadow)
}


.ams-sh__custom-output {
    display: flex;
    align-items: center
}

.ams-sh__custom-output>* {
    margin: 0
}

.ams-sh__custom-output a:not(.ams-sh__link),
.ams-sh__custom-output button,
.ams-sh__custom-output input[type=submit] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    background: rgba(15, 23, 42, .02);
    color: var(--ams-sh-text)
}

.ams-sh__custom-output a:not(.ams-sh__link):hover,
.ams-sh__custom-output button:hover,
.ams-sh__custom-output input[type=submit]:hover {
    background: rgba(15, 23, 42, .06)
}

.ams-sh__link--learndash {
    display: inline-flex;
    align-items: center;
    justify-content: center
}


.ams-sh--menu-order-before_brand .ams-sh__brand {
    order: 2
}

.ams-sh--menu-order-before_brand .ams-sh__toggle {
    order: 3
}

.ams-sh--menu-order-before_brand .ams-sh__nav {
    order: 1
}

.ams-sh__ld-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px
}

.ams-sh__ld-user {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--ams-sh-soft);
    padding-left: 2px
}

[data-hidden-preview="1"] {
    display: none !important
}

@media (min-width:960px) {
    .ams-sh.is-sticky {
        position: sticky;
        top: 0
    }

    .ams-sh__inner {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: var(--ams-sh-h-d);
        padding: 14px 24px
    }

    .ams-sh__logo {
        width: var(--ams-sh-logo-d)
    }

    .ams-sh__logo--mobile {
        display: none
    }

    .ams-sh__logo--desktop {
        display: block
    }

    .ams-sh__toggle {
        display: none
    }

    .ams-sh__nav {
        grid-column: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 18px;
        padding: 0
    }

    .ams-sh__menu {
        display: flex;
        align-items: center;
        gap: 8px
    }

    .ams-sh__link {
        padding: 10px 14px;
        background: transparent
    }

    .ams-sh--menu-pos-left .ams-sh__nav {
        justify-self: start
    }

    .ams-sh--menu-pos-left .ams-sh__menu,
    .ams-sh--menu-pos-left .ams-sh__nav {
        justify-content: flex-start
    }

    .ams-sh--menu-pos-center .ams-sh__nav {
        justify-self: center
    }

    .ams-sh--menu-pos-center .ams-sh__menu,
    .ams-sh--menu-pos-center .ams-sh__nav {
        justify-content: center
    }

    .ams-sh--menu-pos-right .ams-sh__nav {
        justify-self: end
    }

    .ams-sh--menu-pos-right .ams-sh__menu,
    .ams-sh--menu-pos-right .ams-sh__nav {
        justify-content: flex-end
    }

    .ams-sh--menu-order-before_brand .ams-sh__inner {
        grid-template-columns: minmax(0, 1fr) auto
    }

    .ams-sh--menu-order-before_brand .ams-sh__brand {
        order: 2;
        justify-self: end
    }

    .ams-sh--menu-order-before_brand .ams-sh__nav {
        order: 1
    }

    .ams-sh--menu-order-before_brand.ams-sh--menu-pos-left .ams-sh__nav {
        justify-self: start
    }

    .ams-sh--menu-order-before_brand.ams-sh--menu-pos-center .ams-sh__nav {
        justify-self: center
    }

    .ams-sh--menu-order-before_brand.ams-sh--menu-pos-right .ams-sh__nav {
        justify-self: end
    }
}

@media (min-width: 960px) {

    .ams-sh__custom-output a:not(.ams-sh__link),
    .ams-sh__custom-output button,
    .ams-sh__custom-output input[type=submit] {
        min-height: 40px;
        padding: 10px 14px;
        background: transparent
    }

    .ams-sh__custom-output a:not(.ams-sh__link):hover,
    .ams-sh__custom-output button:hover,
    .ams-sh__custom-output input[type=submit]:hover {
        background: rgba(15, 23, 42, .05)
    }

    .ams-sh__link:hover {
        background: rgba(15, 23, 42, .05)
    }
}