/* MERIVUS language navigation: native links/details, no flags or external requests. */
#masthead .mrv-language { position: relative; flex: 0 0 auto; margin: 0 6px 0 0; font: 500 12px/1.4 var(--merivus-font, sans-serif); color: var(--merivus-ink, #191b1e); }
#masthead .mrv-language-wide { display: flex; align-items: center; gap: 2px; }
#masthead .mrv-language-link { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 44px; min-height: 44px; padding: 0 9px; position: relative; color: #52585e; text-decoration: none; white-space: nowrap; }
#masthead .mrv-language-link.is-current { color: #191b1e; font-weight: 700; }
#masthead .mrv-language-link.is-current::after { content: ""; position: absolute; bottom: 7px; height: 2px; width: 22px; left: 50%; transform: translateX(-50%); background: var(--merivus-lime, #d5ff43); }
#masthead .mrv-language-link:hover { background: #f3f5f1; color: #191b1e; }
#masthead .mrv-language a:focus-visible, #masthead .mrv-language summary:focus-visible { outline: 2px solid #657c18; outline-offset: 2px; border-radius: 3px; }
#masthead .mrv-language-compact { display: none; }
#masthead .mrv-language summary { display: inline-flex; justify-content: center; align-items: center; gap: 3px; min-width: 44px; min-height: 44px; padding: 0; cursor: pointer; list-style: none; user-select: none; }
#masthead .mrv-language summary::-webkit-details-marker { display: none; }
#masthead .mrv-language summary span { font-family: sans-serif; font-size: 14px; }
#masthead .mrv-language-compact[open] summary { background: #f3f5f1; border-radius: 4px; }
#masthead .mrv-language-options { position: absolute; top: calc(100% + 5px); right: 0; width: 108px; padding: 4px; background: white; border: 1px solid #dde1de; border-radius: 5px; box-shadow: 0 6px 16px #191b1e14; z-index: 100; }
#masthead .mrv-language-options .mrv-language-link { display: flex; width: 100%; }
@media (max-width: 1399px) {
    #masthead .mrv-language-wide { display: none; }
    #masthead .mrv-language-compact { display: block; }
    #masthead .mrv-language { margin-right: 2px; }
}
@media (max-width: 600px) {
    #masthead .site-branding img { width: 106px; }
    #masthead .site-header-inner > .woostify-container { gap: 4px; }
    #masthead .mrv-language { margin: 0; }
}
@media (max-width: 359px) {
    #masthead .site-branding img { width: 94px; }
    #masthead .site-header-inner > .woostify-container { padding-left: 10px; padding-right: 10px; }
}
