/* ============================================
   得众集团 - AI科技风亮蓝主题模板
   PbootCMS 前台模板
   ============================================ */

/* 全局变量 */
:root {
  --primary: #0088ff;
  --primary-dark: #0066cc;
  --primary-light: #33a3ff;
  --accent: #00ccff;
  --accent2: #7b2ff7;
  --bg-dark: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2332;
  --text-light: #f0f4ff;
  --text-muted: #8899b4;
  --border-color: #1e293b;
  --gradient-main: linear-gradient(135deg, #0088ff, #7b2ff7);
  --gradient-card: linear-gradient(145deg, rgba(0,136,255,0.08), rgba(123,47,247,0.05));
  --shadow-glow: 0 0 30px rgba(0,136,255,0.15);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--primary-light); text-decoration: none; transition: all .3s; }
a:hover { color: var(--accent); }

/* ===== 导航 ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,136,255,0.15);
  padding: 0;
  transition: all .3s;
}
.navbar .container {
  display: flex; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 68px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700;
  color: var(--text-light) !important;
}
.navbar-brand img { height: 42px; }
.navbar-brand span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: all .3s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
  background: rgba(0,136,255,0.1);
}
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
}

/* ===== 多级下拉菜单 ===== */
.nav-item {
  position: relative;
}
.nav-item > a {
  display: flex; align-items: center; gap: 4px;
}
.sub-arrow {
  font-size: 10px;
  transition: transform .3s;
}
.nav-item:hover > a .sub-arrow {
  transform: rotate(180deg);
}

/* 二级菜单 */
.sub-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  min-width: 200px;
  background: rgba(15,20,35,0.97);
  border: 1px solid rgba(0,136,255,0.2);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 100;
}
.nav-item:hover .sub-menu {
  display: block;
}







/* 三级菜单在二级内自适应 hover */


.sub-item {
  display: block !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  white-space: nowrap;
  font-size: 14px !important;
}
/* 二级菜单项 */
.sub-item-2 {
  position: relative;
  display: block;
}
.sub-item-2 > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--text-muted);
  transition: all .3s;
}
.sub-item-2 > a:hover {
  background: rgba(0,136,255,0.1);
  color: var(--text-light);
}

/* 三级菜单 */
.sub-sub-menu {
  display: none;
  position: absolute; top: -8px; left: calc(100% + 4px);
  min-width: 200px;
  background: rgba(15,20,35,0.97);
  border: 1px solid rgba(0,136,255,0.2);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 101;
}
.sub-item-2:hover .sub-sub-menu {
  display: block;
}
.sub-sub-menu .sub-item {
  display: block !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  white-space: nowrap;
  font-size: 14px !important;
}
.sub-sub-menu .sub-item:hover {
  background: rgba(0,136,255,0.1);
  color: var(--text-light);
}

/* 无三级内容的二级项隐藏空盒子 */
.sub-item-2 .sub-sub-menu:empty {
  display: none !important;
}




/* 移动端菜单展开后，下拉菜单自适应 */
.nav-links.open .sub-menu {
  position: static;
  display: none;
  box-shadow: none;
  border: none;
  background: rgba(255,255,255,0.05);
  margin: 0;
  padding: 4px 8px;
}
.nav-links.open .nav-item:hover .sub-menu {
  display: block;
}


.nav-links.open .sub-item {
  padding: 8px 16px !important;
  font-size: 13px !important;
}

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: none; color: var(--text-light);
  font-size: 24px; padding: 8px; cursor: pointer;
}

/* 移动端导航 */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(10,14,26,0.95);
    backdrop-filter: blur(20px);
    flex-direction: column; padding: 16px; gap: 4px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .navbar-brand span { display: none; }
}

/* ===== 用户菜单 ===== */
.nav-user { margin-left: 16px; }
.nav-user a {
  color: var(--text-muted); font-size: 14px;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid var(--border-color);
  transition: all .3s;
}
.nav-user a:hover {
  color: var(--text-light);
  border-color: var(--primary);
  background: rgba(0,136,255,0.1);
}

