/* ============================================================
   tyc86太阳集团 D+ 设计系统 · Design Tokens
   ------------------------------------------------------------
   方向：D+ （陶土橙骨架 + 化工现代派精致纹理）
   锁定日期：2026-04-24
   作用域：所有前端 html 页面（25 页）
   命名前缀：--rt-*（ruitai，防止和 Bootstrap --bs-* 冲突）
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Saira:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  /* ------- 色板 / Color Palette -------
     主色：陶土橙（从原 #FF6F0F 降饱和）
     副色：墨绿（互补色，严肃感）
     底色：奶油（温润 off-white）
     点缀：灰橙（温柔强调） */
  --rt-color-primary: #c2703c;
  --rt-color-primary-light: #d4946b;
  --rt-color-primary-dark: #9e5428;
  --rt-color-accent: #2d3b36;
  --rt-color-accent-light: #5b6f65;
  --rt-color-bg: #f7f1e8;
  --rt-color-bg-warm: #efe5d3;
  --rt-color-surface: #ffffff;
  --rt-color-text: #2b2520;
  --rt-color-text-muted: #7a6f62;
  --rt-color-heading: #2b2520;
  --rt-color-border: #e0d4be;
  --rt-color-border-dark: #c9baa0;
  --rt-color-divider: #e8ddc7;
  --rt-color-success: #5b7a5b;
  --rt-color-danger: #a84b3e;
  --rt-color-orange-soft: #e8c9a8;

  /* ------- 字体 / Typography Stack -------
     heading: Saira (英) + Noto Sans SC (中)
     body:    Inter  (英) + Noto Sans SC (中)
     mono:    JetBrains Mono（数据 / 型号 / 技术参数）*/
  --rt-font-heading: 'Saira', 'Noto Sans SC', 'PingFang SC', -apple-system, sans-serif;
  --rt-font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', -apple-system, 'Microsoft YaHei', sans-serif;
  --rt-font-mono: 'JetBrains Mono', 'Consolas', 'Menlo', monospace;

  /* ------- 字号 / Font Size (1.25 modular scale) ------- */
  --rt-text-xs: 12px;
  --rt-text-sm: 14px;
  --rt-text-base: 16px;
  --rt-text-lg: 20px;
  --rt-text-xl: 25px;
  --rt-text-2xl: 32px;
  --rt-text-3xl: 42px;
  --rt-text-4xl: 52px;
  --rt-text-5xl: 68px;

  /* ------- 间距 / Spacing (8pt grid) ------- */
  --rt-space-1: 4px;
  --rt-space-2: 8px;
  --rt-space-3: 12px;
  --rt-space-4: 16px;
  --rt-space-5: 20px;
  --rt-space-6: 24px;
  --rt-space-8: 32px;
  --rt-space-10: 48px;
  --rt-space-12: 64px;
  --rt-space-16: 96px;

  /* ------- 圆角 / Border Radius ------- */
  --rt-radius-sm: 4px;
  --rt-radius-md: 10px;
  --rt-radius-lg: 20px;

  /* ------- 阴影 / Shadows（偏暖，带陶土橙色相）------- */
  --rt-shadow-sm: 0 1px 3px rgba(194, 112, 60, 0.06);
  --rt-shadow-md: 0 4px 16px rgba(194, 112, 60, 0.1);
  --rt-shadow-lg: 0 12px 40px rgba(194, 112, 60, 0.14);
  --rt-shadow-glow: 0 0 24px rgba(194, 112, 60, 0.25);
  --rt-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.4);

  /* ------- z-index 层级 ------- */
  --rt-z-dropdown: 100;
  --rt-z-sticky: 100;
  --rt-z-fixed: 200;
  --rt-z-modal: 1000;
  --rt-z-toast: 1100;

  /* ------- 动效时长 ------- */
  --rt-duration-fast: 0.15s;
  --rt-duration-base: 0.25s;
  --rt-duration-slow: 0.4s;
  --rt-ease-out: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================================
   基础 Reset（合并自 _shared.css）
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-base);
  line-height: 1.6;
  color: var(--rt-color-text);
  background: var(--rt-color-bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--rt-duration-fast) var(--rt-ease-out);
}
a:hover {
  color: var(--rt-color-primary);
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
}

p {
  margin: 0;
}

/* ============================================================
   栅格 / Layout Helpers
   ============================================================ */

.rt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--rt-space-6);
}
@media (max-width: 768px) {
  .rt-container {
    padding: 0 var(--rt-space-4);
  }
}

.rt-grid {
  display: grid;
  gap: var(--rt-space-6);
}
.rt-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.rt-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.rt-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.rt-flex {
  display: flex;
}
.rt-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.rt-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .rt-grid-2,
  .rt-grid-3,
  .rt-grid-4 {
    grid-template-columns: 1fr;
  }
}

.rt-section {
  padding: var(--rt-space-10) 0;
}
.rt-section-sm {
  padding: var(--rt-space-6) 0;
}

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

/* ============================================================
   Scrollbar
   ============================================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--rt-color-border-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--rt-color-primary);
}

/* ============================================================
   tyc86太阳集团 D+ 设计系统 · Typography
   ------------------------------------------------------------
   依赖：tokens.css（字体 / 字号 / 色板变量）
   覆盖：标题 / 正文 / 段落 / 引用 / 列表 / 代码 / 统计数字
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--rt-font-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--rt-color-heading);
  letter-spacing: -0.01em;
}

/* ============================================================
   Hero 标题区
   ============================================================ */

