/* 专题页：泵设备 / 线缆电工 — 与主站风格统一 */
.line-hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #0c4a6e 100%);
  color: #f8fafc;
  overflow: hidden;
}
.line-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(59,130,246,0.25), transparent 55%);
  pointer-events: none;
}
.line-hero .container { position: relative; z-index: 1; }
.line-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.line-hero p.lead {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(248,250,252,0.88);
}
.line-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(59,130,246,0.2);
  border: 1px solid rgba(96,165,250,0.35);
  margin-bottom: 1rem;
}
.line-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #f8fafc;
}
.line-section.alt { background: #fff; }
.line-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.line-section .sub {
  color: #64748b;
  margin-bottom: 2rem;
  max-width: 48rem;
}
.line-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.line-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.line-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(37,99,235,0.12);
}
.line-card-media {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.line-card-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.line-card-body { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.line-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.line-card-body p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
  flex: 1;
}
.line-card-body a.more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}
.line-card-body a.more:hover { text-decoration: underline; }
.line-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(248,250,252,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.line-back:hover { color: #fff; }
@media (max-width: 640px) {
  .line-grid { grid-template-columns: 1fr; }
}
