/* TutHost 2026 — ядро теми: шрифт Inter, міст до змінних Kadence, кнопки, шапка з мега-меню й мобільним меню,
   підвал, 404, хлібні крихти. Класи й значення — з дизайн-стандарту №9 (design-system/assets/ds.css).
   Відмінність від стандарту: глобальні скидання (h1–p без полів, ul без відступу, вигляд button) діють лише
   всередині .th-header, .th-footer і .th-404 — старий вміст сторінок зверстаний під основу Kadence.
   Лише змінні --th-*; HEX — тільки прозорий білий на темному (як у стандарті). */

/* ---------- Шрифт: Inter 400/600/700 (OFL, локально; assets/fonts/LICENSE) ---------- */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-latin-400-normal.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:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-cyrillic-400-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/inter-cyrillic-ext-400-normal.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:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-latin-600-normal.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:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-cyrillic-600-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/inter-cyrillic-ext-600-normal.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:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/inter-latin-700-normal.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:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/inter-cyrillic-700-normal.woff2") format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Inter";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/inter-cyrillic-ext-700-normal.woff2") format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
/* запасний шрифт із метриками Inter (CLS): окремо для кожного накреслення — README стандарту, «Шрифт без зсуву макета» */
@font-face{font-family:"Inter Fallback";font-weight:400;src:local("Arial"),local("ArialMT");size-adjust:107%;ascent-override:90%;descent-override:22%;line-gap-override:0%}
@font-face{font-family:"Inter Fallback";font-weight:600;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:101.5%;ascent-override:94.8%;descent-override:23.2%;line-gap-override:0%}
@font-face{font-family:"Inter Fallback";font-weight:700;src:local("Arial Bold"),local("Arial-BoldMT");size-adjust:102.5%;ascent-override:93.9%;descent-override:23%;line-gap-override:0%}

/* ---------- Міст до Kadence: шрифт сайту й фокус ----------
   Kadence бере шрифт зі змінних --global-*-font-family (його inline-CSS друкується раніше за цей файл). */
:root{--global-body-font-family:var(--th-font);--global-heading-font-family:var(--th-font);--global-primary-nav-font-family:var(--th-font);
  --global-fallback-font:"Inter Fallback",system-ui,sans-serif;--global-display-fallback-font:"Inter Fallback",system-ui,sans-serif}
html{scroll-padding-top:calc(var(--th-head) - 20px)}
/* шрифт тексту в Customizer — «inherit», і Kadence пише body{font-family:inherit} (від html, тобто шрифт браузера):
   задаємо явно; поля форм Kadence успадковують від body */
body{font-family:var(--th-font)}
:focus-visible{outline:var(--th-focus-ring);outline-offset:var(--th-focus-offset)}

