/* ============================================================
   官网导航「产品与服务」下拉（方案 5：时间轴圆点 + D 浅绿大卡）
   独立文件，避免与既有 .mega 深色面板样式冲突
   ============================================================ */
/* 提高优先级，避免部分页面重复引入 index.css 后 .mega 深绿背景覆盖本面板 */
.nav-item > .mega.pv-mega {
  background: #E6F3EC;
  border-top: 1px solid #D3E8DC;
  box-shadow: 0 28px 60px rgba(6, 42, 26, .18);
}
/* 面板内链接不受导航白字/下划线/不换行影响 */
.pv-mega a { color: inherit; white-space: normal; }
.pv-mega a:hover { color: inherit; }
.pv-mega a::after { display: none !important; }
/* 覆盖导航 .nav a 的 6px 0 内边距，保证图标不贴卡片边线 */
.pv-mega a.pv-card { padding: 18px 18px; }

.pv-inner {
  max-width: var(--container, 1364px);
  margin: 0 auto;
  padding: 30px 32px 34px;
  display: flex;
  gap: 30px;
  min-height: 330px;
}

/* ---------- 左侧：时间轴圆点 ---------- */
.pv-rail { width: 206px; flex: none; display: grid; align-content: start; }

.pv-rail-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 13px 10px 13px 30px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: #3E4A44;
  text-align: left;
  cursor: pointer;
  transition: color .18s;
}
.pv-rail-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #B9D7C7;
  border: 2px solid #E6F3EC;
  transition: .2s;
  z-index: 1;
}
.pv-rail-item::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  bottom: -50%;
  width: 1px;
  background: #CFE3D7;
}
.pv-rail-item:last-child::after { display: none; }
.pv-rail-item:hover { color: #14121A; }
.pv-rail-item:hover::before { background: #7FC5A2; }
.pv-rail-item.active {
  color: #05643D;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(11, 157, 92, .14), transparent 70%);
}
.pv-rail-item.active::before {
  background: var(--brand, #0B9D5C);
  box-shadow: 0 0 0 4px rgba(11, 157, 92, .14);
}

/* ---------- 右侧内容 ---------- */
.pv-panes {
  flex: 1;
  min-width: 0;
  border-left: 1px solid #D5E8DE;
  padding-left: 30px;
}
.pv-pane { display: none; }
.pv-pane.active { display: block; }

.pv-head {
  padding-bottom: 14px;
  border-bottom: 1px dashed #D2E5DA;
  margin-bottom: 16px;
}
.pv-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #14121A;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pv-head h4::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--brand, #0B9D5C);
}
.pv-head p {
  margin: 5px 0 0;
  font-size: 12.5px;
  color: #64796E;
}

/* ---------- D 样式卡片：一行 3 张 ---------- */
.pv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.pv-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 17px;
  border: 1px solid #CFE6D9;
  border-radius: 10px;
  background: linear-gradient(160deg, #DFF1E7, #ECF8F1);
  transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
}
.pv-card:hover {
  background: #fff;
  border-color: rgba(11, 157, 92, .6);
  box-shadow: 0 10px 22px rgba(11, 157, 92, .12);
  transform: translateY(-2px);
}
.pv-mi {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(11, 157, 92, .12);
  display: grid;
  place-items: center;
  color: var(--brand, #0B9D5C);
}
.pv-mi svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pv-card b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: #14121A;
  margin-bottom: 3px;
}
.pv-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: #5E7568;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .pv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pv-inner { flex-direction: column; gap: 16px; padding: 22px 20px 26px; }
  .pv-rail { width: 100%; grid-template-columns: repeat(4, 1fr); }
  .pv-rail-item { padding: 10px 8px 10px 24px; }
  .pv-panes { border-left: 0; padding-left: 0; border-top: 1px solid #E4EEE8; padding-top: 16px; }
  .pv-grid { grid-template-columns: 1fr; }
}
