/* ===== vip3mb00350 仿华中科技大学 移动端 - HUST 红 #b80b16 ===== */
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
body{margin:0;font-family:"PingFang SC","Microsoft YaHei",Arial,sans-serif;color:#1d2229;background:#f4f4f3;font-size:14px;line-height:1.6;-webkit-font-smoothing:antialiased;padding-bottom:60px}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
img{max-width:100%;display:block;border:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ===== 顶部 ===== */
.hm-mast{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:linear-gradient(135deg,#e8161e 0%,#b80b16 100%);box-shadow:0 2px 8px rgba(0,0,0,.15);height:54px;color:#fff}
.hm-mast .lg{display:flex;align-items:center;gap:10px;color:#fff;flex:1;min-width:0}
.hm-mast .lg-mk{flex:0 0 34px;width:34px;height:34px;background:rgba(255,255,255,.15);border-radius:50%;display:flex;align-items:center;justify-content:center;padding:2px}
.hm-mast .lg-tx{display:flex;flex-direction:column;line-height:1.1;min-width:0;overflow:hidden}
.hm-mast .lg-tx strong{font-size:16px;font-weight:700;letter-spacing:1px;font-family:"FangSong","STKaiti",serif;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-mast .lg-tx em{font-style:normal;font-size:10px;color:rgba(255,255,255,.8);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-burger{flex:0 0 36px;width:36px;height:36px;border:0;background:rgba(255,255,255,.15);border-radius:50%;color:#fff;position:relative;cursor:pointer}
.hm-burger span,.hm-burger span::before,.hm-burger span::after{position:absolute;left:50%;top:50%;width:18px;height:2px;background:#fff;content:"";transform:translate(-50%,-50%)}
.hm-burger span::before{top:-7px}.hm-burger span::after{top:7px}

/* ===== 抽屉 ===== */
.hm-drawer{position:fixed;top:0;right:-78%;width:78%;height:100vh;background:#fff;z-index:200;transition:right .25s;box-shadow:-4px 0 14px rgba(0,0,0,.15);overflow-y:auto}
.hm-drawer.on{right:0}
.hm-drawer .dh{padding:14px 18px;background:#b80b16;color:#fff;font-size:15px;font-weight:600}
.hm-drawer ul li{border-bottom:1px solid #f0f0f0}
.hm-drawer ul li a{display:block;padding:14px 18px;color:#1d2229;font-size:14px}
.hm-drawer ul li a:active{background:#fff5f5;color:#b80b16}
.hm-mask{position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:150;display:none}
.hm-mask.on{display:block}

/* ===== Banner ===== */
.hm-banner{position:relative;height:240px;overflow:hidden;background:linear-gradient(135deg,#5a7a6a,#3a5a4a)}
.hm-banner .bn-it{position:absolute;inset:0;opacity:0;transition:opacity 1.2s;background-size:cover;background-position:center}
.hm-banner .bn-it.on{opacity:1}
.hm-banner .bn-it:nth-child(1){background:linear-gradient(135deg,#7a9a8a,#3a5a4a)}
.hm-banner .bn-it:nth-child(2){background:linear-gradient(135deg,#6a8a7a,#3a5a4a)}
.hm-banner .bn-it:nth-child(3){background:linear-gradient(135deg,#8a9a8a,#4a6a5a)}
.hm-banner .bn-it:nth-child(4){background:linear-gradient(135deg,#5a8a7a,#2a4a3a)}
.hm-banner .bn-it:nth-child(5){background:linear-gradient(135deg,#7a8a7a,#3a5a4a)}
.hm-banner::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(0,0,0,0) 0%,rgba(0,0,0,.4) 100%);pointer-events:none}
.hm-banner .bn-tx{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;color:#fff;z-index:2}
.hm-banner .bn-tx .bn-cn{display:block;font-size:36px;font-weight:700;letter-spacing:8px;font-family:"FangSong","STKaiti",serif;color:#e8b85a;text-shadow:0 2px 12px rgba(0,0,0,.6);line-height:1.2}
.hm-banner .bn-tx .bn-cn2{display:block;font-size:14px;letter-spacing:4px;color:#fff;margin-top:8px;font-family:"FangSong","STKaiti",serif}
.hm-banner .bn-tx .bn-en{display:block;font-size:10px;letter-spacing:2px;color:rgba(255,255,255,.8);margin-top:6px}
.hm-banner .bn-dots{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:6px;z-index:3}
.hm-banner .bn-dots span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5)}
.hm-banner .bn-dots span.on{width:18px;border-radius:3px;background:#fff}

/* ===== 区段标题 ===== */
.hm-sec{margin:14px 10px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.05);padding:14px}
.hm-sh{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;border-left:3px solid #b80b16;padding-left:10px}
.hm-sh .tt{font-size:16px;font-weight:600;color:#b80b16;letter-spacing:1px}
.hm-sh .more{font-size:12px;color:#999}
.hm-sh.light .tt{color:#fff}
.hm-sh.light .more{color:rgba(255,255,255,.7)}

/* ===== 学校要闻 ===== */
.hm-news .feat{position:relative;height:180px;background:linear-gradient(135deg,#888,#444);background-size:cover;background-position:center;border-radius:6px;overflow:hidden;display:block}
.hm-news .feat .ph-fb{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);font-size:12px;font-style:italic;background:rgba(0,0,0,.05)}
.hm-news .feat-cap{margin:10px 0 8px;font-size:15px;font-weight:600;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-news ul li{padding:8px 0;border-bottom:1px dashed #eee;font-size:13px;line-height:1.5}
.hm-news ul li:last-child{border-bottom:0}
.hm-news ul li a{display:block;color:#1d2229;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}

/* ===== 院系动态（蓝底） ===== */
.hm-news2{background:linear-gradient(135deg,#0d3a6f,#0a2c54);color:#fff}
.hm-news2 .hm-sh{border-left-color:#e8b85a}
.hm-list2 li{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px dashed rgba(255,255,255,.15);font-size:13px}
.hm-list2 li:last-child{border-bottom:0}
.hm-list2 li a{color:#fff;flex:1;padding-right:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm-list2 li .dt{color:rgba(255,255,255,.5);font-size:11px;font-style:italic;flex:0 0 auto}

/* ===== 学在华科（横滑卡片） ===== */
.hm-explore{margin:14px 0;background:#fff;padding:14px 0 14px 10px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.hm-explore .hm-sh{margin-right:10px}
.hm-explore .roll{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
.hm-explore .roll::-webkit-scrollbar{display:none}
.hm-explore .it{flex:0 0 160px;height:120px;background:linear-gradient(135deg,#b80b16,#7a0b13);background-size:cover;background-position:center;border-radius:6px;position:relative;display:block;color:#fff;padding:12px;text-decoration:none;overflow:hidden}
.hm-explore .it::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.5));pointer-events:none}
.hm-explore .it.has-pic{background-color:transparent}
.hm-explore .it span{position:absolute;left:12px;right:12px;bottom:10px;font-size:13px;line-height:1.4;color:#fff;z-index:2;text-shadow:0 1px 4px rgba(0,0,0,.4);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-explore .it:nth-child(1){background:linear-gradient(135deg,#e8161e,#7a0b13)}
.hm-explore .it:nth-child(2){background:linear-gradient(135deg,#0d3a6f,#0a2c54)}
.hm-explore .it:nth-child(3){background:linear-gradient(135deg,#a85f17,#7a3f08)}
.hm-explore .it:nth-child(4){background:linear-gradient(135deg,#1a8d6f,#0d5a47)}
.hm-explore .it:nth-child(5){background:linear-gradient(135deg,#3a3a3a,#1a1a1a)}
.hm-explore .it:nth-child(6){background:linear-gradient(135deg,#888,#444)}

/* ===== 通知公告 ===== */
.hm-notice .grid{display:grid;grid-template-columns:1fr;gap:10px}
.hm-notice .it{display:flex;gap:12px;padding:12px;background:#fff;border:1px solid #f0f0f0;border-radius:6px;color:#1d2229}
.hm-notice .it .cl-dt{flex:0 0 60px;text-align:center;border:1px solid #b80b16;color:#b80b16;padding:6px 0;border-radius:4px}
.hm-notice .it .cl-dt .d{display:block;font-size:20px;font-weight:700;line-height:1}
.hm-notice .it .cl-dt .ym{display:block;font-size:10px;margin-top:2px;font-style:italic}
.hm-notice .it .cl-bd{flex:1;min-width:0}
.hm-notice .it .cl-tt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.5;color:#1d2229}
.hm-notice .it .cl-meta{display:block;font-size:11px;color:#999;margin-top:6px}

/* ===== 华科故事 4 色块 ===== */
.hm-story{margin:14px 10px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.05);padding:14px}
.hm-story .grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hm-story .it{position:relative;height:140px;color:#fff;display:block;border-radius:6px;overflow:hidden;background-size:cover;background-position:center}
.hm-story .it::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.55))}
.hm-story .it:nth-child(1){background:linear-gradient(135deg,#e8161e,#7a0b13)}
.hm-story .it:nth-child(2){background:linear-gradient(135deg,#0d3a6f,#0a2c54)}
.hm-story .it:nth-child(3){background:linear-gradient(135deg,#a85f17,#7a3f08)}
.hm-story .it:nth-child(4){background:linear-gradient(135deg,#1a8d6f,#0d5a47)}
.hm-story .it .lb{position:absolute;left:12px;right:12px;bottom:10px;font-size:14px;font-weight:600;letter-spacing:1px;color:#fff;z-index:2;text-shadow:0 1px 4px rgba(0,0,0,.4);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ===== 内页 ===== */
.hm-inner{padding:14px 14px 24px;background:#fff;margin:14px 10px;border-radius:8px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.hm-crumb{font-size:12px;color:#888;margin-bottom:12px}
.hm-crumb a{color:#888}.hm-crumb a:active{color:#b80b16}
.hm-h1{margin:0 0 14px;font-size:18px;font-weight:600;color:#b80b16;border-left:3px solid #b80b16;padding-left:10px;line-height:1.4}
.hm-list li{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px dashed #eee;gap:10px}
.hm-list li a{flex:1;color:#1d2229;font-size:14px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-list li time{font-size:11px;color:#999;flex:0 0 auto}
.hm-pg{margin-top:14px;text-align:center;font-size:12px}
.hm-pg a,.hm-pg span{display:inline-block;padding:4px 10px;border:1px solid #ddd;color:#666;margin:0 2px}
.hm-pg .cur,.hm-pg a:active{background:#b80b16;color:#fff;border-color:#b80b16}
.hm-art .a-h1{margin:0 0 10px;font-size:18px;font-weight:600;color:#1d2229;line-height:1.5}
.hm-art .a-meta{font-size:11px;color:#999;padding:8px 0;border-bottom:1px solid #eee;margin-bottom:14px;display:flex;flex-wrap:wrap;gap:10px}
.hm-art .a-body{font-size:15px;line-height:1.85;color:#333}
.hm-art .a-body p{margin:12px 0}
.hm-art .a-body img{max-width:100%;height:auto;margin:12px auto}
.hm-art .a-foot{margin-top:18px;padding:12px 0;border-top:1px solid #eee;font-size:12px;color:#666;display:flex;flex-direction:column;gap:6px}

/* ===== Footer ===== */
.hm-footer{background:linear-gradient(135deg,#e8161e 0%,#b80b16 50%,#7a0b13 100%);color:#fff;padding:24px 16px 18px;font-size:12px;line-height:1.7;position:relative;overflow:hidden}
.hm-footer::before{content:"明德厚学 求是创新";position:absolute;right:-20px;top:30%;font-size:48px;color:rgba(255,255,255,.05);font-family:"FangSong","STKaiti",serif;writing-mode:vertical-rl;letter-spacing:8px;pointer-events:none}
.hm-footer .tt{font-size:15px;font-weight:600;color:#fff;margin-bottom:4px;font-family:"FangSong","STKaiti",serif;letter-spacing:1px;position:relative;z-index:1}
.hm-footer .slogan{font-size:11px;color:rgba(255,255,255,.85);letter-spacing:6px;margin-bottom:10px;font-family:"FangSong","STKaiti",serif;position:relative;z-index:1}
.hm-footer .info{margin-bottom:10px;color:rgba(255,255,255,.9);position:relative;z-index:1}
.hm-footer .info p{margin:2px 0}
.hm-footer .social{display:flex;gap:10px;margin:10px 0;position:relative;z-index:1}
.hm-footer .social a{width:32px;height:32px;background:rgba(255,255,255,.15);border-radius:50%;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600}
.hm-footer .links{display:flex;flex-wrap:wrap;gap:8px 14px;margin:10px 0;position:relative;z-index:1}
.hm-footer .links a{color:rgba(255,255,255,.85);font-size:11px}
.hm-footer .cr{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.15);color:rgba(255,255,255,.7);font-size:11px;position:relative;z-index:1}
.hm-footer .cr p{margin:2px 0}
.hm-footer .cr a{color:rgba(255,255,255,.85)}

/* ===== 底部 Tab ===== */
.hm-tab{position:fixed;left:0;right:0;bottom:0;height:54px;background:#fff;border-top:1px solid #eee;display:flex;z-index:100;box-shadow:0 -2px 8px rgba(0,0,0,.05)}
.hm-tab a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#888;font-size:10px}
.hm-tab a svg{width:22px;height:22px}
.hm-tab a.on{color:#b80b16}
