/* ============================================
   黄页主题样式表 - Yellow Pages Theme
   版本: 2.0
   基于 hy88静态模板 重建
   ============================================ */

/* ===== CSS 变量 ===== */
:root {
  --orange: #FF6A00;
  --orange-dark: #E65C00;
  --orange-light: #FFF0E0;
  --navy: #1A1A2E;
  --text: #222;
  --text-gray: #666;
  --text-light: #999;
  --bg: #F4F5F7;
  --bg-white: #FFF;
  --border: #E8E8E8;
}

/* ===== 基础样式 ===== */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ===== Topbar 顶部栏 ===== */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 34px;
}
.topbar a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin: 0 10px;
  white-space: nowrap;
}
.topbar a:hover {
  color: #fff;
}
.topbar .split {
  color: rgba(255, 255, 255, 0.2);
}
/* Topbar 右侧菜单项 | 分隔符 */
.topbar .d-flex > div + div a {
  margin-right: 0;
}
.topbar .d-flex > div + div a::after {
  content: '|';
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.2);
}

/* ===== Header 头部 ===== */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 30px;
}
.logo {
  font-size: 26px;
  font-weight: 900;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  margin-left: 6px;
  letter-spacing: 0;
}
.nav {
  display: flex;
  gap: 24px;
  flex: 1;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 0 2px;
  white-space: nowrap;
}
.nav a:hover,
.nav a.active {
  color: var(--orange);
}
.h-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.h-search input {
  border: none;
  padding: 6px 12px;
  font-size: 13px;
  width: 180px;
  outline: none;
}
.h-search button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 6px 16px;
  font-size: 13px;
  cursor: pointer;
}

/* ===== 面包屑导航 ===== */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 13px;
}
.breadcrumb-bar a {
  color: var(--text-gray);
  text-decoration: none;
}
.breadcrumb-bar a:hover {
  color: var(--orange);
}
.breadcrumb-bar .sep {
  color: #ccc;
  margin: 0 6px;
}
.breadcrumb-bar .cur {
  color: var(--text);
  font-weight: 600;
}

/* ===== 页面横幅 (新闻分类/新闻详情/关于) ===== */
.page-banner {
  background: linear-gradient(135deg, #FF6A00 0%, #E83600 50%, #C41E00 100%);
  padding: 48px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.page-banner .inner {
  position: relative;
  z-index: 1;
}
.page-banner h1 {
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 6px;
  letter-spacing: 1px;
}
.page-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin: 0;
}

/* ===== 页面标题 (分类页) ===== */
.page-title {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.page-title h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}
.page-title p {
  font-size: 13px;
  color: var(--text-gray);
  margin: 4px 0 0;
}

/* ===== 页面头部 (提交页) ===== */
.page-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.page-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
}
.page-header p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

/* ===== 页面布局容器 ===== */
.page-wrap {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}
.page-side {
  width: 220px;
  flex-shrink: 0;
}
.page-main {
  flex: 1;
  min-width: 0;
}

