/* === ТЕМНАЯ ТЕМА ДЛЯ САЙТА И ХАБА === */
:root {
  --hub-bg: #0b0f19;          /* Глубокий темно-синий фон всего сайта */
  --hub-card-bg: #131a2a;     /* Цвет шапки, подвала и карточек */
  --hub-card-hover: #1a2338;  /* Цвет карточки при наведении */
  --hub-text: #f1f5f9;        /* Основной светлый текст */
  --hub-muted: #94a3b8;       /* Второстепенный серый текст */
  --hub-accent: #10b981;      /* Биржевой зеленый акцент */
  --hub-accent-hover: #059669;
  --hub-border: #1e293b;      /* Тонкие темные рамки */
  --hub-radius: 12px;
}

/* Темный фон сайта, шапки и подвала */
body.site {
  background-color: var(--hub-bg) !important;
  color: var(--hub-text) !important;
}

.container-header {
  background-color: var(--hub-card-bg) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--hub-border);
}

.container-header .mod-menu > li > a,
.container-header .navbar-brand {
  color: var(--hub-text) !important;
  font-weight: 500;
}

.container-header .mod-menu > li > a:hover {
  color: var(--hub-accent) !important;
}

/* Выпадающее меню и мобильный бургер в темном цвете */
.container-header .navbar-toggler {
  border-color: var(--hub-border);
  color: var(--hub-text);
}

.container-header .mod-menu ul {
  background-color: var(--hub-card-bg) !important;
  border: 1px solid var(--hub-border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.container-header .mod-menu ul a {
  color: var(--hub-text) !important;
}

.container-header .mod-menu ul a:hover {
  color: var(--hub-accent) !important;
}

.container-footer {
  background-color: var(--hub-card-bg) !important;
  background-image: none !important;
  border-top: 1px solid var(--hub-border);
  color: var(--hub-muted) !important;
}

/* === ШАПКА В ОДНУ ЛИНИЮ: ЛОГОТИП СЛЕВА, МЕНЮ СПРАВА === */
.container-header .grid-child {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1140px !important; /* Выравниваем ширину шапки ровно по краям контента */
  margin: 0 auto !important;
  padding: 12px 16px !important;
}

.container-header .navbar-brand {
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.container-header .navbar-brand img {
  width: 185px !important; /* Размер логотипа на телефоне */
  height: auto !important;
  display: block !important;
}

@media (min-width: 992px) {
  .container-header .navbar-brand img {
    width: 220px !important; /* Размер логотипа на компьютере */
  }

  .container-header .container-nav,
  .container-header nav.navbar {
    width: auto !important;
    margin-left: auto !important;
    padding: 0 !important;
  }

  .container-header .mod-menu {
    display: flex !important;
    align-items: center !important;
    gap: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* На смартфонах оставляем компактную шапку */
@media (max-width: 991px) {
  .container-header .navbar-brand img {
    width: 185px !important;
    height: auto !important;
  }
}

/* === СТИЛИ ГЛАВНОЙ СТРАНИЦЫ (ХАБ) === */
.moex-hub {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--hub-text);
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px;
}

/* Первый экран (Hero + Поиск) */
.hub-hero {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 28px 16px;
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hub-hero h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.25;
  color: #ffffff;
}

.hub-hero p {
  color: var(--hub-muted);
  font-size: 0.95rem;
  margin: 0 0 20px;
}

/* Форма поиска */
.hub-search-box {
  max-width: 600px;
  margin: 0 auto 16px;
  display: flex;
  gap: 8px;
}

.hub-search-box input {
  flex: 1;
  padding: 12px 16px;
  background-color: var(--hub-bg);
  color: #ffffff;
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.hub-search-box input::placeholder {
  color: var(--hub-muted);
}

.hub-search-box input:focus {
  border-color: var(--hub-accent);
}

.hub-search-box button {
  background: var(--hub-accent);
  color: #06281e;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.hub-search-box button:hover {
  background: var(--hub-accent-hover);
  color: #ffffff;
}

/* Быстрые теги-чипсы */
.hub-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hub-tag {
  background: var(--hub-bg);
  color: var(--hub-muted);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--hub-border);
  transition: all 0.2s;
}

.hub-tag:hover {
  border-color: var(--hub-accent);
  color: var(--hub-accent);
}

/* Сетка 4 основных разделов */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hub-hero h1 { font-size: 2rem; }
  .hub-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.hub-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
}

.hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--hub-accent);
  background-color: var(--hub-card-hover);
}

.hub-card-icon {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.hub-card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--hub-accent);
}

