/* Scoped editorial navigation. Existing page/body and footer styles are untouched. */
.ff-header .header-inner{display:flex;gap:24px;padding-top:12px;padding-bottom:12px;min-height:72px}
.ff-header .ff-main-nav{display:flex;gap:4px;font-size:14px;flex:1;justify-content:center}
.ff-header .ff-main-nav>a,.ff-header .ff-menu>summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;border-radius:9px;font-weight:750;cursor:pointer;list-style:none;white-space:nowrap}
.ff-menu>summary::-webkit-details-marker{display:none}
.ff-menu>summary::after{content:'';width:6px;height:6px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg);margin-left:3px;margin-top:-4px}
.ff-menu[open]>summary::after{transform:rotate(225deg);margin-top:3px}
.ff-header .ff-main-nav>a:hover,.ff-header .ff-main-nav>a[aria-current],.ff-header .ff-menu[open]>summary{background:#f4efe6;color:#926511}
.ff-header .ff-main-nav .infobank-nav-link{color:#986912}
.ff-live-link::before{content:'';width:7px;height:7px;border-radius:50%;background:#dd4a3c}
.ff-header .header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;margin-left:0}
.ff-header .ff-search-open{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:700}
.ff-search-open svg,.ff-search-field svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;flex-shrink:0}
.ff-header .ff-search-open:hover{background:#f4efe6}
.ff-menu{position:relative}
.ff-nav-panel{position:absolute;top:calc(100% + 13px);left:0;padding:16px;background:var(--paper,#fff);border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px #19202d1c;max-height:calc(100dvh - 100px);overflow:auto;z-index:65}
.ff-news-panel{width:340px}
.ff-category-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
.ff-header .ff-nav-panel a{display:flex;align-items:center;padding:10px 12px;min-height:44px;border-radius:7px;font-size:14px;font-weight:600;white-space:normal}
.ff-header .ff-nav-panel a:hover,.ff-header .ff-nav-panel a[aria-current]{background:#f4efe6;color:#926511}
.ff-header .ff-feed-link{border-bottom:1px solid var(--line);border-radius:0;margin-bottom:8px;justify-content:space-between}
.ff-feed-link::after{content:'→'}
.ff-more-panel{left:auto;right:0;width:560px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ff-nav-group h2{font:700 12px var(--mono,monospace);letter-spacing:.06em;text-transform:uppercase;color:#777d87;margin:6px 12px 8px}
.ff-header :is(a,button,summary):focus-visible,.ff-search-dialog :is(button,input):focus-visible{outline:2px solid #9b6d16;outline-offset:3px}
.ff-search-dialog{width:min(580px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--paper,#fff);color:var(--ink);box-shadow:0 30px 100px #11182740;overflow:auto}
.ff-search-dialog::backdrop{background:#11182780;backdrop-filter:blur(3px)}
.ff-search-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.ff-search-heading h2{font-size:24px;line-height:1.2;margin:0}
.ff-search-heading button{background:transparent;color:inherit;border:1px solid var(--line);border-radius:50%;width:44px;height:44px;font-size:26px;cursor:pointer;flex-shrink:0}
.ff-search-modes{display:flex;gap:4px;background:#eeeae3;padding:4px;border-radius:10px;margin-bottom:22px}
.ff-search-modes button{flex:1;border:0;background:transparent;padding:10px 8px;min-height:44px;border-radius:7px;font-size:14px;font-weight:700;color:inherit;cursor:pointer}
.ff-search-modes button[aria-pressed=true]{background:#fff;box-shadow:0 2px 5px #0000000d}
.ff-search-label{display:block;font-size:14px;margin-bottom:8px}
.ff-search-field{display:flex;gap:8px}
.ff-search-field input{min-width:0;flex:1;font-size:16px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:12px;color:var(--ink)}
.ff-search-field button{display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:9px;padding:12px 14px;background:var(--ink);color:white;font-size:14px;font-weight:700;cursor:pointer}
.ff-search-note{font-size:14px;color:#6b7280;margin:16px 0 0}
body.ff-search-opened{overflow:hidden}
@media(min-width:1101px){.ff-header #menuButton{display:none}}
@media(max-width:1100px){
 .ff-header .header-inner{gap:12px;padding:10px 20px;min-height:64px}
 .ff-header .logo{font-size:26px;flex:1;min-width:0}
 .ff-header .header-actions{gap:8px;order:0}
 .ff-header #menuButton{display:block;min-width:44px;min-height:44px;order:3}
 .ff-header .ff-search-open{width:44px;height:44px;justify-content:center;padding:0;order:0}
 .ff-header .ff-search-open>span{display:none}
 .ff-header .ff-main-nav{display:none;flex:none}
 .ff-header .ff-main-nav.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 80px);overflow-y:auto;overscroll-behavior:contain;background:var(--paper,#fff);padding:12px 20px 24px;gap:6px;border-bottom:1px solid var(--line);box-shadow:0 15px 28px #19202d1c}
 .ff-header .ff-menu{grid-column:1/-1;width:100%}
 .ff-header .ff-menu>summary{justify-content:space-between;padding:12px;min-height:48px}
 .ff-header .ff-main-nav>a{padding:12px;min-height:48px;border:1px solid var(--line)}
 .ff-header .ff-nav-panel{position:static;width:auto;max-height:none;box-shadow:none;border:0;border-radius:0;background:transparent;padding:6px 0 12px;overflow:visible}
 .ff-header .ff-more-panel{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 8px}
 .ff-header .ff-nav-panel a{min-height:44px}
}
@media(max-width:380px){.ff-header .header-inner{padding-left:12px;padding-right:12px;gap:6px}.ff-header .logo{font-size:23px}.ff-header .header-actions{gap:5px}.ff-search-dialog{padding:18px}.ff-search-field button>span{display:none}}
