/* ===============================
   全局页面通用样式（所有子页面共用）
=============================== */
.page { padding: 120px 0 80px; }
.page-title { font-size: 36px; margin-bottom: 24px; color: #fff; }
.page-img {
  width: 100%; height: 600px; object-fit: cover;
  border-radius: 10px; margin-bottom: 24px;
}
.page-content {
  color: #ccc; line-height: 1.8; font-size: 16px;
}
.page-content p { margin-bottom: 16px; }

/* ===============================
   案例展示样式（公共）
=============================== */
.cases { background: #0f0f12; }
.section-title {
  font-size: 28px; margin-bottom: 40px; color: #fff;
  text-align: center; padding: 20px 0;
}
.grid-5 > * { flex: 1 1 200px; }
.case-card {
  background: #16161b; border-radius: 10px; overflow: hidden;
  transition: .3s; cursor: pointer;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 16px 32px rgba(168, 85, 247, 0.2); }
.case-img {
  width: 100%; height: 180px; object-fit: cover;
  display: block;
}
.case-name {
  padding: 16px 16px 8px; font-size: 16px; color: #fff;
  font-weight: 600;
}
.case-desc {
  padding: 0 16px 16px; font-size: 13px; color: #999;
}

/* ===============================
   设备清单样式（公共）
=============================== */
.equipment { background: #0c0c0e; }
.equipment-category {
  margin-bottom: 60px;
}
.equipment-title {
  font-size: 20px; color: #a855f7; margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 2px solid #a855f7;
}
.grid-4 > * { flex: 1 1 220px; }
.equipment-item {
  background: #16161b; border-radius: 8px; overflow: hidden;
  padding: 16px; text-align: center; transition: .3s;
}
.equipment-item:hover { transform: translateY(-4px); border: 1px solid #a855f7; }
.equipment-img {
  width: 100%; height: 160px; object-fit: cover;
  border-radius: 6px; margin-bottom: 12px;
  display: block;
}
.equipment-item h4 {
  font-size: 15px; color: #fff; margin-bottom: 8px;
  font-weight: 600;
}
.equipment-item p {
  font-size: 12px; color: #999; line-height: 1.6;
}

/* ===============================
   响应式适配（公共）
=============================== */
@media (max-width: 900px) {
  .section-title { font-size: 24px; margin-bottom: 30px; }
  .grid-5 > * { flex: 1 1 180px; }
  .grid-4 > * { flex: 1 1 180px; }
  .equipment-category { margin-bottom: 40px; }
}

/* ===============================
   首页新闻卡片（无图·彩色分层排版）
=============================== */
.news-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.news-home-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #11131a;
  border: 1px solid #1e1e2a;
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.news-home-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--cat-color, #a855f7), transparent);
}
.news-home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168,85,247,.3);
  box-shadow: 0 12px 32px rgba(168,85,247,.15);
}
.nhc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
  letter-spacing: .5px;
  color: #fff;
}
/* 分类颜色 */
.nhc-tag--展会  { background: #7c3aed; }
.nhc-tag--政策  { background: #dc2626; }
.nhc-tag--教育  { background: #2563eb; }
.nhc-tag--灯光  { background: #d97706; }
.nhc-tag--音响  { background: #059669; }
.nhc-tag--大屏  { background: #0891b2; }
.nhc-tag--舞台  { background: #9333ea; }
.nhc-tag--行业  { background: #4b5563; }
.nhc-tag--文旅  { background: #db2777; }
.nhc-tag--设计  { background: #6366f1; }
.nhc-tag--标准  { background: #0d9488; }
.nhc-tag--技术  { background: #1d4ed8; }
.nhc-tag--场馆  { background: #b45309; }

.nhc-title {
  font-size: 17px;
  color: #fff;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nhc-summary {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}
.nhc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
}
.nhc-source { color: #666; }
.nhc-date { color: #555; }

@media (max-width: 768px) {
  .news-home-grid {
    grid-template-columns: 1fr;
  }
  .about-grid, .founder-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-vertical-text { display: none; }
  .founder-right {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .page-title { font-size: 28px; }
  .page-img { height: 250px; }
  .section-title { font-size: 20px; margin-bottom: 24px; }
  .grid-5 > *, .grid-4 > * { flex: 1 1 160px; }
  .case-img, .equipment-img { height: 140px; }
  .case-name, .equipment-item h4 { font-size: 14px; }
  .equipment-title { font-size: 16px; }
}