
/* Shared navigation refinements for the extended IdeaMoon site */
.shared-head .header-inner{gap:12px}.shared-head .brand-link{flex-basis:145px}.shared-head .brand-link img{width:145px}.shared-head .shared-nav{gap:13px;margin-inline-start:auto}.shared-head .shared-nav a{font-size:11px;font-weight:800}.shared-head .header-actions{margin-inline-start:0;gap:8px}.shared-head .nav-login{padding:9px 10px}.header-search-mini{border:1px solid #ffffff35;color:#f2f3f4;background:#ffffff10;width:36px;height:36px;border-radius:10px;font-size:27px;display:grid;place-items:center;line-height:1}.header-search-mini:hover{background:#ffffff24;color:#ffc20b}.global-search-layer{position:fixed;inset:0;background:#04111bdc;z-index:999;display:none;align-items:flex-start;justify-content:center;padding:10vh 15px 25px}.global-search-layer.open{display:flex}.global-search-dialog{background:#fff;width:min(650px,100%);padding:25px;border-radius:18px;box-shadow:0 28px 80px #0005;max-height:80vh;overflow:auto}.global-search-dialog header{display:flex;justify-content:space-between;align-items:center;gap:20px}.global-search-dialog header h2{margin:0;font-size:20px;color:#1e2c36}.global-search-dialog header button{font-size:25px;border:0;background:transparent;color:#677a86}.global-search-dialog input{margin:16px 0}.global-search-dialog a{display:flex;align-items:center;gap:12px;padding:12px 10px;border-bottom:1px solid #eef1f4;font-size:13px;color:#31414c}.global-search-dialog a:hover{background:#fffae9}.global-search-dialog p{font-size:12px;color:#7b8b96}.global-search-icon{font-size:22px}
@media(min-width:1181px){.shared-head .header-inner{max-width:1240px;width:min(calc(100% - 28px),1240px)}}
@media(max-width:1180px){.shared-head .shared-nav{display:none;position:absolute;left:16px;right:16px;top:80px;background:#172735;border:1px solid #425261;border-radius:15px;padding:15px;box-shadow:0 18px 40px #0005;max-height:72vh;overflow-y:auto}.shared-head .shared-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0}.shared-head .shared-nav a{padding:11px 13px;font-size:13px}.shared-head .burger{display:inline-flex}.shared-head .header-inner{justify-content:space-between}.shared-head .header-actions{margin-inline-start:auto}}
@media(max-width:530px){.shared-head .brand-link{flex:0 0 112px}.shared-head .brand-link img{width:112px;height:auto}.shared-head .header-inner{height:75px;gap:6px}.shared-head .nav-login{padding:7px;font-size:10px}.shared-head .header-actions{gap:5px}.header-search-mini{width:32px;height:32px;font-size:23px}.shared-head .burger{font-size:18px;padding:5px 8px}.shared-head .shared-nav{top:68px}}
