/* ==========================================================================
   Kupus Header — самостоятельная шапка форума kupus.me (IPS 4.7, тема Focus)
   для статических разделов (/vklady/ и др.). Без JS, без FontAwesome, без IPS.
   Все классы с префиксом kh-. Значения сверены с source-css/custom.css.
   ========================================================================== */

:root {
  /* theme-tokens.txt (R, G, B) — переменные с префиксом --kh-, нужны и крошкам, и .kh-page */
  --kh-header: rgb(10, 46, 80);          /* --theme-header */
  --kh-header-text: rgb(255, 255, 255);  /* --theme-header_text */
  --kh-nav: rgb(10, 46, 80);             /* --theme-main_nav */
  --kh-nav-text: rgb(255, 255, 255);     /* --theme-main_nav_font */
  --kh-brand: rgb(10, 46, 80);           /* --theme-brand_primary */
  --kh-link: rgb(10, 46, 80);            /* --theme-link */
  --kh-link-hover: rgb(237, 122, 22);    /* --theme-link_hover */
  --kh-drop-bg: rgb(243, 244, 246);      /* --theme-main_nav_tab */
  --kh-drop-text: rgb(7, 29, 49);        /* --theme-main_nav_tab_font */
  --kh-crumb-bg: rgb(238, 238, 238);     /* --theme-area_background */
  --kh-page-bg: rgb(248, 248, 248);      /* --theme-page_background */
  --kh-surface: rgb(255, 255, 255);      /* --theme-area_background_reset */
  --kh-muted: rgb(138, 147, 164);        /* --theme-text_light */

  /* размеры темы Focus */
  --kh-header-h: 80px;       /* --header--height */
  --kh-nav-h: 42px;          /* --primary-navigation--height */
  --kh-nav-pad: 18px;        /* --nav--padding */
  --kh-usernav-h: 36px;      /* --user-nav--height */
  --kh-search-w: 320px;      /* --search--width */
  --kh-search-h: 34px;       /* --search--height */
  --kh-crumb-h: 38px;        /* --breadcrumb--height */
  --kh-container: 1400px;    /* --container--width */

  --kh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.kh {
  font-family: var(--kh-font);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: left;
}

/* локальный ресет: стили раздела (nav, a, ul, button) не должны протекать */
.kh, .kh *, .kh *::before, .kh *::after { box-sizing: border-box; }
.kh ul, .kh li { list-style: none; margin: 0; padding: 0; }
.kh a { text-decoration: none; color: inherit; background: none; }
.kh a:hover { text-decoration: none; }
.kh button, .kh input { font: inherit; color: inherit; margin: 0; }
.kh svg { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
.kh summary { list-style: none; cursor: pointer; }
.kh summary::-webkit-details-marker { display: none; }
.kh :focus-visible { outline: 2px solid rgba(255, 255, 255, .8); outline-offset: -2px; }

.kh-container {
  width: 95%;
  max-width: var(--kh-container);
  margin: 0 auto;
}

.kh-sr {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* --- Верхняя полоса 80px ------------------------------------------------- */
.kh-header {
  background-color: var(--kh-header);
  /* лёгкое затемнение сверху — сверено по пикселям desktop-1440.png */
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .05) 50%, rgba(0, 0, 0, .03) 100%);
  color: var(--kh-header-text);
}
.kh-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--kh-header-h);
}
.kh-logo {
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  flex: 0 0 auto;
}
.kh-logo img {
  display: block;
  height: 57px;
  width: auto;
  max-width: 100%;
}

.kh-user {
  display: flex;
  align-items: center;
  border-radius: 4px;
  line-height: var(--kh-usernav-h);
  font-weight: bold;
}
.kh-user > li { border-radius: inherit; }
.kh-user > li:hover { background: rgba(255, 255, 255, .1); }
.kh-user__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: var(--kh-usernav-h);
  padding: 0 10px;
  border-radius: inherit;
}
.kh-user__link--cta {
  position: relative;
  z-index: 0;
  color: #fff;
}
.kh-user__link--cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--kh-brand);
}
.kh-user__link--cta:hover::before {
  background-image: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2));
}

