/* ============ 频道首页三屏卡片（产品供应/企业名录/行业资讯/展会/金牌企业） ============ */

.ch-wrap {
  width: var(--container-width, 1500px);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 40px;
}

.ch-hero {
  padding: 26px 4px 18px;
}
.ch-hero h1 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #191919;
}
.ch-hero p {
  margin: 0;
  font-size: 14px;
  color: #8a93a0;
  line-height: 1.6;
}

.ch-section {
  margin-bottom: 30px;
}
.ch-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf0f3;
}
.ch-section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #191919;
}
.ch-section-head h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: #2563eb;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: -2px;
}
.ch-more {
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
}
.ch-more:hover { color: #1d4ed8; }

/* 卡片网格：一行 4 个 */
.ch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ch-empty {
  padding: 40px 0;
  text-align: center;
  color: #9aa3ad;
  font-size: 14px;
}
.ch-pagination {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ---------- 产品卡片 ---------- */
.prod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
}
.prod-card__img {
  aspect-ratio: 4 / 3;
  background: #f5f7fa;
  overflow: hidden;
}
.prod-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-card__body { padding: 12px 14px; }
.prod-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #191919;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.prod-card__price {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #e53e3e;
}
.prod-card__company {
  margin-top: 4px;
  font-size: 12px;
  color: #8a93a0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 企业卡片 ---------- */
.comp-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.comp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
}
.comp-card__logo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: #f5f7fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comp-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.comp-card__body { flex: 1; min-width: 0; }
.comp-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #191919;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comp-card__meta {
  margin-top: 4px;
  font-size: 12px;
  color: #8a93a0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 资讯卡片 ---------- */
.art-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.art-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
}
.art-card__img {
  aspect-ratio: 16 / 9;
  background: #f5f7fa;
  overflow: hidden;
}
.art-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art-card__body { padding: 12px 14px; }
.art-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #191919;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.art-card__summary {
  margin-top: 6px;
  font-size: 12px;
  color: #8a93a0;
  line-height: 1.5;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.art-card__meta {
  margin-top: 8px;
  font-size: 12px;
  color: #b0b7c0;
}

/* ---------- 小图标缩略图卡片（热门两列 / 最新三列） ---------- */
.ch-grid--hot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ch-grid--latest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 10px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.mini-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17, 24, 39, .06); }
.mini-card__thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f5f7fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-card__thumb--fallback {
  background: #2563eb;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.mini-card__body { flex: 1; min-width: 0; }
.mini-card__title {
  font-size: 14px;
  font-weight: 600;
  color: #191919;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.mini-card__meta {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #b0b7c0;
}

/* ---------- 热门点击：带摘要卡片（左图右文） ---------- */
.hot-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.hot-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(17, 24, 39, .06); }
.hot-card__thumb {
  flex: 0 0 110px;
  width: 110px;
  height: 82px;
  border-radius: 8px;
  background: #f5f7fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hot-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hot-card__thumb--fallback {
  background: #2563eb;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.hot-card__body { flex: 1; min-width: 0; }
.hot-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #191919;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.hot-card__summary {
  margin-top: 6px;
  font-size: 13px;
  color: #8a93a0;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.hot-card__meta {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #b0b7c0;
}

/* ---------- 分类 TAB（hover 切换） ---------- */
.ch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.ch-tab {
  padding: 8px 18px;
  border: 1px solid #e2e6ec;
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  color: #59616d;
  cursor: pointer;
  transition: all .15s;
}
.ch-tab:hover,
.ch-tab.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.ch-tab-panel { display: none; }
.ch-tab-panel.is-active { display: block; }
.ch-tab-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-bottom: 12px;
}
.ch-tab-links a {
  font-size: 13px;
  color: #4b5563;
  text-decoration: none;
  padding: 3px 0;
}
.ch-tab-links a:hover { color: #2563eb; }

/* 按地区入口（省份小卡片） */
.ch-region-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ch-region-links a {
  padding: 7px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ch-region-links a:hover {
  background: #fff4ec;
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}
.ch-tab-more {
  display: inline-block;
  font-size: 13px;
  color: #2563eb;
  text-decoration: none;
}

/* ---------- 展会卡片 ---------- */
.ex-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ex-card {
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  padding: 18px 20px;
  transition: transform .18s, box-shadow .18s;
}
.ex-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
}
.ex-card__date {
  display: inline-block;
  padding: 4px 10px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.ex-card__title {
  margin: 10px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #191919;
}
.ex-card__meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #8a93a0;
}
.ex-card__summary {
  margin: 8px 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
}
.ex-card__org {
  margin-top: 8px;
  font-size: 12px;
  color: #9aa3ad;
}

/* ---------- 金牌企业卡片 ---------- */
.gold-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.gold-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.gold-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
}
.gold-card__logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #f5f7fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gold-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gold-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #191919;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* 响应式 */
@media (max-width: 1024px) {
  .ch-grid, .gold-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .ch-grid, .gold-grid, .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 展会时间筛选（右侧对齐，蓝色按钮） ---------- */
.ex-filter {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 18px;
}
.ex-filter__btn {
  display: inline-block;
  padding: 8px 20px;
  background: #2563eb;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background .15s;
}
.ex-filter__btn:hover { background: #1d4ed8; }
.ex-filter__btn.is-active { background: #1e40af; font-weight: 600; }

/* ---------- 金牌企业行业 TAB ---------- */
.gold-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.gold-tab {
  padding: 8px 18px;
  border: 1px solid #e2e6ec;
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  color: #59616d;
  text-decoration: none;
  transition: all .15s;
}
.gold-tab:hover,
.gold-tab.is-active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
