/* ============================================================
   丽人梦想秀® · 桌面端顶级排版布局升级 (Desktop Premium Layout v1)
   最后加载，优先级最高 —— 修正内容窄列、区块节奏、排版层级
   ============================================================ */

/* ── 1. 内容宽度：填满侧边栏右侧可用空间，消除右侧死白 ──
   原 responsive-final.css 用 margin-right:260/280/300px 做「居中补偿」，
   导致 1280px 屏上内容仅 760px，右侧浪费约 260px。
   此处去掉右侧 margin，让内容按「侧边栏宽度」左侧偏移、右侧铺满。 */
@media (min-width: 768px) and (max-width: 1199px) {
  .main-content { margin-right: 0 !important; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .main-content { margin-right: 0 !important; }
}
@media (min-width: 1600px) and (max-width: 1919px) {
  .main-content { margin-right: 0 !important; }
}
@media (min-width: 1920px) {
  .main-content { margin-right: 0 !important; }
}

/* ── 2. 区块垂直节奏：28px → 56px，让大区块之间呼吸 ── */
.main-content > div[style*="margin-bottom:28px"] {
  margin-bottom: 56px !important;
}

/* 四司飞轮区块（无内联 margin）也纳入统一节奏 */
#strategic-flywheel {
  margin-bottom: 56px !important;
}

/* 首屏 hero 到下一区块的间距再略大一点，营造开篇气势 */
.main-content > .hero-panel {
  margin-bottom: 64px !important;
}

/* ── 3. 排版层级：首屏品牌大标题字距更显高级 ──
   原规则 #page-content .hero-panel h1 用 id 选择器把字距钉死在 0.03em，
   导致 violet/oriental/cream 主题的 0.1em 字距全部失效（id 优先级高于 class）。
   这里统一抬到 0.06em，中文品牌标题更舒展、更有气质。 */
#page-content .hero-panel h1 {
  letter-spacing: 0.06em !important;
}

/* 区块主标题：统一稍增字距，中文标题更舒展 */
.main-content h2[style*="font-size:34px"],
.main-content h2[style*="font-size:34"] {
  letter-spacing: 0.06em !important;
}

/* 表单卡片内标题（登录/注册）保持紧凑，不与区块标题争层级 */
.main-content > div[style*="max-width:440px"] h2,
.main-content > div[style*="max-width:480px"] h2 {
  letter-spacing: 0.03em !important;
}

/* ── 4. 内容区左右 padding 微调：桌面端更舒展 ── */
@media (min-width: 1200px) and (max-width: 1599px) {
  .main-content { padding-left: 44px !important; padding-right: 44px !important; }
}
@media (min-width: 1600px) {
  .main-content { padding-left: 56px !important; padding-right: 56px !important; }
}