.rt-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--rt-space-2);
  font-family: var(--rt-font-mono);
  font-size: var(--rt-text-xs);
  letter-spacing: 0.15em;
  color: var(--rt-color-primary);
  margin-bottom: var(--rt-space-4);
  padding: 6px 14px;
  background: rgba(194, 112, 60, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(194, 112, 60, 0.18);
}
.rt-hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--rt-color-primary);
  border-radius: 50%;
  animation: rt-pulse 2.4s ease-in-out infinite;
}

@keyframes rt-pulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(194, 112, 60, 0.5);
  }
  50% {
    opacity: 0.4;
    box-shadow: 0 0 0 6px rgba(194, 112, 60, 0);
  }
}

.rt-hero-title {
  font-family: var(--rt-font-heading);
  font-size: var(--rt-text-5xl);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: var(--rt-space-6);
  letter-spacing: -0.01em;
  color: var(--rt-color-text);
}
/* D+ 签名样式：em 用陶土橙→墨绿渐变 */
.rt-hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--rt-color-primary) 0%, var(--rt-color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rt-hero-sub {
  font-size: var(--rt-text-lg);
  max-width: 520px;
  color: var(--rt-color-text-muted);
  margin-bottom: var(--rt-space-8);
  line-height: 1.7;
}

/* ============================================================
   Section header
   ============================================================ */

.rt-section-header {
  margin-bottom: var(--rt-space-10);
}

.rt-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--rt-space-2);
  font-family: var(--rt-font-mono);
  font-size: var(--rt-text-xs);
  letter-spacing: 0.15em;
  color: var(--rt-color-primary);
  margin-bottom: var(--rt-space-3);
  text-transform: uppercase;
  font-weight: 600;
}
.rt-section-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--rt-color-primary);
  border-radius: 50%;
  animation: rt-pulse 2.4s ease-in-out infinite;
}

.rt-section-title {
  font-family: var(--rt-font-heading);
  font-size: var(--rt-text-3xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: var(--rt-space-3);
}

.rt-section-sub {
  font-size: var(--rt-text-lg);
  color: var(--rt-color-text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* ============================================================
   Breadcrumb（D+ 特色：mono 分隔符）
   ============================================================ */

.rt-breadcrumb {
  font-size: var(--rt-text-sm);
  color: var(--rt-color-text-muted);
  padding: var(--rt-space-6) 0;
}
.rt-breadcrumb a:hover {
  color: var(--rt-color-primary);
}
.rt-breadcrumb span {
  margin: 0 var(--rt-space-3);
  font-family: var(--rt-font-mono);
  color: var(--rt-color-border-dark);
}
.rt-breadcrumb .active {
  color: var(--rt-color-text);
  font-weight: 500;
}

/* ============================================================
   Prose（文章正文排版）
   ============================================================ */

.rt-prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--rt-text-lg);
  line-height: 1.75;
}

.rt-prose h2 {
  font-family: var(--rt-font-heading);
  font-size: var(--rt-text-2xl);
  font-weight: 700;
  margin: var(--rt-space-10) 0 var(--rt-space-4);
  display: flex;
  align-items: center;
  gap: var(--rt-space-3);
}
/* D+ 签名样式：h2 左侧竖条 gradient */
.rt-prose h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 26px;
  background: linear-gradient(180deg, var(--rt-color-primary), var(--rt-color-accent));
  border-radius: 2px;
}

.rt-prose h3 {
  font-family: var(--rt-font-heading);
  font-size: var(--rt-text-xl);
  margin: var(--rt-space-6) 0 var(--rt-space-3);
}

.rt-prose p {
  margin-bottom: var(--rt-space-5);
}

.rt-prose blockquote {
  padding: var(--rt-space-5) var(--rt-space-6);
  margin: var(--rt-space-6) 0;
  background: var(--rt-color-bg-warm);
  border-left: 3px solid var(--rt-color-primary);
  border-radius: 0 var(--rt-radius-md) var(--rt-radius-md) 0;
  color: var(--rt-color-text);
  font-style: italic;
}

.rt-prose ul {
  padding-left: var(--rt-space-6);
}
.rt-prose li {
  margin-bottom: var(--rt-space-2);
}

/* D+ 签名样式：技术参数 code 样式（mono + 浅背景 + 圆角） */
.rt-prose code,
.rt-code {
  font-family: var(--rt-font-mono);
  font-size: 0.92em;
  background: var(--rt-color-bg-warm);
  padding: 2px 8px;
  border-radius: var(--rt-radius-sm);
  color: var(--rt-color-primary-dark);
  border: 1px solid var(--rt-color-border);
  font-weight: 600;
}

.rt-prose strong {
  font-weight: 600;
  color: var(--rt-color-text);
}

/* ============================================================
   Stat 统计数字（D+ 签名：mono + gradient）
   ============================================================ */

.rt-stat {
  text-align: center;
}

