/* vip3mb00321 仿清华大学官网 - 移动端样式 */
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{font-family:"PingFang SC","Microsoft YaHei",sans-serif;color:#333;background:#f6f6f6;font-size:14px;line-height:1.7}
a{color:#333;text-decoration:none}
ul,li{list-style:none}
img{max-width:100%;vertical-align:middle}

/* 头部 */
.m-header{display:flex;align-items:center;padding:0 12px;height:48px;background:#660874;color:#fff;position:sticky;top:0;z-index:50;box-shadow:0 2px 4px rgba(0,0,0,.2)}
.m-menu-btn{background:none;border:0;color:#fff;font-size:22px;line-height:1;width:36px}
.m-logo{flex:1;display:flex;align-items:center;font-size:15px;font-weight:500;letter-spacing:2px}
.m-logo img{height:28px;margin-right:8px}
.m-search-btn{color:#fff;font-size:18px;width:36px;text-align:right}

/* 搜索 */
.m-search-bar{display:none;padding:10px 12px;background:#4b0664}
.m-search-bar.on{display:block}
.m-search-bar form{display:flex}
.m-search-bar input{flex:1;border:0;padding:8px 10px;font-size:14px;border-radius:2px 0 0 2px;outline:none}
.m-search-bar button{border:0;background:#dbaa00;color:#fff;padding:0 16px;font-size:14px;border-radius:0 2px 2px 0}

/* 抽屉 */
.m-drawer-mask{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,.5);z-index:99;display:none}
.m-drawer-mask.on{display:block}
.m-drawer{position:fixed;left:0;top:0;bottom:0;width:70%;max-width:300px;background:#fff;z-index:100;transform:translateX(-100%);transition:all .3s;overflow-y:auto}
.m-drawer.on{transform:translateX(0)}
.d-head{padding:18px 16px;background:#660874;color:#fff;font-size:16px;letter-spacing:2px;border-bottom:3px solid #dbaa00}
.d-menu li{border-bottom:1px solid #f2eaf5}
.d-menu li a{display:block;padding:13px 16px;font-size:14px;color:#333}
.d-menu li.on a,.d-menu li:active a{color:#660874;background:#faf3ff}

/* 轮播 */
.m-banner{background:#f3eaf7}
.m-banner .swiper-container{height:200px}
.m-banner .swiper-slide img{width:100%;height:200px;object-fit:cover;display:block}
.m-banner .swiper-pagination{bottom:8px}
.m-banner .swiper-pagination-bullet{background:#fff;opacity:.6}
.m-banner .swiper-pagination-bullet-active{background:#dbaa00;opacity:1}

/* 区块 */
.m-section{padding:16px 12px;background:#fff;margin-bottom:10px}
.m-sec-head{display:flex;align-items:center;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid #eadaef;margin-bottom:12px}
.m-sec-head h2{font-size:16px;color:#660874;padding-left:10px;position:relative}
.m-sec-head h2:before{content:"";position:absolute;left:0;top:3px;width:3px;height:16px;background:#dbaa00}
.m-sec-head .more{font-size:12px;color:#888}

/* 头条 */
.m-headline{display:block;padding-bottom:12px;border-bottom:1px dashed #eadaef;margin-bottom:10px}
.m-headline .pic{height:170px;overflow:hidden;border-radius:2px}
.m-headline .pic img{width:100%;height:100%;object-fit:cover}
.m-headline h3{font-size:15px;color:#222;margin-top:10px;line-height:1.5}
.m-headline .date{display:block;color:#dbaa00;font-size:12px;margin-top:4px;font-family:"Times New Roman",serif}

.m-news li{display:flex;align-items:center;padding:10px 0;border-bottom:1px dashed #f0e4f5}
.m-news li:last-child{border-bottom:0}
.m-news .date{width:50px;text-align:center;padding-right:10px;border-right:2px solid #660874;color:#660874;flex-shrink:0}
.m-news .date .d{display:block;font-size:18px;font-weight:700;line-height:1}
.m-news .date .m{display:block;font-size:10px;color:#a67eb3;margin-top:2px;font-family:"Times New Roman",serif}
.m-news h4{flex:1;padding-left:12px;font-size:13px;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* 两栏资讯 */
.m-2col{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.m-2col .col{background:#faf3ff;border:1px solid #eadaef;padding:10px}
.m-2col .col h3{font-size:14px;color:#660874;padding-bottom:6px;border-bottom:1px solid #eadaef;margin-bottom:6px}
.m-2col .col li{font-size:12px;padding:4px 0 4px 10px;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.m-2col .col li:before{content:"";position:absolute;left:0;top:12px;width:3px;height:3px;background:#dbaa00;border-radius:50%}

/* 专题 */
.m-topics{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.m-topics .card{position:relative;display:block;height:110px;overflow:hidden;border-radius:2px}
.m-topics .card img{width:100%;height:100%;object-fit:cover}
.m-topics .card .mask{position:absolute;left:0;right:0;bottom:0;padding:8px 10px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(76,8,94,.85));color:#fff}
.m-topics .card .mask h3{font-size:13px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* 快速入口 */
.m-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px 12px;background:#fff}
.m-quick a{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 0;background:linear-gradient(135deg,#660874,#81219b);color:#fff;font-size:12px;letter-spacing:1px;border-radius:2px}
.m-quick a .ico{width:32px;height:32px;line-height:32px;text-align:center;border:1px solid rgba(255,255,255,.5);border-radius:50%;margin-bottom:6px;font-size:14px}

/* 页面横幅 */
.m-page-banner{background:linear-gradient(135deg,#4b0664,#660874,#81219b);color:#fff;padding:36px 16px;text-align:center;border-bottom:3px solid #dbaa00}
.m-page-banner h2{font-size:20px;letter-spacing:3px}
.m-page-banner .en{font-size:11px;color:#dbaa00;margin-top:4px;letter-spacing:2px;font-family:"Times New Roman",serif}

/* 面包屑 */
.m-crumb{padding:8px 12px;background:#f7f2f9;font-size:12px;color:#888;border-bottom:1px solid #eadaef}

/* 列表页 */
.m-list{background:#fff;padding:0 12px}
.m-list li{display:flex;padding:12px 0;border-bottom:1px dashed #eadaef}
.m-list li:last-child{border-bottom:0}
.m-list .date{width:50px;flex-shrink:0;text-align:center;padding:8px 0;background:#faf3ff;color:#660874;border-radius:2px;height:50px}
.m-list .date .d{display:block;font-size:18px;font-weight:700;line-height:1}
.m-list .date .m{display:block;font-size:10px;color:#a67eb3;margin-top:2px;font-family:"Times New Roman",serif}
.m-list .txt{flex:1;padding-left:12px;min-width:0}
.m-list .txt h3{font-size:14px;color:#222;margin-bottom:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.m-list .txt p{color:#888;font-size:12px;line-height:1.6;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

/* 分页 */
.m-pages{padding:14px 0;text-align:center;background:#fff}
.m-pages ul{font-size:0}
.m-pages li{display:inline-block;margin:0 2px;font-size:12px}
.m-pages li a,.m-pages li span{display:inline-block;padding:4px 10px;border:1px solid #e0d0e8;color:#660874}
.m-pages li.thisclass span,.m-pages li a:hover{background:#660874;color:#fff;border-color:#660874}

/* 内容页 */
.m-arc{background:#fff;padding:14px 12px;margin-bottom:10px}
.m-arc .title{font-size:18px;color:#222;line-height:1.5;padding:6px 0 12px;border-bottom:1px dashed #eadaef}
.m-arc .meta{padding:10px 0;color:#888;font-size:12px;border-bottom:1px solid #f0e4f5}
.m-arc .meta span{margin-right:12px}
.m-arc .body{padding:14px 0;font-size:14px;line-height:1.9;color:#333}
.m-arc .body p{margin-bottom:10px}
.m-arc .body img{max-width:100%;height:auto;display:block;margin:10px auto}
.m-arc .tags{margin-top:12px;padding-top:10px;border-top:1px dashed #eadaef;font-size:12px}
.m-arc .tags strong{color:#660874;margin-right:6px}
.m-arc .tags a{display:inline-block;padding:2px 8px;background:#faf3ff;color:#660874;margin:2px 4px 2px 0;border:1px solid #e8d7ef;font-size:11px;border-radius:2px}
.m-arc .prev-next{margin-top:14px;padding-top:10px;border-top:1px dashed #eadaef;font-size:12px}
.m-arc .prev-next div{padding:4px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* 友情链接 */
.m-flinks{background:#4b0664;color:#d8c6e0;padding:12px;font-size:12px;line-height:1.8}
.m-flinks .label{color:#dbaa00;margin-right:8px}
.m-flinks a{color:#d8c6e0;margin-right:12px;display:inline-block}

/* 页脚 */
.m-footer{background:#2e0440;color:#c4a5d0;padding:16px 12px 70px;text-align:center;font-size:12px;line-height:1.8}
.m-footer a{color:#c4a5d0}
.m-footer strong{color:#fff}
.m-footer .beian a{color:#a787b4}

/* 固定底栏 */
.m-fixbar{position:fixed;left:0;right:0;bottom:0;background:#fff;border-top:1px solid #eadaef;display:flex;z-index:30;box-shadow:0 -1px 6px rgba(0,0,0,.06)}
.m-fixbar a{flex:1;text-align:center;padding:8px 0;font-size:11px;color:#660874}
.m-fixbar a i{display:block;font-size:18px;font-style:normal;margin-bottom:2px}

/* ============ THU 移动端特色板块 ============ */
/* 清华人物 */
.m-people-star{display:block;position:relative;height:200px;overflow:hidden;margin-bottom:10px;border-radius:2px}
.m-people-star img{width:100%;height:100%;object-fit:cover}
.m-people-star .info{position:absolute;left:0;right:0;bottom:0;padding:10px 12px;color:#fff;background:linear-gradient(180deg,rgba(46,4,64,0),rgba(46,4,64,.9))}
.m-people-star .info .name{font-size:16px;font-weight:700;letter-spacing:2px}
.m-people-star .info .role{font-size:11px;color:#dbaa00;margin-top:2px;letter-spacing:1px}
.m-people-list li{display:flex;align-items:center;padding:10px 0;border-bottom:1px dashed #f0e4f5}
.m-people-list li:last-child{border-bottom:0}
.m-people-list .n{font-size:22px;font-weight:700;color:#dbaa00;font-family:"Times New Roman",serif;margin-right:12px;line-height:1;flex-shrink:0}
.m-people-list .txt{flex:1;min-width:0}
.m-people-list .txt h3{font-size:13px;color:#222;line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

/* 学术 + 媒体（移动端单列堆叠，复用 m-news） */
.m-twocol-block{margin-bottom:14px}
.m-twocol-block:last-child{margin-bottom:0}
.m-twocol-block .blk-head{display:flex;justify-content:space-between;align-items:center;padding:6px 0 10px;border-bottom:2px solid #660874;margin-bottom:8px}
.m-twocol-block .blk-head h3{font-size:14px;color:#660874;letter-spacing:1px}
.m-twocol-block .blk-head a{font-size:11px;color:#888}

/* 数字清华 */
.m-stats{padding:24px 12px;background:linear-gradient(135deg,#660874,#4D094F);color:#fff;margin-bottom:10px}
.m-stats .head{text-align:center;margin-bottom:16px}
.m-stats .head h2{font-size:18px;letter-spacing:3px}
.m-stats .head .en{font-size:11px;color:#dbaa00;margin-top:4px;letter-spacing:2px;font-family:"Times New Roman",serif}
.m-stats .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 6px}
.m-stats .stat{text-align:center;padding:6px 2px}
.m-stats .stat .n{font-size:24px;font-weight:700;color:#dbaa00;font-family:"Times New Roman",serif;line-height:1.1}
.m-stats .stat .u{font-size:11px;color:#dbaa00;margin-left:2px}
.m-stats .stat .label{font-size:11px;color:#e7d4ee;margin-top:2px}

/* 影音 + 视野 */
.m-pics .feature{position:relative;display:block;height:170px;overflow:hidden;margin-bottom:8px;border-radius:2px}
.m-pics .feature img{width:100%;height:100%;object-fit:cover}
.m-pics .feature .cap{position:absolute;left:0;right:0;bottom:0;padding:8px 10px;color:#fff;font-size:13px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(46,4,64,.85));overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.m-pics .grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.m-pics .grid .item{position:relative;display:block;height:100px;overflow:hidden}
.m-pics .grid .item img{width:100%;height:100%;object-fit:cover}
.m-pics .grid .item .cap{position:absolute;left:0;right:0;bottom:0;padding:4px 8px;color:#fff;font-size:11px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(46,4,64,.85));overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* 院系 */
.m-colleges{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.m-colleges a{display:flex;align-items:center;justify-content:center;height:42px;background:#fff;border:1px solid #eadaef;color:#444;font-size:12px;text-align:center;line-height:1.2;padding:0 4px}
.m-colleges a:active{background:#660874;color:#fff;border-color:#660874}
