/* ============================================
   中析研究所官网 - 公共样式文件
   帝国CMS模板公共样式 style.css
   ============================================ */

/* ========== 重置与基础 ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:hover { color: #1850c5; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: #0c3d8c; line-height: 1.3; }

/* ========== CSS变量 ========== */
:root {
  --brand-navy: #0c3d8c;
  --brand-blue: #1850c5;
  --brand-blue-light: #3b82f6;
  --brand-orange: #ff8a1a;
  --brand-orange-light: #ffb347;
  --brand-bg: #f5f8fc;
  --brand-gray: #f9fafb;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* ========== 公共类 ========== */
.container { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }
@media (min-width: 1280px) { .container { padding: 0 64px; } }

.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 72px 0; } }

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-navy);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}
@media (min-width: 768px) { .section-title { font-size: 2rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 640px;
  margin: 24px auto 48px;
  line-height: 1.8;
}
@media (min-width: 768px) { .section-subtitle { font-size: 1rem; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--brand-blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-navy);
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(26, 86, 219, 0.3);
  transform: translateY(-1px);
}
.btn-orange {
  background: var(--brand-orange);
  color: #fff;
}
.btn-orange:hover {
  background: #ff7a00;
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(255, 138, 26, 0.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 1px solid var(--brand-blue);
}
.btn-outline:hover {
  background: var(--brand-blue);
  color: #fff;
}

.gradient-navy {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}
.gradient-blue-light {
  background: linear-gradient(180deg, #f0f7ff, #ffffff);
}

.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ========== 顶部通知栏 ========== */
.topbar {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  display: none;
}
@media (min-width: 1024px) { .topbar { display: block; } }

.topbar-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar a:hover { color: var(--brand-orange); }

.topbar .icon {
  width: 14px;
  height: 14px;
  color: var(--brand-orange);
}

/* ========== 头部导航 ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) { .header-inner { height: 80px; } }

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
@media (min-width: 768px) {
  .logo-img { width: 48px; height: 48px; font-size: 20px; }
}

.logo-text { display: none; }
@media (min-width: 640px) { .logo-text { display: block; } }

.logo-text .name {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.2;
}
@media (min-width: 768px) { .logo-text .name { font-size: 17px; } }

.logo-text .desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 桌面导航 */
.nav-desktop { display: none; }
@media (min-width: 1024px) { .nav-desktop { display: flex; align-items: center; gap: 4px; } }

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-navy);
  white-space: nowrap;
}
.nav-link:hover, .nav-item.active .nav-link {
  color: var(--brand-blue);
}

.nav-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* 下拉菜单 */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
}

.dropdown-cols {
  flex: 1;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dropdown-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-list { display: flex; flex-direction: column; gap: 2px; }

.dropdown-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 6px;
}
.dropdown-list li a:hover {
  background: #eff6ff;
  color: var(--brand-blue);
}

.dropdown-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-blue);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.dropdown-list li a:hover .dropdown-icon {
  transform: scale(1.15);
}

.dropdown-featured {
  width: 220px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dropdown-featured h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.dropdown-featured ul { display: flex; flex-direction: column; gap: 6px; }

.dropdown-featured li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dropdown-featured li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-orange);
  flex-shrink: 0;
}

.dropdown-featured .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--brand-orange);
  font-weight: 500;
  margin-top: 16px;
}

/* 头部右侧 */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-consult {
  display: none;
}
@media (min-width: 768px) { .header-consult { display: inline-flex; } }

.mobile-menu-btn {
  padding: 8px;
  color: var(--brand-navy);
  display: block;
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* ========== 移动端菜单 ========== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  top: 64px;
  background: rgba(0, 0, 0, 0.3);
  z-index: 99;
  display: none;
}
.mobile-menu-overlay.active { display: block; }

.mobile-menu {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  padding: 16px;
}

.mobile-menu-tel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
  border-radius: 8px;
  margin-bottom: 16px;
}

.mobile-menu-tel .tel-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-orange);
}

