/* ld-diff.css — ldjy.asia 框架差异化 F-F 杂志分栏 (2026-11-10)
   设计系统沿用本站令牌(--ld-*)，不引入硬编码 hex；只换布局骨架，不换色。
   覆盖层：源序在后 + !important，压过 ld-2026.min.css 末尾的栅格规则。 */

/* 顶栏编辑式细线（terracotta 强调，本站已有令牌） */
.ld-head{border-top:3px solid var(--ld-terra) !important}

/* 顶部分段导航：去实色块菜单，改发丝分隔的文字段 —— L2 导航差异化 */
.ld-menu{display:flex !important;flex-wrap:wrap !important;gap:0 !important;background:transparent !important;border-top:1px solid var(--ld-line) !important;border-bottom:1px solid var(--ld-line) !important}
.ld-menu a{background:transparent !important;color:var(--ld-walnut) !important;flex:1 1 auto !important;min-width:0 !important;padding:12px 8px !important;border-right:1px solid var(--ld-line) !important;font-weight:600 !important;letter-spacing:.04em !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important}
.ld-menu a:last-child{border-right:0 !important}

/* 编辑式 hero（紧凑大标题 + 引言）—— F-F 签名，压低首屏占用 */
.ld-edhero{max-width:1120px;margin:0 auto;padding:16px 16px 10px;text-align:left;border-bottom:1px solid var(--ld-line)}
.ld-edhero .kicker{display:inline-block;font-size:11px;letter-spacing:.32em;color:var(--ld-olive);font-weight:700;margin-bottom:6px}
.ld-edhero h1{margin:0 0 6px;font-size:21px;line-height:1.3;font-weight:800;letter-spacing:.03em;color:var(--ld-walnut);font-family:Georgia,"Songti SC","SimSun",serif}
.ld-edhero p{margin:0;max-width:660px;font-size:12.5px;line-height:1.7;color:var(--ld-mute)}

/* 热销 TOP8 → 3 列 2:1 不等宽网格（F-F 主推大卡占 2/3 + 次列小卡）—— 首屏密铺 */
.ld-top .ld-rows{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:12px !important;background:transparent !important}
.ld-top .ld-rows > a:first-child{grid-column:1 / 3 !important;display:block !important;border:1px solid var(--ld-line) !important;border-radius:14px !important;overflow:hidden !important;background:var(--ld-card) !important;padding:0 !important}
.ld-top .ld-rows > a:first-child img{width:100% !important;height:150px !important;aspect-ratio:auto !important;object-fit:cover !important}
.ld-top .ld-rows > a:first-child .t{display:block !important;font-size:14px !important;font-weight:700 !important;color:var(--ld-ink) !important;padding:10px 12px 2px !important}
.ld-top .ld-rows > a:first-child .pr{display:block !important;padding:0 12px 12px !important;font-size:15px !important;color:var(--ld-terra) !important}
.ld-top .ld-rows > a:not(:first-child){border:1px solid var(--ld-line) !important;border-radius:12px !important;overflow:hidden !important;background:var(--ld-card) !important;padding:0 !important}
.ld-top .ld-rows > a:not(:first-child) img{width:100% !important;height:130px !important;aspect-ratio:auto !important;object-fit:cover !important}
.ld-top .ld-rows > a:not(:first-child) .t{display:block !important;font-size:12px !important;color:var(--ld-ink) !important;padding:7px 9px 2px !important;line-height:1.4 !important}
.ld-top .ld-rows > a:not(:first-child) .pr{display:block !important;padding:0 9px 9px !important;font-size:13px !important;color:var(--ld-terra) !important}

/* 分类楼层卡片：统一编辑式卡片观感（图上文下，方图 cover） */
.ld-sec:not(.ld-top) .ld-rows > a img{object-fit:cover !important;aspect-ratio:auto !important;height:200px !important}
.ld-sec:not(.ld-top) .ld-rows > a .pr{color:var(--ld-terra) !important}

/* 移动端：单列堆叠，主推卡占满宽，分段导航折行 */
@media (max-width:767px){
  .ld-edhero{padding:14px 14px 10px}
  .ld-edhero h1{font-size:19px}
  .ld-top .ld-rows{grid-template-columns:1fr !important}
  .ld-top .ld-rows > a:first-child{grid-column:1 / -1 !important}
  .ld-top .ld-rows > a:first-child img{height:170px !important}
  .ld-menu a{flex:1 1 33.33% !important;border-bottom:1px solid var(--ld-line) !important}
}
