/* ═══════════════════════════════════════════════════════════════
   温贸国际门户首页 · 深度美化层（2026-11-14）
   在 portal-home-v4.css 之上叠加，不动原有规则。
   设计方向：国际前沿 Bento 节奏 + 深色 Hero 与浅内容区的渐进过渡
   + 侧栏视觉锚点（广告位/服务大卡）+ 信息密度分层
   ═══════════════════════════════════════════════════════════════ */

/* ── 0. 全局节奏：区块间距拉大，让每屏有呼吸 ── */
.portal-main {
  gap: 40px;
  padding-top: 40px;
}
.portal-content > .portal-section {
  margin-bottom: 56px;
}
.portal-content > .portal-section:last-child {
  margin-bottom: 0;
}

/* ── 1. Hero → 内容区的渐进过渡（消除硬切） ── */
.portal-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(248,250,252,.9));
  pointer-events: none;
}
.portal-stats-bar {
  margin-top: -58px;               /* 上抬压住渐变，制造叠层感 */
  position: relative;
  z-index: 2;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.portal-stats-inner {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 18px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  box-shadow: 0 12px 40px rgba(18,35,63,.10);
}
.portal-stats-inner .ps-item {
  text-align: center;
  position: relative;
}
.portal-stats-inner .ps-item + .ps-item::before {
  content: '';
  position: absolute;
  left: 0; top: 18%;
  height: 64%;
  width: 1px;
  background: linear-gradient(180deg, transparent, #e2e8f0 30%, #e2e8f0 70%, transparent);
}
.portal-stats-inner .ps-num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--wm-navy) 20%, var(--wm-navy-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.portal-stats-inner .ps-lbl {
  font-size: 12.5px;
  color: #64748b;
  letter-spacing: .02em;
}

/* ── 2. 区块标题：更挺拔的层级 ── */
.portal-section-header {
  margin-bottom: 24px;
}
.portal-section-title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #0f172a;
}
.portal-section-title .ph-sec-bar {
  width: 5px;
  height: 1.1em;
  border-radius: 99px;
  background: linear-gradient(180deg, #2F5F91, #12233F);
  box-shadow: 0 2px 8px rgba(47,95,145,.3);
}
.portal-section-sub {
  font-size: 11px;
  letter-spacing: .22em;
  color: #94a3b8;
  font-weight: 600;
}

/* ── 3. 资讯卡：大小对比（lead 大卡 + 3 小卡）── */
.portal-news-cards {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.portal-ncard {
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,.9);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portal-ncard.is-lead {
  grid-row: span 2;
}
.portal-ncard.is-lead .portal-ncard-cover {
  aspect-ratio: 16/10;
}
.portal-ncard:not(.is-lead) {
  flex-direction: row;
  align-items: stretch;
}
.portal-ncard:not(.is-lead) .portal-ncard-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.portal-ncard-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-ncard.is-lead .portal-ncard-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  -webkit-line-clamp: 3;
}
.portal-ncard-sum {
  font-size: 13.5px;
  line-height: 1.75;
  color: #64748b;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-ncard-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #2F5F91;
  background: #EEF3F8;
  padding: 3px 9px;
  border-radius: 99px;
}

/* ── 4. 行业分类 chips：药丸化 + 选中态 ── */
.portal-industry-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.portal-industry-chip {
  padding: 9px 18px;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all .22s cubic-bezier(.2,.7,.2,1);
}
.portal-industry-chip:hover {
  border-color: var(--wm-navy-2);
  color: var(--wm-navy-2);
  background: #EEF3F8;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(47,95,145,.16);
}

/* ── 5. 新闻网格卡：更精致的悬停 ── */
.portal-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 16px;
}
.portal-news-card {
  border-radius: 14px;
  border: 1px solid rgba(226,232,240,.9);
  background: #fff;
  padding: 18px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .26s cubic-bezier(.2,.7,.2,1), box-shadow .26s ease, border-color .26s ease;
}
.portal-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47,95,145,.28);
  box-shadow: 0 16px 40px rgba(18,35,63,.12);
}
.portal-news-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-news-card-summary {
  font-size: 12.5px;
  line-height: 1.7;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.portal-news-card-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #eef2f7;
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.portal-news-card-tag {
  color: #2F5F91;
  background: #EEF3F8;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 600;
}

/* ═══════════ 6. 右侧边栏：视觉锚点 + 分层 ═══════════ */
.portal-sidebar {
  gap: 20px;
}

/* 6.1 侧栏卡片统一升级 */
.portal-sidebar-card {
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,.9);
  background: #fff;
  overflow: hidden;
}
.portal-sidebar-header {
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.portal-sidebar-header .psh-ico {
  font-size: 15px;
}
.portal-sidebar-body {
  padding: 14px 18px;
}

/* 6.2 广告/推广投放位（新增视觉锚点） */
.portal-ad-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #12233F 0%, #2F5F91 100%);
  color: #fff;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(18,35,63,.22);
  transition: transform .26s cubic-bezier(.2,.7,.2,1), box-shadow .26s ease;
}
.portal-ad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(18,35,63,.30);
}
.portal-ad-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(212,175,55,.35), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(120,170,255,.28), transparent 60%);
  pointer-events: none;
}
.portal-ad-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.28);
  padding: 3px 8px;
  border-radius: 99px;
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.08);
}
.portal-ad-title {
  position: relative;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.portal-ad-sub {
  position: relative;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
}
.portal-ad-cta {
  position: relative;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #F5D061;
}
.portal-ad-cta::after {
  content: '→';
  transition: transform .22s ease;
}
.portal-ad-card:hover .portal-ad-cta::after {
  transform: translateX(4px);
}

/* 6.3 友情链接大卡（合并三个外链卡为统一视觉） */
.portal-link-group {
  border-radius: 16px;
  border: 1px solid rgba(226,232,240,.9);
  background: #fff;
  overflow: hidden;
}
.portal-link-group .portal-sidebar-header {
  padding: 14px 18px 12px;
}
.portal-link-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 6px 12px 12px;
}
/* 侧栏卡在 1080 断点后是 auto-fit 网格，子项默认 min-width:auto 会撑破容器 */
.portal-sidebar > * { min-width: 0; }
.portal-link-col {
  padding: 8px 6px;
}
.portal-link-col + .portal-link-col {
  border-left: 1px solid #f1f5f9;
}
.portal-link-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #94a3b8;
  padding: 0 8px 8px;
}
.portal-link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s ease;
}
.portal-link-item:hover {
  background: #f8fafc;
}
.portal-link-badge {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #EEF3F8;
  color: #2F5F91;
  font-size: 11px;
  font-weight: 800;
}
.portal-link-copy {
  min-width: 0;
  flex: 1;
}
.portal-link-copy b {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #172033;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portal-link-copy small {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.portal-link-arrow {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}

/* 6.4 服务入口大卡（突出转化） */
.portal-service-cta {
  display: flex;
  gap: 12px;
  padding: 16px;
}
.portal-service-cta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 12px;
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(160deg, #f8fafc, #fff);
  border: 1px solid #eef2f7;
  transition: all .24s cubic-bezier(.2,.7,.2,1);
}
.portal-service-cta-item:hover {
  transform: translateY(-3px);
  border-color: rgba(47,95,145,.3);
  box-shadow: 0 12px 28px rgba(18,35,63,.12);
}
.portal-service-cta-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2F5F91, #12233F);
}
.portal-service-cta-item.primary .portal-service-cta-ico {
  background: linear-gradient(135deg, #2F5F91, #12233F);
}
.portal-service-cta-copy b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.portal-service-cta-copy small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: #94a3b8;
}