/* 详情页布局 */
.detail-wrap {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.detail-main {
  flex: 1;
  min-width: 0;
}
.detail-side {
  width: 300px;
  flex-shrink: 0;
}

/* 提交页布局 */
.submit-wrap {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}
.submit-main {
  flex: 1;
  min-width: 0;
}
.submit-side {
  width: 320px;
  flex-shrink: 0;
}

/* 内容页布局 (关于页) */
.content-wrap {
  margin-top: 24px;
}

/* ===== 侧边栏 ===== */
.side-box {
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.side-box .side-hd {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: break-word;
}
.side-box .side-bd {
  padding: 8px 0;
}
.side-box .side-bd a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s;
  overflow-wrap: break-word;
  word-break: break-word;
}
.side-box .side-bd a:hover {
  background: var(--orange-light);
  color: var(--orange);
}
.side-box .side-bd a.active {
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 600;
}
.side-box .side-bd a .count {
  font-size: 11px;
  color: var(--text-light);
}
.side-box .side-bd .info-line {
  padding: 0 16px;
  font-size: 13px;
  color: var(--text-gray);
  line-height: 2;
  overflow-wrap: break-word;
}
.side-box .side-bd .info-line .il-label {
  color: var(--text-light);
}
.side-box .side-bd .rule-item {
  display: flex;
  gap: 10px;
  padding: 0 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  overflow-wrap: break-word;
}
.side-box .side-bd .rule-item:last-child {
  margin-bottom: 0;
}
.side-box .side-bd .rule-item .ri-num {
  width: 20px;
  height: 20px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.side-box .side-bd .tip-text {
  padding: 0 16px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.8;
  overflow-wrap: break-word;
}
.side-box .side-bd .side-news-item {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.side-box .side-bd .side-news-item:last-child {
  border-bottom: none;
}
.side-box .side-bd .side-news-item .sni-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  overflow-wrap: break-word;
}
.side-box .side-bd .side-news-item .sni-title a {
  color: var(--text);
  text-decoration: none;
  padding: 0;
  border: none;
  display: inline;
  justify-content: initial;
}
.side-box .side-bd .side-news-item .sni-title a:hover {
  color: var(--orange);
  background: none;
}
.side-box .side-bd .side-news-item .sni-date {
  font-size: 11px;
  color: var(--text-light);
}

/* ===== 分类目录 (首页) ===== */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.cat-card {
  background: #fff;
  border: 1px solid var(--border);
}
.cat-card .cat-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.cat-card .cat-hd .left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-card .cat-hd .left .ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.cat-card .cat-hd .left h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}
.cat-card .cat-hd .left h3 small {
  font-weight: 400;
  color: var(--text-light);
  font-size: 11px;
  margin-left: 6px;
}
.cat-card .cat-hd .more {
  color: var(--text-light);
  text-decoration: none;
  font-size: 12px;
}
.cat-card .cat-hd .more:hover {
  color: var(--orange);
}
.cat-card .cat-bd {
  padding: 12px 16px;
}
.cat-card .cat-bd .sub-row {
  margin-bottom: 6px;
}
.cat-card .cat-bd .sub-row:last-child {
  margin-bottom: 0;
}
.cat-card .cat-bd .sub-row .sl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  display: inline-block;
  min-width: 62px;
}
.cat-card .cat-bd .sub-row .sl a {
  color: var(--text);
  text-decoration: none;
}
.cat-card .cat-bd .sub-row .sl a:hover {
  color: var(--orange);
}
.cat-card .cat-bd .sub-row .slinks {
  display: inline;
}
.cat-card .cat-bd .sub-row .slinks a {
  font-size: 12px;
  color: var(--text-gray);
  text-decoration: none;
  margin: 0 3px;
  padding: 0 4px;
  line-height: 1.9;
  display: inline-block;
  overflow-wrap: break-word;
}
.cat-card .cat-bd .sub-row .slinks a:hover {
  color: var(--orange);
}
.cat-card .cat-bd .sub-row .slinks .dot {
  color: #ddd;
  font-size: 10px;
}

/* ===== 分类卡片 - 无子分类模式 ===== */
.cat-card-simple .cat-bd {
  display: flex;
  flex-direction: column;
}
.cat-ent-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.cat-ent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  transition: color 0.15s;
}
.cat-ent-item:nth-child(even) {
  padding-left: 16px;
}
.cat-ent-item:hover {
  color: var(--orange);
}
.cat-ent-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 85%;
}
.cat-ent-arrow {
  color: var(--text-light);
  font-size: 12px;
  flex-shrink: 0;
}
.cat-empty {
  padding: 20px 0;
  text-align: center;
}
.cat-empty p {
  font-size: 13px;
  color: var(--text-gray);
  margin: 0 0 12px;
}
.cat-browse-btn {
  display: inline-block;
  padding: 6px 20px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.cat-browse-btn:hover {
  background: var(--orange);
  color: #fff;
}

/* ===== 企业卡片 ===== */
.ent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.ent-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 16px;
  transition: box-shadow 0.2s;
}
.ent-card:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.ent-card .ent-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  overflow-wrap: break-word;
}
.ent-card .ent-name a {
  color: var(--text);
  text-decoration: none;
}
.ent-card .ent-name a:hover {
  color: var(--orange);
}
.ent-card .ent-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--orange);
  background: var(--orange-light);
  padding: 1px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}