/* --- Полоса навигации --------------------------------------------------- */
.kh-navbar {
  background-color: var(--kh-nav);
  color: var(--kh-nav-text);
  /* --nav-bar--bo-sh: затемняет фон до rgb(6,28,48) */
  box-shadow:
    inset rgba(0, 0, 0, .4) 0 100px 0,
    inset rgba(0, 0, 0, .2) 0 4px 4px,
    rgba(255, 255, 255, .08) 0 -1px 0,
    rgba(0, 0, 0, .15) 0 1px 7px;
  position: relative;
  z-index: 50;
}
.kh-navbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--kh-nav-h);
}
.kh-nav {
  display: flex;
  height: 100%;
  min-width: 0;
}
.kh-nav__item {
  position: relative;
  height: 100%;
}
.kh-nav__link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--kh-nav-pad);
  background: transparent;
  border: 0;
  cursor: pointer;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}
.kh-nav__ico { width: 14px; height: 14px; margin-right: 6px; opacity: .6; }
.kh-nav__caret { width: 9px; height: 9px; margin-left: 4px; opacity: .7; }

.kh-nav__item:hover > .kh-nav__link,
.kh-nav__item:focus-within > .kh-nav__link {
  color: #fff;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .02) 0%, rgba(255, 255, 255, .08) 100%);
}
.kh-nav__item.is-active > .kh-nav__link,
.kh-nav__link[aria-current="page"] {
  color: #fff;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .15) 100%);
}

/* выпадающие меню: только CSS */
.kh-drop {
  position: absolute;
  top: calc(100% + 8px);
  left: 8px;
  min-width: 210px;
  padding: 5px;
  border-radius: 4px;
  background: var(--kh-drop-bg);
  color: var(--kh-drop-text);
  box-shadow:
    rgba(0, 0, 0, .2) 0 0 0 1px,
    rgba(0, 0, 0, .3) 0 6px 20px,
    rgba(0, 0, 0, .1) 0 2px 2px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s ease-in-out, transform .2s ease-in-out, visibility 0s linear .2s;
}
.kh-drop::before {           /* стрелка 6px */
  content: "";
  position: absolute;
  bottom: 100%;
  left: 20px;
  border: 6px solid transparent;
  border-bottom-color: var(--kh-drop-bg);
  filter: drop-shadow(rgba(0, 0, 0, .2) 0 -1px 0);
}
.kh-drop::after {            /* мостик, чтобы меню не закрывалось в зазоре */
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.kh-nav__item:hover > .kh-drop,
.kh-nav__item:focus-within > .kh-drop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s, 0s, 0s;
}
.kh-drop a {
  display: block;
  padding: 7px 10px;
  border-radius: 5px;
  line-height: 1.5;
  color: inherit;
}
.kh-drop a:hover,
.kh-drop a:focus-visible {
  background: rgba(7, 29, 49, .06);
  outline: none;
}

/* поиск */
.kh-search {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: var(--kh-search-w);
  height: var(--kh-search-h);
  border-radius: 3px;
  color: #fff;
  background: rgba(255, 255, 255, .15) linear-gradient(to bottom, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 100%);
  box-shadow: inset rgba(255, 255, 255, .1) 0 1px 0;
}
.kh-search__input {
  flex: 1 1 100%;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 13px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.kh-search__input::placeholder { color: inherit; opacity: .6; }
.kh-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.kh-search__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: var(--kh-search-h);
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0 3px 3px 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.kh-search__btn:hover { background: rgba(255, 255, 255, .1); }
.kh-search__btn svg { width: 14px; height: 14px; }

/* --- Хлебные крошки ------------------------------------------------------ */
.kh-crumbs, .kh-crumbs *, .kh-crumbs *::before, .kh-crumbs *::after { box-sizing: border-box; }
.kh-crumbs {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  margin: 0;
  border-radius: 4px;
  background: var(--kh-crumb-bg);
  color: var(--kh-link);
  font-family: var(--kh-font);
  font-size: 11px;
  font-weight: bold;
  line-height: var(--kh-crumb-h);
  -webkit-font-smoothing: antialiased;
}
.kh-crumbs::before {           /* рамка поверх, как у .ipsBreadcrumb */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(0, 0, 0, .2);
}
.kh-crumbs ul, .kh-crumbs li { list-style: none; margin: 0; padding: 0; }
.kh-crumbs a { color: inherit; text-decoration: none; display: block; }
.kh-crumbs__list {
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
  position: relative;
  border-radius: inherit;
}
.kh-crumbs__list li { padding-left: 15px; white-space: nowrap; }
.kh-crumbs__list a,
.kh-crumbs__list span[aria-current] {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 15px 0 18px;
  margin-left: -15px;
}
.kh-crumbs__list li:last-child span[aria-current] { color: rgba(0, 0, 0, .6); }
/* «ёлочка»: две скошенные половинки, как в теме Focus */
.kh-crumbs__list a::before,
.kh-crumbs__list a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 50%;
  border: 0 solid rgba(0, 0, 0, .2);
  border-right-width: 1px;
  box-shadow: inset #fff -1px 0 0 0;
  transform: skewX(30deg);
  transform-origin: 50% 50%;
}
.kh-crumbs__list a::after { transform: translateY(100%) scaleY(-1) skewX(30deg); }
.kh-crumbs__list li:first-child > a::before,
.kh-crumbs__list li:first-child > a::after { width: calc(100% + 40px); }
.kh-crumbs__list li:hover > a::before,
.kh-crumbs__list li:hover > a::after { background: rgba(255, 255, 255, .4); }
.kh-crumbs__list a:active::before,
.kh-crumbs__list a:active::after { background: rgba(0, 0, 0, .06); }

