/* Header/search gate: real controls, visible focus and bounded overlays. */
.cedra-header-inner{gap:20px}
.cedra-header-brand{order:0}
.cedra-primary-nav{order:1;margin-left:auto}
.cedra-search-toggle{order:2;flex:0 0 auto;min-width:76px;min-height:44px;border:1px solid #a6803e;border-radius:6px;background:#14110b;color:#efd69b;font:600 14px var(--font-display);cursor:pointer}
.cedra-search-toggle:hover{background:#272012}
.cedra-menu-toggle{order:3;flex:0 0 auto}
.cedra-search-toggle:focus-visible,.cedra-menu-toggle:focus-visible,.v5-search-panel :focus-visible{outline:2px solid #f1cb70;outline-offset:3px}
#site-search-status{margin:16px 0 8px;color:#d8c59e;font-size:14px}
#site-search-empty{margin:12px 0;color:#eee9df;line-height:1.6}
#site-search-empty[hidden]{display:none}
.v5-search-dialog{max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain}
.v5-search-head h2{overflow-wrap:anywhere}
.v5-search-head button{flex-shrink:0}
@media(max-width:820px){
  .cedra-header-inner{gap:12px}
  .cedra-search-toggle{margin-left:auto}
  .cedra-primary-nav{margin-left:0;max-height:calc(100dvh - 66px);overflow:auto;overscroll-behavior:contain}
  .cedra-primary-nav:not(.open){display:none}
  .cedra-primary-nav.open{display:grid}
}
@media(prefers-reduced-motion:reduce){
  .cedra-primary-nav,.cedra-menu-toggle span{transition:none}
}
