/* шрифти локально (Golos Text, Lora) — без запитів до Google Fonts */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/GolosText-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/GolosText-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/GolosText-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/GolosText-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/GolosText-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/GolosText-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/GolosText-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/GolosText-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/GolosText-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/GolosText-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/GolosText-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/GolosText-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/Lora-500i-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/Lora-500i-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/Lora-500i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/Lora-500i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/Lora-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/Lora-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/Lora-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/Lora-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/Lora-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/Lora-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/Lora-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/Lora-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/Lora-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/Lora-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/Lora-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/Lora-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Info Clinic — design system. Білий фон, navy #0f1b2d, teal #2bb3a3. Lora (заголовки) + Golos Text (текст). */
:root{
  --bg:#ffffff; --bg-soft:#f3f8f8; --bg-panel:#f7fafb;
  --ink:#0f1b2d; --ink-2:#44566b; --ink-3:#5d6f82;
  --teal:#2bb3a3; --teal-ink:#0e8275; --teal-wash:#e7f5f2;
  --line:#e4ebf0; --line-strong:#cfdae3;
  --coral:#e4674f;
  --maxw:1120px; --gutter:20px;
  --r:10px;
  --sans:"Golos Text",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --serif:"Lora",Georgia,"Times New Roman",serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--sans);font-size:17px;line-height:1.65;font-weight:400;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
h1,h2,h3,h4{font-family:var(--serif);color:var(--ink);line-height:1.18;margin:0 0 .5em;font-weight:600}
h1{font-size:clamp(2.1rem,1.3rem + 3vw,3.3rem);font-weight:700;letter-spacing:-.01em;line-height:1.12}
h2{font-size:clamp(1.6rem,1.2rem + 1.4vw,2.1rem)}
h3{font-size:1.3rem}
p{margin:0 0 1em}
a{color:var(--teal-ink);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:2px}
img{max-width:100%;display:block}
hr{border:0;border-top:1px solid var(--line);margin:0}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}
.narrow{max-width:760px}
.muted{color:var(--ink-3)}
.sec{color:var(--ink-2)}