/* 6.5 热点排行：序号更醒目 */
.portal-rank-num {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  background: #f1f5f9;
  color: #94a3b8;
}
.portal-rank-num.top {
  background: linear-gradient(135deg, #2F5F91, #12233F);
  color: #fff;
  box-shadow: 0 4px 12px rgba(180,35,24,.28);
}
.portal-rank-title {
  font-size: 13px;
  line-height: 1.5;
  color: #172033;
}
.portal-rank-count {
  font-size: 11px;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

/* 6.6 汇率速览：数值更突出 */
.portal-sidebar-body .fx-value {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.portal-sidebar-body .fx-label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 600;
}
.portal-sidebar-body .fx-change.up { color: #16a34a; }
.portal-sidebar-body .fx-change.down { color: #dc2626; }

/* ── 7. 产业带矩阵：更饱满的卡片 ── */
.portal-belt-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.portal-belt-item {
  padding: 22px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  transition: all .26s cubic-bezier(.2,.7,.2,1);
}
.portal-belt-item:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-4px);
  border-color: rgba(245,208,97,.5);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
}
.portal-belt-item .pbi-ico {
  font-size: 26px;
}
.portal-belt-item b {
  font-size: 15px;
  font-weight: 800;
}
.portal-belt-item span:last-child {
  font-size: 11.5px;
  color: rgba(255,255,255,.68);
}

/* ── 8. CTA 区：更强对比 ── */
.portal-cta-inner {
  padding: 56px 40px;
  border-radius: 24px;
}
.portal-cta-copy h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.portal-cta-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,.85);
  max-width: 520px;
}

