/* layout_T1.css — T1 单列居中（转化型，现状A）
 *
 * 结构：Hero居中 → 卡片网格 → FAQ，全通栏
 * 适配：纯下载词页（按钮首屏最快可见）
 *
 * 依赖 seo_global.css 公共层（:root 变量 / .container / .section / .hero-v2 等）
 * 本文件仅定义 T1 特有的布局选择器。
 *
 * 引入方式：T1 站点的 <head> 在 seo_global.css 之后引入本文件：
 *   <link rel="stylesheet" href="css/global.css">
 *   <link rel="stylesheet" href="../shared-tools/layouts/layout_T1.css">
 */

/* ── T1 整页布局包裹 ── */
.t1-layout {
  max-width: 1280px;
  margin: 0 auto;
}

/* T1 的正文区：继承 .section 的 padding，但去掉多余嵌套 */
.t1-layout .section {
  padding: 36px 0;
}

/* T1 的 FAQ 区：居中限宽 */
.t1-layout .faq-v2 {
  max-width: 960px;
  margin: 40px auto;
}

/* ── 移动端响应 ── */
@media (max-width: 768px) {
  .t1-layout {
    max-width: none;
  }
}

/* ── 正文容器：与 Hero 左右对齐；长文限宽保证可读性 ── */
.t1-body > h2,
.t1-body > p,
.t1-body > ul,
.t1-body > ol {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.t1-body > h2#hub-grid {
  max-width: none;
  text-align: center;
  margin: 56px 0 24px;
}
.t1-body > .entity-card { max-width: none; }
.t1-body > .duba-trust-panel { max-width: none; margin: 48px 0 24px; scroll-margin-top: 88px; }
.t1-body > .entity-card .entity-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .t1-body > .entity-card .entity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── 首页 Hub：5 张卡片 3+2 居中（6 列栅格，每卡占 2 列） ── */
.t1-body > .hub-grid-v2 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.t1-body > .hub-grid-v2 > .hub-card-v2 { grid-column: span 2; }
.t1-body > .hub-grid-v2 > .hub-card-v2:nth-last-child(2) { grid-column: 2 / span 2; }
.t1-body > .hub-grid-v2 > .hub-card-v2:last-child { grid-column: 4 / span 2; }

@media (max-width: 1024px) {
  .t1-body > .hub-grid-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t1-body > .hub-grid-v2 > .hub-card-v2,
  .t1-body > .hub-grid-v2 > .hub-card-v2:nth-last-child(2),
  .t1-body > .hub-grid-v2 > .hub-card-v2:last-child { grid-column: auto; }
}
@media (max-width: 640px) {
  .t1-body > .hub-grid-v2 { grid-template-columns: 1fr; }
}

/* ── 首页内容卡片：白底 / 圆角 / 柔和阴影 / 左对齐 ── */
.content-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
  padding: 32px;
  margin: 0 0 24px;
  text-align: left;
}
.content-card:last-of-type { margin-bottom: 32px; }
.content-card h2 {
  margin: 0 0 16px;
  text-align: left;
}
.content-card h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  color: #0f172a;
  text-align: left;
}
.content-card h3:first-of-type { margin-top: 8px; }
.content-card p,
.content-card li {
  text-align: left;
  line-height: 1.8;
}
.content-card p { margin: 0 0 14px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card ul { padding-left: 20px; margin: 0 0 14px; }

/* 分发包登记行：卡片之外的小字说明 */
.entity-record {
  max-width: 900px;
  margin: 8px auto 24px;
  padding: 0 24px;
  font-size: 12px;
  line-height: 1.7;
  color: #94a3b8;
}

/* 参数卡：所有数值统一字号（覆盖 entity_card 对长值的 11px 内联样式） */
.t1-body > .entity-card .entity-value {
  font-size: 14px !important;
  font-family: inherit !important;
  line-height: 1.6;
}