.rt-stat-num {
  font-family: var(--rt-font-mono);
  font-size: var(--rt-text-4xl);
  background: linear-gradient(120deg, var(--rt-color-primary), var(--rt-color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.rt-stat-label {
  font-family: var(--rt-font-mono);
  font-size: var(--rt-text-xs);
  color: var(--rt-color-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--rt-space-2);
}

/* ============================================================
   Mono Data Helpers（数据 / 型号 / 参数统一样式）
   ============================================================ */

.rt-mono {
  font-family: var(--rt-font-mono);
  font-size: 0.92em;
  letter-spacing: 0.02em;
}

.rt-data-value {
  font-family: var(--rt-font-mono);
  color: var(--rt-color-primary);
  font-weight: 600;
}

/* ============================================================
   tyc86太阳集团 D+ 设计系统 · Components
   ------------------------------------------------------------
   依赖：tokens.css + typography.css
   覆盖：按钮 / 卡片 / 导航 / Hero visual / Tag / Footer
   ============================================================ */

/* ============================================================
   按钮 / Button
   ============================================================ */

.rt-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--rt-space-2);
  padding: 14px 28px;
  font-size: var(--rt-text-sm);
  font-weight: 600;
  border-radius: var(--rt-radius-sm);
  transition: all var(--rt-duration-base) var(--rt-ease-out);
  white-space: nowrap;
  font-family: var(--rt-font-body);
  letter-spacing: 0.02em;
}

.rt-btn-primary {
  background: var(--rt-color-primary);
  color: #fff;
  border: 1px solid var(--rt-color-primary);
  box-shadow: var(--rt-shadow-inset);
}
.rt-btn-primary:hover {
  background: var(--rt-color-primary-dark);
  box-shadow: var(--rt-shadow-md), var(--rt-shadow-glow);
  transform: translateY(-2px);
  color: #fff;
}

.rt-btn-outline {
  background: transparent;
  color: var(--rt-color-primary);
  border: 1px solid var(--rt-color-primary);
}
.rt-btn-outline:hover {
  background: var(--rt-color-primary);
  color: #fff;
  box-shadow: var(--rt-shadow-md);
}

.rt-btn-dark {
  background: var(--rt-color-accent);
  color: var(--rt-color-bg);
  border: 1px solid var(--rt-color-accent);
}
.rt-btn-dark:hover {
  background: #1f2b26;
  box-shadow: var(--rt-shadow-md);
  transform: translateY(-1px);
  color: var(--rt-color-bg);
}

.rt-btn-ghost {
  background: transparent;
  color: var(--rt-color-text);
  padding: 8px 16px;
  border-radius: var(--rt-radius-sm);
}
.rt-btn-ghost:hover {
  color: var(--rt-color-primary);
}

.rt-btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}
.rt-btn-lg {
  padding: 18px 36px;
  font-size: var(--rt-text-base);
}

/* ============================================================
   卡片 / Card（D+ 签名：hover 顶部 3px accent bar）
   ============================================================ */

.rt-card {
  background: var(--rt-color-surface);
  border: 1px solid var(--rt-color-border);
  border-radius: var(--rt-radius-md);
  overflow: hidden;
  transition: all var(--rt-duration-slow) var(--rt-ease-out);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}

.rt-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--rt-color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--rt-ease-out);
  z-index: 2;
}

.rt-card:hover {
  border-color: var(--rt-color-border-dark);
  box-shadow: var(--rt-shadow-lg);
  transform: translateY(-4px);
}

.rt-card:hover::before {
  transform: scaleX(1);
}

.rt-card-media {
  aspect-ratio: 4 / 3;
  background: var(--rt-color-bg-warm);
  overflow: hidden;
  position: relative;
}
.rt-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(45, 59, 54, 0.08));
  pointer-events: none;
}
.rt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--rt-ease-out);
}
.rt-card:hover .rt-card-media img {
  transform: scale(1.06);
}

.rt-card-body {
  padding: var(--rt-space-6);
}

.rt-card-title {
  font-family: var(--rt-font-heading);
  font-size: var(--rt-text-lg);
  font-weight: 600;
  margin-bottom: var(--rt-space-2);
  letter-spacing: -0.01em;
}

.rt-card-meta {
  font-family: var(--rt-font-mono);
  font-size: var(--rt-text-xs);
  color: var(--rt-color-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--rt-space-3);
}

/* ============================================================
   导航 / Nav（sticky + backdrop-filter 磨砂）
   ============================================================ */

.rt-nav {
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rt-color-border);
  padding: var(--rt-space-4) 0;
  position: sticky;
  top: 0;
  z-index: var(--rt-z-sticky);
}

.rt-nav-brand {
  display: flex;
  align-items: center;
  gap: var(--rt-space-3);
  font-family: var(--rt-font-heading);
  font-size: var(--rt-text-xl);
  font-weight: 700;
  color: var(--rt-color-primary);
  letter-spacing: 0.02em;
}
.rt-nav-brand::before {
  content: '';
  width: 36px;
  height: 36px;
  background: var(--rt-color-primary);
  border-radius: var(--rt-radius-sm);
  box-shadow:
    inset 0 -6px 0 var(--rt-color-primary-dark),
    var(--rt-shadow-inset);
}

.rt-nav ul {
  list-style: none;
  display: flex;
  gap: var(--rt-space-6);
  margin: 0;
  padding: 0;
  font-size: var(--rt-text-sm);
  font-weight: 500;
}
.rt-nav a {
  position: relative;
  padding: var(--rt-space-2) 0;
}
.rt-nav a:hover {
  color: var(--rt-color-primary);
}
.rt-nav a.active {
  color: var(--rt-color-primary);
}
.rt-nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--rt-color-primary);
  border-radius: 1px;
}

/* ============================================================
   Hero Section
   ============================================================ */