/* ===== 首页幻灯片 ===== */
.hero-slider {
  position: relative; width: 100%; height: 530px;
  overflow: hidden;
  margin-top: 68px;
}
.hero-slider .swiper-slide {
  position: relative; height: 530px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-slider .slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-slider .swiper-slide-active .slide-bg { transform: scale(1); }
.hero-slider .slide-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(10,14,26,0.85), rgba(10,14,26,0.4));
}
.hero-slider .slide-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 800px; padding: 0 24px;
}
.hero-slider .slide-content h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-slider .slide-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.7);
  max-width: 600px; margin: 0 auto 32px;
  line-height: 1.8;
}
.hero-slider .slide-btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 50px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 16px; font-weight: 600;
  border: none; cursor: pointer;
  transition: all .3s;
  box-shadow: 0 4px 20px rgba(0,136,255,0.3);
}
.hero-slider .slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,136,255,0.5);
  color: #fff;
}
.hero-slider .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.3);
  opacity: 1;
}
.hero-slider .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 30px; border-radius: 5px;
}

/* ===== 粒子背景 ===== */
.particles-bg {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}

/* ===== 通用段间距 ===== */
.section { padding: 80px 0; position: relative; }
.section-dark { background: var(--bg-dark); }
.section-card { background: var(--bg-card); }

.container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

.section-title {
  text-align: center; margin-bottom: 48px;
}
.section-title h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title h2 span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px; margin: 0 auto;
}
.section-title .line {
  width: 60px; height: 3px;
  background: var(--gradient-main);
  margin: 16px auto 0; border-radius: 3px;
}

/* ===== 卡片网格 ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .4s;
  position: relative;
}
.card:hover {
  border-color: rgba(0,136,255,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}
.card-img {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.card-body { padding: 20px; }
.card-title {
  font-size: 16px; font-weight: 600;
  margin-bottom: 8px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-title a { color: var(--text-light); }
.card-title a:hover { color: var(--primary-light); }
.card-text {
  font-size: 14px; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.6;
}
.card-meta {
  font-size: 13px; color: var(--text-muted);
  padding: 12px 20px;
  border-top: 1px solid var(--border-color);
  display: flex; justify-content: space-between;
}
.card-badge {
  display: inline-block;
  padding: 2px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 500;
  background: rgba(0,136,255,0.15);
  color: var(--accent);
  margin-right: 4px;
}

/* ===== 关于/企业简介区块 ===== */
.about-section {
  position: relative;
  background: var(--bg-card);
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,136,255,0.05), transparent 70%);
  pointer-events: none;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.about-content h3 {
  font-size: 28px; font-weight: 700; margin-bottom: 16px;
}
.about-content p {
  color: var(--text-muted); font-size: 15px;
  margin-bottom: 16px; line-height: 1.8;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 32px;
}
.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(0,136,255,0.05);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.stat-num {
  font-size: 32px; font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* 右侧装饰图 */
.about-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  min-height: 400px;
}
.about-visual .grid-decoration {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}
.about-visual .grid-cell {
  aspect-ratio: 1;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  transition: all .3s;
}
.about-visual .grid-cell:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0,136,255,0.2);
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 产品/案例卡片带图标 ===== */
.icon-card { text-align: center; }
.icon-card .card-icon {
  width: 60px; height: 60px;
  margin: 24px auto 16px;
  border-radius: 16px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  transition: all .3s;
}
.icon-card:hover .card-icon {
  border-color: var(--primary);
  background: rgba(0,136,255,0.1);
}
.icon-card .card-title { margin-bottom: 4px; }