.mobile-menu-tel .tel-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-menu-tel .tel-number {
  font-size: 16px;
  font-weight: 700;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-navy);
  border-radius: 8px;
}
.mobile-nav-link:hover { background: #eff6ff; }

.mobile-submenu {
  padding: 0 0 8px 16px;
  display: none;
}
.mobile-submenu.active { display: block; }

.mobile-submenu-group-title {
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 12px 4px;
}

.mobile-submenu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 6px;
}
.mobile-submenu li a:hover {
  background: #eff6ff;
  color: var(--brand-blue);
}

.mobile-consult-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--brand-orange);
  color: #fff;
  font-weight: 500;
  border-radius: 8px;
  margin-top: 16px;
}

/* ========== Banner视频轮播 ========== */
.banner {
  position: relative;
  margin-top: 64px;
  overflow: hidden;
  /* 16:9 比例，1920x1080视频适配 */
  height: calc(100vw * 9 / 16);
  max-height: calc(100vh - 80px);
  min-height: 320px;
}
@media (min-width: 768px) {
  .banner { margin-top: 80px; min-height: 480px; }
}
@media (min-width: 1280px) {
  .banner { max-height: 820px; }
}

.banner-slide.video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.banner-slide.video-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: 1;
}
@media (max-width: 767px) {
  .banner-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%),
                linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 100%);
  }
}

.banner-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}
.banner-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-text-card {
  max-width: 640px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 28px;
}
@media (min-width: 640px) { .banner-text-card { padding: 32px 40px; border-radius: 20px; } }
@media (min-width: 1024px) { .banner-text-card { padding: 44px 56px; max-width: 680px; } }

.banner-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 138, 26, 0.9);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 14px;
}
@media (min-width: 768px) { .banner-tag { margin-bottom: 18px; font-size: 0.938rem; } }

.banner-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
}
@media (min-width: 640px) { .banner-title { font-size: 2rem; } }
@media (min-width: 1024px) { .banner-title { font-size: 2.75rem; } }
@media (min-width: 1280px) { .banner-title { font-size: 3.25rem; } }

.banner-subtitle,
.banner-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .banner-subtitle,
  .banner-desc { font-size: 1rem; margin-bottom: 32px; }
}

.banner-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.938rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}
@media (min-width: 768px) { .banner-btn { padding: 12px 28px; } }
.banner-btn.primary {
  background: #ff8a1a;
  color: #fff;
}
.banner-btn.primary:hover {
  background: #ff7a00;
  box-shadow: 0 8px 24px rgba(255, 138, 26, 0.3);
}
.banner-btn.secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.banner-btn.secondary:hover {
  background: rgba(255,255,255,0.2);
}

.banner-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 6;
}
@media (min-width: 768px) { .banner-controls { bottom: 36px; } }

.banner-dots {
  display: flex;
  gap: 6px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.banner-dot.active {
  width: 28px;
  background: #fff;
  border-radius: 999px;
}

.banner-mute-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.banner-mute-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.banner-mute-btn svg { width: 15px; height: 15px; }

/* ========== 数据统计栏 ========== */
.stats-bar {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}
@media (min-width: 768px) { .stats-bar { margin-top: -56px; } }

.stats-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
  padding: 16px;
}
@media (min-width: 768px) { .stats-panel { padding: 24px; } }

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s ease;
}
@media (min-width: 768px) {
  .stat-item {
    gap: 16px;
    padding: 16px;
    border-right: 1px solid var(--border-color);
  }
  .stat-item:last-child { border-right: none; }
}
.stat-item:hover { background: #f0f7ff; }

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(10, 42, 94, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}
@media (min-width: 768px) { .stat-icon { width: 56px; height: 56px; } }

.stat-icon svg { width: 28px; height: 28px; }
@media (min-width: 768px) { .stat-icon svg { width: 32px; height: 32px; } }

.stat-text .title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 768px) { .stat-text .title { font-size: 16px; } }