/* ---------- Спільне (класи стандарту, без зміни старого вмісту) ---------- */
.th-wrap{width:min(calc(100% - 2 * var(--th-gutter)),var(--th-width));margin-inline:auto}
.th-i{display:inline-block;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.th-sr,.th-skip:not(:focus){position:absolute!important;overflow:hidden;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap}
.th-skip:focus{position:fixed;top:8px;left:8px;z-index:var(--th-z-skip);padding:12px;background:var(--th-paper);color:var(--th-accent);font:var(--th-w-semibold) var(--th-fs-ui)/1.2 var(--th-font)}
.th-money,.th-num{white-space:nowrap;font-variant-numeric:tabular-nums}

/* Скидання лише в межах шапки, підвалу й 404 (на основу Kadence: її button, ul, h2, img) */
:where(.th-header,.th-footer,.th-404){font-family:var(--th-font);line-height:var(--th-lh-body);overflow-wrap:break-word;-webkit-font-smoothing:antialiased}
/* :is() (0,1,0) — сильніше за ul/h2 основи Kadence (0,0,1); класи компонентів нижче перекривають (той самий рівень, пізніше) */
:is(.th-header,.th-footer,.th-404) :where(h1,h2,h3,h4,h5,h6,p,ul,ol,figure){margin:0}
:is(.th-header,.th-footer,.th-404) :where(ul,ol){padding:0;list-style:none}
:where(.th-header,.th-footer,.th-404) :where(h1,h2,h3,h4,h5,h6){line-height:var(--th-lh-heading);font-weight:var(--th-w-bold);text-wrap:balance;color:inherit}
:where(.th-header,.th-footer,.th-404) summary{list-style:none;cursor:pointer}
:where(.th-header,.th-footer,.th-404) summary::-webkit-details-marker{display:none}
:where(.th-header,.th-footer,.th-404) a{transition:none}
:where(.th-header) button{margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font:inherit;line-height:inherit;text-transform:none;letter-spacing:inherit;cursor:pointer}
/* стани Kadence (button:hover/:focus — фон і тінь кнопок) знімаємо, але без margin/padding: інакше «Меню» з margin-left:auto
   відскакує з-під курсора при наведенні (знайдено на стенді) */
:where(.th-header) button:is(:hover,:focus,:active){background:none;box-shadow:none;color:inherit}
.th-logo img{display:block;height:29px;width:auto}

/* ---------- 1. Кнопка ---------- */
.th-btn,.th-btn:visited{display:inline-flex;align-items:center;justify-content:center;gap:var(--th-s2);min-height:46px;padding:11px 20px;border-radius:var(--th-r2);border:1px solid transparent;
  font:var(--th-w-semibold) var(--th-fs-ui)/var(--th-lh-ui) var(--th-font);text-align:center;text-decoration:none;text-transform:none;letter-spacing:0;box-shadow:none;
  background:var(--th-accent);color:var(--th-paper);transition:background-color var(--th-t-fast),border-color var(--th-t-fast)}
.th-btn:is(:hover,:focus,:active){background:var(--th-night);color:var(--th-paper);box-shadow:none}
.th-btn--lime,.th-btn--lime:visited{background:var(--th-lime);color:var(--th-deep)}
.th-btn--lime:is(:hover,:focus,:active){background:var(--th-lime-hover);color:var(--th-deep)}
.th-btn--outline,.th-btn--outline:visited{background:var(--th-paper);color:var(--th-accent);border-color:var(--th-accent)}
.th-btn--outline:is(:hover,:focus,:active){background:var(--th-wash);color:var(--th-accent-ink)}
.th-btn--sm{min-height:38px;padding:8px 14px;font-size:var(--th-fs-sm)}
.th-btns{display:flex;flex-wrap:wrap;align-items:center;gap:var(--th-s3) var(--th-s4)}

/* ---------- 14. Хлібні крихти (розмітка стандарту; для крихт Rank Math у заголовку Kadence — compat) ---------- */
.th-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;list-style:none;font-size:var(--th-fs-sm);color:var(--th-muted)}
.th-crumbs li{display:inline-flex;align-items:center;gap:6px}
.th-crumbs li+li::before{content:"/";color:var(--th-line-2)}
.th-crumbs a{display:inline-flex;align-items:center;min-height:24px;color:var(--th-accent)}
.th-crumbs [aria-current]{color:var(--th-ink)}

/* ---------- Шапка, мега-меню, мобільне меню (тип 32) ----------
   Світла шапка; верхній рядок (новина, контакти, мова, валюта) прокручується, основний — липкий. */
.th-header{position:sticky;top:-36px;z-index:var(--th-z-header);background:var(--th-paper);box-shadow:var(--th-shadow-line);color:var(--th-ink)}
.admin-bar .th-header{top:-4px}
.th-top{background:var(--th-deep);color:var(--th-on-dark);font-size:var(--th-fs-xs)}
.th-top__in{display:flex;align-items:center;justify-content:space-between;gap:16px;height:36px}
.th-top a,.th-top a:visited{display:inline-flex;align-items:center;gap:7px;min-height:24px;color:inherit;text-decoration:none}
.th-top a:hover{text-decoration:underline;color:inherit}
.th-top :focus-visible{outline:var(--th-focus-ring-dark);outline-offset:2px}
.th-newsline{display:flex;align-items:center;gap:9px;min-width:0;margin:0}
.th-newsline b{font-size:11px;text-transform:uppercase;letter-spacing:var(--th-ls-label);color:var(--th-deep);background:var(--th-lime);border-radius:var(--th-r1);padding:1px 6px;line-height:1.45}
.th-top .th-newsline a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:24px}
.th-util{display:flex;align-items:center;gap:18px;flex:none;min-height:26px}
.th-util details{position:relative}
.th-util summary{display:inline-flex;align-items:center;gap:6px;min-height:24px}
.th-pop{position:absolute;top:calc(100% + 6px);left:0;z-index:var(--th-z-dropdown);min-width:160px;padding:6px;background:var(--th-paper);color:var(--th-ink);border:1px solid var(--th-line);border-radius:var(--th-r2);box-shadow:var(--th-shadow-md)}
.th-top .th-pop a,.th-top .th-pop a:visited{display:flex;padding:6px 8px;color:var(--th-ink);border-radius:var(--th-r1)}
.th-top .th-pop a:hover{background:var(--th-lilac);text-decoration:none}
.th-top .th-pop :focus-visible{outline:var(--th-focus-ring);outline-offset:0}
.th-pop small{display:block;padding:0 8px 6px;font-size:var(--th-fs-xs);color:var(--th-muted);white-space:nowrap}
.th-langs,.th-cur{display:inline-flex;align-items:center;gap:2px}
.th-langs a,.th-langs span{display:inline-grid;place-items:center;min-width:28px;min-height:26px;padding:0 5px;border-radius:var(--th-r1);font-weight:var(--th-w-semibold)}
.th-langs [aria-current]{background:#ffffff22}
/* валюта: розмітка [WHMCSCurrencySwitcher] — радіокнопки .btn-check + підписи .btn (Bootstrap теми tuthost більше не підключено) */
.th-cur .btn-group{display:inline-flex;align-items:center;gap:2px}
.th-cur .btn-check{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);opacity:0;pointer-events:none}
.th-cur label.btn{display:inline-grid;place-items:center;min-width:28px;min-height:26px;margin:0;padding:0 6px;border:0;border-radius:var(--th-r1);background:none;color:inherit;font:var(--th-w-semibold) var(--th-fs-xs)/1 var(--th-font);cursor:pointer}
.th-cur label.btn:hover{text-decoration:underline}
.th-cur .btn-check:checked+label.btn{background:var(--th-lime);color:var(--th-deep);text-decoration:none}
.th-cur .btn-check:focus-visible+label.btn{outline:var(--th-focus-ring-dark);outline-offset:2px}
/* валюта кнопками $ / ₴ (модуль th-site currency, aria-pressed) — як у стандарті; правила label.btn вище прибрати
   разом з увімкненням модуля на етапі 5 */