.kh-crumbs__side { display: flex; flex: 0 0 auto; }
.kh-crumbs__side a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 15px;
  border-left: 1px solid rgba(0, 0, 0, .2);
}
.kh-crumbs__side a:hover { background: rgba(255, 255, 255, .4); }
.kh-crumbs__side svg { width: 12px; height: 12px; }

/* --- Обвязка страницы (контейнер и белая подложка как .focus-content) --- */
.kh-body {
  margin: 0;
  background-color: var(--kh-page-bg);
  font-family: var(--kh-font);
  font-size: 13px;
  line-height: 1.5;
  color: #000;
}
.kh-page {
  box-sizing: border-box;
  width: 95%;
  max-width: var(--kh-container);
  margin: 0 auto 30px;
  padding: 10px;
  background: var(--kh-surface);
  border-radius: 0 0 3px 3px;
  box-shadow: rgba(0, 0, 0, .06) 0 0 20px, rgba(0, 0, 0, .08) 0 1px 3px;
}

/* --- Мобильные элементы (скрыты на десктопе) ---------------------------- */
.kh-mbar, .kh-tabbar, .kh-tabbar-spacer { display: none; }

@media (max-width: 979px) {
  .kh-desk { display: none !important; }

  /* полоса иконок 50px, как #elMobileNav */
  .kh-mbar {
    position: relative;
    z-index: 60;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: var(--kh-nav);
    color: var(--kh-nav-text);
  }
  .kh-mbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 50px;
    color: inherit;
  }
  .kh-mbar__btn svg { width: 22px; height: 22px; }
  .kh-mbar details[open] > summary { background: rgba(255, 255, 255, .1); }

  .kh-mpanel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    background: var(--kh-surface);
    color: var(--kh-drop-text);
    box-shadow: rgba(0, 0, 0, .3) 0 10px 30px;
  }
  .kh-mpanel--search { padding: 10px; background: var(--kh-nav); }
  .kh-mpanel--search .kh-search {
    width: 100%;
    height: 36px;
    border-radius: 50px;
    background: #fff;
    color: #222;
    box-shadow: none;
  }
  .kh-mpanel--search .kh-search__input { font-size: 16px; }
  .kh-mpanel--search .kh-search__btn { width: 46px; border-radius: 0 50px 50px 0; }
  .kh-mpanel--search .kh-search__btn:hover { background: rgba(0, 0, 0, .06); }
  .kh-mpanel--search .kh-search__btn svg { width: 16px; height: 16px; }

  .kh-drawer { padding: 6px 0 10px; font-size: 15px; }
  .kh-drawer__user { display: flex; gap: 8px; padding: 8px 15px 12px; border-bottom: 1px solid rgba(0, 0, 0, .1); }
  .kh-drawer__user a {
    flex: 1 1 0;
    text-align: center;
    line-height: 38px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    background: rgb(223, 227, 232);   /* --theme-light_button */
    color: rgb(51, 51, 51);
  }
  .kh-drawer__user a.kh-drawer__cta { background: var(--kh-brand); color: #fff; }
  .kh-drawer a, .kh-drawer summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    color: inherit;
  }
  .kh-drawer a:hover, .kh-drawer summary:hover { background: rgba(7, 29, 49, .06); }
  .kh-drawer .kh-nav__ico { width: 16px; height: 16px; margin: 0; opacity: .55; }
  .kh-drawer [aria-current="page"] { font-weight: bold; color: var(--kh-link); }
  .kh-drawer summary .kh-nav__caret { margin-left: auto; width: 10px; height: 10px; transition: transform .2s; }
  .kh-drawer details[open] > summary .kh-nav__caret { transform: rotate(180deg); }
  .kh-drawer details ul { padding-bottom: 4px; }
  .kh-drawer details a { padding-left: 41px; font-size: 14px; }
  .kh-drawer .kh-drawer__user a { justify-content: center; padding: 0; }
  .kh-drawer .kh-drawer__user a:hover { background: rgb(210, 215, 222); }
  .kh-drawer .kh-drawer__user a.kh-drawer__cta:hover { background: rgb(20, 62, 102); }

  /* шапка с логотипом по центру */
  .kh-header { padding: 0 15px; }
  .kh-header__row { justify-content: center; }

  /* крошки на всю ширину, без боковых рамок и скруглений */
  .kh-crumbs { border-radius: 0; }
  .kh-crumbs::before { border-left-width: 0; border-right-width: 0; }
  .kh-crumbs__side { display: none; }
  .kh-crumbs__list { overflow-x: auto; }

  .kh-page { width: 100%; padding: 0; margin-bottom: 0; border-radius: 0; box-shadow: none; }

  /* нижняя панель вкладок */
  .kh-tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 70;
    display: flex;
    background: rgba(255, 255, 255, .97);
    box-shadow: rgba(0, 0, 0, .12) 0 -1px 0, rgba(0, 0, 0, .06) 0 -4px 12px;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .kh-tabbar a {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 58px;
    color: rgb(127, 138, 151);
    font-size: 11px;
    line-height: 1.1;
  }
  .kh-tabbar a svg { width: 20px; height: 20px; }
  .kh-tabbar a[aria-current="page"] { color: var(--kh-drop-text); font-weight: bold; }
  .kh-tabbar-spacer { display: block; height: calc(58px + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================================
   Раздел /vklady/: контент, сайдбар, футер — в стиле форума (тема Focus).
   Значения из source-css/custom.css: section_title #f0f0f0, рамка rgba(0,0,0,.2),
   pageTitle 24px bold, widget title 13px, footer_text rgb(46,61,74).
   ========================================================================== */
:root {
  --kh-section-bg: rgb(240, 240, 240);   /* --theme-section_title */
  --kh-border: rgba(0, 0, 0, .2);         /* --sectiontitle--border-color */
  --kh-line: rgba(138, 147, 164, .15);    /* --border-1px */
  --kh-footer-text: rgb(46, 61, 74);      /* --theme-footer_text */
  --kh-text: rgb(0, 0, 0);
  --kh-text-soft: rgb(85, 92, 104);
}

.kh-layout a { color: var(--kh-link); }
.kh-layout a:hover { color: var(--kh-link-hover); }

/* каркас: контент + сайдбар 320px, как на главной форума */
.kh-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 15px;
  padding: 15px 5px 10px;
}
.kh-main { min-width: 0; }

/* заголовок страницы (.ipsType_pageTitle) */
.kh-pagehead { margin: 0 0 15px; }
.kh-pagehead h1 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--kh-text);
}
.kh-pagehead p { margin: 4px 0 0; font-size: 14px; color: var(--kh-text-soft); }

