.h_enter {
    position: relative;
    z-index: 20;
    color: #03122f;
}

.h_enter::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 14px;
}

.he_link {
    display: inline-block;
    color: var(--brand-color, #77cd8e);
    font-size: 1em;
    font-weight: 600;
    line-height: 1.2;
    border-bottom: 2px dotted currentColor;
    cursor: pointer;
    outline: none;
}

.he_link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.he_popup {
    position: absolute;
    right: -4px;
    box-sizing: border-box;
    padding: 0;
    background-color: #fff;
    box-shadow: -8px 5px 10px -2px rgb(3 18 47 / 25%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    pointer-events: none;
    transition:
        opacity 150ms ease,
        transform 150ms ease,
        visibility 150ms ease;
    /* border-radius: 3px; */
    /* overflow: hidden; */
    z-index: 1;
    white-space: nowrap;
}

.h_enter:hover .he_popup,
.h_enter:focus-within .he_popup,
.h_enter_open .he_popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(6px);
    pointer-events: auto;
}

.h_enter:hover .he_link {
    border-bottom-color: transparent;
    color: white;
}

.he_popup a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 9px 14px 8px;
    color: #03122f;
    border: 0;
    /* font-size: 1.17em; */
    line-height: 1.15;
    position: relative;
}

.he_popup a + a {
    padding-top: 8px;
}

.he_popup a:hover,
.he_popup a:focus-visible {
    color: #03122f;
    background-color: #eef5f0;
    outline: none;
}

.he_popup a.hep_active {
    /* padding-left: 10px; */
    background: #F1F0F0;
    cursor: default;
    pointer-events: none;
}

.he_popup a.hep_active span {
    border-bottom-color: transparent;
}

.he_popup a.hep_active:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background-color: #03122f;
    transform: translate(-4px, 0px);
}

.he_popup a span {
    display: block;
}

.he_popup .hep_title {
    width: fit-content;
    border-bottom: 1px solid;
}

.he_popup .hep_description {
    margin-top: 3px;
    color: inherit;
    font-size: 0.72em;
    line-height: 1.2;
    white-space: nowrap;
}

/* forced frozen open */
.h_enter_open {
    align-self: stretch;
    width: min(245px, calc(100vw - 30px));
    right: 15px;
    transform: translate(0px, -6px);
}

.h_enter_open .he_link {
    display: none;
}

.h_enter_open .he_popup {
    top: 0;
    width: 100%;
}

@media (max-width: 610px) {
    .h_enter:not(.h_enter_open) .he_popup {
        right: 50%;
        transform: translate(50%, -5px);
    }

    .h_enter:not(.h_enter_open):hover .he_popup,
    .h_enter:not(.h_enter_open):focus-within .he_popup {
        transform: translate(50%, 0);
    }
}