/* ---------- header (navy, mobile-first) ---------- */
.site-head{position:sticky;top:0;z-index:30;background:var(--ink)}
.site-head .bar{display:flex;align-items:center;gap:12px;height:60px}
.brand{display:inline-flex;align-items:center;gap:10px;font-family:var(--serif);font-weight:700;font-size:1.28rem;color:#fff}
.brand:hover{text-decoration:none;color:#fff}
.brand .dot{width:13px;height:13px;border-radius:50%;background:var(--teal)}
.nav{display:none}
.site-head .subscribe{margin-left:auto;background:var(--teal);color:#06231f;font-weight:600;font-size:.9rem;padding:9px 16px;border-radius:999px;white-space:nowrap}
.site-head .subscribe:hover{background:#fff;color:var(--ink);text-decoration:none}
.burger{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;margin-right:-10px;background:none;border:0;cursor:pointer;color:#fff;padding:10px}
.burger span{display:block;height:2px;border-radius:2px;background:currentColor;transition:transform .25s,opacity .2s}
[data-open="1"] .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
[data-open="1"] .burger span:nth-child(2){opacity:0}
[data-open="1"] .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.m-nav{display:grid;grid-template-rows:0fr;transition:grid-template-rows .32s ease;background:var(--ink)}
[data-open="1"] .m-nav{grid-template-rows:1fr}
.m-inner{overflow:hidden;min-height:0}
.m-inner>a{display:block;padding:15px 20px;color:#dbe6f1;font-weight:500;font-size:1.05rem;border-bottom:1px solid rgba(255,255,255,.07)}
.m-hubs{display:grid;grid-template-columns:1fr 1fr;padding:8px 0 16px}
.m-hubs a{display:block;padding:11px 20px;color:#9fb2c8;font-size:.95rem}
.m-hubs a:hover,.m-inner>a:hover{color:#fff;text-decoration:none}
@media(min-width:880px){
  .site-head .bar{height:66px;gap:26px}
  .brand{font-size:1.4rem}
  .nav{display:flex;gap:24px;margin-left:8px;font-weight:500;font-size:1rem}
  .nav a{color:#c3d3e3}
  .nav a:hover{color:#fff;text-decoration:none}
  .site-head .subscribe{order:3}
  .burger,.m-nav{display:none}
}

/* ---------- hero ---------- */
.hero{padding:76px 0 48px}
.hero .lead{max-width:720px}
.hero .kicker{display:inline-flex;align-items:center;gap:8px;color:var(--teal-ink);font-weight:600;font-size:.95rem;margin-bottom:18px}
.hero .kicker::before{content:"";width:26px;height:2px;background:var(--teal)}
.hero h1{margin-bottom:.35em}
.hero p.sub{font-size:1.18rem;color:var(--ink-2);max-width:620px;margin:0}

/* ---------- directory (хаби = табло відділень) ---------- */
.dir-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:8px 0 18px;border-top:2px solid var(--ink);padding-top:14px}
.dir-head h2{margin:0;font-size:1.15rem;font-family:var(--sans);font-weight:600;letter-spacing:.01em;color:var(--ink)}
.dir{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}
.dep{display:flex;align-items:center;gap:16px;padding:18px 4px;border-bottom:1px solid var(--line)}
.dep:hover .dep-name{color:var(--teal-ink)}
.dep .ic{transition:transform .18s ease}
.dep:hover .ic{transform:scale(1.08)}
.dep .ic{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;color:var(--teal);background:var(--teal-wash);border-radius:9px}
.dep .ic svg{width:23px;height:23px}
.dep-body{min-width:0;flex:1}
.dep-name{font-family:var(--serif);font-weight:600;font-size:1.22rem;color:var(--ink);line-height:1.2}
.dep-tag{color:var(--ink-3);font-size:.92rem;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dep .count{flex:0 0 auto;color:var(--ink-3);font-size:.9rem;font-variant-numeric:tabular-nums}
.dep .count b{color:var(--ink);font-weight:600}

/* ---------- blocks ---------- */
.block{padding:56px 0}
.block.soft{background:var(--bg-soft);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.block > .wrap > h2{margin-bottom:24px}

/* latest articles list */
.feed{display:grid;gap:0}
.feed .item{display:grid;grid-template-columns:1fr auto;gap:4px 24px;align-items:start;padding:22px 0;border-bottom:1px solid var(--line)}
.feed .item:first-child{border-top:1px solid var(--line)}
.feed .hublabel{grid-column:1/-1;color:var(--teal-ink);font-weight:600;font-size:.82rem;letter-spacing:.02em;margin-bottom:2px}
.feed h3{margin:0;font-size:1.28rem;line-height:1.25}
.feed h3 a{color:var(--ink)}
.feed h3 a:hover{color:var(--teal-ink);text-decoration:none}
.feed .meta{grid-column:1;color:var(--ink-3);font-size:.9rem;margin-top:6px}
.feed .read{color:var(--ink-3);font-size:.86rem;white-space:nowrap;padding-top:2px;font-variant-numeric:tabular-nums}

/* trust */
.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.trust .t{padding-top:18px;border-top:2px solid var(--teal)}
.trust .t h3{font-size:1.12rem;margin-bottom:.35em}
.trust .t p{color:var(--ink-2);font-size:.98rem;margin:0}

/* ---------- author / reviewer byline ---------- */
.byline{display:flex;flex-wrap:wrap;gap:22px;margin:22px 0 26px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.who{display:flex;gap:12px;align-items:center}
.who img,.who .ph{width:48px;height:48px;border-radius:50%;object-fit:cover;background:var(--teal-wash);flex:0 0 48px}
.who .role{color:var(--ink-3);font-size:.78rem;font-weight:600;letter-spacing:.02em}
.who .nm{font-weight:600;color:var(--ink);line-height:1.2}
.who .nm a{color:var(--ink)}
.who .cr{color:var(--ink-2);font-size:.86rem}
.who .chk{color:var(--teal);font-size:.8rem;display:inline-flex;align-items:center;gap:4px;margin-top:2px}

/* ---------- article ---------- */
.crumbs{font-size:.88rem;color:var(--ink-3);padding:22px 0 0}
.crumbs a{color:var(--ink-2)}
.article-head{padding:6px 0 0}
.article-head h1{margin:.2em 0 .25em}
.article-head .dek{font-size:1.18rem;color:var(--ink-2);margin:0}
.dates{color:var(--ink-3);font-size:.86rem;margin-top:14px}
.layout{display:grid;grid-template-columns:1fr 260px;gap:48px;align-items:start;padding:34px 0 64px}
.content{min-width:0}
.content h2{margin:1.6em 0 .5em;scroll-margin-top:86px}
.content h2:first-child{margin-top:.3em}
.content p{margin:0 0 1.1em}
.content ul,.content ol{margin:0 0 1.2em;padding-left:1.2em}
.content li{margin:.3em 0}
.content blockquote{margin:1.4em 0;padding:16px 20px;background:var(--teal-wash);border-radius:12px;color:var(--ink-2);font-style:normal}
.content blockquote p:last-child{margin-bottom:0}
aside.rail{position:sticky;top:88px}
.toc{border-top:2px solid var(--ink);padding-top:12px}
.toc .lbl{font-weight:600;font-size:.82rem;letter-spacing:.02em;color:var(--ink);margin-bottom:8px}
.toc a{display:block;color:var(--ink-2);font-size:.92rem;padding:5px 0;border-bottom:1px solid var(--line);line-height:1.35}
.toc a:hover{color:var(--teal-ink);text-decoration:none}

/* sources + updates */
.sources{border-top:1px solid var(--line);padding-top:22px;margin-top:40px}
.sources h2,.updates h2{font-size:1.15rem}
.sources ol{padding-left:1.3em;color:var(--ink-2);font-size:.95rem}
.sources li{margin:.4em 0}
.updates{margin-top:34px}
.updates .u{padding:12px 0;border-bottom:1px solid var(--line);font-size:.92rem;color:var(--ink-2)}
.updates .u time{color:var(--ink);font-weight:600;margin-right:10px}

/* related */
.related{margin-top:14px}
.related h2{font-size:1.15rem;margin-bottom:12px}
.related a{display:block;padding:14px 0;border-bottom:1px solid var(--line);color:var(--ink);font-family:var(--serif);font-size:1.1rem}
.related a:hover{color:var(--teal-ink);text-decoration:none}

/* hub page */
.hub-hero{padding-block:34px 10px}
.hub-hero .ic{width:54px;height:54px;border-radius:12px;background:var(--teal-wash);color:var(--teal);display:grid;place-items:center;margin-bottom:16px}
.hub-hero .ic svg{width:30px;height:30px}
.hub-hero p.intro{font-size:1.15rem;color:var(--ink-2);max-width:680px}
.hub-section{padding:14px 0 10px}
.hub-section h2{font-size:1.4rem;border-bottom:2px solid var(--teal);display:inline-block;padding-bottom:6px;margin-bottom:6px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--teal);color:#06231f;font-weight:600;
  padding:12px 22px;border-radius:999px;border:0;font-family:var(--sans);font-size:1rem;cursor:pointer}
.btn:hover{background:#25a293;text-decoration:none;color:#06231f}
.btn.ghost{background:transparent;color:var(--teal-ink);border:1px solid var(--line-strong)}
.btn.ghost:hover{border-color:var(--teal);background:var(--teal-wash)}

/* ---------- footer ---------- */
.site-foot{border-top:1px solid var(--line);background:var(--ink);color:#c6d2df;margin-top:0;padding:46px 0 36px}
.site-foot .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px}
.site-foot .brand{color:#fff}
.site-foot .brand .dot{box-shadow:0 0 0 4px rgba(43,179,163,.18)}
.site-foot h4{color:#fff;font-family:var(--sans);font-size:.95rem;font-weight:600;margin:0 0 12px}
.site-foot a{color:#c6d2df;display:block;padding:4px 0;font-size:.95rem}
.site-foot a:hover{color:#fff;text-decoration:none}
.site-foot .fine{margin-top:30px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);color:#8aa0b5;font-size:.86rem;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* 404 */
.err{padding-block:120px;text-align:center}
.err .big{font-family:var(--serif);font-size:4rem;color:var(--teal)}

/* ---------- responsive ---------- */
@media(max-width:860px){
  .dir{grid-template-columns:1fr;gap:0}
  .layout{grid-template-columns:1fr;gap:0}
  aside.rail{position:static;margin-bottom:26px}
  .trust{grid-template-columns:1fr}
  .site-foot .cols{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
  body{font-size:16px}
  .site-foot .cols{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ── Зображення (Pexels) ───────────────────────────── */
.article-hero{margin:4px 0 26px}
.article-hero img{width:100%;aspect-ratio:16/8;object-fit:cover;border-radius:14px;display:block}
.hub-cover{margin:22px 0 4px}
.hub-cover img{width:100%;aspect-ratio:16/6;object-fit:cover;border-radius:14px;display:block}
.item .thumb{display:block;margin-bottom:11px;border-radius:10px;overflow:hidden}
.item .thumb img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block;transition:transform .4s ease}
.item.has-img:hover .thumb img{transform:scale(1.03)}
@media (prefers-reduced-motion:reduce){.item.has-img:hover .thumb img{transform:none}}

/* ── Пульсуюча крапка логотипу (у шапці) ───────────── */
.site-head .brand .dot{width:15px;height:15px;position:relative}
.site-head .brand .dot::after{content:"";position:absolute;inset:0;border-radius:50%;background:rgba(43,179,163,.55);animation:dotPulse 2s ease-out infinite;will-change:transform,opacity}
@keyframes dotPulse{
  0%{transform:scale(1);opacity:.8}
  70%{transform:scale(2.3);opacity:0}
  100%{transform:scale(2.3);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .site-head .brand .dot::after{animation:none;display:none}.site-head .brand .dot{box-shadow:0 0 0 4px var(--teal-wash)}
}

/* ════════ Головна v2 (mobile-first, портал) ════════ */

/* browser surfaces */
::selection{background:var(--teal-wash);color:var(--ink)}
body{caret-color:var(--teal-ink)}
*{scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-thumb{background:var(--line-strong);border-radius:7px;border:2px solid var(--bg)}
::-webkit-scrollbar-thumb:hover{background:var(--ink-3)}
:focus-visible{outline:2px solid var(--teal-ink);outline-offset:2px;border-radius:3px}

/* hero */
.hero{padding:40px 0 24px}
.hero-h{max-width:17ch;margin:0 0 .38em}
.hero-sub{font-size:1.1rem;color:var(--ink-2);max-width:60ch;margin:0}
@media(min-width:880px){.hero{padding:70px 0 38px}.hero-sub{font-size:1.22rem}}

/* один акуратний момент на завантаженні */
.hero-h,.hero-sub,.feat-wrap{animation:rise .7s cubic-bezier(.2,.7,.2,1) both}
.hero-sub{animation-delay:.06s}
.feat-wrap{animation-delay:.12s}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.hero-h,.hero-sub,.feat-wrap{animation:none}}

/* головна стаття (featured) */
.feat-wrap{margin:6px 0 10px}
.feat{display:block;color:inherit}
.feat:hover{text-decoration:none}
.feat-media{position:relative;display:block;border-radius:16px;overflow:hidden;aspect-ratio:16/9;background:var(--ink)}
.feat-media img{width:100%;height:100%;object-fit:cover}
.feat-media.noimg{display:grid;place-items:center;background:radial-gradient(120% 120% at 70% 20%,#12263c 0%,#0f1b2d 60%)}
.feat-ic{color:var(--teal)}
.feat-ic svg{width:60px;height:60px}
.feat-media .tag{position:absolute;left:13px;top:13px;background:rgba(15,27,45,.78);color:#fff;font-size:.78rem;font-weight:600;padding:6px 12px;border-radius:999px;backdrop-filter:blur(5px)}
.feat-body{display:block;padding:16px 2px 0}
.feat-body h2{font-size:clamp(1.42rem,1.1rem + 1.7vw,2.05rem);margin:0 0 .3em;line-height:1.16}
.feat:hover .feat-body h2{color:var(--teal-ink)}
.feat-dek{display:block;color:var(--ink-2);font-size:1.02rem;margin-bottom:.55em;max-width:60ch}
.feat-meta{display:block;color:var(--ink-3);font-size:.9rem}
@media(min-width:880px){
  .feat{display:grid;grid-template-columns:1.25fr 1fr;gap:36px;align-items:center}
  .feat-media{aspect-ratio:4/3}
  .feat-body{padding:0}
}

/* напрями */
.block-dir{padding-block:24px 6px}
@media(min-width:880px){.block-dir{padding-block:40px 12px}}
.dep-name,.dep-tag{display:block}
.dep-tag{white-space:normal;overflow:visible;text-overflow:clip}

/* нові статті (перевизначає старий .feed) */
.feed{display:grid;gap:0}
.feed .item{display:grid;grid-template-columns:1fr;gap:12px;padding:20px 0;border-bottom:1px solid var(--line);align-items:start}
.feed .item:first-child{border-top:1px solid var(--line)}
.feed .thumb{margin:0;border-radius:12px;overflow:hidden;order:-1}
.feed .thumb img{width:100%;aspect-ratio:16/9;object-fit:cover;transition:transform .4s ease}
.feed .item.has-img:hover .thumb img{transform:scale(1.03)}
.feed .item-main{min-width:0}
.feed h3{margin:0 0 .25em;font-size:1.2rem;line-height:1.25}
.feed h3 a{color:var(--ink)}
.feed h3 a:hover{color:var(--teal-ink);text-decoration:none}
.feed .item-dek{color:var(--ink-2);font-size:.98rem;margin:0 0 .4em;max-width:68ch}
.feed .item-meta{color:var(--ink-3);font-size:.88rem}
.feed .item-meta a{color:var(--ink-3)}
.feed .item-meta a:hover{color:var(--teal-ink)}
@media(min-width:720px){
  .feed .item.has-img{grid-template-columns:210px 1fr;gap:22px}
  .feed .item.has-img .thumb{order:0}
  .feed .item.has-img .thumb img{aspect-ratio:4/3}
}

/* екстрена допомога */
.hotlines{background:var(--bg);padding:38px 0 8px;border-top:1px solid var(--line)}
.hot-grid{display:grid;grid-template-columns:1fr;gap:12px}
.hot{display:flex;flex-direction:column;gap:2px;padding:16px 18px;border-radius:12px;background:#fdf0ed;border:1px solid #f4d6cf;color:var(--ink)}
.hot:hover{text-decoration:none;border-color:var(--coral)}
.hot b{font-family:var(--serif);font-size:1.4rem;color:#bd4631;font-variant-numeric:tabular-nums;line-height:1.1}
.hot span{color:var(--ink-2);font-size:.9rem}
.hot-note{color:var(--ink-3);font-size:.88rem;margin:14px 0 0;max-width:70ch}
@media(min-width:720px){.hot-grid{grid-template-columns:repeat(3,1fr)}}

/* trust: межа секції й на мобільному */
@media(max-width:860px){.trust{gap:22px}}

/* ════════ Мультимова ════════ */
.bar-right{display:flex;align-items:center;gap:14px;margin-left:auto}
.lang{display:none;align-items:center;gap:2px}
.lang a{color:#8ca0b6;font-size:.8rem;font-weight:600;padding:5px 7px;border-radius:7px;letter-spacing:.02em}
.lang a:hover{color:#fff;text-decoration:none}
.lang a.on{color:#fff;background:rgba(255,255,255,.14)}
.m-lang{display:flex;gap:6px;padding:14px 18px;border-bottom:1px solid rgba(255,255,255,.07)}
.m-lang a{padding:7px 12px;border-radius:8px;background:rgba(255,255,255,.07);color:#cddae8;font-weight:600;font-size:.86rem}
.m-lang a.on{background:var(--teal);color:#05322d}
.m-lang a:hover{color:#fff;text-decoration:none}
@media(min-width:880px){
  .site-head .subscribe{order:0}
  .lang{display:flex}
}

/* ════════ Сторінка автора ════════ */
.author-page{padding-block:10px 70px}
.author-head{display:flex;align-items:center;gap:18px;margin:10px 0 22px}
.author-head img,.author-head .ph{width:80px;height:80px;border-radius:50%;object-fit:cover;background:var(--teal-wash);flex:0 0 80px}
.author-head h1{margin:0 0 .15em;font-size:1.7rem}
.author-head .cr{color:var(--ink-2);margin:0;font-size:1rem}
.author-page .bio{font-size:1.1rem;color:var(--ink-2);max-width:64ch}
.author-meta{display:grid;gap:22px;margin:26px 0 10px}
.author-meta h3{font-size:1.05rem;margin:0 0 .3em;padding-top:14px;border-top:2px solid var(--teal);display:inline-block}
.author-meta p{color:var(--ink-2);margin:0;font-size:.98rem}
.author-arts{margin-top:40px}
@media(min-width:720px){.author-meta{grid-template-columns:1fr 1fr}}

/* ════════ Колаж на головній (замість героя) ════════ */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.collage{display:grid;gap:22px;padding:22px 0 6px;animation:rise .7s cubic-bezier(.2,.7,.2,1) both}
@media(prefers-reduced-motion:reduce){.collage{animation:none}}
.lead{display:block;color:inherit}
.lead:hover{text-decoration:none}
.lead-media{position:relative;display:block;border-radius:16px;overflow:hidden;aspect-ratio:16/9;background:var(--ink)}
.lead-media img{width:100%;height:100%;object-fit:cover}
.lead-media.noimg{display:grid;place-items:center}
.lead-media .tag{position:absolute;left:13px;top:13px;background:rgba(15,27,45,.78);color:#fff;font-size:.78rem;font-weight:600;padding:6px 12px;border-radius:999px;backdrop-filter:blur(5px)}
.lead-body{display:block;padding:14px 2px 0}
.lead-body h2{font-size:clamp(1.42rem,1.1rem + 1.7vw,2rem);margin:0 0 .3em;line-height:1.16}
.lead:hover h2{color:var(--teal-ink)}
.lead .dek{display:block;color:var(--ink-2);font-size:1.02rem;margin-bottom:.5em;max-width:60ch}
.collage .meta{display:block;color:var(--ink-3);font-size:.88rem}
.side{display:grid;gap:0}
.side-item{display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);color:inherit}
.side-item:first-child{border-top:1px solid var(--line)}
.side-item:hover{text-decoration:none}
.side-item img,.side-item .ph{width:92px;height:92px;object-fit:cover;border-radius:12px;display:block}
.side-item .ph{display:grid;place-items:center;background:var(--teal-wash);color:var(--teal)}
.side-item .ph svg{width:30px;height:30px}
.side-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.tag-sm{color:var(--teal-ink);font-size:.76rem;font-weight:600}
.side-title{font-family:var(--serif);font-weight:600;font-size:1.04rem;line-height:1.28;color:var(--ink)}
.side-item:hover .side-title{color:var(--teal-ink)}
@media(min-width:880px){
  .collage{grid-template-columns:1.55fr 1fr;gap:36px;padding:34px 0 10px;align-items:start}
  .lead-media{aspect-ratio:3/2}
  .side-item:first-child{border-top:0;padding-top:0}
}

.cardrow{display:grid;gap:18px;padding:18px 0 10px}
.card{display:block;color:inherit}
.card:hover{text-decoration:none}
.card-media{position:relative;display:block;border-radius:14px;overflow:hidden;aspect-ratio:16/10;background:var(--ink);margin-bottom:10px}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.card:hover .card-media img{transform:scale(1.03)}
.card-media.noimg{display:grid;place-items:center}
.card-media .tag{position:absolute;left:11px;top:11px;background:rgba(15,27,45,.78);color:#fff;font-size:.74rem;font-weight:600;padding:5px 10px;border-radius:999px;backdrop-filter:blur(5px)}
.card-title{display:block;font-family:var(--serif);font-weight:600;font-size:1.08rem;line-height:1.28;color:var(--ink);margin-bottom:4px}
.card:hover .card-title{color:var(--teal-ink)}
.cardrow .meta{display:block;color:var(--ink-3);font-size:.86rem}
@media(min-width:620px){.cardrow{grid-template-columns:1fr 1fr}}
@media(min-width:880px){.cardrow{grid-template-columns:repeat(4,1fr);gap:24px;padding:26px 0 12px}}
@media(prefers-reduced-motion:reduce){.card:hover .card-media img{transform:none}}

/* ════════ Головна v3: сітка статей + бічні віджети ════════ */
.top{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;padding-block:22px 10px}
.grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.grid .meta{display:block;color:var(--ink-3);font-size:.86rem}
.card-dek{display:block;color:var(--ink-2);font-size:.92rem;line-height:1.5;margin:2px 0 6px;max-width:48ch}
.rail-home{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:20px;align-content:start}
.widget{border:1px solid var(--line);border-radius:14px;padding:18px 18px 16px;background:var(--bg)}
.widget h3{font-family:var(--sans);font-size:.95rem;font-weight:600;margin:0 0 12px;padding-bottom:10px;border-bottom:2px solid var(--ink)}
.w-hubs{list-style:none;margin:0;padding:0}
.w-hubs a{display:flex;align-items:center;gap:10px;padding:8px 0;color:var(--ink);border-bottom:1px solid var(--line);font-size:.95rem}
.w-hubs li:last-child a{border-bottom:0}
.w-hubs a:hover{color:var(--teal-ink);text-decoration:none}
.w-hubs .wi{width:28px;height:28px;border-radius:7px;background:var(--teal-wash);color:var(--teal);display:grid;place-items:center;flex:0 0 28px}
.w-hubs .wi svg{width:16px;height:16px}
.w-hubs .n{margin-left:auto;color:var(--ink-3);font-size:.82rem;font-variant-numeric:tabular-nums}
.w-more{display:inline-block;margin-top:10px;font-weight:600;font-size:.9rem}
.w-list{margin:0;padding-left:1.3em;color:var(--teal-ink)}
.w-list li{padding:7px 0;border-bottom:1px solid var(--line)}
.w-list li:last-child{border-bottom:0}
.w-list a{color:var(--ink);font-family:var(--serif);font-weight:600;font-size:.98rem;line-height:1.3}
.w-list a:hover{color:var(--teal-ink);text-decoration:none}
.hot-w .hot{margin-bottom:8px;padding:12px 14px}
.hot-w .hot:last-child{margin-bottom:0}
.hot-w .hot b{font-size:1.2rem}
.sub-w p{color:var(--ink-2);font-size:.92rem;margin:0 0 10px}
.sub-form{display:flex;gap:8px}
.sub-form input{flex:1;min-width:0;border:1px solid var(--line-strong);border-radius:999px;padding:10px 14px;font:inherit;font-size:16px;color:var(--ink);background:var(--bg-soft)}
.sub-form .btn{padding:10px 16px;font-size:.92rem;white-space:nowrap}
@media(min-width:620px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:960px){.top{grid-template-columns:minmax(0,1fr) 320px;gap:40px;padding-block:34px 14px}.grid{gap:28px 24px}}

/* ════════ E-E-A-T: блок перевірки, дисклеймер, службові сторінки ════════ */
.reviewed{display:flex;gap:12px;align-items:flex-start;margin:18px 0 0;padding:14px 16px;border-radius:12px;background:var(--teal-wash);font-size:.92rem;color:var(--ink-2)}
.reviewed .ck{flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:var(--teal);color:#fff;display:grid;place-items:center;font-size:.8rem;font-weight:700}
.reviewed b{color:var(--ink);font-weight:600}
.reviewed a{color:var(--teal-ink);text-decoration:underline;text-underline-offset:2px}
.disclaimer{margin:34px 0 0;padding:14px 0 0;border-top:1px solid var(--line);color:var(--ink-3);font-size:.86rem}
.disclaimer a{color:var(--ink-3);text-decoration:underline;text-underline-offset:2px}
.static-page{padding-block:6px 70px}
.static-page h1{font-size:clamp(1.7rem,1.3rem+1.5vw,2.3rem);margin:.2em 0 .6em}
.static-page .content h2{font-size:1.25rem;margin:1.6em 0 .5em}
.static-page .content p,.static-page .content li{color:var(--ink-2)}
.static-page .content ul{padding-left:1.2em}
.hero-dir{padding-block:26px 8px}
@media(min-width:880px){.hero-dir{padding-block:40px 12px}.site-foot .cols{grid-template-columns:1.3fr 1fr 1fr 1fr}}

/* ════════ Пошук у шапці ════════ */
.hsearch{display:none}
.msearch{display:flex;align-items:center;gap:9px;margin:0 var(--gutter) 10px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:9px 14px;color:#9fb2c8}
.msearch input,.hsearch input{border:0;background:transparent;outline:0;flex:1;min-width:0;font:inherit;font-size:16px;color:#fff}
.msearch input::placeholder,.hsearch input::placeholder{color:#8ca0b6}
.msearch svg,.hsearch svg{flex:0 0 18px;width:18px;height:18px}
.msearch:focus-within,.hsearch:focus-within{background:rgba(255,255,255,.13);border-color:var(--teal)}
input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}
@media(min-width:880px){
  .hsearch{display:flex;align-items:center;gap:9px;flex:1;max-width:520px;margin:0 8px 0 22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:9px 14px;color:#9fb2c8}
  .msearch{display:none}
}
/* сторінка результатів */
.search-page{padding-block:14px 70px}
.search-page h1{font-size:clamp(1.5rem,1.2rem+1.2vw,2rem);margin:.3em 0 .2em}
.search-page .cnt{color:var(--ink-3);margin:0 0 18px}
.search-page .big-form{display:flex;gap:8px;margin:0 0 26px}
.search-page .big-form input{flex:1;min-width:0;border:1px solid var(--line-strong);border-radius:999px;padding:12px 16px;font:inherit;font-size:16px;color:var(--ink);background:var(--bg-soft)}
.search-page .hubs-found{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.search-page .hubs-found a{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:var(--teal-wash);color:var(--teal-ink);font-weight:600;font-size:.92rem}
.search-page .hubs-found a svg{width:16px;height:16px}
.search-page .hubs-found a:hover{background:var(--teal);color:#05322d;text-decoration:none}

/* ════════ Підказки пошуку ════════ */
.hsearch,.msearch{position:relative}
.sugg{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 40px rgba(15,27,45,.18);overflow:hidden;z-index:60}
.sugg .sg{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding:11px 14px;border-bottom:1px solid var(--line);color:var(--ink)}
.sugg .sg:hover,.sugg .sg.on{background:var(--bg-soft);text-decoration:none}
.sugg .sg-t{font-size:.72rem;font-weight:600;color:var(--teal-ink);background:var(--teal-wash);padding:3px 8px;border-radius:999px;white-space:nowrap}
.sugg .sg-b{display:flex;flex-direction:column;min-width:0}
.sugg .sg-title{font-family:var(--serif);font-weight:600;font-size:.98rem;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sugg .sg-sub{font-size:.8rem;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sugg .sg-all{display:block;padding:11px 14px;font-weight:600;font-size:.9rem;color:var(--teal-ink);background:var(--bg-soft)}
.sugg .sg-all:hover,.sugg .sg-all.on{background:var(--teal-wash);text-decoration:none}
.lang-badge{display:inline-block;font:600 .7rem/1 var(--sans);color:var(--ink-3);border:1px solid var(--line-strong);border-radius:6px;padding:3px 6px;vertical-align:middle;margin-left:6px}

/* ════════ Сторінка «Автори» ════════ */
.authors-page{padding-block:6px 70px}
.authors-page h1{font-size:clamp(1.7rem,1.3rem+1.5vw,2.3rem);margin:.2em 0 .3em}
.authors-page .lead-p{color:var(--ink-2);max-width:64ch;margin:0 0 26px;font-size:1.05rem}
.au-section{margin:0 0 30px}
.au-section h2{display:flex;align-items:center;gap:10px;font-size:1.2rem;margin:0 0 14px;padding-top:14px;border-top:2px solid var(--ink)}
.au-section h2 .ic{width:30px;height:30px;border-radius:8px;background:var(--teal-wash);color:var(--teal);display:grid;place-items:center}
.au-section h2 .ic svg{width:17px;height:17px}
.au-section h2 a{color:var(--ink)}
.au-section h2 a:hover{color:var(--teal-ink);text-decoration:none}
.au-grid{display:grid;gap:14px}
.au-card{display:grid;grid-template-columns:72px 1fr;gap:14px;align-items:start;padding:14px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:var(--bg)}
.au-card:hover{text-decoration:none;border-color:var(--teal);box-shadow:0 6px 20px rgba(15,27,45,.08)}
.au-card img,.au-card .ph{width:72px;height:72px;border-radius:50%;object-fit:cover;background:var(--teal-wash);display:block}
.au-body{display:flex;flex-direction:column;gap:3px;min-width:0}
.au-name{font-family:var(--serif);font-weight:600;font-size:1.08rem;line-height:1.25}
.au-card:hover .au-name{color:var(--teal-ink)}
.au-cred{color:var(--teal-ink);font-size:.84rem;font-weight:600}
.au-bio{color:var(--ink-2);font-size:.9rem;line-height:1.45}
.au-meta{color:var(--ink-3);font-size:.8rem;margin-top:2px}
@media(min-width:720px){.au-grid{grid-template-columns:1fr 1fr;gap:16px}}

/* ════════ Перемикач мов — випадашка ════════ */
.lang{position:relative}
.lang-btn{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:8px;padding:7px 9px 7px 11px;font:600 .82rem/1 var(--sans);letter-spacing:.02em;cursor:pointer}
.lang-btn:hover,.lang[data-open="1"] .lang-btn{background:rgba(255,255,255,.2)}
.lang-btn svg{transition:transform .2s}
.lang[data-open="1"] .lang-btn svg{transform:rotate(180deg)}
.lang-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:170px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 36px rgba(15,27,45,.2);padding:6px;display:none;z-index:70}
.lang[data-open="1"] .lang-menu{display:block}
.lang-menu a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:var(--ink);font-size:.92rem}
.lang-menu a b{font-size:.76rem;font-weight:700;color:var(--teal-ink);background:var(--teal-wash);padding:3px 7px;border-radius:6px;letter-spacing:.03em}
.lang-menu a:hover{background:var(--bg-soft);text-decoration:none}

/* ════════ Наскрізне меню напрямів (бургер) ════════ */
.site-head{position:sticky}
.burger{display:inline-flex}
.m-nav{position:absolute;left:0;right:0;top:100%;background:var(--ink);box-shadow:0 18px 40px rgba(15,27,45,.35);z-index:60}
.m-inner{overflow:hidden;min-height:0}
[data-open="1"] .m-inner{overflow-y:auto;max-height:calc(100vh - 60px);-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding-bottom:12px}
.m-hubs-title{padding:14px 20px 6px;color:#8ca0b6;font-size:.78rem;font-weight:600;letter-spacing:.04em}
.m-hubs{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:0 10px 10px}
.m-hubs a{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 10px;border-radius:10px;color:#dbe6f1;font-size:.93rem;line-height:1.2}
.m-hubs a .mi{flex:0 0 30px;width:30px;height:30px;border-radius:8px;background:rgba(43,179,163,.16);color:var(--teal);display:grid;place-items:center}
.m-hubs a .mi svg{width:17px;height:17px}
.m-hubs a:hover,.m-hubs a.on{background:rgba(255,255,255,.08);color:#fff;text-decoration:none}
.m-hubs a.on .mi{background:var(--teal);color:#05322d}
@media(min-width:880px){
  .m-nav{display:grid}
  .burger{display:inline-flex;margin-left:4px;margin-right:0}
  .m-nav{left:auto;right:max(var(--gutter),calc((100% - var(--maxw))/2 + var(--gutter)));top:calc(100% + 8px);width:min(820px,calc(100vw - 2*var(--gutter)));border-radius:14px;border:1px solid rgba(255,255,255,.08);overflow:hidden}
  [data-open="1"] .m-inner{max-height:min(80vh,720px)}
  .m-inner>a{display:inline-block;padding:14px 18px 10px;border:0;font-size:.95rem}
  .m-lang{display:none}
  .m-hubs{grid-template-columns:repeat(3,1fr);padding:0 10px 12px}
}
.lang-menu{min-width:0;width:max-content}
.lang-menu a{justify-content:center;font-weight:700;font-size:.82rem;letter-spacing:.03em;padding:9px 14px}

/* закрите меню: невидиме й не клікабельне (без лінії від тіні/бордера) */
.m-nav{visibility:hidden;pointer-events:none;transition:grid-template-rows .32s ease,visibility 0s linear .32s}
[data-open="1"] .m-nav{visibility:visible;pointer-events:auto;transition:grid-template-rows .32s ease,visibility 0s}

/* ════════ Шапка: лого · пошук · бургер (мобільний), без «Підписатися» ════════ */
.hsearch{display:flex;align-items:center;gap:8px;flex:1;min-width:0;margin:0 4px 0 12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:8px 12px;color:#9fb2c8}
.hsearch input{font-size:16px}
.bar-right{margin-left:0;gap:6px}
.site-head .bar{gap:8px}
.brand{font-size:1.18rem;white-space:nowrap}
@media(max-width:879px){
  .hsearch .sugg{position:fixed;left:var(--gutter);right:var(--gutter);top:62px}
}
@media(min-width:880px){
  .hsearch{max-width:520px;margin:0 8px 0 22px;padding:9px 14px}
  .brand{font-size:1.4rem}
  .bar-right{gap:14px}
}

/* перемикач мови видно і на мобільному */
.lang{display:flex}
.lang-btn{padding:7px 7px 7px 9px}
.bar-right{margin-left:2px}
@media(max-width:879px){.hsearch{margin:0 2px 0 10px;padding:8px 10px}.brand{font-size:1.1rem}}
.sugg .sg{grid-template-columns:44px 1fr}
.sugg .sg-ic{width:44px;height:44px;border-radius:10px;background:var(--teal-wash);color:var(--teal);display:grid;place-items:center}
.sugg .sg-ic svg{width:22px;height:22px}
.sugg .sg-img{width:44px;height:44px;border-radius:10px;object-fit:cover;display:block}
.lang{margin-left:10px}
.lang-menu{right:auto;left:0}
@media(max-width:879px){.lang{margin-left:6px}.hsearch{margin-left:6px}}
@media(min-width:880px){.hsearch{margin-left:14px}}
.lang{margin-left:4px}
.lang-menu{left:auto;right:0}
@media(min-width:880px){.lang{margin-left:8px}}
.lang-btn{padding:7px 10px}

/* аватари: обличчя у центрі круга, картка вирівняна по центру */
.au-card{align-items:center}
.au-card img,.author-head img,.who img,.sugg .sg-img{object-position:50% 22%}

/* ════════ Теги ════════ */
.dep{display:flex}
.dep .ic{color:var(--teal)}
.dep .ic:hover{text-decoration:none}
.dep-name{color:var(--ink)}
.dep-name:hover{color:var(--teal-ink);text-decoration:none}
.dep .count{color:var(--ink-3)}
.dep .count:hover{text-decoration:none}
.dep-tag .tg{color:var(--ink-3)}
.dep-tag .tg:hover{color:var(--teal-ink);text-decoration:underline;text-underline-offset:2px}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}
.chip{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:var(--teal-wash);color:var(--teal-ink);font-size:.86rem;font-weight:600;line-height:1}
.chip:hover{background:var(--teal);color:#05322d;text-decoration:none}
.art-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:30px 0 0;padding-top:18px;border-top:1px solid var(--line)}
.art-tags .lbl{color:var(--ink-3);font-size:.86rem;margin-right:4px}
.tag-page{padding-block:10px 70px}
.tag-page h1{font-size:clamp(1.6rem,1.2rem+1.3vw,2.2rem);margin:.2em 0 .5em}
.tag-page h1 .chip{font-size:1rem;vertical-align:middle;margin-left:8px}

/* навігація по статті: зміст зверху (моб.) + плашка поточного розділу */
.toc-top{display:none}
.secbar{display:none}
@media(max-width:860px){
  aside.rail .toc{display:none}
  .toc-top{display:block;margin:22px auto 0;padding:16px 18px 6px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}
  .toc-top .lbl{font-weight:600;font-size:.82rem;color:var(--ink-3);margin-bottom:6px}
  .toc-top ol{list-style:none;margin:0;padding:0;counter-reset:s}
  .toc-top li{counter-increment:s;border-top:1px solid var(--line)}
  .toc-top li:first-child{border-top:0}
  .toc-top a{display:flex;gap:12px;align-items:baseline;padding:11px 0;color:var(--ink);font-weight:500;line-height:1.35}
  .toc-top a::before{content:counter(s);flex:0 0 18px;color:var(--teal-ink);font-weight:600;font-size:.9rem}
  .toc-top a:hover{text-decoration:none;color:var(--teal-ink)}
  .secbar{display:block;position:fixed;left:0;right:0;top:var(--hdr-h,60px);z-index:25;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 6px 18px rgba(15,27,45,.06);transform:translateY(-110%);transition:transform .22s ease}
  .secbar[hidden]{display:block;visibility:hidden}
  .secbar.on{transform:none;visibility:visible}
  .secbar-btn{display:flex;align-items:center;gap:10px;width:100%;padding:12px var(--gutter);background:none;border:0;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
  .secbar-cur{flex:1;min-width:0;font-weight:600;font-size:.95rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .secbar-btn svg{flex:0 0 auto;color:var(--teal-ink);transition:transform .2s}
  .secbar-btn[aria-expanded="true"] svg{transform:rotate(180deg)}
  .secbar-list{padding:4px var(--gutter) 12px;max-height:60vh;overflow:auto}
  .secbar-list a{display:block;padding:10px 0;border-top:1px solid var(--line);color:var(--ink-2);line-height:1.35}
  .secbar-list a.is-active{color:var(--teal-ink);font-weight:600}
  .secbar-list a:hover{text-decoration:none}
  .secbar-list .secbar-top{color:var(--teal-ink);font-weight:600}
  .secbar-prog{position:absolute;left:0;bottom:-1px;height:3px;width:0;background:var(--teal)}
  .content h2,#dzherela{scroll-margin-top:calc(var(--hdr-h,60px) + 58px)}
}
@media(prefers-reduced-motion:reduce){.secbar,.secbar-btn svg{transition:none}}
.toc a.is-active{color:var(--teal-ink);font-weight:600}

/* футер: усі напрями у 2 колонки; «Проєкт» і «Документи» поруч */
.site-foot .cols{grid-template-columns:1fr 1fr;gap:28px 20px}
.site-foot .f-about,.site-foot .f-dirs{grid-column:1/-1}
.site-foot .f-links{columns:2;column-gap:20px}
.site-foot .cols a:not(.brand){line-height:1.3;padding:6px 0}
.site-foot .f-links a{break-inside:avoid}
@media(min-width:880px){
  .site-foot .cols{grid-template-columns:1.1fr 2fr 1fr 1fr;gap:32px}
  .site-foot .f-about,.site-foot .f-dirs{grid-column:auto}
}
.site-foot h4,.site-foot .f-h{color:var(--teal);font-size:.82rem;letter-spacing:.06em;text-transform:uppercase}

/* моб. меню: три основні пункти в один рядок */
.m-top{display:flex;border-bottom:1px solid rgba(255,255,255,.07)}
.m-top a{flex:1 1 0;min-width:0;text-align:center;padding:15px 6px;color:#dbe6f1;font-weight:500;font-size:.98rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-top a+a{border-left:1px solid rgba(255,255,255,.07)}
.m-top a:hover{color:#fff;background:rgba(255,255,255,.05);text-decoration:none}
@media(min-width:880px){.m-top{justify-content:flex-start;border-bottom:0}.m-top a{flex:0 0 auto;padding:14px 18px 10px;font-size:.95rem}.m-top a+a{border-left:0}}
#napryamky,#svizhe,#dovira{scroll-margin-top:72px}
@media(max-width:879px){.site-head .brand{font-size:.98rem;gap:7px}.site-head .brand .dot{width:12px;height:12px}.hsearch{margin-left:8px}}

/* віджет «Поділитися» + «Прочитати з AI» */
.share-box{margin:30px 0 8px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--bg-panel);display:grid;gap:14px}
.sb-row{display:flex;align-items:center;gap:12px 16px;flex-wrap:wrap}
.sb-lbl{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:.9rem;color:var(--ink);min-width:132px}
.sb-lbl svg{width:17px;height:17px;fill:var(--teal);stroke:none}
.sb-btns{display:flex;gap:7px;flex-wrap:wrap}
.sb-btn{--b:var(--ink-2);width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid var(--line-strong);color:var(--b);cursor:pointer;padding:0;transition:background .15s,color .15s,border-color .15s}
.sb-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sb-btn:hover,.sb-btn:focus-visible{background:var(--b);border-color:var(--b);color:#fff;text-decoration:none}
.sb-btn[hidden]{display:none}
.sb-btn.done{background:var(--teal-ink);border-color:var(--teal-ink);color:#fff}
.sb-ai{padding-top:14px;border-top:1px solid var(--line)}
.sb-ais{display:flex;gap:6px;flex-wrap:wrap}
.sb-ais a{padding:7px 9px;border-radius:999px;background:#fff;border:1px solid var(--line-strong);color:var(--ink);font-size:.86rem;font-weight:500;line-height:1.2}
.sb-ais a:hover{border-color:var(--teal);color:var(--teal-ink);text-decoration:none}
@media(max-width:620px){.sb-lbl{min-width:0;width:100%}.share-box{padding:14px}.sb-ais{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.sb-ais a{text-align:center}}
.dep-tag,.dep-tag .tg{color:#5d6f82}
.widget h2{font-family:var(--sans);font-size:.95rem;font-weight:600;margin:0 0 12px;padding-bottom:10px;border-bottom:2px solid var(--ink)}
.site-foot .f-h{font-family:var(--sans);font-weight:600;margin:0 0 12px;line-height:1.3}
.chip{color:#0b6b60}
.content p a,.content li a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;text-decoration-color:rgba(14,130,117,.45)}
.content p a:hover,.content li a:hover{text-decoration-color:currentColor}
.crumbs a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;text-decoration-color:rgba(68,86,107,.4)}

/* моб.: напрями двома стовпчиками, рівно на висоту екрана, іконка фоном */
@media(max-width:619px){
  .hero-dir{padding-block:12px 12px}
  .hero-dir .dir{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(10,minmax(48px,1fr));gap:8px;
    height:calc(100svh - var(--hdr-h,60px) - 24px);min-height:552px}
  .hero-dir .dep{flex-direction:row;align-items:center;padding:0 12px;border:1px solid var(--line);border-radius:14px;background:var(--bg-panel);position:relative;overflow:hidden;isolation:isolate}
  .hero-dir .dep .ic{position:absolute;right:-2px;top:50%;width:clamp(40px,6.6svh,58px);height:clamp(40px,6.6svh,58px);background:none;color:var(--teal);opacity:.30;pointer-events:none;transform:translateY(-50%) rotate(-8deg);z-index:-1}
  .hero-dir .dep::before{content:"";position:absolute;right:-22px;top:50%;width:clamp(78px,11svh,104px);aspect-ratio:1;border-radius:50%;transform:translateY(-50%);background:radial-gradient(circle,rgba(43,179,163,.20) 0%,rgba(43,179,163,.08) 55%,rgba(43,179,163,0) 72%);z-index:-2}
  .hero-dir .dep .ic svg *{stroke-width:1.4}
  .hero-dir .dep:hover .ic{transform:translateY(-50%) rotate(-8deg)}
  .hero-dir .dep:active{background:var(--teal-wash)}
  .hero-dir .dep .ic svg{width:100%;height:100%}
  .hero-dir .dep-body{position:static}
  .hero-dir .dep-name{padding-right:14px;font-family:var(--sans);font-weight:600;font-size:clamp(.86rem,2svh,1rem);line-height:1.2;letter-spacing:-.01em;hyphens:manual;overflow-wrap:normal}
  .hero-dir .dep-name::after{content:"";position:absolute;inset:0}
  .hero-dir .dep-tag{display:none}
}
@media(max-width:374px){.hero-dir .dep{padding:0 10px}.hero-dir .dep-name{font-size:.82rem;hyphens:auto}}
/* width/height у <img> — лише для резерву місця; реальну висоту задає aspect-ratio */
.article-hero img,.hub-cover img,.item .thumb img,.feed .thumb img{height:auto}
