/* LAWHUB 10.15 — "ყველა სერვისი" menu + shared footer row for every public page.
   Fully scoped under .lhsx so it drops into any header without touching it. */
.lhsx{position:relative;display:inline-flex;align-items:center;font-family:"Noto Sans Georgian",system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.35;z-index:60}
.lhsx *,.lhsx *::before,.lhsx *::after{box-sizing:border-box}
.lhsx .lhsx-btn{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border-radius:999px;border:1px solid rgba(24,44,73,.16);background:rgba(255,255,255,.7);color:#182c49;font:600 13px/1 "Noto Sans Georgian",system-ui,sans-serif;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s,box-shadow .2s}
.lhsx .lhsx-btn:hover{background:#fff;border-color:rgba(24,44,73,.3);box-shadow:0 6px 18px -10px rgba(16,32,56,.45)}
.lhsx .lhsx-btn:focus-visible{outline:2px solid #3b6ea5;outline-offset:2px}
.lhsx .lhsx-btn[aria-expanded="true"]{background:#182c49;color:#fff;border-color:#182c49}
.lhsx .lhsx-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
.lhsx-portal{position:static;display:block;z-index:auto}
.lhsx-panel{position:fixed;z-index:100000;top:72px;right:12px;width:min(560px,calc(100vw - 24px));padding:18px;border-radius:18px;background:#fff;color:#182c49;border:1px solid rgba(24,44,73,.12);box-shadow:0 30px 80px -30px rgba(10,24,44,.55),0 2px 6px rgba(10,24,44,.06);text-align:left;animation:lhsx-in .22s cubic-bezier(.2,.8,.2,1)}
.lhsx-panel[hidden]{display:none}
@keyframes lhsx-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.lhsx-k{margin:4px 4px 10px;font:600 11px/1.2 "IBM Plex Mono","Noto Sans Georgian",monospace;letter-spacing:.08em;text-transform:uppercase;color:#6a7d93}
.lhsx-k:not(:first-child){margin-top:16px}
.lhsx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.lhsx-item{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;color:inherit;text-decoration:none;transition:background .15s}
.lhsx-item:hover,.lhsx-item:focus-visible{background:#f1f5fa;outline:none}
.lhsx-item.is-active{background:#eaf1f9}
.lhsx-item i{flex:0 0 36px;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#182c49;color:#dbe7f5}
.lhsx-grid--lock .lhsx-item i{background:#eef2f7;color:#6a7d93}
.lhsx-item svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lhsx-item span{display:grid;gap:2px;min-width:0}
.lhsx-item b{font-size:14px;font-weight:600}
.lhsx-item small{font-size:12px;color:#6a7d93;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lhsx-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 14px;border-radius:12px;background:#f4f7fb;font-size:13px;color:#4a5d74}
.lhsx-foot a{flex:none;padding:8px 14px;border-radius:999px;background:#182c49;color:#fff;font-weight:600;text-decoration:none}
@media (max-width:640px){
  .lhsx .lhsx-btn span{display:none}.lhsx .lhsx-btn{width:38px;padding:0;justify-content:center}
  .lhsx-panel{width:auto;max-height:calc(100vh - 80px);overflow:auto}
  .lhsx-grid{grid-template-columns:minmax(0,1fr)}
}
/* footer row */
.lhsx-foot-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 18px;padding:18px 16px;margin:0;font:500 13px/1.4 "Noto Sans Georgian",system-ui,sans-serif;border-top:1px solid rgba(24,44,73,.1)}
.lhsx-foot-row a{color:#41566f;text-decoration:none}
.lhsx-foot-row a:hover,.lhsx-foot-row a.is-active{color:#182c49;text-decoration:underline;text-underline-offset:3px}
.lhsx-foot-row__k{font:700 12px/1 "IBM Plex Mono",monospace;letter-spacing:.12em;color:#182c49}
/* dark headers (journal night mode etc.) */
html[data-theme="dark"] .lhsx-btn,.lhn[data-theme="dark"] .lhsx-btn{background:rgba(255,255,255,.06);color:#e7eef7;border-color:rgba(255,255,255,.16)}
@media (prefers-reduced-motion:reduce){.lhsx-panel{animation:none}}
.lhp-site-header .lhsx .lhsx-btn{background:rgba(255,255,255,.08);color:#eef3f9;border-color:rgba(255,255,255,.2)}
.lhp-site-header .lhsx .lhsx-btn:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.34)}
.lhp-site-header .lhsx .lhsx-btn[aria-expanded="true"]{background:#fff;color:#182c49;border-color:#fff}
.lhp-auth-actions .lhsx{margin-right:4px}
/* hard reset against host-header link styles (e.g. .lhp-auth-actions a) */
.lhsx .lhsx-panel .lhsx-item,.lhsx .lhsx-panel .lhsx-item>i,.lhsx .lhsx-panel .lhsx-item>span,.lhsx .lhsx-panel .lhsx-item b,.lhsx .lhsx-panel .lhsx-item small,.lhsx .lhsx-panel .lhsx-foot a{all:unset;box-sizing:border-box}
.lhsx .lhsx-panel .lhsx-item{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;color:#182c49;cursor:pointer;min-width:0;transition:background .15s}
.lhsx .lhsx-panel .lhsx-item:hover,.lhsx .lhsx-panel .lhsx-item:focus-visible{background:#f1f5fa}
.lhsx .lhsx-panel .lhsx-item:focus-visible{outline:2px solid #3b6ea5;outline-offset:-2px}
.lhsx .lhsx-panel .lhsx-item.is-active{background:#eaf1f9}
.lhsx .lhsx-panel .lhsx-item i{flex:0 0 36px;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#182c49;color:#dbe7f5}
.lhsx .lhsx-panel .lhsx-grid--lock .lhsx-item i{background:#eef2f7;color:#6a7d93}
.lhsx .lhsx-panel .lhsx-item svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lhsx .lhsx-panel .lhsx-item span{display:grid;gap:2px;min-width:0}
.lhsx .lhsx-panel .lhsx-item b{display:block;font:600 14px/1.3 "Noto Sans Georgian",system-ui,sans-serif;color:#182c49}
.lhsx .lhsx-panel .lhsx-item small{display:block;font:400 12px/1.35 "Noto Sans Georgian",system-ui,sans-serif;color:#6a7d93;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lhsx .lhsx-panel .lhsx-foot a{flex:none;padding:8px 14px;border-radius:999px;background:#182c49;color:#fff;font:600 13px/1.2 "Noto Sans Georgian",system-ui,sans-serif;cursor:pointer}
.lhsx .lhsx-panel .lhsx-k{font:600 11px/1.2 "IBM Plex Mono","Noto Sans Georgian",monospace;letter-spacing:.08em;color:#6a7d93}
@media (max-width:1380px){.lhp-auth-actions .lhsx .lhsx-btn span{display:none}.lhp-auth-actions .lhsx .lhsx-btn{width:38px;padding:0;justify-content:center}}
@media (max-width:1200px){.lhp-site-header .lhp-nav a[data-lhk="home"][href]{display:none!important}}
@media (max-width:1140px){.lhp-site-header .lhp-nav a[data-lhk="news"][href]{display:none!important}}
