:root {
    --nav-green: #1f5b48;
    --nav-dark: #10221b;
    --nav-text: #4f5f57;
    --nav-line: #e3eae6
}

* {
    box-sizing: border-box
}

.top-panel {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 9999;
    height: 82px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 34px;
    padding: 0 clamp(26px, 4.5vw, 72px);
    background: #000000;
    box-shadow: 0 8px 28px rgba(19, 48, 37, .055);
    backdrop-filter: blur(14px);
}

.top-panel-spacer {
    height: 82px;
    flex: 0 0 82px
}

.top-panel .brand {
    min-width: max-content;
    display: grid !important;
    grid-template-columns: 50px auto;
    align-items: center !important;
    column-gap: 13px;
    text-decoration: none !important;
    color: var(--nav-dark) !important;
    line-height: 1 !important;
}

.top-panel .logo {
    width: 50px !important;
    height: 50px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    border-radius: 50% !important;
    background: #f4f7f5 !important;
    flex: none !important
}

.top-panel .logo img {
    width: 50px !important;
    height: 50px !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important
}

.top-panel .title {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
    white-space: nowrap !important;
    color: #e8eeeb !important
}

.top-panel .right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 16px !important;
    margin-left: auto !important
}

.top-panel .right a {
    position: relative;
    padding: 11px 8px;
    border-radius: 9px;
    color: #959997;
    text-decoration: none;
    font-size: 14px;
    font-weight: 760;
    white-space: nowrap;
    transition: .18s ease
}

.top-panel .right a:not(.nav-cta):hover,
.top-panel .right a:not(.nav-cta).active {
    color: var(--nav-green);
    background: #f1f7f4
}

.top-panel .right a:not(.nav-cta).active::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--nav-green)
}

.top-panel .right .nav-cta {
    margin-left: 8px !important;
    padding: 11px 18px !important;
    background: var(--nav-green) !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(31, 91, 72, .16)
}

.top-panel .right .nav-cta:hover {
    background: #ffffff !important;
    color: #2b2a2a !important;
    transform: translateY(-1px)
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--nav-line);
    border-radius: 10px;
    background: #fff;
    color: var(--nav-dark);
    cursor: pointer;
    font-size: 21px;
    line-height: 1
}

@media(max-width:900px) {
    .top-panel {
        padding: 0 24px;
        gap: 20px
    }

    .top-panel .right {
        gap: 8px !important
    }

    .top-panel .right a {
        padding-inline: 7px;
        font-size: 13px
    }

    .top-panel .right .nav-cta {
        margin-left: 2px !important
    }
}

@media(max-width:760px) {
    .top-panel {
        height: 70px;
        padding: 0 16px
    }

    .top-panel-spacer {
        height: 70px;
        flex-basis: 70px
    }

    .top-panel .brand {
        grid-template-columns: 42px auto;
        column-gap: 10px
    }

    .top-panel .logo,
    .top-panel .logo img {
        width: 42px !important;
        height: 42px !important
    }

    .top-panel .title {
        font-size: 16px !important
    }

    .nav-toggle {
        display: grid;
        place-items: center
    }

    .top-panel .right {
        position: absolute;
        top: 62px;
        right: 14px;
        width: min(300px, calc(100vw - 28px));
        padding: 11px;
        display: none !important;
        align-items: stretch !important;
        flex-direction: column;
        gap: 4px !important;
        border: 1px solid var(--nav-line);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 45px rgba(16, 34, 27, .16)
    }

    .top-panel .right.open {
        display: flex !important
    }

    .top-panel .right a {
        width: 100%;
        padding: 11px 12px;
        font-size: 14px
    }

    .top-panel .right a.active::after {
        display: none
    }

    .top-panel .right .nav-cta {
        margin: 4px 0 0 !important;
        text-align: center
    }
}


/* v20 public content scroll isolation */
html {
    height: 100%;
    max-width: 100%;
    overflow: hidden
}

body.bhs-public-shell {
    height: 100vh !important;
    max-width: 100vw !important;
    margin: 0 !important;
    overflow: hidden !important;
}

body.bhs-public-shell .top-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
}

body.bhs-public-shell .top-panel-spacer {
    display: none !important
}

.bhs-public-content {
    position: fixed !important;
    top: 82px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

.bhs-public-content main {
    max-width: 100%
}

@media(max-width:760px) {
    .bhs-public-content {
        top: 70px !important
    }
}