.ent-card .ent-desc {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  overflow-wrap: break-word;
}
.ent-card .ent-url {
  font-size: 11px;
  color: var(--text-light);
  overflow-wrap: break-word;
}
.ent-card .ent-url a {
  color: var(--text-light);
  text-decoration: none;
}
.ent-card .ent-url a:hover {
  color: var(--orange);
}

/* ===== Hero Banner ===== */
.hero-banner {
  background: linear-gradient(135deg, #FF6A00 0%, #E83600 50%, #C41E00 100%);
  padding: 56px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-banner .hero-inner {
  position: relative;
  z-index: 1;
}
.hero-banner .hero-title h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  margin: 0 0 8px;
  letter-spacing: 1px;
}
.hero-banner .hero-title h1 small {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 12px;
}
.hero-banner .hero-title p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin: 0 0 24px;
}
.hero-banner .hero-search {
  display: flex;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.hero-banner .hero-search select {
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  background: #f8f8f8;
  color: var(--text);
  outline: none;
  cursor: pointer;
  border-right: 1px solid #eee;
  min-width: 120px;
}
.hero-banner .hero-search input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  outline: none;
  min-width: 0;
}
.hero-banner .hero-search button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 1px;
}
.hero-banner .hero-hot {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-banner .hero-hot a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
.hero-banner .hero-hot a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.hero-banner .hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 28px;
}
.hero-banner .hero-stats .hs-item {
  text-align: center;
}
.hero-banner .hero-stats .hs-item .hs-num {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}
.hero-banner .hero-stats .hs-item .hs-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-top: 2px;
}

