/* ============================================================
   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-21b 页脚 logo 宽度放行
   S05: site.css 里 img.footer-logo 带 max-width:120px
   S13: 页脚网格首列仅 131px，img 内联 max-width:100%
   两者都会把 48px 高的页脚 logo 夹到不足 144px 宽。
   桌面端统一放行到 144px（= 48px 高度下的标准宽度）。
   移动端(<=768px)不设此规则，沿用各站既有容器约束。
   ------------------------------------------------------------ */
@media (min-width: 769px) {
  html body footer img[src*="logo-"][alt]:not(.logo-standard--ignore) {
    max-width: 144px !important;
  }
}