.hub-card-meta {
  font-size: 0.8rem;
  color: var(--hub-muted);
}

/* Слоты РСЯ в темном стиле */
.rsya-slot {
  background: rgba(19, 26, 42, 0.6);
  border: 1px dashed #334155;
  border-radius: 8px;
  margin: 20px 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--hub-muted);
  font-size: 0.8rem;
}

@media (min-width: 768px) {
  .rsya-slot { min-height: 120px; }
}

/* Заголовки секций */
.hub-section-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 24px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.hub-section-title a {
  font-size: 0.85rem;
  color: var(--hub-accent);
  text-decoration: none;
}

.hub-section-title a:hover {
  text-decoration: underline;
}

/* Горизонтальный скролл популярных тикеров */
.hub-tickers {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--hub-border) var(--hub-bg);
}

.ticker-pill {
  flex: 0 0 auto;
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  min-width: 115px;
  transition: border-color 0.15s, background-color 0.15s;
}

.ticker-pill:hover {
  border-color: var(--hub-accent);
  background-color: var(--hub-card-hover);
}

.ticker-code {
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  color: var(--hub-accent);
}

.ticker-name {
  font-size: 0.8rem;
  color: var(--hub-muted);
}

/* Список свежих материалов */
.hub-articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .hub-articles { grid-template-columns: repeat(3, 1fr); }
}

.article-item {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, background-color 0.15s;
}

.article-item:hover {
  border-color: var(--hub-accent);
  background-color: var(--hub-card-hover);
}

.article-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hub-accent);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.article-item h3 {
  font-size: 1rem;
  margin: 0 0 6px;
  line-height: 1.35;
  color: #ffffff;
}

.article-item p {
  font-size: 0.85rem;
  color: var(--hub-muted);
  margin: 0;
}
/* Выравниваем логотип и поиск строго в одну строку */
header.header.container-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 3em !important;
    gap: 20px !important;
}

/* Левый блок с логотипом — занимает только ширину логотипа */
header.header > .grid-child:first-child {
    display: flex !important;
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

header.header .navbar-brand {
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

/* Правый блок с поиском — встает в ту же строку справа */
header.header > .grid-child.container-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    flex: 1 1 auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* === ИСПРАВЛЕНИЕ ВЫПАДАЮЩЕГО МЕНЮ НА МОБИЛЬНЫХ И ПЛАНШЕТАХ (< 992px) === */
@media (max-width: 991.98px) {
  header.header.container-header {
    padding: 10px 16px !important;
    position: relative !important;
  }

  /* Убираем у правого блока жесткую привязку, чтобы меню могло раскрыться на весь экран */
  header.header > .grid-child.container-nav {
    position: static !important;
    width: auto !important;
    flex: 0 0 auto !important;
  }

  header.header nav.navbar {
    position: static !important;
  }

  /* Кнопка-бургер */
  header.header .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hub-border) !important;
    background-color: var(--hub-bg) !important;
    color: var(--hub-text) !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    cursor: pointer;
    margin: 0 !important;
  }

  /* Прячем закрытое меню */
  header.header .navbar-collapse:not(.show) {
    display: none !important;
  }

  /* Раскрытое меню во всю ширину экрана под шапкой */
  header.header .navbar-collapse.show {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: var(--hub-card-bg) !important;
    border-top: 1px solid var(--hub-border) !important;
    border-bottom: 1px solid var(--hub-border) !important;
    padding: 16px 20px !important;
    z-index: 1050 !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.65) !important;
  }

  header.header .mod-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  header.header .mod-menu > li {
    width: 100% !important;
  }

  header.header .mod-menu > li > a {
    display: block !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    font-size: 1.05rem !important;
  }

  header.header .mod-menu > li > a:hover {
    background-color: var(--hub-bg) !important;
  }

  /* Подпункты внутри мобильного меню (Акции, Облигации и т.д.) */
  header.header .mod-menu ul {
    position: static !important;
    background-color: var(--hub-bg) !important;
    border: 1px solid var(--hub-border) !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    margin-top: 4px !important;
    box-shadow: none !important;
  }

  header.header .mod-menu ul a {
    display: block !important;
    padding: 8px 10px !important;
    font-size: 0.95rem !important;
  }
}

