/* 一秒互联公司 www.yimiaonet.com：导航只保留已有伪元素单线，避免与文字下划线重复。 */
html body.ym-refresh .nav .nav-item > a,
html body.ym-refresh[data-ym-motion-r8] .nav .nav-item > a[data-ym-r8-control]:is(:hover, :focus-visible) {
  text-decoration-line: none !important;
}

/* 一秒互联公司 www.yimiaonet.com：彩色位图独立于旧SVG图标样式，固定尺寸避免菜单加载跳动。 */
body.ym-refresh .nav .dropdown-menu#megaMenu .ym-service-nav-icon {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin: 0 8px 0 0;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* 一秒互联公司 www.yimiaonet.com：业务主图包含文字，保持完整比例并禁止悬停放大裁切。 */
body.ym-refresh.services-page .ym-services-v2-card__media {
  aspect-ratio: 50 / 27;
  height: auto;
  background: #f5f8fc;
}
html body.ym-refresh.services-page .ym-services-v2-card__media > img,
html body.ym-refresh.services-page[data-ym-motion-r8] .ym-services-v2-card[data-ym-r8-card]:is(:hover, :focus-within) .ym-services-v2-card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  scale: none !important;
  translate: none !important;
}
body.ym-refresh.services-page .ym-services-v2-card__media > span {
  display: none;
}
/* 一秒互联公司 www.yimiaonet.com：商品式主图已有完整排版，不再叠加旧照片的暗色遮罩。 */
body.ym-refresh.services-page .ym-services-v2-card__media::after {
  display: none;
}
