/* Шапка TUT.AZ для сайтов семьи (портированные bakuws) */
.tz-hdr { background: #2C74FF; border-bottom: 1px solid rgba(0,0,0,.2); }
.tz-in { max-width: 1280px; margin: 0 auto; padding: 8px 22px; min-height: 58px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; row-gap: 4px; }
.tz-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; text-decoration: none; }
.tz-brand img { height: 24px; width: auto; display: block; }
.tz-tag { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.62); border-left: 1px solid rgba(255,255,255,.3); padding-left: 11px; white-space: nowrap; }
.tz-nav { display: flex; align-items: center; gap: 2px; margin-left: 14px; flex-shrink: 0; }
.tz-nv { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 9px 10px; border-radius: 9px; font-weight: 600; font-size: 13.5px; color: rgba(255,255,255,.78); white-space: nowrap; text-decoration: none; transition: .16s; }
.tz-nv:hover { color: #fff; background: rgba(255,255,255,.12); }
.tz-care { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .16s; }
.tz-drop { position: relative; }
.tz-drop:hover .tz-care, .tz-drop:focus-within .tz-care { transform: rotate(180deg); }
.tz-panel { position: absolute; top: 100%; left: 0; margin-top: 6px; min-width: 190px; background: #fff; border: 1px solid rgba(10,20,40,.12); border-radius: 10px; box-shadow: 0 20px 54px -24px rgba(0,0,0,.5); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s; z-index: 120; }
.tz-drop:hover .tz-panel, .tz-drop:focus-within .tz-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.tz-panel a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 600; font-size: 13.5px; color: #3c4658; white-space: nowrap; text-decoration: none; }
.tz-panel a:hover { background: #eef2f9; color: #0a1226; }
html[data-theme="dark"] .tz-panel { background: #101724; border-color: rgba(255,255,255,.12); }
html[data-theme="dark"] .tz-panel a { color: #b3becd; }
html[data-theme="dark"] .tz-panel a:hover { background: #1a2333; color: #eef2f9; }
@media (max-width: 860px) { .tz-tag { display: none; } }

/* Правая часть синей полосы: тема и языки (перенесены из бывшей жёлтой шапки) */
.tz-act { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; }
.tz-act .iconbtn { width: 34px; height: 34px; border-radius: 10px; border: 0; background: transparent; color: rgba(255,255,255,.82); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tz-act .iconbtn:hover { background: rgba(255,255,255,.14); color: #fff; }
.tz-act .iconbtn svg { width: 18px; height: 18px; fill: currentColor; }
.tz-act .langs { display: flex; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; overflow: hidden; margin: 0; padding: 0; }
.tz-act .langs a { padding: 4px 10px; font-weight: 700; font-size: 11px; letter-spacing: .05em; color: rgba(255,255,255,.7); text-decoration: none; border: 0; background: transparent; }
.tz-act .langs a:hover { color: #fff; background: rgba(255,255,255,.14); }
.tz-act .langs a.is-on { background: #fff; color: #0160FA; }
/* Имя проекта в начале секционной навигации */
.nav a.tz-proj { font-size: 14px; font-weight: 800; text-transform: none; letter-spacing: 0; color: #fff; border-bottom: none; padding-right: 14px; margin-right: 6px; border-right: 1px solid rgba(255,255,255,.18); white-space: nowrap; align-self: center; }
.nav a.tz-proj:hover { color: #fff; }
