@media (max-width: 850px) {
  body .v2-header details.menu .v2-menu-panel > a {
    border-bottom: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
  }

  .v2-menu-panel .menu-language strong,
  .v2-menu-panel .menu-mode strong {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
  }

  body .v2-header details.menu .menu-mode-icons button[data-mode] {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    color: inherit;
    border: 0;
    border-radius: 50%;
    box-shadow: none;
  }

  .menu-mode-icons svg {
    box-sizing: content-box;
    width: 18px;
    height: 18px;
    padding: 5px;
    border-radius: 50%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  html[data-theme="day"] .menu-mode-icons [data-mode="day"] svg,
  html[data-theme="night"] .menu-mode-icons [data-mode="night"] svg {
    outline: 1.5px solid currentColor;
  }
}

@media (max-width: 850px) {
  body .v2-header details.menu .menu-language {
    flex: none;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--v2-menu-line, #ddd);
    padding-top: 20px;
  }

  .v2-menu-panel .menu-language strong {
    grid-column: 1 / -1;
  }

  body .v2-header details.menu .menu-language a[lang] {
    justify-content: center;
    gap: 3px;
    font-size: clamp(12px, 3.6vw, 14px);
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    min-height: 44px;
    padding: 0;
    border: 0;
  }
}

.v2-header .menu-language [aria-current="true"],
.v2-header .language-options [aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 851px) {
  .v2-header .desktop-options.language-options {
    min-width: 5.5rem;
  }

  .v2-header .language-options a[lang] {
    justify-content: flex-start;
    gap: 6px;
    min-height: 34px;
    padding: 4px 8px;
  }

  .v2-header .language-options [aria-current="true"]::after {
    content: none;
  }
}

.v2-menu-panel .menu-pictogram {
  display: block;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  fill: #24312c;
}

.menu-pictogram .mint { fill: #30765b; }

html[data-theme="night"] .v2-menu-panel .menu-pictogram { fill: #f5f1e7; }
html[data-theme="night"] .menu-pictogram .mint { fill: #a7dec4; }