/* === СТИЛИ ДЛЯ АЛФАВИТНОГО ГЛОССАРИЯ === */
.glossary-alpha {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 16px;
  margin-bottom: 20px;
}

.glossary-subtitle {
  color: var(--hub-muted);
  font-size: 0.95rem;
  margin: 0 0 14px;
}

.alpha-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.alpha-grid .alpha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 36px;
  padding: 0 10px;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  color: var(--hub-text);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
}

.alpha-grid .alpha-btn:hover {
  border-color: var(--hub-accent);
  color: var(--hub-accent);
  background: var(--hub-card-hover);
}

.alpha-grid .alpha-btn.active {
  background: var(--hub-accent);
  border-color: var(--hub-accent);
  color: #06281e;
}


/* Оформление списка терминов в темной теме */
.com-content-category__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.com-content-category__table tr {
  background: var(--hub-card-bg);
  transition: background-color 0.15s;
}

.com-content-category__table tr:hover {
  background: var(--hub-card-hover);
}

.com-content-category__table td {
  padding: 14px 16px !important;
  border-top: 1px solid var(--hub-border) !important;
  border-bottom: 1px solid var(--hub-border) !important;
}

.com-content-category__table td:first-child {
  border-left: 1px solid var(--hub-border) !important;
  border-radius: 10px 0 0 10px;
}

.com-content-category__table td:last-child {
  border-right: 1px solid var(--hub-border) !important;
  border-radius: 0 10px 10px 0;
}

.com-content-category__table a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: block;
}

.com-content-category__table a:hover {
  color: var(--hub-accent) !important;
}

/* Поле быстрого фильтра над списком */
.com-content-category__filter input {
  background: var(--hub-card-bg) !important;
  border: 1px solid var(--hub-border) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
}
/* === СТИЛИ ВНУТРЕННИХ СТАТЕЙ И ГЛОССАРИЯ === */
.fdc-article {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--hub-text);
  line-height: 1.65;
  font-size: 1.02rem;
}

.fdc-article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hub-border);
}

.fdc-article p {
  margin: 0 0 16px;
  color: #cbd5e1;
}

/* Плашка быстрого определения (Lead-блок) */
.fdc-definition {
  background: var(--hub-card-bg);
  border-left: 4px solid var(--hub-accent);
  border-top: 1px solid var(--hub-border);
  border-right: 1px solid var(--hub-border);
  border-bottom: 1px solid var(--hub-border);
  border-radius: 0 var(--hub-radius) var(--hub-radius) 0;
  padding: 18px 20px;
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: #ffffff;
}

/* Карточки-списки характеристик */
.fdc-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0 24px;
}

@media (min-width: 768px) {
  .fdc-feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fdc-feature-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: 10px;
  padding: 14px 16px;
}

.fdc-feature-title {
  font-weight: 700;
  color: var(--hub-accent);
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.fdc-feature-desc {
  font-size: 0.9rem;
  color: var(--hub-muted);
  line-height: 1.5;
}

/* Блок примера из практики */
.fdc-example-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--hub-radius);
  padding: 18px 20px;
  margin: 20px 0;
}