/* ── 9. 页脚：更清晰的分组 ── */
.portal-footer-inner {
  gap: 48px;
}
.portal-footer-col h3 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.portal-footer-col a,
.portal-footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,.68);
  line-height: 2.2;
  text-decoration: none;
}
.portal-footer-col a:hover {
  color: #F5D061;
}

/* ── 10. 响应式：侧栏锚点下移 ── */
@media (max-width: 900px) {
  /* Hero 双按钮在平板宽度下收紧，避免挤压换行 */
  .portal-btn-lg { padding: 12px 20px; font-size: 14px; }
  .portal-hero-btns { gap: 10px; }
  /* 侧栏改 auto-fit 后，3 列并排过窄会撑破卡片 → 改单列纵向列表 */
  .portal-link-cols { grid-template-columns: 1fr; }
  .portal-link-col + .portal-link-col {
    border-left: 0;
    border-top: 1px solid #f1f5f9;
  }
}

@media (max-width: 1080px) {
  .portal-main {
    grid-template-columns: 1fr;
  }
  .portal-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: start;
  }
  .portal-news-cards {
    grid-template-columns: 1fr 1fr;
  }
  .portal-ncard.is-lead {
    grid-column: span 2;
    grid-row: auto;
  }
}
@media (max-width: 640px) {
  /* 窄屏 logo 文字收紧，避免「世贸建站通」折成两行挤压导航 */
  .portal-logo-text h1 { font-size: 16px; letter-spacing: 0; white-space: nowrap; }
  .portal-logo-icon { width: 38px; height: 38px; border-radius: 10px; font-size: 17px; }
  .portal-logo-text span { font-size: 10px; }
  .portal-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
    padding: 18px;
  }
  .portal-stats-inner .ps-item:nth-child(3)::before { display: none; }
  .portal-news-cards { grid-template-columns: 1fr; }
  .portal-ncard.is-lead { grid-column: auto; }
  .portal-ncard:not(.is-lead) { flex-direction: column; }
  .portal-section-title { font-size: 21px; }
  .portal-link-cols { grid-template-columns: 1fr; }
  .portal-link-col + .portal-link-col {
    border-left: 0;
    border-top: 1px solid #f1f5f9;
  }
  .portal-service-cta { flex-direction: column; }
}

/* ── 11. Hero 徽章条（信任锚点） ── */
.portal-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 26px;
}
.phb-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  letter-spacing: .01em;
}
.phb-item i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F5D061;
  box-shadow: 0 0 10px rgba(245,208,97,.7);
}

/* Hero 按钮区：统计块已移除，收紧下间距 */
.portal-hero-btns {
  margin-bottom: 0;
  flex-wrap: wrap;
}
/* 按钮文案不换行（窄屏下"免费开通企业官网"会被折成竖排） */
.portal-btn-lg {
  white-space: nowrap;
}
/* Hero 上下留白收紧（原 68px 偏空） */
.portal-hero-inner {
  padding-top: 46px;
  padding-bottom: 78px;   /* 底部多留，让看板叠层有空间 */
}