/* вкладки раздела (.ipsTabs, светлый вариант) */
.kh-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--kh-border);
}
.kh-tabs a {
  display: block;
  padding: 0 14px;
  line-height: 36px;
  font-size: 13px;
  font-weight: bold;
  color: var(--kh-text-soft);
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  margin-bottom: -1px;
}
.kh-body .kh-tabs a:hover { color: var(--kh-link); background: var(--kh-section-bg); }
.kh-body .kh-tabs a[aria-current="page"] {
  color: var(--kh-link);
  background: var(--kh-surface);
  border-color: var(--kh-border);
}

/* блок с серым заголовком секции (.ipsType_sectionTitle + .ipsBox) */
.kh-box { margin: 0 0 20px; }
.kh-box__title, .kh-prose .kh-box__title {
  margin: 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--kh-text);
  background: var(--kh-section-bg);
  border: 1px solid var(--kh-border);
  border-radius: 4px;
  box-shadow: inset rgba(255, 255, 255, .7) 0 1px 0;
}
.kh-box__body { padding: 4px 16px 0; font-size: 14px; line-height: 1.6; }
.kh-box__body p { margin: 0 0 12px; }

/* типографика контента */
.kh-prose { font-size: 14px; line-height: 1.6; color: var(--kh-text); }
.kh-prose p { margin: 0 0 12px; }
.kh-prose h2 {
  margin: 24px 0 10px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
  color: var(--kh-text);
}
.kh-prose a { text-decoration: underline; text-underline-offset: 2px; }

