.menu-toggle { transition: background-color 300ms ease-out, color 300ms ease-out; }
.menu-dots { transition: transform 300ms ease-out; }
.menu-dots i { background: #fb0000; transition: background-color 300ms ease-out; }
.menu-toggle-label { transition: transform 300ms ease-out; }
.menu-toggle:is(:hover, :focus-visible) { background: #fb0000; color: #fff; }
.menu-toggle:is(:hover, :focus-visible) .menu-dots { transform: rotate(90deg); }
.menu-toggle:is(:hover, :focus-visible) .menu-dots i { background: #fff; }
.menu-toggle:is(:hover, :focus-visible) .menu-toggle-label { transform: translateX(-5px); }
html[dir="rtl"] .menu-toggle:is(:hover, :focus-visible) .menu-toggle-label { transform: translateX(5px); }

.menu-panel {
    width: 384px;
    max-width: 100%;
    padding: 32px 48px 40px;
}
.menu-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.menu-panel-header .language-current,
.menu-panel-header .language-switcher {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}
.menu-panel-header .language-current { display: inline-flex; align-items: center; gap: 10px; }
.menu-panel-header .language-current::after {
    content: "";
    width: 10px;
    height: 10px;
    border-inline-end: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
}
.menu-panel .language-switcher ul { z-index: 2; color: var(--ink); }
.menu-panel .menu-close {
    align-self: auto;
    gap: 6px;
    min-height: 24px;
    padding: 0;
    font-size: 16px;
    line-height: 24px;
}
.menu-panel .menu-close svg { flex-shrink: 0; }
.menu-panel .main-menu {
    display: flex;
    flex-direction: column;
    gap: 31px;
    margin: 42px 0 0;
    padding-inline-start: 28px;
}
.menu-panel .main-menu li + li { margin-top: 0; }
.menu-panel .main-menu a {
    position: relative;
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    text-transform: uppercase;
    text-decoration: none;
}
.menu-panel .main-menu a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-panel .main-menu :is(.current-menu-item, .current-menu-ancestor, .current_page_parent) > a::before {
    content: "";
    position: absolute;
    inset-inline-start: -22px;
    top: 9px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #fb0000;
}

@media (max-width: 420px) {
    .menu-panel { padding-inline: 32px; }
}
@media (max-width: 360px) {
    .menu-panel .main-menu a { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .menu-toggle, .menu-dots, .menu-dots i, .menu-toggle-label { transition: none; }
}