/* ===== 新闻列表 ===== */
.news-list { list-style: none; }
.news-item {
  display: flex; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  transition: all .3s;
}
.news-item:hover {
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}
.news-item .news-date {
  flex-shrink: 0;
  width: 70px; text-align: center;
}
.news-item .news-date .day {
  font-size: 28px; font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.news-item .news-date .month {
  font-size: 12px; color: var(--text-muted);
}
.news-item .news-body { flex: 1; }
.news-item .news-body h4 {
  font-size: 16px; font-weight: 600;
  margin-bottom: 6px;
}
.news-item .news-body h4 a { color: var(--text-light); }
.news-item .news-body h4 a:hover { color: var(--primary-light); }
.news-item .news-body p {
  font-size: 14px; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 内页 ===== */
.inner-banner {
  position: relative;
  height: 300px;
  margin-top: 68px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.inner-banner-overlay {
  position: absolute; inset: 0;
  background: rgba(10,14,26,0.6);
  pointer-events: none;
}

/* 面包屑栏 - 在横幅与内容之间 */
.breadcrumb-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}
.breadcrumb-inner {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb-inner a {
  color: var(--text-muted);
  transition: color .3s;
}
.breadcrumb-inner a:hover {
  color: var(--primary-light);
}
.breadcrumb-inner .fa-home {
  color: var(--primary-light);
  font-size: 12px;
}
.breadcrumb-inner .sep {
  margin: 0 4px;
  font-size: 10px;
  color: var(--text-muted);
  opacity: 0.6;
}
.breadcrumb-inner .sep i {
  font-size: 10px;
}

.inner-content {
  padding: 48px 0;
}
.inner-content .content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px;
}
.content-box h2 {
  font-size: 24px; font-weight: 700; margin-bottom: 8px;
  text-align: center;
}
.content-box .meta {
  text-align: center; font-size: 14px; color: var(--text-muted);
  padding-bottom: 16px; border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}
.content-box .meta span { margin: 0 12px; }
.content-body {
  font-size: 15px; line-height: 1.9; color: rgba(255,255,255,0.85);
}
.content-body img { max-width: 100%; border-radius: 8px; margin: 16px 0; }

/* ===== 子分类导航 ===== */
.subnav { margin-bottom: 24px; }
.subnav a {
  display: inline-block;
  padding: 8px 20px;
  margin: 0 4px 8px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  color: var(--text-muted);
  transition: all .3s;
}
.subnav a:hover,
.subnav a.active {
  color: var(--text-light);
  border-color: var(--primary);
  background: rgba(0,136,255,0.1);
}

/* ===== 分页 ===== */
.pagination {
  display: flex; justify-content: center; gap: 4px;
  margin: 32px 0;
}
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-size: 14px; color: var(--text-muted);
  transition: all .3s;
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--text-light);
  background: rgba(0,136,255,0.1);
}
.pagination .current {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
}

/* ===== 底部分隔 ===== */
.page-nav {
  margin-top: 32px; padding-top: 16px;
  border-top: 1px solid var(--border-color);
}
.page-nav p { font-size: 14px; color: var(--text-muted); margin: 4px 0; }

/* ===== 搜索 ===== */
.search-box {
  display: flex; justify-content: center; gap: 8px;
  margin: 24px 0;
}
.search-box input {
  padding: 10px 20px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-light);
  font-size: 14px;
  width: 300px;
  max-width: 100%;
  outline: none;
  transition: all .3s;
}
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0,136,255,0.1);
}
.search-box button {
  padding: 10px 24px;
  border-radius: 24px;
  border: none;
  background: var(--gradient-main);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
}
.search-box button:hover {
  box-shadow: 0 4px 15px rgba(0,136,255,0.3);
}

/* ===== 产品详情 ===== */
.product-detail .gallery {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.product-detail .gallery img {
  width: 100%; max-width: 500px;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.product-detail .info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.product-detail .info-table td {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  font-size: 14px;
}
.product-detail .info-table td:first-child {
  color: var(--text-muted);
  width: 120px;
  background: rgba(0,136,255,0.03);
}

/* ===== 页脚 ===== */
.footer {
  position: relative;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-col h4 {
  font-size: 16px; font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-light);
}
.footer-col p, .footer-col a {
  font-size: 14px; color: var(--text-muted);
  line-height: 2;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-col .brand {
  font-size: 20px; font-weight: 700;
  margin-bottom: 12px;
}
.footer-col .brand span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 14px; color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== 移动端底部导航 ===== */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,14,26,0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 8px 0;
}
.mobile-bottom-nav .row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.mobile-bottom-nav a {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  color: var(--text-muted); font-size: 11px;
  padding: 4px 0;
}
.mobile-bottom-nav a i { font-size: 18px; }
.mobile-bottom-nav a:hover { color: var(--primary-light); }

@media (max-width: 576px) {
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 60px; }
}

/* ===== 动画 ===== */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: all .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: var(--primary); border-radius: 4px;
}

