/* 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: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, auto);
    position: relative;
    width: 100%;
    height: auto;
    min-height: calc(240 / 1080 * 100vw);
    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, minmax(0, 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, minmax(0, 1fr));
    width: 100%;
  }

  body.page-h5.page-cjgl-detail .cjgl-tab {
    height: auto;
    min-height: 52px;
    font-size: 11px;
    padding: 6px 2px 4px;
    overflow: visible;
  }

  body.page-h5.page-cjgl-detail .cjgl-tab-inner {
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
  }

  body.page-h5.page-cjgl-detail .cjgl-tab-inner span {
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
  }

  body.page-h5.page-kfzs-detail .cjgl-tab,
  body.page-h5.page-sfzs-detail .cjgl-tab {
    min-height: 56px;
    padding: 6px 4px 4px;
    font-size: 12px;
  }

  body.page-h5.page-kfzs-detail .cjgl-tab-inner span,
  body.page-h5.page-sfzs-detail .cjgl-tab-inner span {
    white-space: normal;
    word-break: keep-all;
    line-height: 1.25;
  }

  body.page-h5.page-cjgl-detail .cjgl-tab-icon {
    width: 16px;
    height: 16px;
  }

  body.page-h5.page-cjgl-detail .cjgl-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 20px auto 0;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
  }

  body.page-h5.page-cjgl-detail .cjgl-preview-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
  }

  body.page-h5.page-cjgl-detail .cjgl-preview-desc {
    width: auto;
    max-width: none;
    margin-top: 16px;
    font-size: 13px;
    line-height: 22px;
    text-align: left;
    padding: 0 4px;
  }
}