/* ===== 分类目录区块 (首页) ===== */
.cat-directory {
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.cat-directory .cat-directory-body {
  padding: 16px 20px;
}

/* ===== 分类卡片网格 (总分类目录页) ===== */
.cat-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cat-card-item {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px 20px;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.cat-card-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-color: var(--orange);
}
.cat-card-item .cat-card-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.cat-card-item .cat-card-name::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.cat-card-item .cat-card-count {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  padding-left: 14px;
}

/* ===== 首页分类（按钮标签模式） ===== */
.cat-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cat-tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  min-width: 0;
  flex: 1 1 calc(16.666% - 12px);
  max-width: calc(16.666% - 10px);
  background: var(--tag-bg, #FFF0E0);
  border: 1px solid var(--tag-border, #FFD4A8);
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  overflow: hidden;
  box-sizing: border-box;
}
.cat-tag-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.cat-tag-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--tag-text, #D45800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.cat-tag-count {
  font-size: 12px;
  color: var(--tag-text, #D45800);
  opacity: 0.6;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== 强调文字颜色 ===== */
.text-orange {
  color: var(--orange);
}
.text-orange-bold {
  color: var(--orange);
  font-weight: 600;
}

/* ===== 区块标题 (首页) ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.section-header .left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-header .left h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.section-header .right a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
}
.section-header .right a:hover {
  color: var(--orange);
}

/* ===== 新闻区块 (首页) ===== */
.news-section {
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.news-item {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.news-item:nth-last-child(-n+2) {
  border-bottom: none;
}
.news-date {
  text-align: center;
  flex-shrink: 0;
  width: 44px;
}
.news-date .nd-day {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.2;
}
.news-date .nd-mon {
  display: block;
  font-size: 10px;
  color: var(--text-light);
  line-height: 1.4;
}
.news-info {
  flex: 1;
  min-width: 0;
}
.news-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  overflow-wrap: break-word;
}
.news-title a {
  color: var(--text);
  text-decoration: none;
}
.news-title a:hover {
  color: var(--orange);
}
.news-desc {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

/* ===== 筛选栏 (分类页) ===== */
.filter-bar {
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-bar .label {
  font-size: 12px;
  color: var(--text-gray);
  flex-shrink: 0;
}
.filter-bar .filter-link {
  font-size: 12px;
  color: var(--text-gray);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 2px;
}
.filter-bar .filter-link:hover {
  color: var(--orange);
}
.filter-bar .filter-link.active {
  color: var(--orange);
  background: var(--orange-light);
  font-weight: 600;
}
.filter-bar .filter-result {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-light);
}

/* ===== 分页 ===== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 30px 0;
}
.pagination-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 13px;
  border-radius: 3px;
  transition: all 0.15s;
}
.pagination-wrap a:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.pagination-wrap a.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  font-weight: 600;
}
.pagination-wrap a.disabled {
  color: #ccc;
  cursor: default;
  pointer-events: none;
}
.pagination-wrap a.dots {
  border: none;
  color: var(--text-light);
  cursor: default;
  pointer-events: none;
}
.pagination-wrap .info {
  font-size: 12px;
  color: var(--text-light);
  margin-left: 12px;
}

/* ===== 公司详情 ===== */
.company-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px 30px;
}
.company-box .comp-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.company-box .comp-hd .left {
  flex: 1;
}
.company-box .comp-hd .left h1 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  overflow-wrap: break-word;
}
.company-box .comp-hd .left .comp-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--orange);
  background: var(--orange-light);
  padding: 2px 12px;
  border-radius: 2px;
}
.company-box .comp-hd .right {
  flex-shrink: 0;
  margin-left: 20px;
}
.company-box .comp-hd .right .comp-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-size: 12px;
  border-radius: 3px;
}
.company-box .comp-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.9;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
  overflow-wrap: break-word;
}
.company-box .comp-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.company-box .comp-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-gray);
}
.company-box .comp-meta .meta-item .meta-label {
  color: var(--text-light);
  min-width: 56px;
  flex-shrink: 0;
}
.company-box .comp-meta .meta-item .meta-val {
  color: var(--text);
  overflow-wrap: break-word;
}
.company-box .comp-meta .meta-item .meta-val a {
  color: #0066CC;
  text-decoration: none;
}
.company-box .comp-meta .meta-item .meta-val a:hover {
  text-decoration: underline;
}
.company-box .comp-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.company-box .comp-actions .btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.company-box .comp-actions .btn-orange:hover {
  background: var(--orange-dark);
}
.company-box .comp-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  background: #fff;
  color: var(--text-gray);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.company-box .comp-actions .btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ===== 相关企业卡片 (详情页) ===== */
.rel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rel-card {
  padding: 12px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.rel-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.rel-card .rel-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
  overflow-wrap: break-word;
}
.rel-card .rel-name a {
  color: var(--text);
  text-decoration: none;
}
.rel-card .rel-name a:hover {
  color: var(--orange);
}
.rel-card .rel-desc {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
}

/* ===== 新闻列表 (新闻分类页) ===== */
.news-list {
  background: #fff;
  border: 1px solid var(--border);
}
.news-list .nl-item {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.news-list .nl-item:last-child {
  border-bottom: none;
}
.news-list .nl-item .nl-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  overflow-wrap: break-word;
}
.news-list .nl-item .nl-title a {
  color: var(--text);
  text-decoration: none;
}
.news-list .nl-item .nl-title a:hover {
  color: var(--orange);
}
.news-list .nl-item .nl-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  overflow-wrap: break-word;
}
.news-list .nl-item .nl-meta {
  font-size: 12px;
  color: var(--text-light);
}
.news-list .nl-item .nl-meta .nl-tag {
  display: inline-block;
  color: var(--orange);
  background: var(--orange-light);
  padding: 0 8px;
  border-radius: 2px;
  margin-right: 10px;
}