.fdc-example-title {
  font-weight: 700;
  color: var(--hub-accent);
  margin-bottom: 10px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fdc-example-box ol {
  margin: 0;
  padding-left: 20px;
  color: #e2e8f0;
}

.fdc-example-box li {
  margin-bottom: 6px;
}

/* Адаптивная таблица расшифровки тикеров */
.fdc-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--hub-border);
  border-radius: 10px;
}

.fdc-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--hub-card-bg);
  font-size: 0.95rem;
}

.fdc-table th,
.fdc-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hub-border);
}

.fdc-table th {
  background: rgba(11, 15, 25, 0.6);
  color: #ffffff;
  font-weight: 700;
}

.fdc-table tr:last-child td {
  border-bottom: none;
}

.fdc-code {
  font-family: monospace;
  background: var(--hub-bg);
  color: var(--hub-accent);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--hub-border);
  font-weight: 700;
}

/* Блок перелинковки (Связанные термины) */
.fdc-related {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 16px 20px;
  margin-top: 28px;
}

.fdc-related-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 1rem;
}

.fdc-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fdc-related-links a {
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  color: var(--hub-text);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  transition: all 0.15s;
}

.fdc-related-links a:hover {
  border-color: var(--hub-accent);
  color: var(--hub-accent);
}
/* === ДОРАБОТКА СТРАНИЦЫ РАЗДЕЛА ГЛОССАРИЙ (ФИКС BOOTSTRAP 5) === */
.com-content-category {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 16px;
}

.com-content-category > h1,
.com-content-category h2 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Прячем лишний системный заголовок "Articles" и метку фильтра */
.com-content-category__articles > h3,
.com-content-category__filter label {
  display: none !important;
}

/* Панель фильтрации и кнопки в темной теме */
.com-content-category__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px !important;
}

.com-content-category__filter input.form-control {
  flex: 1;
  min-width: 220px;
  max-width: 380px;
  background-color: var(--hub-card-bg) !important;
  border: 1px solid var(--hub-border) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
}

.com-content-category__filter input.form-control::placeholder {
  color: var(--hub-muted) !important;
}

.com-content-category__filter .btn {
  background-color: var(--hub-card-bg) !important;
  border: 1px solid var(--hub-border) !important;
  color: var(--hub-text) !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
  font-weight: 600;
  transition: all 0.15s;
}

.com-content-category__filter .btn:hover {
  border-color: var(--hub-accent) !important;
  color: var(--hub-accent) !important;
  background-color: var(--hub-card-hover) !important;
}

/* Перебиваем белые переменные таблицы Bootstrap 5 */
.com-content-category__table {
  --bs-table-bg: var(--hub-card-bg) !important;
  --bs-table-accent-bg: var(--hub-card-bg) !important;
  --bs-table-striped-bg: var(--hub-card-bg) !important;
  --bs-table-hover-bg: var(--hub-card-hover) !important;
  --bs-table-color: #ffffff !important;
  --bs-table-border-color: var(--hub-border) !important;
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
}

.com-content-category__table tr,
.com-content-category__table td,
.com-content-category__table th {
  background-color: var(--hub-card-bg) !important;
  color: #ffffff !important;
  border-top: 1px solid var(--hub-border) !important;
  border-bottom: 1px solid var(--hub-border) !important;
  padding: 14px 16px !important;
}

.com-content-category__table tr:hover td {
  background-color: var(--hub-card-hover) !important;
}

.com-content-category__table td:first-child {
  border-left: 1px solid var(--hub-border) !important;
  border-radius: 10px 0 0 10px;
}

.com-content-category__table td:last-child {
  border-right: 1px solid var(--hub-border) !important;
  border-radius: 0 10px 10px 0;
}

.com-content-category__table a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 1.05rem;
}