.stat-text .desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) { .stat-text .desc { font-size: 13px; } }

/* ========== 服务项目板块 ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (min-width: 1280px) { .service-grid { grid-template-columns: repeat(5, 1fr); } }

.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all 0.3s ease;
}
@media (min-width: 768px) { .service-card { padding: 28px 20px; } }

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-blue);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
  color: #fff;
  transform: scale(1.1);
}

.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 4px;
}
@media (min-width: 768px) { .service-card h3 { font-size: 15px; } }

.service-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== 检测项目Tab切换 ========== */
.product-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .product-tabs { gap: 12px; margin-bottom: 40px; }
}

.product-tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .product-tab { padding: 10px 24px; font-size: 14px; }
}

.product-tab:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.product-tab.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

.product-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1024px) {
  .product-content { grid-template-columns: 320px 1fr; gap: 32px; }
}

.product-featured {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 240px;
}
@media (min-width: 1024px) { .product-featured { height: auto; min-height: 400px; } }

.product-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 42, 94, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.product-featured h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 8px;
}

.product-featured p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.product-featured a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--brand-orange);
  font-weight: 500;
}

.product-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .product-list { grid-template-columns: repeat(2, 1fr); } }

.product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.product-item:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-item-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-bg);
}
.product-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-item-text {
  flex: 1;
  min-width: 0;
}

.product-item-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-item:hover .product-item-text h4 { color: var(--brand-blue); }

.product-item-text p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-more {
  text-align: center;
  margin-top: 24px;
}
@media (min-width: 768px) { .product-more { margin-top: 32px; } }

/* ========== 试验测试板块 ========== */
.test-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) { .test-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.test-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
@media (min-width: 768px) { .test-card { padding: 28px 20px; } }

.test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.test-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.test-card:hover::before { transform: scaleX(1); }

.test-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 138, 26, 0.1), rgba(255, 179, 71, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}
.test-card:hover .test-card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.test-card-icon svg { width: 24px; height: 24px; }

.test-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}
@media (min-width: 768px) { .test-card h3 { font-size: 16px; } }

.test-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.test-card-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.test-card-items span {
  font-size: 11px;
  color: var(--brand-blue);
  padding: 2px 8px;
  background: #eff6ff;
  border-radius: 4px;
}

.test-card-more {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--brand-orange);
  font-weight: 500;
}
.test-card:hover .test-card-more { gap: 8px; }

/* ========== 简介板块 ========== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) { .about-wrap { grid-template-columns: 1fr 1fr; gap: 48px; } }

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
@media (min-width: 1024px) { .about-image { aspect-ratio: auto; } }

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.about-tag-item .num {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1;
}

.about-tag-item .label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-content h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: left;
  position: relative;
  padding-bottom: 16px;
}
@media (min-width: 768px) { .about-content h2 { font-size: 2rem; } }

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.about-content > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(10, 42, 94, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}
.about-feature-icon svg { width: 18px; height: 18px; }

.about-feature h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 2px;
}

.about-feature p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== 新闻资讯板块 ========== */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.news-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.news-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--brand-bg);
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-img img { transform: scale(1.05); }

.news-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--brand-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
}

.news-body { padding: 16px; }
@media (min-width: 768px) { .news-body { padding: 20px; } }

.news-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-date svg { width: 14px; height: 14px; }

.news-body h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-navy);
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.news-card:hover .news-body h3 { color: var(--brand-blue); }

.news-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--brand-blue);
  font-weight: 500;
}
.news-card:hover .news-more-link { gap: 8px; }

/* ========== 优势板块 ========== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .adv-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .adv-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.adv-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
}
@media (min-width: 768px) { .adv-card { padding: 32px 24px; } }

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-blue);
}

.adv-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-blue);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}

.adv-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.1), rgba(10, 42, 94, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  transition: all 0.3s ease;
}
.adv-card:hover .adv-icon {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}
.adv-icon svg { width: 24px; height: 24px; }

.adv-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 6px;
}
@media (min-width: 768px) { .adv-card h3 { font-size: 15px; } }

.adv-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========== CTA板块 ========== */
.cta-section {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
}
@media (min-width: 768px) { .cta-section { padding: 80px 0; } }

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: 
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .cta-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 32px;
  }
}