/* ===== 文章详情 (新闻详情页) ===== */
.article-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px;
}
.article-box .art-hd {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.article-box .art-hd h1 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.4;
  overflow-wrap: break-word;
}
.article-box .art-hd .art-meta {
  font-size: 13px;
  color: var(--text-light);
}
.article-box .art-hd .art-meta .art-tag {
  display: inline-block;
  color: var(--orange);
  background: var(--orange-light);
  padding: 1px 10px;
  border-radius: 2px;
  margin-right: 12px;
  font-size: 12px;
}
.art-split {
  color: #ddd;
  margin: 0 8px;
}
.article-box .art-bd {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 2;
  overflow-wrap: break-word;
}
.article-box .art-bd p {
  margin: 0 0 16px;
}
.article-box .art-bd p:last-child {
  margin-bottom: 0;
}

/* ===== 提交表单 ===== */
.submit-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 30px;
}
.submit-box .form-group {
  margin-bottom: 20px;
}
.submit-box .form-group:last-child {
  margin-bottom: 0;
}
.submit-box .form-group .fg-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.submit-box .form-group .fg-label .required {
  color: #E00;
  margin-left: 2px;
}
.submit-box .form-group .fg-desc {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}
.submit-box .form-group input[type="text"],
.submit-box .form-group input[type="url"],
.submit-box .form-group input[type="email"],
.submit-box .form-group select,
.submit-box .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.submit-box .form-group input:focus,
.submit-box .form-group select:focus,
.submit-box .form-group textarea:focus {
  border-color: var(--orange);
}
.submit-box .form-group textarea {
  height: 100px;
  resize: vertical;
}
.submit-box .form-group select {
  background: #fff;
  cursor: pointer;
}
.submit-box .form-row {
  display: flex;
  gap: 16px;
}
.submit-box .form-row .form-group {
  flex: 1;
}
.submit-box .form-group .captcha-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}
.submit-box .form-group .captcha-wrap input {
  flex: 1;
}
.submit-box .form-group .captcha-wrap .captcha-img {
  width: 100px;
  height: 38px;
  background: var(--orange-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 4px;
  cursor: pointer;
  user-select: none;
}
.submit-box .form-group .captcha-wrap .captcha-img:hover {
  background: #ffe0c0;
}
.submit-box .form-group .submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 2px;
  transition: background 0.2s;
}
.submit-box .form-group .submit-btn:hover {
  background: var(--orange-dark);
}

/* ===== 内容框 (关于页) ===== */
.content-box {
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px;
}
.content-box h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}
.content-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text);
}
.content-box h3:first-child {
  margin-top: 0;
}
.content-box p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 2;
  margin: 0 0 12px;
  overflow-wrap: break-word;
}
.content-box p:last-child {
  margin-bottom: 0;
}

/* ===== Footer 底部 ===== */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0 0;
  margin-top: 40px;
}
.footer h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  display: block;
  font-size: 13px;
  line-height: 2.2;
}
.footer a:hover {
  color: var(--orange);
}
.footer .f-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 8px;
}
.footer .f-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
}
.footer .f-contact {
  font-size: 13px;
  line-height: 2;
}
.footer .f-contact .tel {
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px 0;
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom a {
  display: inline;
  margin: 0 6px;
}

/* ===== 友情链接 ===== */
.friend-links {
  background: #fff;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.friend-links .fl-body {
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
}
.friend-links .fl-body a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 13px;
  line-height: 2.4;
  white-space: nowrap;
}
.friend-links .fl-body a:hover {
  color: var(--orange);
}
.friend-links .fl-body .fl-dot {
  color: #ddd;
  margin: 0 10px;
  font-size: 12px;
  line-height: 2.4;
  user-select: none;
}

/* ============================================
   响应式 - 平板 (max-width: 991px)
   ============================================ */
@media (max-width: 991px) {
  .nav {
    display: none;
  }
  .cat-tag-wrap {
    gap: 10px;
  }
  .cat-tag-item {
    flex: 1 1 calc(25% - 10px);
    max-width: calc(25% - 8px);
  }
  .ent-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-side {
    display: none;
  }
  .page-wrap {
    flex-direction: column;
  }
  .detail-wrap {
    flex-direction: column;
  }
  .detail-side {
    width: 100%;
  }
  .company-box .comp-meta {
    grid-template-columns: 1fr;
  }
  .submit-wrap {
    flex-direction: column;
  }
  .submit-side {
    width: 100%;
  }
}

