/**
 * project3_index.css —— 工程项目信息频道页 /project3/ 专用样式
 * 主题：科技蓝（与 /powerproject/ 等行业专题页同一套色系，视觉统一）
 * 说明：只负责 main 区块；头尾公共样式仍由 site 自身 CSS 提供。
 *       全部使用类选择器（特异性 ≥0,1,0），可自然压过 defalt.css 的 a{color:#333} 等全局规则。
 * 版本：1.0.0
 */

/* ---------- 版心 ---------- */
.p3-wrap {
  width: 1200px;
  max-width: 94%;
  margin: 0 auto;
  padding: 18px 0 44px;
}

/* ---------- 面包屑 ---------- */
.p3-crumb { font-size: 13px; color: #8a97ad; margin: 0 0 14px; }
.p3-crumb a { color: #5b6c8f; text-decoration: none; }
.p3-crumb a:hover { color: #1667ff; }
.p3-crumb em { font-style: normal; margin: 0 7px; color: #c3cddd; }

/* ---------- 头部区（H1 + 导语 + 数据条 + 筛选） ---------- */
.p3-hero {
  background: linear-gradient(135deg, #edf4ff 0%, #f8fbff 52%, #e9f2ff 100%);
  border: 1px solid #dde9fb;
  border-radius: 10px;
  padding: 26px 28px 22px;
}
.p3-hero__h1 {
  font-size: 26px;
  line-height: 1.35;
  color: #16233d;
  font-weight: 700;
  margin: 0 0 12px;
}
.p3-hero__desc {
  font-size: 14px;
  line-height: 1.9;
  color: #4a5b7c;
  margin: 0 0 18px;
  max-width: 940px;
}
.p3-hero__desc em { font-style: normal; color: #1667ff; font-weight: 600; }

.p3-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.p3-stats li {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 0 26px;
  border-left: 1px solid #dde9fb;
}
.p3-stats li:first-child { padding-left: 0; border-left: 0; }
.p3-stats strong { font-size: 22px; color: #1667ff; font-weight: 700; line-height: 1.2; }
.p3-stats span { font-size: 13px; color: #7a8aa6; }

/* 筛选表单 */
.p3-search {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2eaf9;
  border-radius: 8px;
  padding: 12px 14px;
}
.p3-search select {
  min-width: 156px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #dde5f2;
  border-radius: 6px;
  font-size: 14px;
  color: #33445f;
  background: #fbfdff;
}
.p3-search select:focus { border-color: #1667ff; outline: none; }
.p3-btn {
  height: 38px;
  padding: 0 28px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #1667ff 0%, #2f8bff 100%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: opacity .18s;
}
.p3-btn:hover { opacity: .9; }

/* ---------- 两栏布局 ---------- */
.p3-cols { display: flex; gap: 22px; align-items: flex-start; margin-top: 22px; }
.p3-col-main { flex: 1 1 auto; min-width: 0; }
.p3-col-side { flex: 0 0 308px; width: 308px; display: flex; flex-direction: column; gap: 18px; }

/* ---------- 通用卡片 ---------- */
.p3-card,
.p3-about,
.p3-faq,
.p3-side-card {
  background: #fff;
  border: 1px solid #e6eefc;
  border-radius: 10px;
}

/* ---------- 列表卡 ---------- */
.p3-card { padding: 18px 20px 6px; }
.p3-card__hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f4fb;
}
.p3-card__tt,
.p3-about > h2,
.p3-faq > h2 {
  font-size: 18px;
  line-height: 1.2;
  color: #16233d;
  font-weight: 700;
  margin: 0;
  padding-left: 11px;
  border-left: 4px solid #1667ff;
}
.p3-card__sub { font-size: 13px; color: #8a97ad; margin: 0; }
.p3-card__sub em { font-style: normal; color: #ED282A; font-weight: 700; }

/* 列表项 */
.p3-item {
  position: relative;
  padding: 14px 6px 14px 14px;
  border-bottom: 1px dashed #eef2f9;
  transition: background .18s;
}
.p3-item:last-child { border-bottom: 0; }
.p3-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 2px;
  background: #e3ecfb;
  transition: background .18s;
}
.p3-item:hover { background: #f7fbff; }
.p3-item:hover::before { background: #1667ff; }
.p3-item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.p3-item__name {
  display: block;
  font-size: 15.5px;
  line-height: 1.55;
  color: #22314d;
  font-weight: 600;
  text-decoration: none;
}
.p3-item__name:hover { color: #1667ff; }
.p3-item__date { flex: 0 0 auto; font-size: 12.5px; color: #a6b1c4; padding-top: 3px; }
.p3-item__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.p3-item__meta span {
  font-size: 12px;
  color: #5b6c8f;
  background: #f4f8fe;
  border: 1px solid #e6eefc;
  border-radius: 3px;
  padding: 2px 8px;
  line-height: 1.6;
}
.p3-item__meta span.is-money { color: #c2410c; background: #fff7ed; border-color: #ffe6cc; }

/* 空态 */
.p3-empty { padding: 60px 16px; text-align: center; font-size: 14px; color: #9aa7bd; line-height: 1.9; }
.p3-empty a { color: #1667ff; }

/* 分页 */
.p3-pager { padding: 16px 0 20px; text-align: center; }
.p3-pager .pagination a,
.p3-pager .pagination span {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 32px;
  margin: 0 4px 6px;
  padding: 0 12px;
  border: 1px solid #dfe8f6;
  border-radius: 6px;
  font-size: 13px;
  color: #41527a;
  background: #fff;
  text-decoration: none;
}
.p3-pager .pagination a:hover { border-color: #1667ff; color: #1667ff; }
.p3-pager .pagination .current {
  background: #1667ff;
  border-color: #1667ff;
  color: #fff;
  font-weight: 600;
}
.p3-pager .pagination .prev,
.p3-pager .pagination .next { color: #1667ff; }

/* ---------- 正文加厚区块（关于 / 常见问题） ---------- */
.p3-about,
.p3-faq { margin-top: 22px; padding: 22px 24px; }
.p3-about > h2,
.p3-faq > h2 { margin-bottom: 16px; }

.p3-about__b { margin-bottom: 18px; }
.p3-about__b:last-child { margin-bottom: 0; }
.p3-about__b h3 { font-size: 15px; color: #22314d; font-weight: 600; margin: 0 0 8px; line-height: 1.5; }
.p3-about__b p { font-size: 13.5px; line-height: 1.95; color: #55617a; margin: 0; }
.p3-about__b p a,
.p3-faq__dl dd a { color: #1667ff; text-decoration: none; border-bottom: 1px solid #bcd3ff; }
.p3-about__b p a:hover,
.p3-faq__dl dd a:hover { color: #0d4fd6; border-bottom-color: #0d4fd6; }

.p3-faq__dl { margin: 0; }
.p3-faq__dl dt {
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  color: #22314d;
  font-weight: 600;
  margin: 0 0 7px;
  padding-left: 24px;
}
.p3-faq__dl dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #1667ff;
  border-radius: 3px;
}
.p3-faq__dl dd {
  font-size: 13.5px;
  line-height: 1.9;
  color: #55617a;
  margin: 0 0 14px;
  padding: 0 0 14px 24px;
  border-bottom: 1px dashed #eef2f9;
}
.p3-faq__dl dd:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }

/* ---------- 右侧栏 ---------- */
.p3-side-card { padding: 16px 16px 14px; }
.p3-side-tt {
  font-size: 15px;
  line-height: 1.2;
  color: #16233d;
  font-weight: 700;
  margin: 0 0 12px;
  padding-left: 9px;
  border-left: 3px solid #1667ff;
}

/* 行业专题页入口 */
.p3-topic { list-style: none; margin: 0; padding: 0; }
.p3-topic li { border-bottom: 1px dashed #eef2f9; }
.p3-topic li:last-child { border-bottom: 0; }
.p3-topic a {
  position: relative;
  display: block;
  padding: 8px 0 8px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #41527a;
  text-decoration: none;
}
.p3-topic a::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bcd3ff;
}
.p3-topic a:hover { color: #1667ff; }
.p3-topic a:hover::before { background: #1667ff; }

/* 维度标签 */
.p3-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.p3-tags a {
  display: inline-block;
  padding: 4px 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #5b6c8f;
  background: #f7fafe;
  border: 1px solid #e6eefc;
  border-radius: 4px;
  text-decoration: none;
}
.p3-tags a:hover { color: #1667ff; border-color: #1667ff; background: #fff; }
.p3-tags a.is-on { background: #1667ff; border-color: #1667ff; color: #fff; }
.p3-side-note { font-size: 12px; line-height: 1.7; color: #9aa7bd; margin: 10px 0 0; }

/* ---------- 响应式：1100px 收窄侧栏，768px 折叠单栏 ---------- */
@media (max-width: 1100px) {
  .p3-col-side { flex-basis: 264px; width: 264px; }
  .p3-hero { padding: 22px 20px 18px; }
}
@media (max-width: 768px) {
  .p3-cols { flex-direction: column; gap: 18px; }
  .p3-col-main { width: 100%; order: 1; }
  .p3-col-side { width: 100%; flex-basis: auto; order: 2; }
  .p3-hero { padding: 18px 16px 16px; }
  .p3-hero__h1 { font-size: 20px; }
  .p3-stats li { padding: 0 14px; }
  .p3-stats strong { font-size: 18px; }
  .p3-search select { flex: 1 1 45%; min-width: 0; }
  .p3-btn { flex: 1 1 100%; }
  .p3-item__top { flex-direction: column; gap: 4px; }
  .p3-about, .p3-faq { padding: 18px 16px; }
}