/* ── 12. Hero 询盘卡：更精致 ── */
.portal-hero-visual {
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(165deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px);
}
.phv-head-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.phv-live-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #F5D061;
  background: rgba(245,208,97,.14);
  border: 1px solid rgba(245,208,97,.32);
  padding: 3px 8px;
  border-radius: 99px;
}
.phv-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  transition: all .24s cubic-bezier(.2,.7,.2,1);
}
.phv-item:hover {
  background: rgba(255,255,255,.14);
  transform: translateX(4px);
  border-color: rgba(245,208,97,.4);
}
.phv-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.phv-meta {
  font-size: 11.5px;
  color: rgba(255,255,255,.68);
  margin-top: 3px;
}
.phv-ago {
  font-size: 10.5px;
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ═══════════ 13. 新增侧栏模块（填满侧栏） ═══════════ */

/* 13.1 出海工具 */
.portal-tool-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.portal-tool-link:hover {
  background: #f8fafc;
  transform: translateX(2px);
}
.portal-tool-ico {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #EEF3F8, #E3EBF5);
  color: #2F5F91;
  font-size: 12px;
  font-weight: 800;
}
.portal-tool-copy { min-width: 0; flex: 1; }
.portal-tool-copy b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #172033;
  line-height: 1.35;
}
.portal-tool-copy small {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.35;
  margin-top: 2px;
}
.portal-tool-arrow {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}
.portal-tool-link:hover .portal-tool-arrow {
  color: #2F5F91;
  transform: translate(1px, -1px);
}

/* 13.2 平台公告 */
.portal-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s ease;
}
.portal-notice-item:hover { background: #f8fafc; }
.portal-notice-date {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 800;
  color: #94a3b8;
  background: #f1f5f9;
  padding: 3px 6px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}
.portal-notice-copy { min-width: 0; }
.portal-notice-copy b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #172033;
  line-height: 1.4;
}
.portal-notice-copy small {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.4;
  margin-top: 2px;
}

/* 13.3 三步开通流程 */
.portal-steps-card .portal-sidebar-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.portal-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
}
.portal-step-num {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2F5F91, #12233F);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.portal-step-copy b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.portal-step-copy small {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 1px;
}
.portal-step-cta {
  margin-top: 12px;
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2F5F91, #12233F);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .22s cubic-bezier(.2,.7,.2,1), box-shadow .22s ease;
}
.portal-step-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(18,35,63,.26);
}