.th-cur button{display:inline-grid;place-items:center;min-width:28px;min-height:26px;padding:0 5px;border-radius:var(--th-r1);font:var(--th-w-semibold) var(--th-fs-xs)/1 var(--th-font);cursor:pointer}
.th-cur button:hover{text-decoration:underline}
.th-cur button[aria-pressed=true]{background:var(--th-lime);color:var(--th-deep);text-decoration:none}
.th-cur button:focus-visible{outline:var(--th-focus-ring-dark);outline-offset:2px}
.th-navrow{display:flex;align-items:center;justify-content:space-between;gap:var(--th-s5);height:72px;position:relative}
/* слот логотипа: assets/logo-light.svg / logo-dark.svg (L6a «Знак окремо», brand/logo/final) — висота 29 px */
.th-logo,.th-logo:visited{display:inline-flex;align-items:center;flex:none;text-decoration:none}
.th-nav{display:flex;align-items:center;gap:clamp(8px,1.1vw,20px);font-size:14.5px;font-weight:var(--th-w-semibold)}
.th-nav>details{position:relative}
.th-nav>details.th-mg{position:static}
.th-nav summary{display:flex;align-items:center;gap:3px;min-height:44px;color:var(--th-ink);white-space:nowrap}
.th-nav details[open]>summary,.th-nav summary:hover{color:var(--th-accent)}
.th-nav details[open]>summary .th-i{transform:rotate(180deg)}
.th-nav__a,.th-nav__a:visited{display:flex;align-items:center;min-height:44px;color:var(--th-ink);text-decoration:none;white-space:nowrap}
.th-nav__a:hover,.th-nav__a[aria-current]{color:var(--th-accent)}
.th-dd{position:absolute;top:100%;z-index:var(--th-z-dropdown);min-width:230px;padding:var(--th-s2);background:var(--th-paper);border:1px solid var(--th-line);border-radius:var(--th-r2);box-shadow:var(--th-shadow-md);font-weight:var(--th-w-regular)}
.th-dd a,.th-dd a:visited{display:block;padding:7px 10px;color:var(--th-ink);text-decoration:none;border-radius:var(--th-r1);line-height:1.35}
.th-dd a:hover,.th-dd a:focus-visible{background:var(--th-lilac);color:var(--th-ink)}
.th-dd a[aria-current=page]{color:var(--th-accent);font-weight:var(--th-w-semibold)}
.th-dd a small{display:block;color:var(--th-muted);font-size:var(--th-fs-xs)}
.th-dd__h{display:block;margin:6px 10px 4px;font-size:12px;text-transform:uppercase;letter-spacing:var(--th-ls-label);color:var(--th-muted);font-weight:var(--th-w-semibold)}
.th-dd p{margin:4px 10px 8px;font-size:var(--th-fs-sm);color:var(--th-muted);line-height:1.45}
.th-dd .th-btn{margin:4px 10px 8px}
.th-dd a.th-btn,.th-dd a.th-btn:visited{display:inline-flex;color:var(--th-paper);background:var(--th-accent)}
.th-dd a.th-btn:hover,.th-dd a.th-btn:focus-visible{color:var(--th-paper);background:var(--th-night)}
.th-dd--2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px;min-width:520px}
.th-mega{left:0;right:0;display:grid;gap:4px 20px;padding:16px;grid-template-columns:1.1fr 1fr 1.3fr 1.2fr}
.th-account,.th-account:visited{display:inline-flex;align-items:center;flex:none;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--th-line);border-radius:var(--th-r2);font-size:var(--th-fs-sm);font-weight:var(--th-w-semibold);color:var(--th-ink);text-decoration:none;white-space:nowrap}
.th-account:hover{border-color:var(--th-accent);color:var(--th-ink)}
.th-short{display:none}
.th-burger,.th-mtools{display:none}

