/*
 * WEB AWARDS UA - новая шапка, футер и cookie-баннер (2026) для ВСЕХ страниц сайта.
 * Подключается из common/header_home.tpl (главная) и common/header.tpl (внутренние страницы, поверх старых стилей).
 * Классы с префиксом h26-. Здесь только "хром" (шапка, футер, cookie, кнопки, токены, шрифты);
 * стили самой главной - в home2026.css, внутренние страницы остаются на старых стилях (stylesheet/2021/*).
 * Брейкпоинты: >=1680, <=1279, <=1100 (бургер-меню), <=1023, <=767, <=480.
 */
@font-face {
    font-family: 'h26sans';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/open-sans-v18-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.woff2') format('woff2'),
         url('../fonts/open-sans-v18-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.woff') format('woff');
}
@font-face {
    font-family: 'h26sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/open-sans-v18-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2') format('woff2'),
         url('../fonts/open-sans-v18-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff') format('woff');
}
@font-face {
    font-family: 'h26sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/open-sans-v18-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2') format('woff2'),
         url('../fonts/open-sans-v18-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.woff') format('woff');
}
@font-face {
    font-family: 'h26sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/open-sans-v18-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2') format('woff2'),
         url('../fonts/open-sans-v18-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.woff') format('woff');
}
@font-face {
    font-family: 'h26mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fira-mono-v9-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2') format('woff2'),
         url('../fonts/fira-mono-v9-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff') format('woff');
}
@font-face {
    font-family: 'h26mono';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/fira-mono-v9-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.woff2') format('woff2'),
         url('../fonts/fira-mono-v9-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.woff') format('woff');
}
:root {
    --h26-ground: #fff;
    --h26-ink: #323232;
    --h26-muted: #666;
    --h26-line: #ededed;
    --h26-accent: #69289c;
    --h26-accent-soft: #f2e7f8;
    --h26-gradient: linear-gradient(115deg, #69289c 0%, #8a2fab 50%, #ad3f9c 78%, #f9783c 100%);
    /* для кнопок с белым текстом/иконкой: конец градиента темнее (контраст иконки >= 3:1) */
    --h26-btn-gradient: linear-gradient(115deg, #69289c 0%, #8a2fab 50%, #ad3f9c 78%, #d4562f 100%);
    --h26-ease: cubic-bezier(.16, 1, .3, 1);
    --h26-sans: 'h26sans', Arial, sans-serif;
    --h26-mono: 'h26mono', 'Courier New', monospace;
    --h26-header-h: 76px;
}

/* ---------- Изоляция шапки/футера от старых стилей внутренних страниц (2021/style.css, main.css и др.) ----------
   Корни .h26-header-shell / .h26-footer / .h26-cookies задают базовую типографику сами, а сбросы элементов
   сделаны через :where() (нулевая специфичность), чтобы не ломать классы компонентов и не затрагивать контент страниц. */
.h26-header-shell, .h26-footer, .h26-cookies, .h26-skip {
    font-family: var(--h26-sans); font-size: 16px; font-weight: 400; font-style: normal; line-height: 1.5;
    letter-spacing: normal; text-transform: none; text-align: left; color: var(--h26-ink); -webkit-font-smoothing: antialiased;
}
.h26-header-shell, .h26-header-shell *, .h26-header-shell *::before, .h26-header-shell *::after,
.h26-footer, .h26-footer *, .h26-footer *::before, .h26-footer *::after,
.h26-cookies, .h26-cookies *, .h26-skip { box-sizing: border-box; }
:where(.h26-header-shell, .h26-footer, .h26-cookies) :where(*) { font-family: inherit; }
:where(.h26-header-shell, .h26-footer, .h26-cookies) :where(h1, h2, h3, p, ul, li, figure, nav, form, fieldset) { margin: 0; padding: 0; }
:where(.h26-header-shell, .h26-footer, .h26-cookies) :where(ul) { list-style: none; }
:where(.h26-header-shell, .h26-footer, .h26-cookies) :where(a) { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:where(.h26-header-shell, .h26-footer, .h26-cookies) :where(img) { display: block; max-width: 100%; height: auto; }
:where(.h26-header-shell, .h26-footer, .h26-cookies) :where(button, input, textarea) { font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }
:where(.h26-header-shell, .h26-footer, .h26-cookies) :where(button) { cursor: pointer; border: 0; background: none; padding: 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:where(.h26-header-shell, .h26-footer, .h26-cookies) :where(svg) { flex-shrink: 0; }
:where(.h26-header-shell, .h26-footer, .h26-cookies) :where(h1, h2, h3) { font-family: var(--h26-mono); font-weight: 500; letter-spacing: -.03em; }
.h26-header-shell a:focus-visible, .h26-header-shell button:focus-visible,
.h26-footer a:focus-visible, .h26-footer button:focus-visible, .h26-footer input:focus-visible,
.h26-cookies a:focus-visible, .h26-cookies button:focus-visible, .h26-skip:focus-visible {
    outline: 3px solid var(--h26-accent); outline-offset: 3px;
}
.h26-nav a.is-current { color: var(--h26-accent); }
.h26-nav a.is-current::after { transform: scaleX(1); }
.h26-body ::selection { background: var(--h26-accent); color: #fff; }
[hidden] { display: none !important; }
.h26-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.h26-skip {
    position: fixed; top: -100px; left: 24px; z-index: 200;
    padding: 15px; background: var(--h26-accent); color: #fff;
}
.h26-skip:focus { top: 12px; }
.h26-wrap { width: calc(100% - 96px); max-width: 1728px; margin-inline: auto; }
.h26-button {
    font-family: var(--h26-mono);
    letter-spacing: -.03em;
    font-weight: 500;
}
.h26-button {
    display: inline-flex; align-items: center; justify-content: center; gap: 30px;
    min-height: 54px; padding: 16px 23px; border: 0; border-radius: 7px; /* border: 0 — у <button> иначе браузерная рамка outset */
    font-size: 14px; white-space: nowrap; cursor: pointer;
    transition: background .25s, color .25s, box-shadow .25s;
}
.h26-button svg { transition: translate .3s var(--h26-ease); }
.h26-button:hover svg { translate: 4px -3px; }
.h26-button--dark { background: var(--h26-btn-gradient); color: #fff; box-shadow: 0 5px 18px rgba(105, 40, 156, .12); }
.h26-button--dark:hover { background: linear-gradient(115deg, #54207d, #9133a6 70%, #b44790); box-shadow: 0 8px 24px rgba(105, 40, 156, .3); }
.h26-button--compact { gap: 17px; min-height: 46px; padding: 13px 16px; font-size: 12px; }
.h26-header-shell {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--h26-line);
}
.h26-header { display: flex; align-items: center; gap: 25px; height: var(--h26-header-h); }
.h26-header-shell .h26-header { border: 0; }
.h26-brand { display: flex; align-items: center; flex-shrink: 0; min-height: 44px; font-weight: 700; }
.h26-brand { min-width: 120px; }
.h26-brand img { width: 160px; height: auto; margin-left: -34px; margin-right: -34px; }
.h26-menu { display: flex; align-items: center; flex: 1 1 auto; gap: 25px; min-width: 0; }
.h26-nav { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 600; }
.h26-nav a { position: relative; padding-block: 10px; white-space: nowrap; }
.h26-nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px;
    background: var(--h26-accent); transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--h26-ease);
}
.h26-nav a:hover::after, .h26-nav a:focus-visible::after { transform: scaleX(1); }
.h26-actions { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 13px; font-weight: 600; }
.h26-login { padding: 10px 0; white-space: nowrap; }
.h26-login:hover { box-shadow: 0 2px var(--h26-ink); }
.h26-lang { display: flex; gap: 4px; }
.h26-lang button { min-width: 32px; min-height: 36px; padding: 6px 4px; color: #666; font-size: 13px; font-weight: 600; }
.h26-lang button.is-current { color: var(--h26-accent); font-weight: 700; }
.h26-lang button:hover { text-decoration: underline; text-underline-offset: 4px; }
.h26-burger { display: none; }
@media (min-width: 1680px) {
.h26-header { gap: 40px; }
.h26-nav { gap: 24px; font-size: 14px; }
}
@media (max-width: 1279px) {
.h26-wrap { width: calc(100% - 64px); }
.h26-header { gap: 16px; }
.h26-brand { min-width: 110px; }
.h26-brand img { width: 140px; margin-left: -30px; margin-right: -30px; }
.h26-menu { gap: 16px; }
.h26-nav { gap: 14px; font-size: 12px; }
.h26-actions { gap: 14px; font-size: 12px; }
.h26-button--compact { gap: 12px; padding: 12px 13px; }
}
@media (max-width: 1100px) {
:root { --h26-header-h: 72px; }
.h26-burger {
        display: flex; align-items: center; justify-content: center;
        width: 48px; height: 48px; margin-left: auto; border-radius: 50%;
        position: relative; z-index: 2;
    }
.h26-burger:hover { background: var(--h26-accent-soft); }
.h26-burger__bar, .h26-burger__bar::before, .h26-burger__bar::after {
        display: block; width: 22px; height: 2px; background: var(--h26-ink); border-radius: 2px;
        transition: transform .3s var(--h26-ease), background .2s;
    }
.h26-burger__bar { position: relative; }
.h26-burger__bar::before, .h26-burger__bar::after { content: ''; position: absolute; left: 0; }
.h26-burger__bar::before { top: -7px; }
.h26-burger__bar::after { top: 7px; }
.h26-burger[aria-expanded="true"] .h26-burger__bar { background: transparent; }
.h26-burger[aria-expanded="true"] .h26-burger__bar::before { transform: translateY(7px) rotate(45deg); }
.h26-burger[aria-expanded="true"] .h26-burger__bar::after { transform: translateY(-7px) rotate(-45deg); }
.h26-menu {
        flex-direction: column; align-items: stretch; gap: 28px;
        padding: 20px 20px 32px;
    }
.h26-js .h26-menu {
        position: fixed; top: var(--h26-header-h); left: 0; right: 0; bottom: 0; z-index: 1;
        background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s, transform .25s var(--h26-ease), visibility 0s linear .25s;
    }
.h26-js .h26-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html.h26-menu-lock, html.h26-menu-lock .h26-body { overflow: hidden; }
html.h26-menu-lock .h26-cookies { display: none; }
html.h26-menu-lock .h26-header-shell { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.h26-header { flex-wrap: wrap; height: auto; min-height: var(--h26-header-h); }
.h26-js .h26-header { flex-wrap: nowrap; height: var(--h26-header-h); }
.h26-nav { flex-direction: column; align-items: stretch; gap: 0; font-size: 20px; font-weight: 600; }
.h26-nav a { display: flex; align-items: center; min-height: 52px; padding-block: 8px; border-bottom: 1px solid var(--h26-line); white-space: normal; }
.h26-nav a::after { display: none; }
.h26-actions { flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-left: 0; font-size: 15px; }
.h26-actions .h26-button { width: 100%; order: 3; min-height: 52px; font-size: 14px; justify-content: space-between; }
.h26-login { display: inline-flex; align-items: center; min-height: 44px; }
.h26-lang button { min-width: 44px; min-height: 44px; font-size: 14px; }
}
.h26-footer {
    position: relative; isolation: isolate; overflow: hidden;
    border-radius: 22px 22px 0 0; padding-top: 58px;
    background: linear-gradient(120deg, #f5edf9 0%, #ede2f5 55%, #ffeadc 100%);
}
.h26-footer::before {
    content: ''; position: absolute; z-index: -1; top: -300px; right: -200px; width: 800px; height: 550px; pointer-events: none;
    border-radius: 50%; filter: blur(35px); background: radial-gradient(rgba(182, 117, 209, .3), transparent 68%);
}
.h26-newsletter { display: grid; grid-template-columns: 6fr 6fr; align-items: center; gap: 100px; padding-bottom: 55px; }
.h26-footer__kicker { display: block; margin-bottom: 22px; color: #5b4d68; font-size: 12px; }
.h26-newsletter__title { font-size: clamp(36px, 4.2vw, 60px); font-weight: 500; letter-spacing: -.055em; line-height: 1.1; }
.h26-newsletter__title span { color: var(--h26-accent); }
.h26-footer .h26-newsletter__form > p { margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.h26-footer .h26-newsletter__form .subscribe {
    flex-direction: row; align-items: center; width: auto; max-width: none; margin: 0;
    display: flex; flex-wrap: wrap; gap: 10px; padding: 7px;
    border: 1px solid rgba(255, 255, 255, .8); border-radius: 10px; background: rgba(255, 255, 255, .56);
    -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
}
.h26-footer .h26-newsletter__form .subscribe__input {
    font-family: var(--h26-sans); font-weight: 400; color: var(--h26-ink); letter-spacing: normal;
    flex: 1 1 180px; min-width: 0; min-height: 46px; padding: 10px; border: 0; background: transparent; font-size: 16px;
}
.h26-footer .h26-newsletter__form .subscribe .btn {
    min-height: 46px; padding: 13px 20px; border-radius: 7px; background: var(--h26-btn-gradient); color: #fff;
    font-family: var(--h26-mono); font-size: 13px; font-weight: 500; transition: box-shadow .25s;
}
.h26-footer .h26-newsletter__form .subscribe .btn:hover { box-shadow: 0 8px 24px rgba(105, 40, 156, .3); }
.h26-footer .h26-newsletter__form .subscribe_info { flex: 1 0 100%; padding: 0 6px 4px; font-size: 13px; }
.h26-footer .h26-newsletter__form .subscribe_info.error { color: #a31d15; }
.h26-footer .h26-newsletter__form .subscribe_info.subscribe_success0, .h26-footer .h26-newsletter__form .subscribe_info[class*="subscribe_success"] { color: #1b6e3c; }
.h26-footer__row {
    display: flex; align-items: center; justify-content: space-between; gap: 35px;
    padding: 26px 0; border-top: 1px solid #ded0e5;
}
.h26-footer__logo { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; }
.h26-footer__logo img { width: 100px; height: auto; }
.h26-footer__nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 26px; font-size: 13px; }
/* соцмережі — кнопки-«таблетки», як у макеті: іконка 18 px + назва, рамка #d7c3e3, висота 52 px */
.h26-footer__social { display: inline-flex; flex-wrap: wrap; gap: 10px; margin-left: 6px; }
.h26-footer__nav a.h26-footer__social-link { gap: 9px; height: 52px; padding: 0 24px; border: 1px solid #d7c3e3; border-radius: 999px; transition: background .25s, border-color .25s, translate .25s var(--h26-ease); }
.h26-footer__nav a.h26-footer__social-link:hover { background: rgba(255, 255, 255, .45); border-color: #bb92d2; text-decoration: none; translate: 0 -2px; }
.h26-footer__social-link svg { flex-shrink: 0; width: 18px; height: 18px; }
.h26-footer__nav a { display: inline-flex; align-items: center; min-height: 36px; }
.h26-footer__nav a:hover, .h26-footer__legal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.h26-footer__legal {
    display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 6px 24px;
    padding: 22px 0 28px; border-top: 1px solid #ded0e5; color: #5b4d68; font-size: 12px;
}
/* нижний рядок: © ліворуч, документи праворуч */
.h26-footer__legal { justify-content: space-between; text-align: left; }
.h26-footer__docs { display: inline-flex; flex-wrap: wrap; gap: 6px 24px; }
.h26-footer__legal a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: underline; text-underline-offset: 3px; }
.h26-cookies {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 16px max(24px, 6vw); background: #35154f; color: #fff; box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
}
.h26-cookies p { max-width: 1100px; font-size: 13px; line-height: 1.5; }
.h26-cookies p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.h26-cookies p a:hover { text-decoration: none; }
.h26-cookies__decline { min-height: 32px; padding: 0 2px; color: #fff; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.h26-cookies__decline:hover { text-decoration: none; }
.h26-cookies .h26-button { flex-shrink: 0; background: #fff; color: #35154f; box-shadow: none; }
.h26-cookies .h26-button:hover { background: #efe3f7; }
.h26-cookies a:focus-visible, .h26-cookies button:focus-visible { outline-color: #fff; }
@media (max-width: 1279px) {
.h26-newsletter { gap: 60px; }
}
@media (max-width: 1023px) {
.h26-newsletter { grid-template-columns: 1fr; gap: 32px; }
.h26-footer { padding-top: 44px; }
.h26-footer__row { flex-direction: column; align-items: flex-start; gap: 16px; }
.h26-footer__nav { justify-content: flex-start; }
.h26-footer__social { margin: 8px 0 0; flex-basis: 100%; }
}
@media (max-width: 767px) {
.h26-wrap { width: calc(100% - 40px); }
.h26-brand { min-width: 0; }
.h26-brand img { width: 130px; margin-left: -28px; margin-right: -28px; }
.h26-footer__legal { flex-direction: column; align-items: flex-start; }
.h26-footer__nav { gap: 2px 22px; }
.h26-footer .h26-newsletter__form .subscribe .btn { width: 100%; }
.h26-cookies { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 20px; }
.h26-cookies .h26-button { width: 100%; }
}
@media (max-width: 480px) {
.h26-wrap { width: calc(100% - 32px); }
.h26-menu { padding-inline: 16px; }
}
.h26-newsletter__title { line-height: 1.2; letter-spacing: -.04em; }
.h26-footer__logo { height: 44px; min-height: 0; overflow: hidden; }
.h26-footer__nav { font-size: 12px; }
.h26-footer__nav a { min-height: 28px; }
.h26-footer__nav a.h26-footer__social-link { height: 44px; padding: 0 18px; }
.h26-footer__legal { padding-bottom: 22px; }
.h26-footer__legal { color: #666; }
/* 1101+: десктопная шапка; до 1100 — мобильное меню (бургер), где шрифт пунктов крупный */
@media (min-width: 1101px) and (max-width: 1679px) {
.h26-nav { font-size: 12px; }
}
@media (min-width: 1101px) {
.h26-lang button { min-width: 0; min-height: 0; padding: 6px 0; }
}
@media (min-width: 1024px) {
.h26-footer .h26-newsletter__form input[type="email"], .h26-footer .h26-newsletter__form input[type="text"] { font-size: 14px; }
.h26-footer .h26-newsletter__form .subscribe .btn { padding-left: 17px; padding-right: 17px; font-size: 12px; letter-spacing: -.03em; }
}
.h26-brand img { width: 90px; height: auto; margin: 0; }
.h26-footer__logo { height: auto; overflow: visible; }
.h26-footer__logo img { width: 100px; height: auto; }
@media (max-width: 480px) {
.h26-brand img { width: 80px; }
}
.h26-footer__kicker { color: #666; }
@media (min-width: 1101px) {
.h26-lang { gap: 9px; }
}

/* Старый index.js добавляет body.headerFixed (padding-top 100-199px) при прокрутке: заглушка #header имеет высоту 0,
   поэтому класс не снимается и над новой шапкой остаётся белая полоса. Новая шапка свою высоту учитывает сама. */
body.headerFixed { padding-top: 0 !important; }

/* Перетаскивание лент мышью и курсор «← →» (только pointer: fine) */
.h26-draggable.is-dragging { user-select: none; -webkit-user-select: none; }
.h26-draggable img { -webkit-user-drag: none; user-select: none; }
html.h26-has-drag-cursor .h26-draggable, html.h26-has-drag-cursor .h26-draggable * { cursor: none; }
.h26-drag-cursor {
    position: fixed; top: 0; left: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 1px;
    width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; /* 68×68 — ПК */
    background: var(--h26-accent); color: #fff; box-shadow: 0 6px 18px rgba(105, 40, 156, .28);
    pointer-events: none; opacity: 0; scale: .4; transition: opacity .2s, scale .3s var(--h26-ease); will-change: transform;
}
.h26-drag-cursor.is-visible { opacity: 1; scale: 1; }
.h26-drag-cursor.is-pressed { scale: .82; }
.h26-drag-cursor svg { width: 18px; height: 18px; }
.h26-drag-cursor svg:first-child { animation: h26-nudge-left 1.1s ease-in-out infinite; }
.h26-drag-cursor svg:last-child { animation: h26-nudge-right 1.1s ease-in-out infinite; }
@keyframes h26-nudge-left { 0%, 100% { translate: 0 0; } 50% { translate: -3px 0; } }
@keyframes h26-nudge-right { 0%, 100% { translate: 0 0; } 50% { translate: 3px 0; } }
@media (prefers-reduced-motion: reduce) {
.h26-drag-cursor svg { animation: none !important; }
}
@media (pointer: coarse) {
.h26-drag-cursor { display: none; }
}

/* Мобильное меню: «Спонсорам · Партнерам» (на десктопе скрыто — ссылки есть в футере) */
.h26-menu__extra { display: none; }
@media (max-width: 1100px) {
    .h26-menu__extra { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: -12px; color: var(--h26-muted); font-size: 14px; }
    .h26-menu__extra a { display: inline-flex; align-items: center; min-height: 44px; color: var(--h26-muted); }
    .h26-menu__extra a:hover { color: var(--h26-accent); text-decoration: underline; text-underline-offset: 4px; }
}

/* Меню личного кабинета (module/account.tpl, account/account.tpl): было прибито к низу экрана скриптом js2021/index.js
   (inline position:fixed/absolute) — ставим сразу под хедером, первым элементом main (main.main — flex-колонка). */
main.main > .account-nav, .account-nav#accauntNav {
    position: relative !important; bottom: auto !important; left: auto; order: -1; width: 100%; z-index: 5;
}

/* Соцсети компании на публичной странице (information/company.tpl) — круглые иконки */
/* в строке «Україна • іконки • Перейти на сайт» (старая разметка) — остаётся строчным блоком, отступы и точки-разделители прежние */
.soc-networks.h26-csoc { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; vertical-align: middle; }
.soc-networks.h26-csoc > a:not(:last-of-type) { margin-right: 0; }
.h26-csoc .h26-csoc__link {
    display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; box-sizing: border-box;
    border: 1px solid #ded0e5; border-radius: 50%; background: #fff; color: #1c1820; text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.h26-csoc .h26-csoc__link:hover, .h26-csoc .h26-csoc__link:focus-visible { border-color: #69289c; background: #69289c; color: #fff; }
.h26-csoc .h26-csoc__link:focus-visible { outline: 3px solid rgba(105, 40, 156, .35); outline-offset: 2px; }
.h26-soc-ico { font-size: 15px; line-height: 1; }
/* на новых страницах .h26-page задаёт свой шрифт всем элементам — иконкам Font Awesome 5 Brands возвращаем их шрифт */
i.h26-soc-ico.fab { font-family: "Font Awesome 5 Brands" !important; font-weight: 400; font-style: normal; }
svg.h26-soc-ico { display: block; width: 18px; height: 18px; }
@media screen and (min-width: 901px) {
    /* с иконками соцсетей ряд не помещался (отступы 87px) — «Перейти на сайт» переносился; сокращаем отступы и точки-разделители */
    .comany-links > *:not(:last-child) { margin-right: 44px; }
    .comany-links > *:not(:last-child):after { right: -25px; }
}

/* Ссылка «Профіль на IT-Рейтинг» на странице компании — в одной строке с e-mail */
.company-body .h26-company-itr { display: inline-flex; gap: 4px; margin: 0 0 20px 24px; vertical-align: top; }
@media screen and (max-width: 900px) { .company-body .h26-company-itr { margin-left: 0; display: flex; } }

/* ---------- Страница компании (information/company.tpl, 2026) — поверх стилей 2021 ---------- */
.h26-co .h26-co__head { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 40px; align-items: start; margin: 8px 0 56px; }
.h26-co .h26-co__logo { width: auto; max-width: none; min-width: 0; margin: 0; }
.h26-co .h26-co__logo img { display: block; width: 100%; height: auto; border-radius: 16px; background: #fff; }
.h26-co .h26-co__body { width: auto; max-width: 760px; margin: 0; }
.h26-co .h26-co__title { margin: 0 0 10px; font-family: var(--h26-mono, 'fira700'), monospace; font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; color: #1c1820; }
.h26-co__meta { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0 0 20px; color: #6f6577; font-size: 14px; line-height: 1.5; }
.h26-co__meta > span:not(:last-child)::after { content: "·"; margin: 0 10px; color: #b9aec2; }
.h26-co__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 24px; }
.h26-co__site, .h26-co__itr { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border: 1px solid #ded0e5; border-radius: 999px; background: #fff; color: #1c1820; font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s ease, color .2s ease; }
.h26-co__site { border-color: #69289c; background: #69289c; color: #fff; }
.h26-co__site:hover { background: #561f80; color: #fff; text-decoration: none; }
.h26-co__itr:hover { border-color: #69289c; color: #69289c; text-decoration: none; }
.h26-co .soc-networks.h26-csoc { margin: 0; }
.h26-co .h26-co__desc { width: auto; margin: 0; }
.h26-co .h26-co__desc p { margin: 0; color: #3a3340; font-size: 16px; line-height: 1.65; }
.h26-co__section { margin: 0 0 56px; }
.h26-co__h2 { margin: 0 0 20px; font-family: var(--h26-mono, 'fira700'), monospace; font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; color: #1c1820; text-transform: none; }
/* награды */
.h26-co-awards__year { margin: 0 0 12px; }
.h26-co-awards__year > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.h26-co-awards__year > summary::-webkit-details-marker { display: none; }
.h26-co-awards__year > summary::before { content: "▸"; color: #69289c; transition: transform .2s ease; }
.h26-co-awards__year[open] > summary::before { transform: rotate(90deg); }
.h26-co-awards__label { margin: 0 0 10px; padding: 4px 0; color: #6f6577; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.h26-co-awards__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.h26-co-awards__list .h26-co-award { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid #ebdff2; border-radius: 14px; background: #fff; }
.h26-co-award__place { justify-self: start; padding: 2px 10px; border-radius: 999px; background: #f4ecf8; color: #69289c; font-size: 12px; font-weight: 700; line-height: 1.6; }
.h26-co-award--p1 .h26-co-award__place { background: #f7e7b0; color: #6b4e00; }
.h26-co-award--p2 .h26-co-award__place { background: #e6e8ec; color: #3c4350; }
.h26-co-award--p3 .h26-co-award__place { background: #f1d9c8; color: #7a3f17; }
.h26-co-award__nom { color: #1c1820; font-size: 14px; font-weight: 600; line-height: 1.4; }
.h26-co-award__project { color: #6f6577; font-size: 13px; text-decoration: none; }
.h26-co-award__project:hover { color: #69289c; }
/* вкладки годов */
.h26-ytabs { display: flex; gap: 8px; margin: 0 0 24px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: thin; }
.h26-ytabs__tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid #ded0e5; border-radius: 999px; background: #fff; color: #1c1820; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.h26-ytabs__tab[aria-selected="true"] { border-color: #69289c; background: #69289c; color: #fff; }
.h26-ytabs__tab:focus-visible { outline: 3px solid rgba(105, 40, 156, .35); outline-offset: 2px; }
.h26-ytabs__count { padding: 0 7px; border-radius: 999px; background: rgba(105, 40, 156, .1); font-size: 12px; line-height: 1.6; }
.h26-ytabs__tab[aria-selected="true"] .h26-ytabs__count { background: rgba(255, 255, 255, .22); }
.h26-ytabs__panel[hidden] { display: none !important; }
.h26-co__card-title { margin: 0; font-size: inherit; font-weight: inherit; }
.h26-co-card-awards { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12px; color: #3a3340; }
.h26-co-card-awards .h26-co-award { display: inline-flex; align-items: center; gap: 6px; }
.h26-co-card-awards .h26-co-award__place { flex: none; padding: 0 8px; font-size: 11px; white-space: nowrap; }
.h26-co-card-awards .h26-co-award { align-items: flex-start; }
.h26-co__empty { margin: 0 0 56px; color: #6f6577; }
/* отступ сверху от старой вёрстки (main margin 62px + .page 30px) — на странице компании меньше */
body[data-rout="information/company"] main.main { margin-top: 0; }
body[data-rout="information/company"] main.main > .page { padding-top: 32px; }
@media screen and (max-width: 900px) {
    /* узкие экраны: логотип слева от названия и меты, ссылки и описание — на всю ширину */
    .h26-co .h26-co__head { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "logo title" "logo meta" "links links" "desc desc"; gap: 0 20px; align-items: center; margin-bottom: 40px; }
    .h26-co .h26-co__body { display: contents; }
    .h26-co .h26-co__logo { grid-area: logo; align-self: start; }
    .h26-co .h26-co__title { grid-area: title; align-self: end; margin-bottom: 8px; }
    .h26-co .h26-co__meta { grid-area: meta; align-self: start; margin-bottom: 0; }
    .h26-co .h26-co__links { grid-area: links; margin: 20px 0 0; }
    .h26-co .h26-co__desc { grid-area: desc; width: auto; margin: 20px 0 0; }
}
@media screen and (max-width: 600px) {
    body[data-rout="information/company"] main.main > .page { padding-top: 20px; }
    .h26-co .h26-co__head { grid-template-columns: 84px minmax(0, 1fr); gap: 0 16px; }
    .h26-co .h26-co__title { font-size: 26px; }
    .h26-co__site { flex: 1 1 100%; justify-content: center; }
}
@media screen and (max-width: 600px) {
    /* мета-строка компании на мобильном — «чипы», без висящих точек-разделителей */
    .h26-co__meta { gap: 6px; }
    .h26-co__meta > span { padding: 2px 10px; border-radius: 999px; background: #f4ecf8; font-size: 13px; }
    .h26-co__meta > span:not(:last-child)::after { content: none; }
    .h26-co .h26-co__head { margin-top: 0; }
}

/* «Показати ще» на странице компании (проекты по вкладкам, награды по сезонам) */
.h26-more-hidden { display: none !important; }
.h26-more-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 20px auto 0; padding: 0 24px; border: 1px solid #69289c; border-radius: 999px; background: #fff; color: #69289c; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.h26-more-btn:hover { background: #69289c; color: #fff; }
.h26-more-btn:focus-visible { outline: 3px solid rgba(105, 40, 156, .35); outline-offset: 2px; }
.h26-more-btn[hidden] { display: none; }
.h26-co-awards__list + .h26-more-btn { margin: 12px 0 0; }

/* ---------- Карточки проектов (макет редизайна /nominations/, 2026-11-11) — .h26-pc ---------- */
.h26-pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.h26-pc { position: relative; display: flex; flex-direction: column; min-width: 0; }
.h26-pc__media { position: relative; overflow: hidden; border-radius: 9px; background: #ededed; }
.h26-pc__img { display: block; aspect-ratio: 1.43 / 1; overflow: hidden; }
.h26-pc__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .65s var(--h26-ease); }
.h26-pc__img:hover img, .h26-pc__img:focus-visible img { scale: 1.045; }
.h26-pc__score { position: absolute; top: 13px; left: 13px; padding: 6px 10px; border-radius: 5px; background: #fff; box-shadow: rgba(0, 0, 0, .067) 0 1px 9px; color: var(--h26-ink); font-family: var(--h26-mono), monospace; font-size: 15px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; pointer-events: none; }
.h26-pc__score > span { margin-left: 4px; color: var(--h26-muted); font-size: 9px; }
.h26-pc__save { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 33px; height: 33px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--h26-ink); cursor: pointer; transition: background .25s, scale .25s, color .25s; }
.h26-pc__save:hover, .h26-pc__save:focus-visible { background: var(--h26-accent); color: #fff; scale: 1.12; }
.h26-pc__save svg { display: block; }
.h26-pc__share { position: absolute; right: 13px; bottom: 13px; z-index: 2; }
.h26-pc__share summary { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #323232; list-style: none; cursor: pointer; transition: background .2s, translate .2s; }
.h26-pc__share summary::-webkit-details-marker { display: none; }
.h26-pc__share summary:hover { background: #f1def8; translate: 0 -2px; }
.h26-pc__share summary svg { display: block; }
.h26-pc__share > div { position: absolute; right: 0; bottom: 43px; width: 140px; padding: 9px; border-radius: 8px; background: rgba(255, 255, 255, .96); box-shadow: rgba(67, 32, 82, .125) 0 8px 28px; }
.h26-pc__share a { display: block; padding: 7px; border-radius: 4px; color: var(--h26-ink); font-size: 12px; text-decoration: none; }
.h26-pc__share a:hover { background: #f3eafa; color: var(--h26-accent); }
.h26-pc__title { min-height: 51px; margin: 0; padding-top: 14px; font-family: var(--h26-sans); font-size: 17px; font-weight: 500; letter-spacing: -.035em; line-height: 1.45; text-transform: none; }
.h26-pc__title a { display: inline-block; color: var(--h26-ink); text-decoration: none; transition: translate .3s var(--h26-ease); }
.h26-pc__title a:hover { translate: 3px; text-decoration: underline; text-underline-offset: 4px; }
.h26-pc .h26-co-card-awards { margin: 2px 0 0; }
.h26-pc__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 43px; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--h26-line); color: var(--h26-muted); font-size: 12px; }
.h26-pc .h26-co-card-awards + .h26-pc__meta, .h26-pc__title + .h26-pc__meta { margin-top: 12px; }
.h26-pc__meta > span { min-width: 0; color: #43464e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h26-pc__meta > time { flex: none; font-family: var(--h26-mono), monospace; letter-spacing: -.03em; }
@media (min-width: 1680px) { .h26-pc__title { font-size: 20px; } }
@media (max-width: 1000px) { .h26-pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; } }
@media (max-width: 599px) { .h26-pc-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Вкладки годов на странице компании — чипы как в макете (градиент у активной) */
.h26-ytabs { gap: 8px; margin: 0 0 28px; }
.h26-ytabs__tab { min-height: 42px; padding: 0 18px; border: 1px solid #e7deec; border-radius: 40px; background: rgba(255, 255, 255, .7); color: var(--h26-ink); font-family: var(--h26-mono), monospace; font-size: 13px; font-weight: 500; letter-spacing: -.03em; transition: border-color .25s, translate .25s; }
.h26-ytabs__tab:hover { border-color: var(--h26-accent); translate: 0 -2px; }
.h26-ytabs__tab[aria-selected="true"] { border-color: transparent; background: var(--h26-gradient); color: #fff; }
.h26-ytabs__count { font-family: var(--h26-sans); font-size: 11px; }

/* Логотипы компаний без белых полей (fitImage): в каталоге — вписаны в плашку, на странице компании — по пропорциям */
.company-card__img img { width: auto; height: auto; max-width: 76%; max-height: 64%; object-fit: contain; }
.h26-co .h26-co__logo img { width: auto; max-width: 100%; height: auto; max-height: 200px; }

/* ---------- Пагинация на всём сайте (макет редизайна /nominations/, 2026-11-11) ----------
   Разметка — system/library/pagination.php: .pagination > .pag-item (.active-pag, .disabled, .pag-prev, .pag-next, .pag-gap).
   После AJAX filterpro вкладывает .pagination внутрь .pagination — внутреннюю «растворяем». Префикс html body — поверх 2021/style.css и stylesheet.css. */
html body .pagination {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
    width: 100%; margin: 0; padding: 42px 0 30px; border: 0; background: none;
}
html body .pagination::after { content: none; }
html body .pagination .pagination { display: contents; }
html body .pagination .pag-item { margin: 0; padding: 0; border: 0; background: none; cursor: default; transition: none; }
html body .pagination .pag-item a {
    display: grid; place-items: center; box-sizing: border-box; width: 52px; min-width: 52px; height: 52px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--h26-ink);
    font-family: var(--h26-mono), monospace; font-size: 15.6px; font-weight: 400; letter-spacing: -.03em; line-height: 1; text-decoration: none;
    transition: background .2s, color .2s, translate .2s;
}
html body .pagination .pag-item a:hover { background: #f0e2f7; color: var(--h26-accent); }
html body .pagination .pag-item.active-pag a,
html body .pagination .pag-item.active-pag a:hover { background: var(--h26-accent); color: #fff; cursor: default; }
html body .pagination .pag-item.pag-prev a,
html body .pagination .pag-item.pag-next a {
    border: 1px solid #ddcce7; background: rgba(255, 255, 255, .68); color: var(--h26-accent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html body .pagination .pag-item.pag-prev a:hover,
html body .pagination .pag-item.pag-next a:hover { background: #eee0f6; color: var(--h26-accent); }
html body .pagination .pag-item.pag-next a:hover { translate: 2px 0; }
html body .pagination .pag-item.pag-prev a:hover { translate: -2px 0; }
html body .pagination .pag-item.pag-prev svg { rotate: 180deg; }
html body .pagination .pag-item svg { display: block; width: 26px; height: 26px; }
html body .pagination .pag-item.disabled a,
html body .pagination .pag-item.disabled a:hover { opacity: .3; background: transparent; translate: none; cursor: default; pointer-events: none; }
html body .pagination .pag-item a:focus-visible { outline: 3px solid var(--h26-accent); outline-offset: 4px; }
html body .pagination .pag-item.pag-gap a { width: auto; min-width: 32px; }
@media (max-width: 767px) {
    html body .pagination { gap: 4px; padding-top: 30px; }
    html body .pagination .pag-item a { width: 40px; min-width: 40px; height: 40px; font-size: 13px; }
    html body .pagination .pag-item svg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html body .pagination .pag-item a { transition: none; }
}

/* Фон-«атмосфера» как в макете (владелец 2026-11-11: «сделай пятна на фоне везде как на главной»).
   Один слой на всех страницах — div.h26-atmo сразу после <body> (header.tpl, header_home.tpl):
   1) едва заметная SVG-фигура справа вверху (image/2021/1/2.svg = original-shape-2.svg макета, opacity .1);
   2) мягкий сиреневый градиент слева (top 1000px); 3) сиренево-персиковый справа (top 2450px).
   Прежние пятна страниц (atmosphere, ::before/::after главной и h26-page) и старые SVG-кружки 2021 (div.s.c) отключены, чтобы не дублировать. */
body.h26-inner, body.h26-body { position: relative; isolation: isolate; }
.h26-atmo { position: absolute; top: 0; left: 0; z-index: -1; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.h26-atmo span { position: absolute; display: block; }
.h26-atmo span:nth-child(1) { top: -220px; right: -200px; width: 850px; height: 850px; background: url(../image/2021/1/2.svg) 50% 50% / contain no-repeat; }
.h26-atmo span:nth-child(2) { top: 1000px; left: -520px; width: 980px; height: 980px; filter: blur(45px); background: radial-gradient(rgba(215, 169, 239, .5) 0%, rgba(232, 208, 241, .3) 45%, rgba(0, 0, 0, 0) 70%); }
.h26-atmo span:nth-child(3) { top: 2450px; right: -420px; width: 900px; height: 900px; filter: blur(45px); background: radial-gradient(rgba(220, 175, 241, .48) 0%, rgba(255, 228, 205, .36) 40%, rgba(0, 0, 0, 0) 70%); }
.s.c, .h26-nm-atmosphere, .h26-ab-atmosphere { display: none !important; }
.h26-main::before, .h26-main::after, .h26-page::before, .h26-page::after { content: none !important; display: none !important; }

/* цель якоря получает фокус (h26-chrome.js) — без рамки при переходе мышью */
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

/* меню ЛК: «0 балів» — пробел между числом и словом (в flex-пункте пробел-текст схлопывается) */
.account-nav__item.last > i { margin-right: .35em; }
