/* ============================================================
   Lingomere 统一品牌 logo 标准尺寸（2026-11-21）
   页首 logo 56px，页脚 logo 48px；移动端(<=768px) 44px / 40px。
   选择器用 [alt] + :not() 提升优先级，以压过各站 skin 中带有
   !important 的 logo 高度规则（部分站把 .brand-logo 当作容器类，
   导致内联高度被覆盖、logo 按原始 2660x886 渲染）。
   ============================================================ */
html body header img[src*="logo-"][alt]:not(.logo-standard--ignore) {
  height: 56px !important;
  max-height: none !important;
  width: auto !important;
  object-fit: contain !important;
}
html body footer img[src*="logo-"][alt]:not(.logo-standard--ignore) {
  height: 48px !important;
  max-height: none !important;
  width: auto !important;
  object-fit: contain !important;
}
@media (max-width: 768px) {
  html body header img[src*="logo-"][alt]:not(.logo-standard--ignore) {
    height: 44px !important;
  }
  html body footer img[src*="logo-"][alt]:not(.logo-standard--ignore) {
    height: 40px !important;
  }
}

/* ============================================================
   站点级对比度修正（2026-11-24）
   本文件是 S23 全站唯一由 581 个页面共同外链的样式表（无 assets/site.css）。
   UI-FIX-C 将页脚链接设为 #3a4a44，压在 --ink(#1c2321) 深底上仅约 1.71:1，
   低于 COL-001 的 4.5:1；此处恢复设计稿字色 #cfc8bb（约 6.4:1）。
   仅改颜色，不改布局与尺寸，故对既有页面只提升可读性。
   ============================================================ */
html body footer a,
html body .site-foot a {
  color: #cfc8bb;
}
html body footer a:hover,
html body .site-foot a:hover {
  color: #c99a3f;
}

/* ============================================================
   站点级对比度修正 2（2026-11-24）
   各页 <style data-contrast-fix> 中的 `section.screen p{...!important}`
   与 `section.screen h1,h2{...!important}` 会误伤深底组件：.panel-dark 与
   .band 都是 --ink(#1c2321) 底，段落被压成 #10203a，对比仅约 1.02:1
   （COL-001 要求 ≥4.5:1），标题/卡片文字同理。此处用更高优先级恢复设计稿
   浅色字色：正文 #fffdf8（约 15.7:1）、次要说明 #d9d2c6、标题 #fffdf8。
   仅改颜色，不改布局与尺寸；.panel-dark 在 582 个页面、.band 在 262 个页面出现，
   故按 SOP「模板级问题做站点级修复」处理，不做单页私有覆写。
   ============================================================ */
html body section.screen .panel-dark p:not(.t):not(.d),
html body section.screen .band p:not(.t):not(.d) {
  color: #fffdf8 !important;
}
html body section.screen .panel-dark .lead,
html body section.screen .band .lead,
html body section.screen .panel-dark .caption,
html body section.screen .band .caption {
  color: #d9d2c6 !important;
}
html body section.screen .panel-dark .plabel,
html body section.screen .panel-dark h3,
html body section.screen .band h2,
html body section.screen .band h3 {
  color: #fffdf8 !important;
}

