.custom-dropdown-menu {
    position: relative;
}
.custom-dropdown-menu #announcement {
    opacity: 0;
    pointer-events: none;
}
.custom-dropdown-menu button {
    align-items: center;
    background: #fff;
    border: 1px solid #8F8F8F;
    border-radius: 4px;
    display: flex;
    font-family: 'font-heavy';
    font-size: 20px;
    gap: 16px;
    height: 36px;
    justify-content: center;
    padding-inline: 8px;
    position: relative;
    z-index: 3;
}
.custom-dropdown-menu button::after {
    content: "▼";
    display: inline-block;
    transform: scaleY(0.55);
}
.custom-dropdown-menu button:focus-visible {
    box-shadow: 0 0 5px 2px rgba(251, 146, 60, 0.7) inset;
    outline: 0;
}
.custom-dropdown-menu ul {
    background: #fff;
    box-shadow: 0 4px 27px 0 rgba(0, 0, 0, 0.09);
    border: 1px solid #fff;
    border-radius: 0 0 4px 4px;
    color: #3f403b;
    display: block;
    font-size: 1rem;
    list-style-type: none;
    max-height: 10rem;
    opacity: 0;
    overflow: hidden;
    overflow-y: auto;
    margin: 0.1rem 0 auto;
    padding: 6px 0 0;
    pointer-events: none;
    text-align: left;
    transform: scale(1, 0);
    transform-origin: top left;
    transition: all 0.3s ease-in;
    min-width: var(--custom-dropdown-menu_ul_min-width, 50px);
    max-width: var(--custom-dropdown-menu_ul_max-width, 100%);
    width: var(--custom-dropdown-menu_ul_width, 100%);
    position: absolute;
    right: 0;
    top: calc(100% - 4px);
    z-index: 2;
}
.custom-dropdown-menu.left ul {
    right: inherit;
    left: 0
}
.custom-dropdown-menu ul.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1, 1);
}
.custom-dropdown-menu ul li {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-family: 'font-medium';
    font-size: 20px;
    height: 36px;
    justify-content: start;
    position: relative;
    transition: all 0.3s ease-in;
}

.custom-dropdown-menu ul li:hover,
.custom-dropdown-menu ul li.current {
    background: #e6e6e6;
    background: #F2F6FD;
}
.custom-dropdown-menu ul li.active {
    box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.7);
}
.custom-dropdown-menu button[aria-expanded='true']:after {
    content:'▲';
}
.custom-dropdown-menu ul li a,
.custom-dropdown-menu ul li a.anchor,
.custom-dropdown-menu ul li .anchor {
    color: #000!important;
    display: block;
    font-family: 'font-medium'!important;
    font-size: 20px!important;
    padding-inline: 8px !important;
    padding-block: 7px !important;
    text-decoration: none!important;
    width: 100%;
}
.custom-dropdown-menu.dark button {
    background: var(--custom-dropdown-menu_dark_background, #000);
    color: var(--custom-dropdown-menu_dark_color, #fff);
}
.custom-dropdown-menu.dark ul {
    background: #8F8F8F;
    border-color: #8F8F8F;
}
.custom-dropdown-menu.dark ul li:hover,
.custom-dropdown-menu.dark ul li.current {
    background: #686868;
}
.custom-dropdown-menu.dark ul li a,
.custom-dropdown-menu.dark ul li .anchor{
    color: #fff!important;
}
