nav .lang-menu summary {
    color: #fff;
    cursor: pointer;
    list-style: none;
    white-space: nowrap;
    padding: 0 12px;
}

nav .lang-menu summary::-webkit-details-marker {
    display: none;
}

nav .lang-menu summary::after {
    content: " \25BE";
}

nav .lang-menu-list {
    position: absolute;
    right: 0;
    top: 64px;
    min-width: 10rem;
    margin: 0;
    padding: 0.3rem 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
    line-height: 1.4;
    z-index: 2;
}

nav .lang-menu-list a {
    display: block;
    height: auto;
    padding: 0.55rem 1rem;
    color: #1c2833;
    line-height: 1.4;
}

nav .lang-menu-list a[aria-current="page"] {
    background: #e3f2fd;
    font-weight: 700;
}

.lang-corner {
    position: absolute;
    right: 12px;
    top: 0;
    z-index: 2;
    height: 64px;
    line-height: 64px;
}

@media only screen and (max-width: 992px) {
    nav .hide-on-large-only {
        display: inline-block;
        max-width: calc(100vw - 16rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }
}
