@media screen and (min-width: 992px) {
    .header-menu {
        display: flex;
        gap: 10px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .header-menu__item {
    }

    .header-menu__item--submenu {
    }

    .header-menu__link {
        position: relative;
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 6px 12px;
        white-space: nowrap;
        text-decoration: none;
        /*background-color: var(--color-2, #1a5684);*/
        color: var(--text-color, #FFFFFF);
    }

    .menu-item-has-children > .header-menu__link::after {
        display: inline-block;
        margin-left: 4px;
        vertical-align: 4px;
        content: "";
        border-top: 4px solid;
        border-right: 4px solid transparent;
        border-bottom: 0;
        border-left: 4px solid transparent;
        transition: .3s;
    }

    .header-menu__link > img {
        height: 18px;
    }

    .header-menu__link > span {
        font-size: 14px;
        font-weight: 600;
    }

    .header-menu__submenu {
        display: none;
    }

    .menu-item-has-children:hover > .header-menu__link::after {
        transform: rotate(180deg);
    }

    .menu-item-has-children:hover > .header-menu__submenu {
        display: block;
    }

    .header-menu-submenu::before {
        content: "";
        width: 100%;
        display: block;
        position: absolute;
        bottom: 100%;
        height: 10px;
    }

    .header-menu-submenu {
        position: absolute;
        z-index: 1000;
        min-width: 140px;
        padding: 8px 0;
        margin: 0;
        font-size: 14px;
        color: #fff;
        text-align: left;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0, 0, 0, .15);
        border-radius: 8px;
        transform: translateY(10px);
    }

    .header-menu-submenu__item {
        background-color: inherit;
    }

    .header-menu-submenu__item:hover {
        background-color: #e9ecef
    }

    .header-menu-submenu__link {
        background: inherit;
        text-decoration: none;
        font-size: 14px;
        color: #212529;
        font-weight: 400;
        display: block;
        width: 100%;
        padding: 5px 14px;
        white-space: nowrap;
    }
}

@media screen and (max-width: 991px) {
    .ovh {
        overflow: hidden;
    }

    .header-menu {
        list-style: none;
        margin: 0 0 20px 0;
        padding: 0;
    }

    .header-menu__item {
        position: relative !important;
    }

    .header-menu__link {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        text-decoration: none;
        color: var(--text-color, #FFFFFF);
    }

    .header-menu__link > img {
        width: 18px;
        height: 18px;
    }

    .header-menu__link > span:not(.arrow) {
        flex: 1;
    }

    .menu-item-has-children > .header-menu__link > .arrow {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 30px;
        height: 30px;
    }

    .menu-item-has-children > .header-menu__link > .arrow::after {
        display: inline-block;
        margin-left: 4px;
        vertical-align: 4px;
        content: "";
        border-top: 4px solid;
        border-right: 4px solid transparent;
        border-bottom: 0;
        border-left: 4px solid transparent;
        transition: .3s;
    }

    .header-menu__item.show.menu-item-has-children > .header-menu__link > .arrow::after {
        transform: rotate(180deg);
    }

    .header-menu__submenu {
        display: none;

        z-index: 1000;
        min-width: 10rem;
        font-size: 1rem;
        color: #fff;
        text-align: left;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border-radius: 8px;

        position: relative;
        top: 0 !important;
        flex-direction: column;
        border: none;

        padding: 0.5rem 0;
        margin: 0;
    }

    .header-menu-submenu__item {
        width: 100%;
    }

    .header-menu-submenu__link {
        display: block;
        width: 100%;
        padding: 0.25rem 1rem;
        clear: both;
        font-weight: 400;
        text-align: inherit;
        text-decoration: none;
        white-space: nowrap;
        border: 0;

        font-size: .9rem;
        color: initial !important;
        background-color: transparent !important;
        border: none !important;
        margin: 0 !important;
        vertical-align: baseline !important;
    }

    .header-menu__item.show .header-menu__submenu {
        display: block;
    }
}