/* 全国网点栏目专用样式 - wangdian.css */

/* 1. 顶部实力KPI数据条 */
.wd_kpi_bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin: -30px auto 35px auto;
  position: relative;
  z-index: 10;
  background: #ffffff;
  padding: 22px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(14, 56, 194, 0.12);
  border-top: 4px solid #0E38C2;
}
.wd_kpi_item {
  text-align: center;
  border-right: 1px dashed #cbd5e1;
  padding: 0 10px;
}
.wd_kpi_item:last-child { border-right: none; }
.wd_kpi_num {
  font-size: 28px;
  font-weight: 800;
  color: #0E38C2;
  line-height: 1.2;
  margin-bottom: 6px;
}
.wd_kpi_num span { color: #CC1821; font-size: 16px; margin-left: 2px; }
.wd_kpi_label { font-size: 14px; color: #475569; font-weight: 500; }

/* 列表页主容器与标题 */
.wd_list_wrap { padding: 15px 0 40px 0; }
.wd_head_center { text-align: center; margin-bottom: 15px; }
.wd_head_center h1 {
  font-size: 30px;
  color: #0f172a;
  font-weight: bold;
  margin-bottom: 12px;
}
.wd_head_desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.85;
  max-width: 980px;
  margin: 0 auto 12px auto;
}

/* 2. 大区筛选与搜索条 */
.wd_filter_wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 22px;
  margin: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.wd_tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.wd_tab_btn {
  padding: 8px 18px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.wd_tab_btn:hover,
.wd_tab_btn.active {
  background: #0E38C2;
  color: #ffffff;
  border-color: #0E38C2;
  box-shadow: 0 4px 10px rgba(14, 56, 194, 0.2);
}
.wd_search_box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 12px;
  min-width: 260px;
}
.wd_search_box input {
  border: none;
  outline: none;
  font-size: 14px;
  color: #1e293b;
  width: 100%;
  padding: 6px 0;
  background: transparent;
}

/* 3. 图文网点卡片网格（统一4:3图框） */
.wd_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 20px 0 45px 0;
}
.wd_card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.wd_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(14, 56, 194, 0.14);
  border-color: #0E38C2;
}
.wd_card_imgbox {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
}
.wd_card_imgbox a {
  position: absolute;
  top: 0;
  left: 0;
  display: block !important;
  width: 100%;
  height: 100%;
}
.wd_card_imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.wd_card_imgbox img.wd_img_contain { object-fit: contain; padding: 35px; box-sizing: border-box; }
.wd_card:hover .wd_card_imgbox img { transform: scale(1.05); }
.wd_badge_region {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 56, 194, 0.9);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.wd_badge_status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #CC1821;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}
.wd_badge_status.building { background: #d97706; }
.wd_card_body { padding: 18px 20px 12px 20px; flex: 1; }
.wd_card_title {
  font-size: 19px;
  font-weight: bold;
  color: #0f172a !important;
  margin-bottom: 10px;
  line-height: 1.4;
  display: block !important;
  text-decoration: none;
}
.wd_card_title:hover { color: #0E38C2 !important; }
.wd_card_cang {
  display: inline-block;
  background: #eff6ff;
  color: #0E38C2;
  border: 1px solid #bfdbfe;
  font-size: 13px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.wd_card_info { font-size: 14px; color: #475569; line-height: 1.7; margin-bottom: 6px; }
.wd_card_info strong { color: #1e293b; }
.wd_card_footer {
  padding: 14px 20px 18px 20px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 10px;
}
.wd_btn_primary {
  flex: 1;
  display: inline-block !important;
  padding: 9px 12px;
  background: #0E38C2;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}
.wd_btn_primary:hover { background: #0a2a94; }
.wd_btn_tel {
  display: inline-block !important;
  padding: 9px 14px;
  background: #fff1f2;
  color: #CC1821 !important;
  border: 1px solid #fecdd3;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
}
.wd_btn_tel:hover { background: #CC1821; color: #ffffff !important; }
.wd_empty_tip {
  display: none;
  text-align: center;
  padding: 40px 20px;
  font-size: 16px;
  color: #64748b;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* 4. 4步极速直发流程条 */
.wd_process_box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 25px;
  margin: 40px 0;
}
.wd_process_head { text-align: center; margin-bottom: 10px; }
.wd_process_head h2 { font-size: 24px; color: #0f172a; font-weight: bold; }
.wd_process_head p { font-size: 15px; color: #64748b; margin-top: 6px; }
.wd_process_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 22px;
}
.wd_step_card {
  background: #ffffff;
  border-radius: 8px;
  padding: 20px;
  border-bottom: 3px solid #0E38C2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.wd_step_num {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  background: #CC1821;
  color: #ffffff;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 10px;
  font-size: 15px;
}
.wd_step_card h4 { font-size: 17px; color: #0f172a; margin-bottom: 8px; font-weight: bold; }
.wd_step_card p { font-size: 14px; color: #475569; line-height: 1.7; margin: 0; }
.wd_banner_gap { margin: 20px auto 30px auto; }
.wd_authority_box {
  background-color: #f0f7fc;
  border: 1px solid #d0e1f3;
  border-left: 5px solid #0E38C2;
  border-radius: 6px;
  padding: 18px 22px;
}
.wd_authority_box p { margin: 0; font-size: 15px; line-height: 1.85; color: #334155; }
.wd_authority_box strong.wd_auth_tit { color: #0E38C2; }

/* ================= 详情页 wangdian.html 样式（统一4:3图框） ================= */
.wd_hero_card {
  display: flex;
  gap: 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #0E38C2;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(14, 56, 194, 0.06);
  align-items: center;
}
.wd_hero_img {
  width: 360px;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}
.wd_hero_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wd_hero_img img.wd_img_contain { object-fit: contain; padding: 30px; box-sizing: border-box; }
.wd_hero_tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(14, 56, 194, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 2;
}
.wd_hero_info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.wd_hero_info h1 { font-size: 25px; color: #0f172a; font-weight: bold; line-height: 1.4; margin: 0 0 12px 0; }
.wd_tags_row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.wd_pill_blue {
  background: #eff6ff;
  color: #0E38C2;
  border: 1px solid #bfdbfe;
  font-size: 13px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
}
.wd_pill_red {
  background: #fff1f2;
  color: #CC1821;
  border: 1px solid #fecdd3;
  font-size: 13px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
}
.wd_meta_list {
  background: #f8fafc;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
}
.wd_meta_item { font-size: 15px; line-height: 1.75; color: #334155; margin-bottom: 4px; }
.wd_meta_item strong { color: #0f172a; }
.wd_hero_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wd_call_btn_blue {
  display: inline-block !important;
  background: #0E38C2;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
}
.wd_call_btn_red {
  display: inline-block !important;
  background: #CC1821;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
}

/* 4大源头保障条 */
.wd_4features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.wd_feat_item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
}
.wd_feat_item b { display: block; font-size: 16px; color: #0E38C2; margin-bottom: 4px; }
.wd_feat_item span { font-size: 13px; color: #64748b; }

/* 12大品类直达标签墙 */
.wd_cat_box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 24px 0;
}
.wd_cat_title {
  font-size: 17px;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 12px;
  border-left: 4px solid #CC1821;
  padding-left: 10px;
}
.wd_cat_links { display: flex; flex-wrap: wrap; gap: 10px; }
.wd_cat_links a {
  display: inline-block !important;
  padding: 6px 14px;
  background: #f1f5f9;
  color: #334155 !important;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}
.wd_cat_links a:hover { background: #0E38C2; color: #ffffff !important; border-color: #0E38C2; }

/* 详情页富文本排版 */
.wd_content a, .wd_content ul, .wd_content ol, .wd_content h2, .wd_content h3, .wd_content h4, .wd_content h5 { all: revert; }
.wd_content a { display: inline !important; color: #0E38C2; text-decoration: underline; }
.wd_content ol, .wd_content ul { padding-left: 22px; }
.wd_content h2 {
  margin: 26px 0 16px 0 !important;
  line-height: 1.5em !important;
  font-size: 22px !important;
  color: #0E38C2;
  border-left: 4px solid #0E38C2;
  padding: 6px 0 6px 12px;
  background: #f8fafc;
}
.wd_content h3 { margin: 20px 0 12px 0 !important; line-height: 1.6em !important; font-size: 19px !important; color: #0f172a; }
.wd_content p, .wd_content table, .wd_content ol, .wd_content ul {
  margin: 16px 0 !important;
  line-height: 1.9em !important;
  font-size: 17px !important;
  color: #334155;
}
.wd_content p:not(table p):not(ol p):not(ul p) { text-indent: 2em !important; }
.wd_content table, .wd_content ol, .wd_content ul, .wd_content table p, .wd_content ol p, .wd_content ul p { text-indent: 0 !important; }
.wd_content table { width: 100%; border-collapse: collapse; }
.wd_content table th, .wd_content table td { border: 1px solid #cbd5e1; padding: 10px 14px; font-size: 15px !important; }
.wd_content table th { background: #0E38C2; color: #ffffff; text-align: left; }
.wd_content table tr:nth-child(even) { background: #f8fafc; }

/* 详情页底部 GEO 调度组件 */
.wd_geo_box {
  margin: 30px 0;
  padding: 22px 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 5px solid #CC1821;
  border-radius: 6px;
}
.wd_geo_box h3 { font-size: 20px; font-weight: bold; margin: 0 0 12px 0; line-height: 1.5; color: #0E38C2; }
.wd_geo_box p { font-size: 17px; color: #334155; line-height: 1.8; margin-bottom: 12px; text-indent: 0 !important; }
.wd_geo_box a { display: inline !important; text-decoration: none; }
.wd_geo_contacts p { margin: 4px 0; line-height: 1.9; }
.wd_geo_tel_blue { color: #0E38C2 !important; font-weight: bold; }
.wd_geo_tel_red { color: #CC1821 !important; font-weight: bold; }

/* 右侧栏增强卡片 */
.wd_side_qr {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #CC1821;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-bottom: 24px;
}
.wd_side_qr h4 { font-size: 18px; color: #0f172a; font-weight: bold; }
.wd_side_qr img { width: 150px; height: 150px; margin: 10px auto; display: block; border: 1px solid #e2e8f0; padding: 4px; background: #fff; }
.wd_side_qr p { font-size: 14px; color: #475569; line-height: 1.6; }
.wd_side_qr strong { color: #CC1821; }
.wd_side_list {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 24px;
}
.wd_side_list h4 { font-size: 18px; color: #0E38C2; font-weight: bold; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #e2e8f0; }
.wd_side_city_tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wd_side_city_tags a {
  display: inline-block !important;
  padding: 5px 10px;
  background: #f1f5f9;
  color: #334155 !important;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
}
.wd_side_city_tags a:hover { background: #0E38C2; color: #fff !important; }

/* 响应式适配 */
@media screen and (max-width: 1024px) {
  .wd_grid { grid-template-columns: repeat(2, 1fr); }
  .wd_kpi_bar { grid-template-columns: repeat(3, 1fr); margin-top: 15px; }
  .wd_process_grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 900px) {
  .wd_hero_card { flex-direction: column; padding: 16px; }
  .wd_hero_img { width: 100%; }
  .wd_4features { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 768px) {
  .wd_grid { grid-template-columns: 1fr; }
  .wd_kpi_bar { grid-template-columns: repeat(2, 1fr); padding: 15px; }
  .wd_kpi_item { border-right: none; border-bottom: 1px dashed #e2e8f0; padding: 10px 5px; }
  .wd_process_grid { grid-template-columns: 1fr; }
  .wd_search_box { width: 100%; }
}