/* 企美创意 · 品牌样式覆盖（由 clone/brand.mjs 生成） */
/* logo2.png 原图 4274×1291，必须显式约束高度，否则会撑爆头部 */
#mk-header img.mk-dark-logo,
#mk-header img.mk-light-logo,
#mk-header img.mk-mobile-logo,
#mk-header img.mk-sticky-logo {
  height: 46px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}
@media handheld, only screen and (max-width: 768px) {
  #mk-header img.mk-dark-logo,
  #mk-header img.mk-light-logo,
  #mk-header img.mk-mobile-logo { height: 38px; max-width: 190px; }
}
/* 深色头部上的反白版：原图是深灰+红，直接放会看不清，这里做白色剪影 */
.transparent-header.light-header-skin #mk-header .mk-light-logo,
#mk-header .mk-light-logo {
  filter: brightness(0) invert(1);
}

/* ── 导航悬停：主题对「透明头部 + 浅色皮肤」用 #fff !important 锁白，
      这里用同选择器 + 更靠后的加载顺序覆盖为品牌红 ── */
.transparent-header.light-header-skin #mk-main-navigation > ul > li.menu-item > a:hover,
.transparent-header.light-header-skin #mk-main-navigation > ul > li.menu-item:hover > a,
.transparent-header.light-header-skin #mk-main-navigation > ul > li.menu-item > a:hover > i {
  color: #dc061c !important;
}
/* 滚动后实底头部的悬停 */
#mk-main-navigation > ul > li.menu-item > a:hover,
#mk-main-navigation > ul > li.menu-item:hover > a {
  color: #dc061c !important;
}
/* 移动端折叠菜单 */
#mk-responsive-nav .menu-item > a:hover,
.mk-responsive-nav .menu-item > a:hover,
.responsive-nav-link:hover {
  color: #dc061c !important;
}

/* banner 大字：主题原本用 Playfair Display，统一为 MiSans */
.mk-edge-title { font-family: MiSans, sans-serif !important; }

/* ── 品牌红的应用位置（参考站原本只有零星金色点缀，这里让 #dc061c 真正立起来） ── */

/* 实心按钮 */
.mk-button.fill-button,
.mk-button.flat-button {
  background-color: #dc061c !important;
  border-color: #dc061c !important;
  color: #ffffff !important;
}
.mk-button.fill-button:hover,
.mk-button.flat-button:hover {
  background-color: #b30518 !important;
  border-color: #b30518 !important;
}

/* 描边按钮：悬停时填充品牌红 */
.mk-button.outline-button:hover {
  background-color: #dc061c !important;
  border-color: #dc061c !important;
  color: #ffffff !important;
}
.mk-button.outline-button:hover span {
  color: #ffffff !important;
}

/* 正文与页脚链接 */
.mk-text-block a,
.textwidget a,
.wpb_wrapper p a,
#mk-footer .widgettitle a,
.mk-footer-copyright a {
  color: #dc061c;
}
.mk-text-block a:hover,
.textwidget a:hover,
.wpb_wrapper p a:hover {
  color: #b30518;
}

/* 选中文字 */
::selection {
  background: #dc061c;
  color: #ffffff;
}
::-moz-selection {
  background: #dc061c;
  color: #ffffff;
}

/* 页脚小标题下方加品牌红短线 */
#mk-footer .widgettitle {
  position: relative;
  padding-bottom: 12px;
}
#mk-footer .widgettitle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: #dc061c;
}
