/* ============================================================
   首页核心入口坞 .home-entry-hub   v20261011a
   ------------------------------------------------------------
   原先首屏下方紧挨着两块：
     · nav#brand-core-nav  7 个核心入口卡   202px
     · section#from-news   8 个胶囊按钮     277px
   共 15 个入口、479px 高，其中 cont.html / diff.html /
   CN/biz/pricing.html 三个目的地在两块里各出现一次。

   现合并为一张卡片：
     行1  标签 + 「免费咨询」主 CTA
     行2  7 个核心入口卡，桌面 4 列（4+3），不再出现 6+1 的孤卡
     行3  虚线分隔的资讯着陆 chip 行（#from-news 锚点保留）

   依赖 styles/home.css 里既有的 .brand-core-nav__label /
   .brand-core-nav__list / __list a 基础样式，本文件只做覆盖。
   ============================================================ */
.home-entry-hub {
  padding: 1rem 0 1.25rem;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.home-entry-hub__card {
  padding: 1rem 1.1rem 1.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}
.home-entry-hub__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.7rem;
}
.home-entry-hub .brand-core-nav__label {
  margin: 0;
}
.home-entry-hub__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, box-shadow 0.15s;
}
.home-entry-hub__cta:hover,
.home-entry-hub__cta:focus-visible {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}
.home-entry-hub__cta i {
  color: #fff;
}

/* 7 个核心入口：桌面 4 列 → 4+3，避免 auto-fit 在 1440 下排成 6+1 的孤卡 */
.home-entry-hub .brand-core-nav__list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1024px) {
  .home-entry-hub .brand-core-nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .home-entry-hub .brand-core-nav__list {
    grid-template-columns: 1fr;
  }
}

/* 资讯着陆下游：压成一条 chip 行，保留 #from-news 锚点 */
.home-entry-hub__bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px dashed #e2e8f0;
}
.home-entry-hub__note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
}
.home-entry-hub__note i {
  margin-right: 0.3rem;
  color: #10b981;
}
.home-entry-hub__note strong {
  font-weight: 700;
  color: #0f172a;
}
.home-entry-hub__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.home-entry-hub__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.home-entry-hub__links a:hover,
.home-entry-hub__links a:focus-visible {
  border-color: #10b981;
  background: #ecfdf5;
  color: #047857;
}
.home-entry-hub__links a i {
  color: #10b981;
}

@media (max-width: 640px) {
  .home-entry-hub__card {
    padding: 0.9rem 0.9rem 1rem;
  }
  .home-entry-hub__cta {
    width: 100%;
    justify-content: center;
  }
  .home-entry-hub__bridge {
    align-items: flex-start;
  }
  .home-entry-hub__links a {
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
  }
}