/* ===== 分页容器 ===== */
.page-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}

/* ===== 标签 tags ===== */
.tag { display: inline-block; padding: 2px 10px; border-radius: 20px;
  font-size: 11px; background: rgba(0,136,255,0.1); color: var(--accent); margin: 2px; }

/* ===== ===== ===== ===== ===== ===== ===== ===== ===== =====
   Bootstrap 兼容混合：缺少的 btn 类等
   ========================================================== */
.btn {
  display: inline-block; padding: 10px 28px;
  border-radius: 24px; font-size: 14px; font-weight: 500;
  border: none; cursor: pointer; transition: all .3s;
}
.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,136,255,0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(0,136,255,0.5);
  transform: translateY(-2px); color: #fff;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--text-light);
  background: rgba(0,136,255,0.05);
}
.btn-sm { padding: 6px 18px; font-size: 13px; }

/* ===== 新闻模块双栏卡片 ===== */
.news-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.news-col-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  position: relative;
}
.news-col-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.news-card-item {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.3s;
  text-decoration: none;
}
.news-card-item:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,136,255,0.15);
}

.news-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
  line-height: 1.4;
}
.news-card-item:hover .news-card-title {
  color: var(--primary-light);
}

.news-card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-more {
  color: var(--primary-light);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}
.btn-more:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .news-two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* 搜索页/列表中的空状态 */
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }

/* ===== 产品详情画廊 ===== */
/* ===== 左右布局 - 侧边栏 ===== */
.content-layout-sidebar {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.sidebar-left {
  width: 260px;
  flex-shrink: 0;
}

.content-main {
  flex: 1;
  min-width: 0;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 20px;
  overflow: hidden;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(0,136,255,0.1), rgba(123,47,247,0.05));
  border-bottom: 1px solid var(--border-color);
  color: var(--text-light);
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  border-bottom: 1px solid rgba(30,41,59,0.5);
}

.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu a {
  display: block;
  padding: 12px 18px;
  color: var(--text-muted);
  font-size: 14px;
  transition: all .3s;
  border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
  color: var(--text-light);
  background: rgba(0,136,255,0.05);
  border-left-color: var(--primary);
  padding-left: 22px;
}

.sidebar-menu a.active {
  color: var(--primary-light);
  background: rgba(0,136,255,0.08);
  border-left-color: var(--primary);
  font-weight: 600;
}

.icon-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: var(--text-muted);
  font-size: 14px;
  transition: all .3s;
  border-left: 3px solid transparent;
}

.icon-nav-item:hover {
  color: var(--text-light);
  background: rgba(0,136,255,0.05);
  border-left-color: var(--primary);
  padding-left: 20px;
}

.icon-nav-item.active {
  color: var(--primary-light);
  background: rgba(0,136,255,0.08);
  border-left-color: var(--primary);
  font-weight: 600;
}

.icon-nav-block {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
  flex-shrink: 0;
  opacity: 0.4;
  transition: all .3s;
}

.icon-nav-item:hover .icon-nav-block,
.icon-nav-item.active .icon-nav-block {
  opacity: 1;
  width: 10px;
  height: 10px;
}

.icon-nav-name {
  line-height: 1.3;
}

.sidebar-contact-info {
  padding: 16px 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-item i {
  width: 16px;
  color: var(--primary-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-item span {
  word-break: break-all;
}

.contact-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .content-layout-sidebar {
    flex-direction: column;
  }
  .sidebar-left {
    width: 100%;
  }
}

.product-gallery {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px;
}
.product-gallery .main-img {
  width: 100%; max-width: 500px; border-radius: var(--radius);
  border: 1px solid var(--border-color);
}
.product-info-table { width: 100%; border-collapse: collapse; }
.product-info-table td {
  padding: 10px 16px; border: 1px solid var(--border-color);
  font-size: 14px;
}
.product-info-table td:first-child {
  width: 100px; color: var(--text-muted);
  background: rgba(0,136,255,0.02);
}