/* ═══════════ 14. 中性风改造（红 → 单一品牌蓝） ═══════════ */
/* 国际前沿风：中性底 + 单一品牌色 + 红色仅作极少量点缀 */
.portal-logo-icon {
  background: linear-gradient(135deg, #2F5F91, #12233F) !important;
  box-shadow: 0 6px 18px rgba(18,35,63,.26) !important;
}
/* v4 用伪元素画竖条，v5 模板改用 span，两者并存会出现两条线，故隐藏伪元素 */
.portal-section-title::before {
  display: none !important;
}
.portal-section-title .ph-sec-bar {
  background: linear-gradient(180deg, #2F5F91, #12233F) !important;
  box-shadow: 0 2px 8px rgba(47,95,145,.24) !important;
}
.portal-news-card-cat {
  color: #2F5F91 !important;
}
.portal-rank-num.top {
  background: linear-gradient(135deg, #2F5F91, #12233F) !important;
  box-shadow: 0 4px 12px rgba(47,95,145,.26) !important;
}
.portal-service-cta-item.primary .portal-service-cta-ico {
  background: linear-gradient(135deg, #2F5F91, #12233F) !important;
}
.portal-btn-gold,
.portal-btn-lg.portal-btn-gold {
  background: linear-gradient(135deg, #2F5F91, #12233F) !important;
  box-shadow: 0 8px 24px rgba(47,95,145,.28) !important;
}
.portal-btn-gold:hover,
.portal-btn-lg.portal-btn-gold:hover {
  box-shadow: 0 12px 32px rgba(47,95,145,.36) !important;
}
.portal-nav-item.active {
  color: #2F5F91 !important;
}
.portal-nav-item.active::after {
  background: linear-gradient(90deg, #2F5F91, #12233F) !important;
}
.portal-ncard-cat,
.portal-resource-icon {
  background: #EEF3F8 !important;
  color: #2F5F91 !important;
}
.portal-ncard-views,
.portal-empty-hint a,
.portal-service-link em {
  color: #2F5F91 !important;
}
.portal-service-icon {
  background: #EEF3F8 !important;
  color: #2F5F91 !important;
}
.portal-rank-num:not(.top) {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
}
/* 页脚品牌块 */
.pf-brand .portal-logo-icon {
  background: linear-gradient(135deg, #3B6EA5, #244B79) !important;
}

/* ── 15. 中性风补漏：顶部主按钮 / Logo ── */
.portal-header .portal-btn-primary {
  background: linear-gradient(135deg, #2F5F91, #12233F) !important;
  box-shadow: 0 6px 18px rgba(47,95,145,.28) !important;
}
.portal-header .portal-btn-primary:hover {
  box-shadow: 0 10px 26px rgba(47,95,145,.36) !important;
}
.portal-header .portal-logo-icon {
  background: linear-gradient(135deg, #2F5F91, #12233F) !important;
  box-shadow: 0 6px 18px rgba(18,35,63,.26) !important;
}
/* 移动端 Dock 主色 */
.portal-mobile-dock .pm-dock-item.is-primary,
.portal-mobile-dock .pm-dock-item--primary {
  background: linear-gradient(135deg, #2F5F91, #12233F) !important;
}
/* 剩余红色引用统一收编 */
.portal-topbar .portal-btn-primary,
.portal-footer .portal-btn-primary {
  background: linear-gradient(135deg, #2F5F91, #12233F) !important;
}

/* ── 16. 侧栏新增：产业带速览 / 热门品类 ── */
.portal-belt-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s ease;
}
.portal-belt-mini:hover { background: #f8fafc; }
.portal-belt-mini .pbm-ico {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #EEF3F8, #E3EBF5);
  font-size: 15px;
}
.portal-belt-mini .pbm-copy { min-width: 0; flex: 1; }
.portal-belt-mini .pbm-copy b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #172033;
  line-height: 1.3;
}
.portal-belt-mini .pbm-copy small {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  line-height: 1.3;
  margin-top: 2px;
}
.portal-belt-mini .pbm-arrow {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}
.portal-belt-mini:hover .pbm-arrow { color: #2F5F91; }

/* 热门品类标签云 */
.portal-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.portal-tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all .2s ease;
}
.portal-tag:hover {
  border-color: #2F5F91;
  color: #2F5F91;
  background: #EEF3F8;
  transform: translateY(-1px);
}

/* ── 17. 标题装饰条：统一蓝色 + 去掉重复的 ::before ── */
/* 模板用 <span class="ph-sec-bar">，v4 又加了 ::before → 出现两条竖线，隐藏 ::before */
.portal-section-title::before {
  display: none !important;
}
.portal-section-title .ph-sec-bar {
  background: linear-gradient(180deg, #2F5F91, #12233F) !important;
  box-shadow: 0 2px 8px rgba(47,95,145,.24) !important;
  width: 5px !important;
  margin-right: 10px !important;
  vertical-align: -.12em !important;
}

/* ── 18. 区块标题分隔线：v1 的红色 3px 边框 + 深红 ::after → 中性/品牌蓝 ── */
.portal-section-header {
  border-bottom-color: rgba(226,232,240,.9) !important;
}
.portal-section-header::after {
  background: linear-gradient(90deg, #2F5F91, #12233F) !important;
}

/* ═══════════ 19. 门户整体美化（2026-11-16） ═══════════ */

/* ① 导航「热」角标定位修复：nav-item 缺 position:relative，
      导致 v1 的 .hot::after 绝对定位跑偏压住文字 */
.portal-nav-item { position: relative; }
.portal-nav-item.hot { color: #2F5F91 !important; }
.portal-nav-item.hot::after {
  position: static;
  display: inline-block;
  margin-left: 5px;
  vertical-align: 2px;
  font-size: 9px;
  padding: 1px 4px;
  line-height: 1.3;
  background: #dc2626 !important;
  border-radius: 4px 4px 4px 0;
  box-shadow: 0 2px 6px rgba(220,38,38,.35);
}

/* ② 分类 chip 换行不再落单：改为 flex 居中，允许均匀换行 */
.portal-industry-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.portal-industry-chip {
  flex: 0 0 auto;
}

/* ③ 新闻卡：消除两行高度参差，收紧留白提升信息密度 */
.portal-news-cards {
  grid-template-columns: 1.55fr 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 16px;
}
.portal-ncard.is-lead .portal-ncard-cover {
  aspect-ratio: 16/9;
}
.portal-ncard:not(.is-lead) .portal-ncard-body {
  padding: 14px 16px;
  justify-content: flex-start;
  gap: 8px;
}
.portal-ncard-title {
  font-size: 15px;
  line-height: 1.5;
}
.portal-ncard.is-lead .portal-ncard-title {
  font-size: 20px;
  line-height: 1.4;
}
.portal-ncard-sum {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 8px;
  -webkit-line-clamp: 2;
}
.portal-ncard-meta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ④ 行业资讯卡片：等高 + 摘要定高，消除参差 */
.portal-news-grid {
  grid-auto-rows: 1fr;
}
.portal-news-card {
  display: flex;
  flex-direction: column;
}
.portal-news-card-summary {
  -webkit-line-clamp: 2;
  min-height: 3.4em;
}
.portal-news-card-meta {
  margin-top: auto;
  padding-top: 12px;
}

/* ⑤ 侧栏：压缩卡间距，让高度更紧凑（主内容远高时减少空旷感） */
.portal-sidebar { gap: 14px; }

/* ⑥ 区块标题区：标题与副标题垂直居中，分隔线不压字 */
.portal-section-header {
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.portal-section-title { line-height: 1.2; }

/* ⑦ 侧栏新增：广告位 / 展会日历 / 实务问答 */
.portal-ad-slot .portal-sidebar-body { padding: 14px; }
.ad-slot-box {
  border: 1px dashed rgba(47,95,145,.4);
  border-radius: 12px;
  padding: 18px 16px;
  background: linear-gradient(160deg, #f7f9fc, #eef3f8);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.ad-slot-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 2px 9px;
  border-radius: 99px;
}
.ad-slot-title { font-size: 15px; color: #0f172a; font-weight: 800; }
.ad-slot-box small { font-size: 12px; color: #64748b; line-height: 1.7; }
.ad-slot-cta {
  margin-top: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2F5F91, #12233F);
  padding: 7px 18px;
  border-radius: 8px;
  text-decoration: none;
}
.ad-slot-cta:hover { opacity: .92; }
.ad-slot-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 4px;
  font-size: 11.5px;
  color: #64748b;
}
.ad-slot-meta b { color: #2F5F91; font-size: 13px; margin-right: 3px; }

.expo-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .18s;
}
.expo-item + .expo-item { border-top: 1px solid #f1f5f9; }
.expo-item:hover { background: #f7f9fc; }
.expo-date {
  flex: none;
  width: 48px;
  text-align: center;
  background: #EEF3F8;
  border-radius: 8px;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.expo-date b { font-size: 16px; color: #2F5F91; font-weight: 800; }
.expo-date small { font-size: 10px; color: #64748b; }
.expo-copy { min-width: 0; }
.expo-copy b { display: block; font-size: 13px; color: #0f172a; font-weight: 700; line-height: 1.4; }
.expo-copy small { display: block; font-size: 11.5px; color: #94a3b8; margin-top: 3px; }
.expo-tip {
  margin-top: 10px;
  font-size: 11.5px;
  color: #64748b;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
  line-height: 1.6;
}

.qa-item {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .18s;
}
.qa-item + .qa-item { border-top: 1px solid #f1f5f9; }
.qa-item:hover { background: #f7f9fc; }
.qa-item b { display: block; font-size: 13px; color: #0f172a; font-weight: 700; line-height: 1.45; }
.qa-item small { display: block; font-size: 11.5px; color: #94a3b8; margin-top: 4px; line-height: 1.65; }

/* ⑧ 侧栏：行业媒体两列 + 最新采购需求 */
.media-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
.media-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #64748b;
  margin-bottom: 8px;
}
.media-item {
  display: block;
  padding: 6px 8px;
  border-radius: 7px;
  text-decoration: none;
  transition: background .18s;
}
.media-item:hover { background: #f7f9fc; }
.media-item b { display: block; font-size: 12.5px; color: #0f172a; font-weight: 700; line-height: 1.4; }
.media-item small { display: block; font-size: 10.5px; color: #94a3b8; margin-top: 2px; line-height: 1.5; }

.demand-item {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .18s;
}
.demand-item + .demand-item { border-top: 1px solid #f1f5f9; }
.demand-item:hover { background: #f7f9fc; }
.demand-item b { display: block; font-size: 13px; color: #0f172a; font-weight: 700; line-height: 1.45; }
.demand-item small { display: block; font-size: 11.5px; color: #94a3b8; margin-top: 4px; line-height: 1.6; }

/* ═══════════ 20. 色彩深化 + 新闻卡配图（2026-11-16） ═══════════ */

/* 去金色残留：v4 Hero 仍带 rgba(212,175,55) 光晕，与单一蓝中性风冲突 */
.portal-hero {
  background:
    radial-gradient(ellipse 60% 80% at 75% 40%, rgba(47,95,145,.22), transparent 62%),
    radial-gradient(ellipse 45% 65% at 18% 22%, rgba(46,107,168,.18), transparent 60%),
    linear-gradient(120deg, #0A1628 0%, #12233F 55%, #1B3A63 100%) !important;
}

/* 新闻卡配图 */
.portal-news-card { position: relative; }
.portal-news-card-thumb {
  display: block;
  margin: -1px -1px 0;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: #eef2f7;
}
.portal-news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.portal-news-card:hover .portal-news-card-thumb img { transform: scale(1.05); }

/* 卡片 hover：边界更轻、长投影（国际前沿常见手法） */
.portal-news-card:hover,
.portal-ncard:hover {
  border-color: rgba(47,95,145,.28) !important;
  box-shadow: 0 18px 40px -18px rgba(10,22,40,.28) !important;
  transform: translateY(-3px);
}
.portal-news-card,
.portal-ncard { transition: transform .25s, box-shadow .25s, border-color .25s; }

/* 数字看板：压深底，提升分量 */
.portal-stats-bar {
  background: linear-gradient(160deg, #FFFFFF, #F7F9FC) !important;
  box-shadow: 0 24px 50px -24px rgba(10,22,40,.35) !important;
  border: 1px solid rgba(226,232,240,.9) !important;
}

/* ⑨ 卡片高度收敛：10 分类 × 6 卡配图后页面过长 */
.portal-news-card > .portal-news-card-cat,
.portal-news-card > .portal-news-card-title,
.portal-news-card > .portal-news-card-summary,
.portal-news-card > .portal-news-card-meta {
  margin-left: 16px;
  margin-right: 16px;
}
.portal-news-card > .portal-news-card-cat { margin-top: 14px; }
.portal-news-card-summary {
  font-size: 12.5px !important;
  line-height: 1.65 !important;
  -webkit-line-clamp: 2;
  min-height: 3.3em;
}
.portal-news-card-title {
  font-size: 14.5px !important;
  line-height: 1.45 !important;
  -webkit-line-clamp: 2;
  margin-top: 8px;
}
.portal-news-card-meta {
  font-size: 11.5px !important;
  padding-top: 10px !important;
  margin-bottom: 16px;
}

/* ⑩ 侧栏：术语速查 / 物流查询 / 时区 / 退税 / 收款方式 */
.term-item {
  padding: 9px 12px;
  border-radius: 9px;
  transition: background .18s;
}
.term-item + .term-item { border-top: 1px solid #f1f5f9; }
.term-item:hover { background: #f7f9fc; }
.term-item b {
  display: inline-block;
  min-width: 62px;
  font-size: 12.5px;
  color: #2F5F91;
  font-weight: 800;
  letter-spacing: .02em;
}
.term-item small { display: block; font-size: 11.5px; color: #94a3b8; margin-top: 3px; line-height: 1.6; }

.tool-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  transition: background .18s;
}
.tool-row + .tool-row { border-top: 1px solid #f1f5f9; }
.tool-row:hover { background: #f7f9fc; }
.tool-row b { flex: none; min-width: 96px; font-size: 12.5px; color: #0f172a; font-weight: 700; }
.tool-row small { flex: 1; font-size: 11px; color: #94a3b8; }

.tz-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
.tz-row + .tz-row { border-top: 1px solid #f1f5f9; }
.tz-row b { font-size: 12.5px; color: #0f172a; font-weight: 700; }
.tz-row small { flex: 1; font-size: 11px; color: #94a3b8; }
.tz-tag {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: #EEF3F8;
  color: #2F5F91;
  font-size: 11px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.pay-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
}
.pay-row + .pay-row { border-top: 1px solid #f1f5f9; }
.pay-row b { flex: none; min-width: 96px; font-size: 12.5px; color: #0f172a; font-weight: 700; }
.pay-row small { flex: 1; font-size: 11px; color: #94a3b8; line-height: 1.5; }
.pay-safe, .pay-mid, .pay-risk {
  flex: none;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
}
.pay-safe { color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; }
.pay-mid  { color: #b45309; background: #fffbeb; border: 1px solid #fde68a; }
.pay-risk { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }


/* ═══════════ 21. 更多行业折叠区（2026-11-20 阶段二） ═══════════ */
.more-ind-body { display: none; }
.more-ind-body.open { display: block; }
.portal-subsection {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid #eef2f7;
}
.portal-subsection:first-child { border-top: 0; margin-top: 8px; padding-top: 8px; }
#moreIndBody { padding-top: 4px; }
#moreIndBtn { cursor: pointer; font: inherit; }
#moreIndBtn:hover { color: #12233F; }


/* ═══════════ 22. 修正：行业 chip 不换行 / 图标 / 底部空白（2026-11-20） ═══════════ */
/* 10 个 chip 原会因宽度不足把「新能源」挤到第二行 → 缩字号/内边距放同一行 */
.portal-industry-nav {
  justify-content: center;
  gap: 8px;
}
.portal-industry-chip {
  padding: 8px 14px;
  font-size: 12.5px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  /* 窄屏允许横滑，保持单行整齐 */
  .portal-industry-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .portal-industry-nav::-webkit-scrollbar { display: none; }
}

/* 政策/电商图标：用 SVG，需要尺寸约束（原单字 14px 太小且不成徽标感） */
.portal-resource-icon svg,
.portal-link-badge svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* CTA 底部空白：收紧下留白 */
.portal-cta { padding-bottom: 64px; }


/* 链接徽标：全称文字，限制宽高换行不撑破 */
.portal-link-badge {
  font-size: 10.5px;
  line-height: 1.15;
  text-align: center;
  min-width: 34px;
  max-width: 64px;
  overflow-wrap: anywhere;
  padding: 3px 4px;
  border-radius: 6px;
}

/* ═══════════ 22. 主背景：海港物流场景图（2026-11-20） ═══════════ */
/* 原纯渐变+光斑显得空；改为深蓝海港场景图（集装箱船/门吊/城市天际线），
   叠加深蓝渐变蒙版保证左侧标题可读性。回滚：删除本段即可。 */
.portal-hero {
  background-image:
    linear-gradient(100deg, rgba(8,18,38,.88) 0%, rgba(10,24,48,.62) 34%, rgba(12,28,58,.30) 62%, rgba(14,34,68,.42) 100%),
    url('/static/img/portal-hero-bg.png') !important;
  background-size: cover, cover !important;
  background-position: center center, center 62% !important;
  background-repeat: no-repeat, no-repeat !important;
}
@media (max-width: 760px) {
  .portal-hero {
    background-image:
      linear-gradient(180deg, rgba(8,18,38,.82) 0%, rgba(10,24,48,.66) 46%, rgba(12,28,58,.46) 100%),
      url('/static/img/portal-hero-bg.png') !important;
    background-position: center center, center 70% !important;
  }
}