.rt-hero {
  position: relative;
  padding: var(--rt-space-16) 0 var(--rt-space-12);
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(194, 112, 60, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(45, 59, 54, 0.08), transparent 60%),
    linear-gradient(180deg, var(--rt-color-bg) 0%, var(--rt-color-bg-warm) 100%);
  overflow: hidden;
}

.rt-hero .rt-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--rt-space-10);
  align-items: center;
}
@media (max-width: 768px) {
  .rt-hero .rt-container {
    grid-template-columns: 1fr;
  }
}

.rt-hero-visual {
  position: relative;
  border-radius: var(--rt-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--rt-shadow-lg);
}
.rt-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(194, 112, 60, 0.15)),
    linear-gradient(180deg, transparent 60%, rgba(45, 59, 54, 0.4));
  pointer-events: none;
}

.rt-hero-visual-badge {
  position: absolute;
  right: -20px;
  top: 40px;
  background: var(--rt-color-surface);
  border-radius: var(--rt-radius-md);
  padding: var(--rt-space-4) var(--rt-space-6);
  box-shadow: var(--rt-shadow-lg);
  z-index: 2;
  border: 1px solid var(--rt-color-border);
}

/* ============================================================
   Tag / Badge
   ============================================================ */

.rt-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-family: var(--rt-font-mono);
  font-size: var(--rt-text-xs);
  font-weight: 500;
  border-radius: var(--rt-radius-sm);
  background: var(--rt-color-orange-soft);
  color: var(--rt-color-primary-dark);
  letter-spacing: 0.05em;
}

.rt-tag-accent {
  background: var(--rt-color-accent);
  color: var(--rt-color-bg);
}

.rt-tag-outline {
  background: transparent;
  border: 1px solid var(--rt-color-border-dark);
  color: var(--rt-color-text-muted);
}

/* ============================================================
   Footer
   ============================================================ */

.rt-footer {
  background: var(--rt-color-accent);
  color: rgba(247, 241, 232, 0.7);
  padding: var(--rt-space-12) 0 var(--rt-space-6);
  font-size: var(--rt-text-sm);
}

.rt-footer h4 {
  color: var(--rt-color-orange-soft);
  font-family: var(--rt-font-mono);
  font-size: var(--rt-text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--rt-space-4);
}

.rt-footer a {
  color: rgba(247, 241, 232, 0.7);
  transition: color var(--rt-duration-fast);
}
.rt-footer a:hover {
  color: var(--rt-color-orange-soft);
}

.rt-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rt-footer ul li {
  margin-bottom: var(--rt-space-2);
}

.rt-footer-bottom {
  margin-top: var(--rt-space-8);
  padding-top: var(--rt-space-6);
  border-top: 1px solid rgba(247, 241, 232, 0.15);
  font-size: var(--rt-text-xs);
}

/* ============================================================
   Mobile preview（仅 mockup 阶段使用，生产可移除）
   ============================================================ */

.rt-mobile-preview {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 391px;
  height: 720px;
  background: #1a1a1a;
  border-radius: 32px;
  padding: 12px 8px 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  z-index: var(--rt-z-fixed);
}
.rt-mobile-preview iframe {
  width: 375px;
  height: 688px;
  border: none;
  border-radius: 24px;
  background: var(--rt-color-bg);
  display: block;
  margin: 18px auto 0;
}

/* ============================================================
   Bootstrap 5 桥接层（给原 html 用 .btn-primary / .navbar 等自动上 D+ 色板）
   在三件套后加载，覆盖 Bootstrap 默认蓝色
   ============================================================ */

/* Bootstrap container 统一 D+ 最大宽度 */
.container { max-width: 1200px !important; }

/* Bootstrap 按钮 → D+ 陶土橙 */
.btn-primary,
.btn.btn-primary {
  background-color: var(--rt-color-primary) !important;
  border-color: var(--rt-color-primary) !important;
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.btn-primary:hover,
.btn.btn-primary:hover {
  background-color: var(--rt-color-primary-dark) !important;
  border-color: var(--rt-color-primary-dark) !important;
  box-shadow: var(--rt-shadow-md), var(--rt-shadow-glow) !important;
  transform: translateY(-2px);
  color: #fff !important;
}
.btn-outline-primary,
.btn.btn-outline-primary {
  background: transparent !important;
  border-color: var(--rt-color-primary) !important;
  color: var(--rt-color-primary) !important;
}
.btn-outline-primary:hover,
.btn.btn-outline-primary:hover {
  background-color: var(--rt-color-primary) !important;
  color: #fff !important;
}

/* 全局文字 / 背景色 */
.text-primary { color: var(--rt-color-primary) !important; }
.text-dark { color: var(--rt-color-text) !important; }
.bg-primary { background-color: var(--rt-color-primary) !important; }
.bg-dark { background-color: var(--rt-color-accent) !important; }
.bg-light { background-color: var(--rt-color-bg) !important; }

/* Bootstrap 原模板色变量覆盖 */
:root {
  --primary: var(--rt-color-primary);
  --secondary: var(--rt-color-bg-warm);
  --light: var(--rt-color-bg);
  --dark: var(--rt-color-accent);
}

/* Navbar */
.navbar {
  background: rgba(247, 241, 232, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rt-color-border);
  padding: 16px 0;
}
.navbar-brand {
  font-family: var(--rt-font-heading);
  font-weight: 700;
  color: var(--rt-color-primary) !important;
  font-size: var(--rt-text-xl);
  letter-spacing: 0.02em;
}
.navbar-nav .nav-link {
  color: var(--rt-color-text) !important;
  font-weight: 500;
  font-size: var(--rt-text-sm);
  padding: 8px 16px !important;
  transition: color 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--rt-color-primary) !important;
}
.fixed-top.bg-dark,
.navbar.bg-dark {
  background: var(--rt-color-accent) !important;
}
.fixed-top.bg-dark .navbar-brand,
.navbar.bg-dark .navbar-brand {
  color: var(--rt-color-orange-soft) !important;
}
.fixed-top.bg-dark .navbar-nav .nav-link,
.navbar.bg-dark .navbar-nav .nav-link {
  color: rgba(247, 241, 232, 0.85) !important;
}

