/* Final layout overrides for retained legacy !important rules. */
body.site-pro#fom-site-ui :is(.section-header,.page-header,.content-header) { width:100% !important; max-width:none !important; text-align:left !important; }
body.site-pro#fom-site-ui :is(.section-header,.page-header,.content-header)::before { display:none !important; }
body.site-pro#fom-site-ui :is(.section-header,.page-header,.content-header) h1 { font-size:clamp(29px,3.4vw,42px) !important; line-height:1.25 !important; }
body.site-pro#fom-site-ui .fom-home-hero-card { text-align:left !important; }
body.site-pro#fom-site-ui .fom-home-hero-card .hero-actions { justify-content:flex-start !important; }
body.site-pro#fom-site-ui .fom-home-intro { margin-top:26px !important; }
body.site-pro#fom-site-ui .fom-home-section-head { max-width:none !important; width:100% !important; margin:0 0 18px !important; padding:24px 28px !important; background:#142137 !important; border:1px solid #3d4d65 !important; text-align:left !important; backdrop-filter:none !important; box-shadow:none !important; }
body.site-pro#fom-site-ui .fom-home-section-head::before { display:none !important; }
body.site-pro#fom-site-ui .fom-home-section-head h2 { max-width:none !important; margin:8px 0 10px !important; font-size:clamp(21px,2.2vw,28px) !important; line-height:1.3 !important; }
body.site-pro#fom-site-ui .fom-home-section-head p { max-width:800px !important; margin:0 !important; font-size:14px !important; line-height:1.8 !important; }
@media(max-width:640px) { body.site-pro#fom-site-ui .fom-home-section-head { padding:23px !important; } }

body.site-pro#fom-site-ui .wiki-sidebar .wiki-navigation { max-height:none !important; overflow:visible !important; }
body.site-pro#fom-site-ui :is(.wiki-navigation-group,.wiki-mobile-navigation-content) h2 { font-size:11px !important; line-height:1.6 !important; letter-spacing:.08em !important; overflow-wrap:anywhere; }
body.site-pro#fom-site-ui .wiki-category-card h2 { font-size:20px !important; line-height:1.35 !important; }
body.site-pro#fom-site-ui .fom-clean-hero { background:#142137 !important; border:1px solid #42536d !important; border-radius:20px !important; box-shadow:none !important; backdrop-filter:none !important; }
body.site-pro#fom-site-ui .fom-command-card { background:#142137 !important; border:1px solid #34465f !important; }
body.site-pro#fom-site-ui .market-filters { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:16px; background:#142137 !important; }
body.site-pro#fom-site-ui .market-search-row { display:block !important; width:100% !important; margin:0 !important; }
body.site-pro#fom-site-ui .market-search-input { width:100% !important; }
body.site-pro#fom-site-ui .market-filter-row { display:flex !important; align-items:flex-end; flex-wrap:wrap; gap:14px; }
body.site-pro#fom-site-ui .market-filter-row .filter-group { flex:1 1 240px; max-width:420px; }
body.site-pro#fom-site-ui .market-filters .filter-actions { display:flex !important; flex-direction:row !important; flex-wrap:wrap; gap:10px; }
body.site-pro#fom-site-ui .filter-actions .btn { width:auto !important; flex:0 1 auto; }