.com-content-category__table tr:hover a {
  color: var(--hub-accent) !important;
}
/* Сетка для 5 классов активов на странице /tikery */
.tickers-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.tickers-categories-grid .hub-card:last-child {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .tickers-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .tickers-categories-grid .hub-card:last-child {
    grid-column: auto;
  }
}
/* === ЕДИНАЯ СЕТКА ПОПУЛЯРНЫХ ИНСТРУМЕНТОВ ИЗ ВСЕХ КАТЕГОРИЙ === */
.popular-all-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .popular-all-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.ticker-card-full {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
}

.ticker-card-full:hover {
  transform: translateY(-2px);
  border-color: var(--hub-accent);
  background-color: var(--hub-card-hover);
}

.ticker-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.ticker-cat-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--hub-accent);
  white-space: nowrap;
}

.ticker-cat-badge.badge-fund {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.ticker-cat-badge.badge-forts {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.ticker-cat-badge.badge-index {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.ticker-cat-badge.badge-bond {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
}
/* === СТИЛИ КАРТОЧКИ ЭМИТЕНТА / ТИКЕРА === */
.ticker-header-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 20px;
  margin-bottom: 24px;
}

.ticker-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.t-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  color: var(--hub-muted);
}

.t-badge-green {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--hub-accent);
}

/* Сетка паспорта ценной бумаги (2 колонки на телефоне, 4 на ПК) */
.ticker-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .ticker-specs-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.spec-box {
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  border-radius: 8px;
  padding: 12px;
}

.spec-label {
  font-size: 0.78rem;
  color: var(--hub-muted);
  margin-bottom: 4px;
}

.spec-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;
}
/* === СТИЛИ РАЗДЕЛА «КНИГИ» (ВИТРИНА И КАРТОЧКА КНИГИ) === */
.books-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.book-filter-btn {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  color: var(--hub-text);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.book-filter-btn:hover {
  border-color: var(--hub-accent);
  color: var(--hub-accent);
}

.book-filter-btn.active {
  background: var(--hub-accent);
  border-color: var(--hub-accent);
  color: #06281e;
}

/* Сетка книг (1 колонка на телефоне, 2 на ПК) */
.books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.book-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 16px;
  display: flex;
  gap: 16px;
  transition: transform 0.15s, border-color 0.15s;
}

.book-card:hover {
  transform: translateY(-2px);
  border-color: var(--hub-accent);
}