/* таблица ставок: строки как .ipsDataItem */
.kh-table-wrap { margin: 0 0 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kh-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--kh-surface); }
.kh-table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--kh-text-soft);
  border-bottom: 1px solid var(--kh-border);
  white-space: nowrap;
}
.kh-table td {
  padding: 14px;
  vertical-align: top;
  border-bottom: 1px solid var(--kh-line);
}
.kh-table tbody tr:hover td { background: rgba(10, 46, 80, .03); }
.kh-table .kh-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kh-table td.kh-bank { font-weight: 500; color: var(--kh-link); }
.kh-table td.kh-empty { text-align: center; color: var(--kh-muted); padding: 24px 14px; }

/* примечание как цитата форума (.ipsQuote) */
.kh-note {
  margin: 0 0 15px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
  background: var(--kh-section-bg);
  border-left: 3px solid var(--kh-link);
  border-radius: 0 4px 4px 0;
}
.kh-meta { margin: 10px 0 15px; font-size: 13px; color: var(--kh-muted); }
.kh-links { margin: 15px 0 0; font-size: 14px; }

/* сайдбар (.ipsWidget) */
.kh-side { min-width: 0; }
.kh-widget { margin: 0 0 15px; }
.kh-widget__title {
  margin: 0;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--kh-text);
  background: rgb(241, 241, 241);      /* --theme-widget_title_bar */
  border: 1px solid var(--kh-border);
  border-radius: 4px;
  box-shadow: inset rgba(255, 255, 255, .7) 0 1px 0;
}
.kh-widget__list { margin: 0; padding: 0; list-style: none; }
.kh-widget__list li { border-bottom: 1px solid var(--kh-line); }
.kh-widget__list a {
  display: block;
  padding: 10px 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.kh-widget__list small { display: block; margin-top: 2px; font-size: 12px; font-weight: normal; color: var(--kh-muted); }
.kh-widget__list a[aria-current="page"] { color: var(--kh-text); font-weight: bold; }
.kh-widget__cta {
  display: block;
  margin: 10px 0 0;
  padding: 0 12px;
  line-height: 36px;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  background: rgb(223, 227, 232);       /* --theme-light_button */
}
.kh-body .kh-widget__cta { color: rgb(51, 51, 51); }
.kh-body .kh-widget__cta:hover { background: rgb(210, 215, 222); color: rgb(51, 51, 51); }

/* нижние крошки */
.kh-crumbs--bottom { margin-top: 10px; }

/* футер (#ipsLayout_footer) */
.kh-footer {
  margin: 0 0 30px;
  font-family: var(--kh-font);
  text-align: center;
  color: var(--kh-footer-text);
}
.kh-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.kh-body .kh-footer a { color: var(--kh-footer-text); text-decoration: none; }
.kh-body .kh-footer a:hover { color: var(--kh-link-hover); }
.kh-footer__copy { margin: 5px 0 0; font-size: 12px; opacity: .6; }

@media (max-width: 979px) {
  .kh-layout { grid-template-columns: minmax(0, 1fr); padding: 15px 12px 10px; }
  .kh-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .kh-tabs a { white-space: nowrap; }
  .kh-table { min-width: 560px; }
  .kh-footer { margin: 15px 0; padding: 0 12px; }
  .kh-crumbs--bottom { margin-top: 0; }
}