/* ---------- Підвал ----------
   Колонки посилань — віджети Kadence footer1–4 (меню, блоки «Останні записи», заголовки GB): тут їх вигляд. */
.th-footer{margin-top:auto;padding:50px 0 24px;color:var(--th-on-dark);background:var(--th-deep)}
.th-footer :focus-visible{outline:var(--th-focus-ring-dark);outline-offset:2px}
.th-foot{display:grid;grid-template-columns:1.3fr repeat(4,minmax(0,1fr));gap:var(--th-s5)}
.th-footer a,.th-footer a:visited{color:var(--th-on-dark);text-decoration:none}
.th-footer a:hover{text-decoration:underline;color:var(--th-on-dark)}
.th-foot__co>a:not(.th-logo){display:block;padding:3px 0;font-size:var(--th-fs-sm);min-height:24px}
.th-foot p{margin:12px 0;font-size:var(--th-fs-sm);color:var(--th-pale)}
.th-foot small{display:block;margin:-2px 0 4px;font-size:12.5px;color:var(--th-pale)}
.th-foot__w{min-width:0}
.th-foot__w .widget{margin:0;padding:0;border:0;background:none;color:inherit}
.th-foot__w .widget+.widget{margin-top:22px}
.th-foot__w .widget-title,.th-foot__w .widget .gb-headline,.th-foot__w .widget .gb-headline-text{margin:0 0 10px;padding:0;border:0;color:var(--th-paper);background:none;font:var(--th-w-bold) var(--th-fs-md)/1.3 var(--th-font);letter-spacing:-.01em;text-transform:none}
.th-foot__w .widget .gb-headline strong{font-weight:inherit}
.th-foot__w .widget_block:has(>.gb-headline)+.widget{margin-top:0}/* заголовок-блок GB і його список — одна група */
.th-foot__w ul{margin:0;padding:0;list-style:none}
.th-foot__w li{margin:0;padding:0}
.th-foot__w li a,.th-foot__w li a:visited{display:block;padding:3px 0;min-height:24px;font-size:var(--th-fs-sm);line-height:1.45}
.th-foot__w time,.th-foot__w .wp-block-latest-posts__post-date{display:block;margin:0 0 4px;font-size:12.5px;color:var(--th-pale)}
.th-foot__w .wp-block-latest-posts__list li+li{margin-top:6px}
.th-trustline{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:28px;padding:14px 0;border-top:1px solid #ffffff30;list-style:none;font-size:13.5px;color:var(--th-pale)}
.th-trustline li{display:inline-flex;align-items:center;gap:8px}
.th-trustline .th-i{color:var(--th-lime)}
.th-legal,.th-copy{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:22px;padding-top:16px;border-top:1px solid #ffffff30;font-size:13.5px}
.th-legal a{min-height:24px;display:inline-flex;align-items:center}
.th-copy{justify-content:space-between;color:var(--th-pale)}
.th-copy div{display:flex;gap:16px}

/* ---------- 404 (templates/404.html) ---------- */
.th-dark{color:var(--th-paper);background:var(--th-gradient-hero)}
.th-404{padding:var(--th-s7) 0 var(--th-s8)}
.th-404:focus{outline:0}
.th-404__code{font-size:clamp(72px,12vw,150px);font-weight:var(--th-w-bold);letter-spacing:-.05em;line-height:1;color:var(--th-lime)}
.th-404__h{margin-top:var(--th-s3);font-size:var(--th-fs-h2);letter-spacing:var(--th-ls-title);color:var(--th-paper)}
.th-404__lead{max-width:36em;margin-top:var(--th-s4);color:var(--th-pale)}
.th-404 :focus-visible{outline:var(--th-focus-ring-dark);outline-offset:2px}
.th-search{display:flex;align-items:center;gap:8px;max-width:560px;margin-top:var(--th-s5);padding:4px 4px 4px 14px;background:var(--th-paper);border:1px solid var(--th-line-2);border-radius:var(--th-r2);color:var(--th-ink)}
.th-search>.th-i{color:var(--th-muted)}
.th-search input[type=search],.th-search input[type=search]:focus{flex:1;min-width:0;width:100%;margin:0;padding:8px 0;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--th-ink);font:var(--th-fs-md)/1.4 var(--th-font)}
.th-search input::placeholder{color:var(--th-muted);opacity:1}
.th-search input:focus-visible{outline:0}
.th-search:focus-within{outline:var(--th-focus-ring-dark);outline-offset:2px}
.th-search .th-btn{min-height:40px;white-space:nowrap}
.th-404__links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--th-s4);margin-top:var(--th-s6)}
.th-svc,.th-svc:visited{display:flex;flex-direction:column;gap:6px;height:100%;padding:18px;border:1px solid var(--th-on-dark-line);border-radius:var(--th-r2);background:var(--th-on-dark-fill);color:inherit;text-decoration:none}
.th-svc:hover{border-color:var(--th-pale);color:inherit}
.th-svc>.th-i{color:var(--th-lime)}
.th-ct{font-size:var(--th-fs-xl);font-weight:var(--th-w-bold);letter-spacing:-.015em;line-height:1.25}
.th-404__d{color:var(--th-pale);font-size:var(--th-fs-sm)}

