@charset "utf-8";
/* ==========================================================================
   中医健康大讲堂 · 移动端适配（320–750px）
   页面：中医健康大讲堂.html（就医指导专题下的视频列表页）
   只处理主体内容，头部与底部不做任何改动
   ========================================================================== */

@media screen and (min-width: 320px) and (max-width: 750px) {

    /* ---------- 公共 ---------- */
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    body {
        background: #f4f6f9 !important;
        -webkit-text-size-adjust: 100%;
    }

    /* 外壳原为 min-width:1180px，收成流式 */
    .zm-g-doc {
        min-width: 0 !important;
        width: 100% !important;
        background: #f4f6f9 !important;
        padding-bottom: 8px !important;
    }

    /* 面包屑 / 位置栏 */
    .g-twzl {
        width: 100% !important;
        height: auto !important;
        line-height: 1.75 !important;
        padding: 12px 14px !important;
        font-size: 12px;
        color: #8b929b;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .g-twzl a,
    .g-twzl .CurrChnlCls {
        color: #8b929b !important;
        font-size: 12px;
        text-decoration: none;
    }

    /* ---------- 列表区外壳 ---------- */
    .m-gzm-wk {
        width: 100% !important;
        background: transparent !important;
        margin: 0 !important;
        padding: 2px 12px 0 !important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .m-gmzzmmy {
        width: 100% !important;
        margin: 0 !important;
    }

    .m-gmzzmysblb {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
    }

    .m-gmzzmysblb ul {
        width: 100% !important;
    }

    /* ---------- 视频条目：一张一条白卡 ---------- */
    .m-gmzzmysblb li {
        /* 封面宽度随视口在一个区间内浮动，避免大屏下图片过小、两侧空荡 */
        --tp-w: clamp(116px, 31vw, 190px);
        width: 100% !important;
        height: auto !important;
        margin: 0 0 10px !important;
        padding: 12px !important;
        background: #fff;
        border-radius: 10px;
        -webkit-box-shadow: 0 1px 3px rgba(23, 54, 92, .07);
        box-shadow: 0 1px 3px rgba(23, 54, 92, .07);
        overflow: hidden;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .m-gmzzmysblb li:last-of-type {
        margin-bottom: 0 !important;
    }

    /* 封面：原图 248×186（4:3），按 4:3 显示，不压扁 */
    .m-gmzzmysblb li .tp {
        float: left !important;
        width: var(--tp-w) !important;
        height: calc(var(--tp-w) * 0.75) !important;
        border-radius: 6px;
        overflow: hidden;
        background: #eef1f5;
    }

    .m-gmzzmysblb li .tp img {
        display: block;
        width: 100% !important;
        height: 100% !important;
        -o-object-fit: cover;
        object-fit: cover;
    }

    /* 右侧文字列 */
    .m-gmzzmysblb li .rnr {
        float: none !important;
        width: auto !important;
        height: auto !important;
        margin-left: calc(var(--tp-w) + 12px);
    }

    .m-gmzzmysblb li .b1 {
        width: auto !important;
        height: auto !important;
    }

    .m-gmzzmysblb li .b1 a {
        float: none !important;
        display: -webkit-box !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
        color: #1a1a1a !important;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    /* 姓名 / 职务 */
    .m-gmzzmysblb li .b2 {
        width: auto !important;
        height: auto !important;
        margin-top: 5px;
        font-size: 12.5px;
        line-height: 1.75;
        color: #8b929b !important;
    }

    /* 播放按钮 */
    .m-gmzzmysblb li .b3 {
        display: inline-block !important;
        width: auto !important;
        height: 26px !important;
        line-height: 26px !important;
        margin-top: 8px;
        padding: 0 18px;
        font-size: 12.5px;
        border-radius: 13px;
        background: #e14a43 !important;
        color: #fff !important;
        text-align: center;
    }

    .m-gmzzmysblb li .b3:active {
        background: #c93b35 !important;
    }

    /* 分页不做移动端重排，只做两处保底：
       1）按钮文字不拆行；2）本页把脚本输出与静态副本各渲染了一遍，
          藏掉重复的第二组，否则翻页条会横向溢出 */
    .paginator a {
        font-size: 13px !important;
        padding: 4px 7px !important;
        white-space: nowrap;
    }

    .paginator a:nth-of-type(n+7) {
        display: none !important;
    }

}
