/* Общий каркас: шапка и подвал для ВСЕХ страниц (независим от live.css и старого style.css) */
.sh-header,.sh-footer{--sh-ink:#1f1b16;--sh-bg:#faf7f2;--sh-muted:#6b6257;--sh-line:#e6dfd3;--sh-accent:#c4501f;--sh-accent-dark:#9f3d14;--sh-soft:#f1ebe0;
  --sh-serif:'Iowan Old Style','Palatino Linotype',Georgia,'Times New Roman',serif;
  --sh-sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  font-family:var(--sh-sans);font-size:16px;line-height:1.5;color:var(--sh-ink)}
.sh-header *,.sh-footer *{box-sizing:border-box}
.sh-wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.sh-header{position:sticky;top:0;z-index:60;background:rgba(250,247,242,.96);backdrop-filter:blur(6px);border-bottom:1px solid var(--sh-line)}
.sh-header .sh-wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px}
.sh-brand{font-family:var(--sh-serif);font-size:1.4rem;font-weight:700;color:var(--sh-ink)!important;text-decoration:none!important;white-space:nowrap}
.sh-brand span{color:var(--sh-accent)}
.sh-nav{display:flex;gap:20px;align-items:center}
.sh-nav a{color:var(--sh-ink);text-decoration:none;font-size:.95rem;font-weight:400}
.sh-nav a:hover{color:var(--sh-accent)}
.sh-nav a.sh-active{color:var(--sh-accent);font-weight:600}
.sh-nav a.sh-lang{border:1px solid var(--sh-line);border-radius:6px;padding:3px 9px;font-size:.85rem;font-weight:600;color:var(--sh-muted)}
.sh-nav a.sh-lang:hover{color:var(--sh-accent);border-color:var(--sh-accent)}
.sh-nav a.sh-btn{background:var(--sh-accent);color:#fff!important;padding:9px 16px;border-radius:8px;font-weight:600;font-size:.9rem;white-space:nowrap}
.sh-nav a.sh-btn:hover{background:var(--sh-accent-dark)}
.sh-burger{display:none;background:none;border:1px solid var(--sh-line);border-radius:8px;width:42px;height:42px;font-size:1.3rem;color:var(--sh-ink);cursor:pointer}
@media(max-width:900px){
  .sh-burger{display:block}
  .sh-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--sh-bg);border-bottom:1px solid var(--sh-line);flex-direction:column;align-items:stretch;gap:0;padding:8px 20px 16px}
  .sh-nav.sh-open{display:flex}
  .sh-nav a{padding:12px 0;border-bottom:1px solid var(--sh-line);font-size:1rem}
  .sh-nav a.sh-lang{border:0;border-bottom:1px solid var(--sh-line);border-radius:0;padding:12px 0;font-size:1rem}
  .sh-nav a.sh-btn{margin-top:12px;text-align:center;border:0;padding:12px}
}
/* подвал */
.sh-footer{background:var(--sh-soft);border-top:1px solid var(--sh-line);padding:44px 0 28px;margin-top:40px;color:var(--sh-muted);font-size:.93rem}
.sh-footer a{color:var(--sh-muted);text-decoration:none}
.sh-footer a:hover{color:var(--sh-accent)}
.sh-cols{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:28px}
.sh-footer h5{margin:0 0 10px;font:600 .8rem var(--sh-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--sh-ink)}
.sh-footer ul{list-style:none;margin:0;padding:0}
.sh-footer li{margin-bottom:7px}
.sh-footer .sh-about{color:var(--sh-muted);max-width:26em;margin:8px 0 0}
.sh-bottom{margin-top:30px;padding-top:18px;border-top:1px solid var(--sh-line);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.85rem}
@media(max-width:800px){.sh-cols{grid-template-columns:1fr 1fr}.sh-cols>div:first-child{grid-column:1/-1}}
/* старые страницы: убираем отступ под прежнюю фиксированную шапку */
body.has-shell{padding-top:0!important}
