/* Mantém a lista horizontal no desktop; disclosure nativo no celular. */
#masthead .bhering-language-picker,
#masthead .bhering-language-panel { display:contents; }
#masthead .bhering-language-picker > summary { display:none; }
#masthead .bhering-language-picker:not([open]) > .bhering-language-panel { display:contents; }
@media screen and (max-width:980px) {
 #masthead .centro { position:relative; display:grid; grid-template-columns:44px minmax(0,1fr) 88px; gap:8px; align-items:center; width:calc(100% - 24px); max-width:none; height:96px; margin:0 auto; padding:0; }
 #masthead .menusite { position:static; transform:none; display:flex; align-items:center; justify-content:center; width:44px; min-width:44px; max-width:none; height:44px; margin:0; }
 #masthead .menusite img { width:32px; height:32px; object-fit:contain; }
 #masthead .logo { position:static; transform:none; width:100%; min-width:0; margin:0; text-align:center; }
 #masthead .logo a { display:block; width:100%; max-width:200px; margin:auto; }
 #masthead .logo img { display:block; width:100%; max-width:200px; max-height:64px; height:auto; object-fit:contain; margin:auto; }
 #masthead .bhering-header-tools { position:static; transform:none; display:flex; width:88px; min-width:0; gap:0; margin:0; align-items:center; justify-content:flex-end; }
 #masthead .bhering-top-search, #masthead .bhering-top-search.aberto, #masthead .bhering-top-search:focus-within { position:static; display:flex; width:44px; height:44px; flex:0 0 44px; transition:none; }
 #masthead .bhering-search-button { width:44px; height:44px; flex:0 0 44px; margin:0; padding:10px; }
 #masthead .bhering-search-button svg { width:24px; height:24px; stroke-width:2; }
 #masthead .bhering-top-search .screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0; }
 #masthead .bhering-top-search input[type="search"] { position:absolute; z-index:4; top:calc(100% - 4px); left:0; display:none; width:100%; box-sizing:border-box; height:48px; padding:0 16px; font-size:16px; line-height:48px; border:1px solid #d6dce2; border-radius:6px; background:#fff; color:#1c1c1c; box-shadow:0 6px 18px #00000014; opacity:1; transition:none; }
 #masthead .bhering-top-search.aberto input[type="search"] { display:block; width:100%; padding:0 16px; }
 #masthead .bhering-language-picker { position:relative; display:block; width:44px; flex:0 0 44px; }
 #masthead .bhering-language-picker > summary { display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:10px; box-sizing:border-box; color:#1a73e8; list-style:none; cursor:pointer; border-radius:4px; }
 #masthead .bhering-language-picker > summary::-webkit-details-marker { display:none; }
 #masthead .bhering-language-picker > summary::marker { content:''; }
 #masthead .bhering-language-picker > summary svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.6; }
 #masthead .bhering-language-picker:not([open]) > .bhering-language-panel { display:none; }
 #masthead .bhering-language-picker[open] > .bhering-language-panel { position:absolute; z-index:5; display:block; right:0; top:calc(100% + 4px); width:160px; max-height:60vh; overflow-y:auto; padding:8px; border:1px solid #e1e6eb; border-radius:8px; background:#fff; box-shadow:0 8px 24px #0000001f; }
 #masthead .bhering-header-tools ul.idiomas { position:static; display:flex; flex-direction:column; width:100%; gap:0; margin:0; padding:0; list-style:none; }
 #masthead .bhering-header-tools ul.idiomas li { display:flex; float:none; flex:0 0 auto; width:100%; height:auto; min-height:44px; padding:0; margin:0; border:0; }
 #masthead .bhering-header-tools ul.idiomas li a { display:flex; align-items:center; justify-content:center; width:100%; box-sizing:border-box; min-height:44px; padding:0 12px; font-size:14px; line-height:1.4; color:#414b56; text-decoration:none; border-radius:4px; }
 #masthead .bhering-header-tools ul.idiomas li.current-lang a, #masthead .bhering-header-tools ul.idiomas li a:hover { background:#eef5fc; color:#1259ac; }
 #masthead summary:focus-visible, #masthead .bhering-search-button:focus-visible, #masthead .idiomas a:focus-visible { outline:2px solid #1a73e8; outline-offset:2px; }
}
