/* 2026-05-12 rollback: keep typography and non-logo image fixes only. */
.head .hd-left .hl-item,
.head .hd-left .hl-item .h-item,
.head .hd-left .hl-item .jy-text {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.head .hd-left .hl-item {
  min-height: 34px !important;
  gap: 5px !important;
}
.head .hd-left #h-tabs .h-item {
  height: 34px !important;
  min-width: 116px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.head .hd-left .el-icon-caret-bottom {
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 4px !important;
  border-left: 4px solid transparent !important;
  border-right: 4px solid transparent !important;
  border-top: 5px solid currentColor !important;
  font-size: 0 !important;
  line-height: 0 !important;
  vertical-align: middle !important;
}
.head .hd-left .el-icon-caret-bottom:before { content: "" !important; }

/* 2026-05-09: constrain home module image sizes to prevent oversized or broken layout. */
.home-ai .fade-in-bottom-small > img {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: contain !important;
  display: inline-block !important;
}
.home-ai .lazy-img,
.home-portfolio .lazy-img,
.home-trend2 .lazy-img {
  object-fit: contain !important;
}
.home-ai p .lazy-img,
.home-portfolio .logos .lazy-img {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  border-radius: 50% !important;
  background: #07131c !important;
}
.home-ai .line {
  width: 100% !important;
  height: 76px !important;
  object-fit: cover !important;
}
.home-trend2 .top > .lazy-img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 50% !important;
}
.home-trend2 .dfd .lazy-img {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  object-fit: contain !important;
}
.home-trend2 .new-img {
  width: 100% !important;
  height: 128px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
}

/* 2026-05-09: robust PC top dropdown arrow fallback when Element icon font is unavailable. */
.head .hd-left i[class*="el-icon-caret-bottom"] {
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  margin-left: 4px !important;
  border-left: 4px solid transparent !important;
  border-right: 4px solid transparent !important;
  border-top: 5px solid currentColor !important;
  font-size: 0 !important;
  line-height: 0 !important;
  vertical-align: middle !important;
  overflow: hidden !important;
}
.head .hd-left i[class*="el-icon-caret-bottom"]::before {
  content: "" !important;
  display: none !important;
}

/* 2026-05-12: CBSystem domain logo sizing, only for real site logo image. */
.head .hd-left .hl-item .logo {
  width: 34px !important;
  height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  object-fit: contain !important;
  display: block !important;
}
@media screen and (max-width: 800px) {
  .head .logo,
  .sr-box .logo,
  .logo-box .logo {
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    object-fit: contain !important;
  }
}
