/* 佳才e校 PC：课程图统一 1:1 铺满裁边（高优先级 + 覆盖懒加载） */

html body .list .item,
html body .bixiuCon .list .itema,
html body .listCon .list .item {
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  position: relative !important;
}

/* 1:1 容器 */
html body .list .item .imgBox,
html body .bixiuCon .list .itema .imgBox,
html body .listCon .list .item .imgBox,
html body .topCon div.leftImg,
html body .Conone .topCon div.leftImg {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #f0f0f0 !important;
  border-radius: 4px !important;
  flex-shrink: 0 !important;
}

html body .topCon div.leftImg,
html body .Conone .topCon div.leftImg {
  width: min(420px, 100%) !important;
  margin-right: 39px !important;
}

/* 容器内图片：绝对铺满 + cover */
html body .list .item .imgBox .img,
html body .bixiuCon .list .itema .imgBox .img,
html body .listCon .list .item .imgBox .img,
html body .listCon .list .item .imgBox img,
html body .topCon div.leftImg > img,
html body .Conone .topCon div.leftImg > img {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  transform: none !important;
  -webkit-transform: none !important;
  object-fit: cover !important;
  -o-object-fit: cover !important;
  object-position: center center !important;
  -o-object-position: center center !important;
  display: block !important;
}

/* 无包裹层：图片自身 1:1 */
html body .list .item > .img,
html body .bixiuCon .list .itema > .img,
html body .listCon .list .item > .img,
html body .topCon > img.leftImg,
html body .Conone .topCon > img.leftImg,
html body img.leftImg {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  -o-object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  background: #f0f0f0 !important;
  border-radius: 4px !important;
  transform: none !important;
  flex-shrink: 0 !important;
}

html body .topCon > img.leftImg,
html body .Conone .topCon > img.leftImg,
html body img.leftImg {
  width: min(420px, 100%) !important;
  margin-right: 39px !important;
}

/* listCon 下原先 absolute 的 .img（父级可能是 item 而非 imgBox） */
html body .listCon .list .item > .img {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  transform: none !important;
}

html body .list .item .title,
html body .bixiuCon .list .itema .title,
html body .listCon .list .item .title {
  height: auto !important;
  min-height: 44px !important;
  max-height: 3em !important;
  line-height: 1.5 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  word-break: break-word !important;
  margin-top: 8px !important;
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 800px) {
  html body .topCon div.leftImg,
  html body .Conone .topCon div.leftImg,
  html body .topCon > img.leftImg,
  html body .Conone .topCon > img.leftImg,
  html body img.leftImg {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }
}
