/* 领导之窗页面移动端响应式样式 */

@media screen and (max-width: 767px) {
    .p-content {
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .p-content .row {
        width: 100%;
        margin-bottom: 20px;
    }

    /* m-lleaderleft 移动端布局 */
    .m-lleaderleft {
        width: 100% !important;
        height: auto !important;
        float: none !important;
        margin-bottom: 20px;
    }

    .m-lleaderleft .m-tabhead {
        display: flex;
        justify-content: center;
        gap: 10px;
        /* margin-bottom: 15px; */
        margin-top: 10px;
        height: 40px;
    line-height: 40px;
    }

    .m-lleaderleft .m-tabhead a {
        flex: 1;
        max-width: 150px;
        text-align: center;
        /* padding: 10px 20px; */
        background: #e6e6e6;
        color: #333;
        border-radius: 5px;
        cursor: pointer;
    }

    .m-lleaderleft .m-tabhead a.on {
        background: #3880e9;
        color: #fff;
    }

    /* m-tabcontent 内容区 */
    .m-lleaderleft .m-tabcontent {
        width: 100%;
    }

    /* m-lleadername 从左浮动改为垂直布局 */
    .m-lleadername {
        width: 100% !important;
        float: none !important;
        text-align: center;
        margin-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .m-lleadername img {
        width: 120px !important;
        height: auto;
        margin: 0 auto 15px;
        padding: 4px;
        border: 1px solid #ddd;
    }

    .m-lleadername p {
        font-size: 18px;
        color: #f00;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    /* m-lleaderdesc 从右浮动改为全宽 */
    .m-lleaderdesc {
        width: 100% !important;
        float: none !important;
    }

    /* 领导分工和领导简介 */
    .m-lleaderfg,
    .m-lleaderjj {
        width: 100%;
        margin-bottom: 20px;
    }

    .u-lleaderti {
       width: 100%;
        height: 38px;
        line-height: 37px;
        border-bottom: 1px solid #ddd;
    }

    .u-lleaderti span {
        font-size: 16px;
        padding: 0 15px;
        border-bottom: 3px solid #066fc6;
        padding-bottom: 8px;
    }

    .m-lleaderfgbd,
    .m-lleaderjjbd {
        max-height: none !important;
        height: auto !important;
        padding: 10px;
        font-size: 14px;
        line-height: 1.8;
        overflow: visible !important;
    }

    /* m-lleaderright 移动端布局 - 排在下方 */
    .m-lleaderright {
        width: 100% !important;
        height: auto !important;
        float: none !important;
        margin-bottom: 20px;
    }

    .m-lleaderright .hdE1 {
        width: 100%;
        height: auto;
    }

    .m-lleaderright .hdE1s {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
    }

    .m-lleaderright .hdE1s a {
        width: auto;
        min-width: 150px;
        padding: 0 20px;
        font-size: 16px;
        margin: 0;
    }

    .m-lleaderright .m-liftgE1 {
        width: 100%;
    }

    .m-lleaderright .m-liftgE1 ul {
        padding: 10px 0;
    }

    .m-lleaderright .m-liftgE1 ul li {
        height: auto;
        line-height: 1.6;
        padding: 12px 0;
    }

    .m-lleaderright .m-liftgE1 ul li a {
        text-indent: 0;
        padding-left: 20px;
        font-size: 14px;
        position: relative;
    }

    .m-lleaderright .m-liftgE1 ul li a::before {
        content: '•';
        position: absolute;
        left: 8px;
        color: #066fc6;
    }

    /* 领导活动列表 */
    .ldhd {
        width: 100%;
    }

    .ldhd .tabs-title2 {
        width: 100%;
        /* padding: 10px 15px; */
        box-sizing: border-box;
    }

    .ldhd .tabs-title2 a {
        font-size: 16px;
    }

    .ldhd ul {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .ldhd ul li {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        /* padding: 12px 0; */
        border-bottom: 1px dashed #ddd;
        /* gap: 10px; */
    }

    .ldhd ul li a {
        flex: 1;
        font-size: 14px;
        line-height: 1.6;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ldhd ul li span {
        font-size: 12px;
        color: #999;
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* 超小屏幕优化 */
@media screen and (max-width: 480px) {
    .p-content {
        padding: 0 10px;
    }

    .m-lleadername img {
        width: 100px !important;
    }

    .m-lleadername p {
        font-size: 16px;
    }

    .u-lleaderti span {
        font-size: 15px;
        padding: 0 12px;
    }

    .m-lleaderfgbd,
    .m-lleaderjjbd {
        font-size: 13px;
        padding: 8px;
    }

    .m-lleaderright .hdE1s a {
        min-width: 120px;
        padding: 0 15px;
        font-size: 15px;
    }

    .m-lleaderright .m-liftgE1 ul li a {
        font-size: 13px;
    }

    .ldhd ul li a {
        font-size: 13px;
    }
}