/* Carousel caption */
.carousel-caption {
  color: var(--rt-color-bg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption h3 {
  font-family: var(--rt-font-heading);
  color: var(--rt-color-bg);
  font-weight: 700;
}
.carousel-caption .btn-primary {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Links */
a { color: var(--rt-color-primary); }
a:hover { color: var(--rt-color-primary-dark); }

/* Cards (Bootstrap) */
.card {
  border: 1px solid var(--rt-color-border);
  border-radius: var(--rt-radius-md);
  transition: all 0.3s var(--rt-ease-out);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rt-color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--rt-ease-out);
  z-index: 2;
}
.card:hover {
  border-color: var(--rt-color-border-dark);
  box-shadow: var(--rt-shadow-lg);
  transform: translateY(-4px);
}
.card:hover::before { transform: scaleX(1); }
.card-title {
  font-family: var(--rt-font-heading);
  font-weight: 600;
  color: var(--rt-color-heading);
}

/* Forms */
.form-control,
.form-select {
  border-color: var(--rt-color-border);
  border-radius: var(--rt-radius-sm);
  padding: 10px 14px;
  font-size: var(--rt-text-sm);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--rt-color-primary);
  box-shadow: 0 0 0 3px rgba(194, 112, 60, 0.12);
}
.form-label {
  font-weight: 500;
  color: var(--rt-color-text);
  margin-bottom: 6px;
}

/* Section backgrounds (原模板 .bg-primary 深色区块 → D+ 墨绿) */
section.bg-primary,
.bg-primary {
  background: var(--rt-color-accent) !important;
  color: var(--rt-color-bg);
}
section.bg-primary h1,
section.bg-primary h2,
section.bg-primary h3,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3 {
  color: var(--rt-color-orange-soft);
}

/* Back to top */
.back-to-top {
  background: var(--rt-color-primary) !important;
  border: none !important;
  color: #fff !important;
}
.back-to-top:hover {
  background: var(--rt-color-primary-dark) !important;
  box-shadow: var(--rt-shadow-glow);
}

/* Footer（原模板 .footer / .bg-dark） */
.footer,
footer.bg-dark {
  background: var(--rt-color-accent) !important;
  color: rgba(247, 241, 232, 0.7);
}
.footer h4,
.footer h5,
.footer h6,
footer h4 {
  color: var(--rt-color-orange-soft);
  font-family: var(--rt-font-heading);
  font-size: var(--rt-text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer a,
footer a {
  color: rgba(247, 241, 232, 0.7);
}
.footer a:hover,
footer a:hover {
  color: var(--rt-color-orange-soft);
}
.copyright {
  border-top: 1px solid rgba(247, 241, 232, 0.15);
  padding-top: 24px;
  margin-top: 32px;
  font-size: var(--rt-text-xs);
}

/* 页面标题条（原模板常用 #navtext / .page-header） */
#navtext,
.page-header h1 {
  font-family: var(--rt-font-heading);
  color: var(--rt-color-primary);
  font-weight: 700;
}


/* ============================================================
   D+ Hero Carousel（覆盖 Bootstrap 5 carousel-caption）
   ============================================================ */

.rt-hero-carousel .carousel-item {
  position: relative;
  overflow: hidden;
}

.rt-hero-carousel .carousel-item img {
  width: 100%;
  height: 72vh;
  min-height: 520px;
  max-height: 820px;
  object-fit: cover;
  filter: saturate(1.05);
}

.rt-hero-carousel .carousel-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(45, 59, 54, 0.78) 0%, rgba(45, 59, 54, 0.5) 50%, rgba(45, 59, 54, 0.25) 100%),
    linear-gradient(180deg, rgba(45, 59, 54, 0) 0%, rgba(45, 59, 54, 0.3) 100%);
  pointer-events: none;
}

.rt-hero-caption {
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  text-align: left !important;
  z-index: 2;
}

.rt-hero-caption .rt-hero-eyebrow {
  background: rgba(247, 241, 232, 0.12);
  color: var(--rt-color-orange-soft);
  border-color: rgba(247, 241, 232, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rt-hero-caption .rt-hero-eyebrow::before {
  background: var(--rt-color-orange-soft);
}

.rt-hero-caption .rt-hero-title {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  margin-bottom: 20px;
}

.rt-hero-caption .rt-hero-title em {
  /* 叠加在暗色背景上时，用更亮的 gradient */
  background: linear-gradient(120deg, var(--rt-color-primary-light) 0%, var(--rt-color-orange-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rt-hero-caption .rt-hero-sub {
  color: rgba(247, 241, 232, 0.9);
  max-width: 640px;
  margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.rt-hero-caption .btn-outline-light {
  background: transparent;
  border: 1px solid rgba(247, 241, 232, 0.7);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  letter-spacing: 0.02em;
}
.rt-hero-caption .btn-outline-light:hover {
  background: rgba(247, 241, 232, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.rt-hero-caption .btn-lg {
  padding: 16px 32px;
  font-size: var(--rt-text-base);
}

/* Carousel indicators / controls 色调 */
.rt-hero-carousel .carousel-control-prev-icon,
.rt-hero-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* Carousel 内响应式：手机隐藏副 btn */
@media (max-width: 768px) {
  .rt-hero-caption .rt-hero-title { font-size: var(--rt-text-3xl); }
  .rt-hero-caption .rt-hero-sub { font-size: var(--rt-text-base); }
  .rt-hero-caption .btn-lg { padding: 12px 22px; font-size: var(--rt-text-sm); }
}


/* ============================================================
   D+ Page Header（非首页的 hero 小区块）
   ============================================================ */

.page-header {
  min-height: 220px;
  padding: 80px 0 40px !important;
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(194, 112, 60, 0.15), transparent 60%),
    radial-gradient(ellipse 40% 60% at 15% 80%, rgba(45, 59, 54, 0.08), transparent 60%),
    linear-gradient(180deg, var(--rt-color-bg) 0%, var(--rt-color-bg-warm) 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--rt-color-border);
}

/* 面包屑导航区美化（原 .ny_r_title） */
.ny_r_title {
  font-size: var(--rt-text-sm);
  color: var(--rt-color-text-muted);
  padding: 20px 0;
  font-family: var(--rt-font-body);
}
.ny_r_title a {
  color: var(--rt-color-text-muted);
  transition: color 0.2s;
}
.ny_r_title a:hover { color: var(--rt-color-primary); }
.ny_r_title .text-black-50 { color: var(--rt-color-text-muted) !important; }
.ny_r_title .text-primary,
.ny_r_title #navtext {
  color: var(--rt-color-primary) !important;
  font-weight: 600;
}

/* 产品列表 `.pro_column` 栅格化 */
.pro_column {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0 !important;
}
@media (max-width: 992px) { .pro_column { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .pro_column { grid-template-columns: 1fr; } }

/* 新闻列表 `#newList` */
#newList .newItem {
  background: #fff;
  border: 1px solid var(--rt-color-border);
  border-radius: var(--rt-radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.25s var(--rt-ease-out);
  position: relative;
  overflow: hidden;
}
#newList .newItem::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--rt-color-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s var(--rt-ease-out);
}
#newList .newItem:hover {
  border-color: var(--rt-color-border-dark);
  box-shadow: var(--rt-shadow-md);
  transform: translateX(4px);
}
#newList .newItem:hover::before { transform: scaleY(1); }
#newList .newText {
  font-family: var(--rt-font-heading);
  font-weight: 500;
  font-size: var(--rt-text-base);
  color: var(--rt-color-text);
  flex: 1;
}
#newList .newTime {
  font-family: var(--rt-font-mono);
  font-size: var(--rt-text-xs);
  color: var(--rt-color-text-muted);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* 关于 / About section (常用 .about / .about1 / .about2 等) */
.about, .about-us {
  padding: 60px 0;
}
.about p, .about-us p {
  line-height: 1.8;
  color: var(--rt-color-text);
  margin-bottom: 16px;
  text-indent: 2em;
}


/* ============================================================
   D+ Navbar 覆盖（原生产用 navbar-dark，强制改回 D+ 奶油色调）
   ============================================================ */

.navbar.navbar-dark,
.fixed-top .navbar.navbar-dark {
  background: rgba(247, 241, 232, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rt-color-border);
}

.navbar-dark .navbar-brand,
.navbar-dark .navbar-brand img {
  filter: none !important;
}

.navbar-dark .navbar-brand {
  padding: 8px 16px;
}
.navbar-dark .navbar-brand img {
  height: 44px;
  width: auto;
}

.navbar-dark .nav-link,
.navbar-dark .navbar-nav .nav-link {
  color: var(--rt-color-text) !important;
  font-family: var(--rt-font-body);
  font-weight: 500;
  font-size: var(--rt-text-sm);
  padding: 12px 18px !important;
  transition: color 0.2s;
}
.navbar-dark .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .nav-link.active {
  color: var(--rt-color-primary) !important;
}

.navbar-dark .nav-item.dropdown .dropdown-toggle::after {
  border-top-color: var(--rt-color-text-muted);
}

.navbar-dark .dropdown-menu {
  background: #fff;
  border: 1px solid var(--rt-color-border);
  border-radius: var(--rt-radius-md);
  box-shadow: var(--rt-shadow-lg);
  padding: 8px 0;
  min-width: 200px;
}

.navbar-dark .dropdown-menu .dropdown-item {
  color: var(--rt-color-text);
  padding: 10px 20px;
  font-size: var(--rt-text-sm);
  transition: all 0.15s;
}
.navbar-dark .dropdown-menu .dropdown-item:hover {
  background: var(--rt-color-bg-warm);
  color: var(--rt-color-primary);
}

.navbar-dark .navbar-toggler {
  border-color: var(--rt-color-border);
}
.navbar-dark .navbar-toggler-icon {
  /* 替换为 D+ 墨绿色汉堡图标 */
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%232D3B36' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* 滚动后 navbar 加投影 */
.fixed-top.shadow {
  box-shadow: var(--rt-shadow-md) !important;
}


/* ============================================================
   Bootstrap utility 补齐（.container-xxl / 其他高频）
   ============================================================ */

.container-xxl {
  max-width: 1200px !important;
  margin-left: auto;
  margin-right: auto;
}

/* 原模板大量用 .h-100 吃满高度，保留 Bootstrap 原生 */
.h-100 { height: 100% !important; }

/* animate.css 入场动画 */
.wow { visibility: hidden; }
.wow.animated { visibility: visible; }

/* 产品详情 cpzsInfo.html 常用结构 */
.product-detail-img {
  border-radius: var(--rt-radius-md);
  overflow: hidden;
  box-shadow: var(--rt-shadow-md);
  margin-bottom: 24px;
}
.product-detail-img img { width: 100%; height: auto; }

/* 资质 about6 / 合作伙伴 hzhb logo 墙 */
.qualification-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}
@media (max-width: 992px) { .qualification-grid, .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .qualification-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); } }
.qualification-item,
.partner-item {
  background: #fff;
  border: 1px solid var(--rt-color-border);
  border-radius: var(--rt-radius-md);
  padding: 16px;
  transition: all 0.25s;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qualification-item:hover,
.partner-item:hover {
  border-color: var(--rt-color-primary);
  box-shadow: var(--rt-shadow-md);
  transform: translateY(-2px);
}
.qualification-item img,
.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 招聘 rlzy.html 岗位卡 */
.job-item {
  background: #fff;
  border: 1px solid var(--rt-color-border);
  border-left: 4px solid var(--rt-color-primary);
  border-radius: var(--rt-radius-md);
  padding: 24px 28px;
  margin-bottom: 16px;
  transition: all 0.25s;
}
.job-item:hover {
  box-shadow: var(--rt-shadow-md);
  transform: translateX(4px);
}
.job-item h3 {
  color: var(--rt-color-primary);
  font-size: var(--rt-text-lg);
  margin-bottom: 8px;
}

/* 留言板 contact.html form */
.contact-form {
  background: #fff;
  border: 1px solid var(--rt-color-border);
  border-radius: var(--rt-radius-md);
  padding: 32px;
  box-shadow: var(--rt-shadow-sm);
}

/* 联系 lxwm.html 信息卡片 */
.contact-info-card {
  background: var(--rt-color-bg-warm);
  border-left: 4px solid var(--rt-color-primary);
  border-radius: 0 var(--rt-radius-md) var(--rt-radius-md) 0;
  padding: 24px;
  margin-bottom: 20px;
}

/* 新闻详情 newInfo.html / 文章 article.html */
.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 0;
  font-size: var(--rt-text-lg);
  line-height: 1.85;
}
.article-content img { margin: 24px 0; border-radius: var(--rt-radius-md); }
.article-content h1 {
  font-family: var(--rt-font-heading);
  font-size: var(--rt-text-3xl);
  color: var(--rt-color-heading);
  margin-bottom: 16px;
}
.article-meta {
  font-family: var(--rt-font-mono);
  font-size: var(--rt-text-sm);
  color: var(--rt-color-text-muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rt-color-divider);
  margin-bottom: 32px;
}

/* 研发 yjkf.html / 科研 kyjg.html 通用技术内容 */
.research-section {
  padding: 60px 0;
}
.research-section img {
  border-radius: var(--rt-radius-md);
  box-shadow: var(--rt-shadow-sm);
}


/* ============================================================
   B 阶段 · 22 页精修 · 通用内容块
   ============================================================ */

/* .about / .about-us 已处理，这里补 .about2-6 / .ny_content */
.about2, .about3, .about4, .about5, .about6, .ny_content {
  padding: 20px 0 60px;
  max-width: 960px;
  margin: 0 auto;
}
.about2 p, .about3 p, .about4 p, .about5 p, .about6 p,
.ny_content p {
  line-height: 1.85;
  color: var(--rt-color-text);
  margin-bottom: 12px;
  font-size: var(--rt-text-base);
}
.about2 strong, .about3 strong, .about4 strong, .about5 strong, .about6 strong,
.ny_content strong {
  color: var(--rt-color-primary);
  font-weight: 600;
  font-size: var(--rt-text-lg);
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--rt-color-primary);
  margin-top: 16px;
  margin-bottom: 8px;
}
.about2 img, .about3 img, .about4 img, .about5 img, .about6 img,
.ny_content img {
  max-width: 100%;
  height: auto;
  margin: 16px 0;
  border-radius: var(--rt-radius-md);
  box-shadow: var(--rt-shadow-sm);
}

/* 老式 MsoNormal Word 粘贴内容兜底 */
.MsoNormal,
p.MsoNormal {
  font-family: var(--rt-font-body) !important;
  line-height: 1.75 !important;
  color: var(--rt-color-text) !important;
}
/* 强制覆盖内联 font-family: 宋体 */
.about2 span[style*="宋体"],
.about3 span[style*="宋体"],
.about4 span[style*="宋体"],
.about5 span[style*="宋体"],
.about6 span[style*="宋体"],
.ny_content span[style*="宋体"],
.lxwm span[style*="宋体"],
.lxwm p[style*="宋体"],
span[style*="font-family:宋体"],
span[style*="font-family: 宋体"] {
  font-family: var(--rt-font-body) !important;
}

/* 联系页面 lxwm.html 老表格 */
.lxwm { padding: 40px 0; }
.lxwm table {
  width: 100% !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.lxwm table tr {
  background: #fff;
}
.lxwm table tr:nth-child(even) {
  background: var(--rt-color-bg-warm);
}
.lxwm table td {
  padding: 16px 20px !important;
  border: 1px solid var(--rt-color-border) !important;
  font-family: var(--rt-font-body);
  font-size: var(--rt-text-base);
  color: var(--rt-color-text);
  line-height: 1.7;
}
.lxwm table td b,
.lxwm table td strong {
  color: var(--rt-color-primary);
  font-weight: 600;
}

/* 留言板 contact.html */
.contact {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
}
.contact input[type="text"],
.contact input[type="email"],
.contact input[type="tel"],
.contact textarea,
.contact select {
  width: 100%;
  border: 1px solid var(--rt-color-border);
  border-radius: var(--rt-radius-sm);
  padding: 12px 16px;
  font-size: var(--rt-text-base);
  font-family: var(--rt-font-body);
  margin-bottom: 16px;
  background: #fff;
  transition: all 0.2s;
}
.contact input:focus,
.contact textarea:focus,
.contact select:focus {
  outline: none;
  border-color: var(--rt-color-primary);
  box-shadow: 0 0 0 3px rgba(194, 112, 60, 0.12);
}
.contact textarea { min-height: 140px; resize: vertical; }
.contact label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--rt-color-text);
  font-size: var(--rt-text-sm);
}

/* 团队卡片 (index2-4 用 teamOneBox) */
.teamOneBox,
.team-item {
  background: #fff;
  border: 1px solid var(--rt-color-border);
  border-radius: var(--rt-radius-md);
  padding: 20px;
  text-align: center;
  transition: all 0.25s;
  margin-bottom: 20px;
}
.teamOneBox:hover,
.team-item:hover {
  border-color: var(--rt-color-primary);
  box-shadow: var(--rt-shadow-md);
  transform: translateY(-4px);
}
.teamOneBox img,
.team-item img {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 3px solid var(--rt-color-bg-warm);
}
.teamOneBox h4,
.team-item h4 {
  font-family: var(--rt-font-heading);
  color: var(--rt-color-primary);
  font-size: var(--rt-text-base);
  margin-bottom: 6px;
}

/* about4 发展历程 / 时间轴 */
.timeline,
.history-timeline {
  position: relative;
  padding: 40px 0;
}
.timeline::before,
.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--rt-color-primary);
  transform: translateX(-50%);
}
.timeline-item,
.history-item {
  position: relative;
  width: calc(50% - 30px);
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--rt-radius-md);
  border: 1px solid var(--rt-color-border);
  margin-bottom: 24px;
  box-shadow: var(--rt-shadow-sm);
}
.timeline-item:nth-child(odd),
.history-item:nth-child(odd) { margin-left: 0; margin-right: auto; }
.timeline-item:nth-child(even),
.history-item:nth-child(even) { margin-left: auto; margin-right: 0; }
.timeline-item::before,
.history-item::before {
  content: '';
  position: absolute;
  top: 24px;
  width: 16px; height: 16px;
  background: var(--rt-color-primary);
  border: 3px solid var(--rt-color-bg);
  border-radius: 50%;
}
.timeline-item:nth-child(odd)::before,
.history-item:nth-child(odd)::before { right: -40px; }
.timeline-item:nth-child(even)::before,
.history-item:nth-child(even)::before { left: -40px; }
.timeline-year,
.history-year {
  font-family: var(--rt-font-mono);
  color: var(--rt-color-primary);
  font-weight: 600;
  font-size: var(--rt-text-lg);
  margin-bottom: 4px;
}