.cta-text h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
}
@media (min-width: 768px) { .cta-text h2 { font-size: 2rem; } }
@media (min-width: 1024px) { .cta-text h2 { font-size: 2.25rem; } }

.cta-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 768px) { .cta-text p { font-size: 14px; } }

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 640px) {
  .cta-actions { flex-direction: row; gap: 24px; }
}

.cta-tel {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.cta-tel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
}
.cta-tel-icon svg { width: 20px; height: 20px; }

.cta-tel-label { font-size: 12px; color: rgba(255,255,255,0.6); }
.cta-tel-number { font-size: 1.25rem; font-weight: 700; }

/* ========== 底部 ========== */
.footer {
  background: #0a2e70;
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 0 32px;
}
@media (min-width: 768px) { .footer-top { padding: 64px 0 40px; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.footer-logo-text .name {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.footer-logo-text .desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-top: 2px;
}

.footer-brand > p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--brand-blue);
  color: #fff;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-col ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-blue);
}
.footer-col ul li a:hover {
  color: var(--brand-orange);
}

.footer-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
}
@media (min-width: 768px) { .footer-contact { padding: 40px 0; } }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: center;
}
@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
@media (min-width: 768px) { .contact-item { justify-content: flex-start; } }

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(26, 86, 219, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  flex-shrink: 0;
}
.contact-icon svg { width: 24px; height: 24px; }

.contact-text .label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.contact-text .value {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.contact-text .value.tel {
  font-size: 18px;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
  }
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-bottom-links a { color: rgba(255, 255, 255, 0.4); }
.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.7); }

/* ========== 浮动咨询按钮 ========== */
.floating-contact {
  position: fixed;
  right: 16px;
  bottom: 96px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.floating-btn:hover {
  transform: scale(1.1);
}
.floating-btn svg { width: 20px; height: 20px; }
.floating-btn span { font-size: 10px; margin-top: 2px; }

.floating-btn.consult {
  background: var(--brand-orange);
  box-shadow: 0 4px 12px rgba(255, 138, 26, 0.4);
}
.floating-btn.consult:hover { background: #ff7a00; }

.floating-btn.tel {
  background: var(--brand-navy);
}
.floating-btn.tel:hover { background: var(--brand-blue); }

.floating-btn.top {
  background: #fff;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.floating-btn.top:hover { color: var(--brand-blue); border-color: var(--brand-blue); }

/* ========== 面包屑 ========== */
.breadcrumb-wrap {
  background: var(--brand-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
}
@media (min-width: 768px) { .breadcrumb { font-size: 13px; } }

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb li a { color: var(--text-muted); }
.breadcrumb li a:hover { color: var(--brand-blue); }

.breadcrumb li.current { color: var(--brand-navy); font-weight: 500; }

.breadcrumb li svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

/* ========== 列表页 ========== */
.list-banner {
  margin-top: 64px;
  height: 180px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  display: flex;
  align-items: center;
  color: #fff;
}
@media (min-width: 768px) { .list-banner { margin-top: 80px; height: 240px; } }

.list-banner h1 {
  color: #fff;
  font-size: 1.25rem;
}
@media (min-width: 768px) { .list-banner h1 { font-size: 1.75rem; } }
@media (min-width: 1024px) { .list-banner h1 { font-size: 2rem; } }

.list-main {
  padding: 32px 0 48px;
}
@media (min-width: 768px) { .list-main { padding: 40px 0 64px; } }

.list-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .list-layout { grid-template-columns: 260px 1fr; gap: 32px; }
}

/* 侧边栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) { .sidebar { gap: 20px; position: sticky; top: 100px; align-self: flex-start; } }

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.sidebar-title {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: var(--brand-orange);
  border-radius: 2px;
}

.sidebar-nav { padding: 8px; }

.sidebar-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.sidebar-nav li a:hover, .sidebar-nav li.active a {
  background: #eff6ff;
  color: var(--brand-blue);
}
.sidebar-nav li a svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}
.sidebar-nav li a:hover svg, .sidebar-nav li.active a svg {
  opacity: 1;
  color: var(--brand-blue);
}

.sidebar-consult {
  padding: 20px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: #fff;
  text-align: center;
}

.sidebar-consult h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 8px;
}

.sidebar-consult p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.sidebar-consult-tel {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0;
}

/* 列表内容 */
.list-content { min-width: 0; }

.list-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .list-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .list-card-grid { grid-template-columns: repeat(3, 1fr); } }

.list-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-blue);
}

