/* 语言样式：Русский —— 俄语专属布局（西里尔单词长，中文式单行头部/固定高导航不适用）
   思路：头部改两行（第一行 Logo+发布按钮，第二行整宽搜索框+横排热词）；导航单行不换行、收紧字号内距 */

/* 西里尔友好字体栈 */
body {
  font-family: "Segoe UI", "PT Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.logo-name { letter-spacing: 0; white-space: nowrap; }
.logo-sub { letter-spacing: 0.2px; white-space: nowrap; }
.tb-welcome { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; padding-right: 12px; }

/* ===== 头部（与中文头部同构：logo+发布CTA 行 / 吸顶导航 / 导航下方搜索带；俄文长词收紧字号） ===== */
.logo-text .logo-name { font-size: 1.25rem; }
.search-band .search-box { max-width: none; }
.search-band .search-form input { font-size: 0.875rem; }
.search-form button { flex-shrink: 0; white-space: nowrap; padding: 0 26px; font-size: 0.9375rem; }
.search-form button span { white-space: nowrap; }
.hot-words { row-gap: 8px; }
.hot-words a { white-space: nowrap; }

/* ===== 主导航：单行、不换行、收紧间距防裁切 ===== */
.navbar .nav-item { padding: 0 15px; font-size: 0.9375rem; white-space: nowrap; }

/* ===== 长词防溢出通用保护 ===== */
h1, h2, h3, h4, h5, p, a, span, li, td, button { overflow-wrap: anywhere; word-break: break-word; }
.nav-item { letter-spacing: 0; }
.slide-title { font-size: 2rem; line-height: 1.25; }
.sec-title { font-size: 1.375rem; }

/* 侧栏一级分类：俄文名较长，缩小字号并允许换行 */
.side-cat-link { font-size: 0.875rem; line-height: 1.35; padding: 12px 14px; }
.side-cat-link .cat-num { width: 24px; height: 24px; margin-right: 8px; flex-shrink: 0; }
.side-cat-link .bi-chevron-right { flex-shrink: 0; margin-left: 8px; }
.side-cat-sub { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.side-cat-sub a { font-size: 0.8125rem; }

/* 卡片标题：俄文行长，产品卡两行改三行、求购卡单行省略改两行截断 */
.prod-title { font-size: 0.875rem; height: 4.05em; line-height: 1.55; -webkit-line-clamp: 3; }
.buy-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; min-width: 0; }

/* 资讯栅格：minmax(0) 轨道防长词撑破导致整页横向滚动 */
.news-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); }
.news-grid > * { min-width: 0; }
.news-feature-body h3 { line-height: 1.45; }
.news-list li { min-width: 0; }
.news-list li a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.news-list li .date { flex-shrink: 0; }

/* ===== 移动端（≤900px）：隐藏栏目标题英文副标；轮播标题缩小字号；Logo 换行、隐藏副标语；搜索带由基础样式保留整宽表单、隐藏热词 ===== */
@media (max-width: 900px) {
  .sec-title small { display: none; }
  .slide-title { font-size: 1.125rem; line-height: 1.35; }
  .logo-name { white-space: normal; }
  .logo-name em { display: block; }
  .logo-sub { display: none; }
}
