/* Compact text language links, using the existing category palette and native navigation. */
.mb-innovative .topbar .brand{width:auto;min-width:0}
.mbiv-language-switcher{display:inline-flex;align-items:center;gap:2px;flex:0 0 auto}
.topbar .mbiv-language-switcher .mbiv-language-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 6px;font:12px/1.2 var(--mono,monospace);letter-spacing:.02em;color:inherit;text-decoration:none;border:1px solid transparent}
.topbar .mbiv-language-switcher .mbiv-language-link:hover{text-decoration:underline;text-underline-offset:4px}
.topbar .mbiv-language-switcher .is-current{border-bottom-color:currentColor}
.topbar .mbiv-language-switcher a:focus-visible{outline:2px solid var(--focus,var(--gold-text,#705426));outline-offset:1px}
.mbiv-ml-legacy-content{width:min(91vw,1180px);margin-inline:auto;padding-top:150px;padding-bottom:70px;line-height:1.7;overflow-wrap:anywhere}
.mbiv-ml-legacy-content h1,.mbiv-ml-legacy-content h2,.mbiv-ml-legacy-content h3{overflow-wrap:normal}
.mbiv-ml-legacy-content p{max-width:75ch}
.mbiv-ml-legacy-content a{text-decoration:underline;text-underline-offset:3px}
.mbiv-ml-legacy-content img{max-width:100%;height:auto}
.mbiv-legacy-language-row{display:flex;align-items:center;gap:8px}
.mbiv-legacy-language-row>:first-child{margin:0}
.mbiv-legacy-language-row .mbiv-language-switcher .mbiv-language-link{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:28px;padding:0 4px;color:inherit;font-family:inherit;font-size:11px;line-height:1.3;text-decoration:underline;text-underline-offset:3px}
.mbiv-legacy-language-row .mbiv-language-switcher .is-current{display:none}
.mbiv-legacy-language-row .mbiv-language-switcher a:focus-visible{outline:2px solid currentColor;outline-offset:1px}
@media(max-width:1380px){
 .mb-innovative .topbar{gap:8px}
 .mb-innovative .topbar .rightnav{display:flex;gap:5px;flex:0 0 auto;min-width:0}
 .topbar .mbiv-language-switcher .is-current{display:none}
 .mbiv-language-switcher{gap:0}
 .mb-innovative .topbar .rightnav>a:not(.availability){max-width:64px}
}
@media(max-width:380px){
 .mb-innovative .topbar .rightnav>a:not(.availability){display:none}
 .mb-innovative .topbar .brand{width:auto;min-width:0}
}
/* Native blog templates have no .mb-innovative wrapper; retain room for language and menu controls. */
body.mbiv-blog-single .topbar .brand{width:auto;min-width:0}
@media(max-width:1180px){
 body.mbiv-blog-single .topbar{gap:8px}
 body.mbiv-blog-single .topbar .rightnav{display:flex;flex-wrap:nowrap;gap:5px;flex:0 0 auto;min-width:0}
 body.mbiv-blog-single .topbar .rightnav>a:not(.availability){max-width:64px;min-height:44px}
 body.mbiv-blog-single .topbar .menu{box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;padding:0;flex:0 0 44px}
}
@media(max-width:359px){
 body.mbiv-blog-single .topbar .rightnav>a:not(.availability){display:none}
}