/* cpzsInfo 产品详情 */
.product-info h1 {
  font-family: var(--rt-font-heading);
  color: var(--rt-color-primary);
  font-size: var(--rt-text-2xl);
  margin-bottom: 16px;
}
.product-params,
.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
}
.product-params th,
.product-params td,
.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border: 1px solid var(--rt-color-border);
  font-size: var(--rt-text-sm);
}
.product-params th,
.spec-table th {
  background: var(--rt-color-bg-warm);
  font-family: var(--rt-font-mono);
  font-weight: 600;
  color: var(--rt-color-primary-dark);
  text-align: left;
}
.product-params tr:nth-child(even) td,
.spec-table tr:nth-child(even) td {
  background: var(--rt-color-bg);
}

/* newInfo / article 文章详情 */
.ny_content h1,
.ny_content h2,
.ny_content h3 {
  font-family: var(--rt-font-heading);
  color: var(--rt-color-heading);
  margin: 28px 0 12px;
}
.ny_content blockquote {
  border-left: 3px solid var(--rt-color-primary);
  background: var(--rt-color-bg-warm);
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: 0 var(--rt-radius-md) var(--rt-radius-md) 0;
  font-style: italic;
}

/* index2-4 首页变体兜底（基础全局）*/
body { overflow-x: hidden; }
.visible-block { display: block; }



/* CMS publish layout safety fixes */
html,
body {
    overflow-x: hidden;
}
.container-fluid.fixed-top {
    max-width: 100vw;
}
.alert[role="alert"] {
    box-sizing: border-box;
    max-width: calc(100% - 40px);
}