/* ---------- Адаптив (брейкпоінти tokens.json: 1150, 970, 700, 435) ---------- */
@media(max-width:1150px){
  .th-nav{gap:8px;font-size:13.5px}.th-long{display:none}.th-account .th-short{display:inline}
  .th-mega{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:970px){
  html{scroll-padding-top:76px}
  .th-header,.admin-bar .th-header{top:0}
  .th-top{display:none}
  .th-navrow{height:60px}
  .th-burger{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 6px;margin-left:auto;font-size:var(--th-fs-sm);font-weight:var(--th-w-semibold)}
  .th-nav{display:none;position:absolute;left:calc(-1 * var(--th-gutter));right:calc(-1 * var(--th-gutter));top:100%;flex-direction:column;align-items:stretch;gap:0;max-height:calc(100dvh - 60px);overflow-y:auto;padding:8px var(--th-gutter) 20px;background:var(--th-paper);box-shadow:var(--th-shadow-md);font-size:var(--th-fs-md)}
  .th-nav.is-open{display:flex}
  .th-nav>details,.th-nav>.th-nav__a{border-bottom:1px solid var(--th-line)}
  .th-nav summary{justify-content:space-between;min-height:48px}
  .th-dd,.th-mega,.th-dd--2{position:static;display:block;min-width:0;border:0;box-shadow:none;padding:0 0 10px;background:transparent}
  .th-dd a{padding:9px 10px;min-height:44px}
  .th-mtools{display:flex;flex-direction:column;gap:10px;padding-top:14px}
  .th-mtools a,.th-mtools a:visited{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--th-ink);text-decoration:none}
  .th-mtools .th-langs a,.th-mtools .th-langs span{min-width:44px;min-height:44px;border:1px solid var(--th-line)}
  .th-mtools .th-langs [aria-current]{background:var(--th-lilac)}
  .th-mtools .th-cur label.btn{min-width:44px;min-height:44px;border:1px solid var(--th-line);font-size:var(--th-fs-sm)}
  .th-mtools .th-cur .btn-check:focus-visible+label.btn{outline:var(--th-focus-ring);outline-offset:2px}
  .th-mtools .th-cur button{min-width:44px;min-height:44px;border:1px solid var(--th-line);font-size:var(--th-fs-sm)}
  .th-mtools .th-cur button:focus-visible{outline:var(--th-focus-ring);outline-offset:2px}
  .th-account{padding:8px 10px}
  .th-foot{grid-template-columns:repeat(3,minmax(0,1fr))}
  .th-foot>div:first-child{grid-column:1/-1}
  .th-404__links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .th-foot{grid-template-columns:1fr 1fr}
  .th-404__links{grid-template-columns:1fr}
  .th-search{padding-left:10px}
  .th-search .th-btn{padding-inline:10px;font-size:13.5px}
}
@media(max-width:435px){
  .th-navrow{gap:8px}
  .th-burger{min-width:44px;justify-content:center}
  .th-burger .th-burger__t,.th-account>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .th-account{min-width:44px;justify-content:center}
  .th-logo img{height:25px}
}
@media(prefers-reduced-motion:reduce){.th-header *,.th-footer *{transition:none!important;animation:none!important}}
@media print{.th-header,.th-footer{display:none!important}}