/* ============================================
   响应式 - 手机 (max-width: 767px)
   ============================================ */
@media (max-width: 767px) {
  .h-search input {
    width: 100px;
  }

  /* Hero Banner */
  .hero-banner {
    padding: 36px 0 28px;
  }
  .hero-banner .hero-title h1 {
    font-size: 26px;
  }
  .hero-banner .hero-title h1 small {
    font-size: 14px;
  }
  .hero-banner .hero-search {
    flex-direction: column;
    border-radius: 6px;
  }
  .hero-banner .hero-search select {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 12px 16px;
  }
  .hero-banner .hero-search button {
    padding: 14px;
    letter-spacing: 2px;
  }
  .hero-banner .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero-banner .hero-stats .hs-item .hs-num {
    font-size: 20px;
  }

  /* 分类目录 */
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .cat-card-grid {
    grid-template-columns: 1fr;
  }
  .cat-ent-list {
    grid-template-columns: 1fr;
  }
  .cat-tag-item {
    padding: 8px 14px;
    flex: 1 1 calc(33.333% - 10px);
    max-width: calc(33.333% - 8px);
  }
  .cat-tag-name {
    font-size: 14px;
  }

  /* 企业卡片 */
  .ent-grid {
    grid-template-columns: 1fr;
  }

  /* 友情链接 */
  .friend-links .fl-body {
    padding: 12px 14px;
  }
  .friend-links .fl-body a {
    font-size: 12px;
    line-height: 2.8;
  }
  .friend-links .fl-body .fl-dot {
    margin: 0 5px;
  }

  /* 新闻区块 */
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }
  .news-item:last-child {
    border-bottom: none;
  }

  /* 筛选栏 */
  .filter-bar .filter-result {
    margin-left: 0;
    width: 100%;
  }

  /* 分页 */
  .pagination-wrap {
    gap: 3px;
    padding: 20px 0;
    flex-wrap: wrap;
  }
  .pagination-wrap a {
    min-width: 28px;
    height: 28px;
    padding: 0 5px;
    font-size: 12px;
  }
  .pagination-wrap .info {
    font-size: 11px;
    margin-left: 6px;
  }

  /* 页面横幅 */
  .page-banner {
    padding: 32px 0 28px;
  }
  .page-banner h1 {
    font-size: 24px;
  }

  /* 公司详情 */
  .company-box {
    padding: 20px 16px;
  }
  .company-box .comp-hd {
    flex-direction: column;
  }
  .company-box .comp-hd .right {
    margin-left: 0;
    margin-top: 10px;
  }
  .company-box .comp-actions {
    flex-direction: column;
  }

  /* 相关企业 */
  .rel-grid {
    grid-template-columns: 1fr;
  }

  /* 文章详情 */
  .article-box {
    padding: 20px 16px;
  }
  .article-box .art-hd h1 {
    font-size: 20px;
  }

  /* 提交表单 */
  .submit-box {
    padding: 20px 16px;
  }
  .submit-box .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* 内容框 */
  .content-box {
    padding: 20px 16px;
  }
}

/* ============================================
   响应式 - 中屏 (992px ~ 1199px)
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {
  .nav {
    gap: 12px;
  }
  .nav a {
    font-size: 13px;
  }
}

/* ===== WordPress 兼容性 ===== */
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { display: block; margin: 1em auto; }
.wp-caption { max-width: 100%; }
.gallery-caption { font-size: 12px; color: var(--text-light); }
.bypostauthor { }
.sticky { }

/* ===== 提交反馈消息 ===== */
.submit-msg {
  margin-top: 12px;
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  display: none;
}
.submit-msg.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.submit-msg.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== 入驻优势条目 ===== */
.adv-item {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
}