.list-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--brand-bg);
}
.list-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.list-card:hover .list-card-img img { transform: scale(1.05); }

.list-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: rgba(10, 42, 94, 0.8);
  color: #fff;
  font-size: 11px;
  border-radius: 4px;
}

.list-card-body { padding: 14px 16px; }

.list-card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.list-card-body h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-navy);
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}
.list-card:hover .list-card-body h3 { color: var(--brand-blue); }

.list-card-body p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-card-detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--brand-blue);
  font-weight: 500;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
  flex-wrap: wrap;
}
@media (min-width: 768px) { .pagination { margin-top: 48px; gap: 6px; } }

.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 13px;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.2s ease;
}
@media (min-width: 768px) {
  .pagination li a, .pagination li span {
    min-width: 40px; height: 40px; font-size: 14px;
  }
}

.pagination li a:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.pagination li.active span {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

/* ========== 内容页 ========== */
.article-main {
  padding: 32px 0 48px;
}
@media (min-width: 768px) { .article-main { padding: 40px 0 64px; } }

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 1fr 280px; gap: 32px; }
}

.article-content {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}
@media (min-width: 768px) { .article-content { padding: 32px; } }
@media (min-width: 1024px) { .article-content { padding: 40px; } }

.article-header {
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}
@media (min-width: 768px) { .article-header { padding-bottom: 28px; margin-bottom: 32px; } }

.article-header h1 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
@media (min-width: 768px) { .article-header h1 { font-size: 1.75rem; } }
@media (min-width: 1024px) { .article-header h1 { font-size: 2rem; } }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}
@media (min-width: 768px) { .article-meta { font-size: 13px; } }

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.article-meta-item svg { width: 14px; height: 14px; }

.article-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-primary);
}
@media (min-width: 768px) { .article-body { font-size: 15px; } }

.article-body h2 {
  font-size: 1.25rem;
  margin: 28px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-orange);
  line-height: 1.4;
}
@media (min-width: 768px) { .article-body h2 { font-size: 1.5rem; } }

.article-body h3 {
  font-size: 1.1rem;
  margin: 20px 0 12px;
}

.article-body p { margin-bottom: 16px; }

.article-body ul, .article-body ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

.article-body ul li { list-style: disc; margin-bottom: 6px; }
.article-body ol li { list-style: decimal; margin-bottom: 6px; }

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

.article-tags {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags a {
  padding: 4px 12px;
  font-size: 12px;
  background: var(--brand-bg);
  color: var(--text-secondary);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.article-tags a:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* 相关文章 */
.article-related {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.article-related h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.related-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .related-list { grid-template-columns: repeat(2, 1fr); } }

.related-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.related-item:hover {
  border-color: var(--brand-blue);
  background: #f9faff;
}

.related-item-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-bg);
}
.related-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-navy);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.related-item:hover .related-item-text h4 { color: var(--brand-blue); }

.related-item-text span {
  font-size: 11px;
  color: var(--text-muted);
}

/* ========== 响应式补充 ========== */
@media (max-width: 639px) {
  .section { padding: 32px 0; }
  .section-subtitle { margin-bottom: 32px; }
}
