/* cjgl-detail — 全部限定 body.page-h5.page-cjgl-detail，不影响 PC */
@media (max-width: 992px) {
  /* 整页滚动，不再锁 --h5-main-h 视口高度 */
  body.page-h5.page-cjgl-detail .cjgl-main.page-main {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  /* Banner：高度随标题+说明撑开，背景图铺满 */
  body.page-h5.page-cjgl-detail .cp-banner {
    flex-shrink: 0;
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  body.page-h5.page-cjgl-detail .cp-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    z-index: 0;
  }

  body.page-h5.page-cjgl-detail .cp-banner-inner {
    position: relative;
    z-index: 1;
    height: auto;
    min-height: 0;
    padding: 24px 15px 20px;
    box-sizing: border-box;
  }

  body.page-h5.page-cjgl-detail .cp-banner-desc {
    margin-top: 12px;
    overflow: visible;
  }

  body.page-h5.page-cjgl-detail .cjgl-body {
    flex: none;
    min-height: 0;
    overflow: visible;
    padding: 16px 12px;
  }

  body.page-h5.page-cjgl-detail .cjgl-tabs {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 10px;
  }

  body.page-h5.page-cjgl-detail .cjgl-tabs--2,
  body.page-h5.page-cjgl-detail .cjgl-tabs--4 {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  body.page-h5.page-cjgl-detail .cjgl-tab {
    height: 40px;
    font-size: 13px;
    padding: 0 4px 4px;
  }

  body.page-h5.page-cjgl-detail .cjgl-tab-icon {
    width: 18px;
    height: 18px;
  }

  body.page-h5.page-cjgl-detail .cjgl-preview {
    margin-top: 20px;
  }

  body.page-h5.page-cjgl-detail .cjgl-preview-img {
    width: 88%;
    max-width: none;
    aspect-ratio: 868 / 489;
    height: auto;
    transform: none;
  }

  body.page-h5.page-cjgl-detail .cjgl-preview-desc {
    margin-top: 16px;
    font-size: 13px;
    line-height: 22px;
    text-align: left;
    padding: 0 4px;
  }
}