/* Стилизованная векторная обложка книги */
.book-cover {
  flex: 0 0 86px;
  height: 124px;
  border-radius: 8px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.cover-green { background: linear-gradient(145deg, #064e3b, #022c22); }
.cover-blue  { background: linear-gradient(145deg, #1e3a8a, #172554); }
.cover-amber { background: linear-gradient(145deg, #78350f, #451a03); }
.cover-purple{ background: linear-gradient(145deg, #4c1d95, #2e1065); }

.book-cover-author {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.2;
}

.book-cover-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.book-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.book-level {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hub-accent);
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.book-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  line-height: 1.3;
}

.book-title a {
  color: inherit;
  text-decoration: none;
}

.book-title a:hover {
  color: var(--hub-accent);
}

.book-author {
  font-size: 0.82rem;
  color: var(--hub-muted);
  margin-bottom: 8px;
}

.book-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 12px;
}

.book-link-btn {
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hub-accent);
  text-decoration: none;
}

.book-link-btn:hover {
  text-decoration: underline;
}

/* Шапка внутри страницы отдельной книги */
.book-single-hero {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 640px) {
  .book-single-hero {
    flex-direction: row;
    align-items: flex-start;
  }
}

.book-single-cover {
  flex: 0 0 120px;
  height: 172px;
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
/* === СТИЛИ РАЗДЕЛА «СОФТ И СЕРВИСЫ» === */
.soft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .soft-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.soft-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
}

.soft-card:hover {
  transform: translateY(-2px);
  border-color: var(--hub-accent);
  background-color: var(--hub-card-hover);
}

.soft-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

/* Векторная иконка-бейдж программы или сайта */
.soft-icon-box {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.icon-quik   { background: linear-gradient(135deg, #1d4ed8, #1e3a8a); }
.icon-cscalp { background: linear-gradient(135deg, #047857, #064e3b); }
.icon-tv     { background: linear-gradient(135deg, #0f172a, #334155); }
.icon-sl     { background: linear-gradient(135deg, #b45309, #78350f); }
.icon-dohod  { background: linear-gradient(135deg, #0e7490, #164e63); }
.icon-rb     { background: linear-gradient(135deg, #6d28d9, #4c1d95); }

.soft-title-wrap {
  flex: 1;
}

.soft-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.soft-title a {
  color: inherit;
  text-decoration: none;
}

.soft-title a:hover {
  color: var(--hub-accent);
}

.soft-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.soft-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  color: var(--hub-muted);
}

.soft-tag-free {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--hub-accent);
}

.soft-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 14px;
}

.soft-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--hub-border);
}

.soft-platform {
  font-size: 0.78rem;
  color: var(--hub-muted);
}

.soft-btn {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hub-accent);
  text-decoration: none;
}

.soft-btn:hover {
  text-decoration: underline;
}
/* === СТИЛИ СТРАНИЦЫ РЕЗУЛЬТАТОВ УМНОГО ПОИСКА === */
.com-finder {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 16px;
}

.com-finder__search {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 20px;
  margin-bottom: 24px;
}

.com-finder__search input.form-control {
  background-color: var(--hub-bg) !important;
  border: 1px solid var(--hub-border) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
}

.com-finder__search .btn-primary {
  background-color: var(--hub-accent) !important;
  border-color: var(--hub-accent) !important;
  color: #06281e !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 0 20px !important;
}

/* Список найденных материалов */
.com-finder__results-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.com-finder__results-list li.result__item {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 16px 20px;
  transition: border-color 0.15s, background-color 0.15s;
}

.com-finder__results-list li.result__item:hover {
  border-color: var(--hub-accent);
  background: var(--hub-card-hover);
}

.result__title-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none !important;
}

.result__title-link:hover {
  color: var(--hub-accent) !important;
}

.result__description {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin-top: 6px;
  line-height: 1.5;
}

/* Подсветка найденного слова в тексте */
.result__description mark,
span.highlight {
  background: rgba(16, 185, 129, 0.25) !important;
  color: var(--hub-accent) !important;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 600;
}

.result__url {
  display: none !important; /* Прячем технический длинный URL снизу карточки */
}
/* === УМНОЕ ВЫПАДАЮЩЕЕ МЕНЮ ДЛЯ «ТИКЕРОВ» === */

/* 1. ДЛЯ КОМПЬЮТЕРА (>= 992px): открытие при наведении мыши */
@media (min-width: 992px) {
  header.header .mod-menu > li.deeper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px;
  }

  /* Делаем стрелочку аккуратной и некликабельной (работает наведение) */
  header.header .mod-menu > li.deeper > button {
    background: transparent !important;
    border: none !important;
    color: var(--hub-muted) !important;
    padding: 0 4px !important;
    pointer-events: none;
  }

  /* Выпадающий список при наведении */
  header.header .mod-menu > li.deeper > ul {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 230px !important;
    background-color: var(--hub-card-bg) !important;
    border: 1px solid var(--hub-border) !important;
    border-radius: 10px !important;
    padding: 8px !important;
    margin-top: 8px !important;
    z-index: 1060 !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55) !important;
    list-style: none !important;
  }

  /* Невидимый мостик между словом «Тикеры» и меню, чтобы список не закрывался при движении мыши */
  header.header .mod-menu > li.deeper::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
  }

  /* Показываем меню при наведении на пункт «Тикеры» */
  header.header .mod-menu > li.deeper:hover > ul {
    display: block !important;
  }

  header.header .mod-menu > li.deeper > ul li a {
    display: block !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    color: var(--hub-text) !important;
    font-size: 0.92rem !important;
    text-decoration: none !important;
    transition: background-color 0.15s, color 0.15s;
  }

  header.header .mod-menu > li.deeper > ul li a:hover {
    background-color: var(--hub-bg) !important;
    color: var(--hub-accent) !important;
  }
}

/* 2. ДЛЯ ТЕЛЕФОНОВ И ПЛАНШЕТОВ (< 992px): сразу показываем подкатегории без скрытых стрелок */
@media (max-width: 991.98px) {
  /* Прячем лишнюю кнопку-стрелку */
  header.header .mod-menu > li.deeper > button {
    display: none !important;
  }

  /* Принудительно раскрываем подкатегории внутри мобильного меню компактной сеткой */
  header.header .mod-menu > li.deeper > ul {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    background-color: var(--hub-bg) !important;
    border: 1px solid var(--hub-border) !important;
    border-radius: 8px !important;
    padding: 8px !important;
    margin-top: 4px !important;
    list-style: none !important;
  }

  header.header .mod-menu > li.deeper > ul li a {
    display: block !important;
    padding: 8px 10px !important;
    background-color: var(--hub-card-bg) !important;
    border: 1px solid var(--hub-border) !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    color: var(--hub-muted) !important;
    text-decoration: none !important;
  }

  header.header .mod-menu > li.deeper > ul li a:hover {
    border-color: var(--hub-accent) !important;
    color: var(--hub-accent) !important;
  }
}
/* === УБИРАЕМ СЕРУЮ ПОЛОСКУ И ПОДСВЕЧИВАЕМ АКТИВНЫЙ ПУНКТ МЕНЮ === */
header.header .mod-menu > li.active > a,
header.header .mod-menu > li.current > a,
header.header .mod-menu > li > a[aria-current="page"],
header.header .mod-menu li.active > a {
  border-bottom: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  color: #10b981 !important;
  font-weight: 700 !important;
}

/* Убираем системную линию Cassiopeia при наведении (если появляется) */
header.header .mod-menu > li > a::before,
header.header .mod-menu > li > a::after {
  display: none !important;
}
/* === ОФОРМЛЕНИЕ РАЗДЕЛА «СТАТЬИ» (ТОЧНЫЕ СЕЛЕКТОРЫ CASSIOPEIA) === */
.com-content-category-blog {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 16px;
}

.com-content-category-blog > h1 {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.com-content-category-blog .category-desc {
  color: var(--hub-muted);
  font-size: 0.98rem;
  margin-bottom: 24px;
}

/* === ОФОРМЛЕНИЕ РАЗДЕЛА «СТАТЬИ» (БЛОГ КАТЕГОРИИ) === */
.com-content-category-blog {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 16px;
}

.com-content-category-blog > h1 {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.85rem;
  margin-bottom: 8px;
}

.com-content-category-blog .category-desc {
  color: var(--hub-muted);
  font-size: 0.98rem;
  margin-bottom: 24px;
}

/* Сетка карточек статей */
.com-content-category-blog__items {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .com-content-category-blog__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.com-content-category-blog__item {
  background: var(--hub-card-bg) !important;
  border: 1px solid var(--hub-border) !important;
  border-radius: var(--hub-radius) !important;
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
}

.com-content-category-blog__item:hover {
  transform: translateY(-2px);
  border-color: var(--hub-accent) !important;
  background: var(--hub-card-hover) !important;
}

/* Заголовок статьи в карточке */
.com-content-category-blog__item .page-header h2 {
  font-size: 1.2rem !important;
  line-height: 1.35;
  margin: 0 0 12px !important;
  border: none !important;
  padding: 0 !important;
}

.com-content-category-blog__item .page-header h2 a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.com-content-category-blog__item:hover .page-header h2 a {
  color: var(--hub-accent) !important;
}

/* Убираем зеленую рамку .fdc-definition внутри превью блога, чтобы текст читался чище */
.com-content-category-blog__item .fdc-definition {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  font-size: 0.95rem !important;
  color: #cbd5e1 !important;
}

/* Стилизуем кнопку «Подробнее» */
.com-content-category-blog__item .readmore {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hub-border);
}

.com-content-category-blog__item .readmore a.btn {
  background: transparent !important;
  border: none !important;
  color: var(--hub-accent) !important;
  padding: 0 !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}

.com-content-category-blog__item .readmore a.btn:hover {
  text-decoration: underline !important;
}
/* === СЕТКА 4x2 ДЛЯ 8 РАЗДЕЛОВ НА ГЛАВНОЙ СТРАНИЦЕ === */
@media (min-width: 992px) {
  .hub-grid-4x2 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
/* === СТИЛИ ДЛЯ ШПАРГАЛКИ И ПОПУЛЯРНЫХ МАТЕРИАЛОВ НА ГЛАВНОЙ === */
.hub-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .hub-specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .hub-specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hub-spec-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 18px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
}

.hub-spec-card:hover {
  transform: translateY(-2px);
  border-color: var(--hub-accent);
  background: var(--hub-card-hover);
}

.hub-spec-label {
  color: var(--hub-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.hub-spec-value {
  color: var(--hub-accent);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hub-spec-sub {
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.4;
}

/* Блок популярных материалов */
.hub-articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .hub-articles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hub-article-card {
  background: var(--hub-card-bg);
  border: 1px solid var(--hub-border);
  border-radius: var(--hub-radius);
  padding: 20px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s, border-color 0.15s, background-color 0.15s;
}

.hub-article-card:hover {
  transform: translateY(-2px);
  border-color: var(--hub-accent);
  background: var(--hub-card-hover);
}

.hub-article-cat {
  color: var(--hub-muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.hub-article-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
}

.hub-article-card:hover .hub-article-title {
  color: var(--hub-accent);
}

.hub-article-meta {
  color: var(--hub-accent);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: auto;
}
/* === ЕДИНОЕ БУРГЕР-МЕНЮ «МЕНЮ ☰» ДЛЯ CASSIOPEIA (ФИКС) === */
header.header.container-header {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px max(16px, calc((100vw - 1140px) / 2)) !important;
}

header.header > .grid-child.container-nav,
header.header nav.navbar {
  position: static !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

header.header .navbar-toggler {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: var(--hub-bg) !important;
  border: 1px solid var(--hub-border) !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin: 0 !important;
  transition: border-color 0.15s, color 0.15s;
}

header.header .navbar-toggler:hover {
  border-color: var(--hub-accent) !important;
  color: var(--hub-accent) !important;
}

header.header .navbar-toggler::before {
  content: "Меню";
  line-height: 1;
}

/* Прячем закрытое меню */
header.header .navbar-collapse:not(.show) {
  display: none !important;
}

/* Раскрытое меню аккуратно выезжает ПОД шапкой по ширине контента */
header.header .navbar-collapse.show {
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  left: max(16px, calc((100vw - 1140px) / 2)) !important;
  right: max(16px, calc((100vw - 1140px) / 2)) !important;
  width: auto !important;
  margin-top: 8px !important;
  padding: 16px !important;
  background: var(--hub-card-bg) !important;
  border: 1px solid var(--hub-border) !important;
  border-radius: var(--hub-radius) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65) !important;
  z-index: 1050 !important;
}

/* На десктопе выстраиваем открытое меню в 3 аккуратные колонки */
@media (min-width: 768px) {
  header.header .navbar-collapse.show ul.mod-menu {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px 16px !important;
  }
}

header.header ul.mod-menu > li > a,
header.header ul.mod-menu > li > button {
  padding: 8px 12px !important;
  border-radius: 6px !important;
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  color: #e2e8f0 !important;
}

header.header ul.mod-menu > li > a:hover,
header.header ul.mod-menu > li > button:hover {
  background: var(--hub-bg) !important;
  color: var(--hub-accent) !important;
}
