/* ============================================================
   仿华中科技大学官网（HUST · new2024）PC 主样式
   主题：HUST 红 #b81c25 / 深红 #8e1219 / 极深 #5a0e14 / 金 #c9a35f
   class 前缀：hust-
   ============================================================ */

:root{
    --c-main:#b81c25;
    --c-accent:#8e1219;
    --c-deep:#5a0e14;
    --c-dark:#3a2d2a;
    --c-gold:#c9a35f;
    --c-text:#222;
    --c-muted:#888;
    --c-line:#e5e5e5;
    --c-bg:#fff;
    --c-cream:#f5f3ef;
    --c-blue:#1d3a6e;
    --c-blue-deep:#162d56;
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0;overflow-x:hidden;width:100%;max-width:100vw}
body{font:15px/1.7 "Microsoft YaHei","PingFang SC","Helvetica Neue",sans-serif;color:var(--c-text);background:#fff;word-break:break-all}
img{max-width:100%;height:auto;border:0;vertical-align:middle}
a{color:inherit;text-decoration:none;transition:.25s}
a:hover{color:var(--c-main)}
ul,ol,li{list-style:none;margin:0;padding:0}
h1,h2,h3,h4,h5{margin:0;font-weight:normal}
em,i{font-style:normal}
.container{width:1240px;max-width:96%;margin:0 auto;position:relative}

/* ===== 顶栏 ===== */
.hust-topbar{background:linear-gradient(180deg,#3a2d2a 0%,#5d3a35 100%);color:#e8d8c8;font-size:13px;line-height:42px;height:42px;border-bottom:1px solid rgba(255,255,255,.08)}
.hust-topbar .container{display:flex;justify-content:space-between;align-items:center}
.hust-topbar a{color:#e8d8c8;padding:0 14px}
.hust-topbar a:hover{color:#fff}
.hust-topbar .sep{color:rgba(255,255,255,.25);padding:0 0}
.tb-right{display:flex;align-items:center;gap:14px}
.tb-en{display:inline-flex;align-items:center;gap:5px}
.tb-en .globe{font-size:14px}
.tb-search{display:flex;align-items:center;background:rgba(255,255,255,.92);border-radius:18px;padding:0 6px 0 14px;height:28px;width:240px}
.tb-search input{flex:1;border:0;background:transparent;outline:none;font-size:13px;color:#333;line-height:28px;min-width:0}
.tb-search button{border:0;background:transparent;color:#888;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 4px}
.tb-search button:hover{color:var(--c-main)}

/* ===== 主头部：5 + 居中 logo + 5 ===== */
.hust-header{background:#fff;padding:22px 0 0;position:relative;border-bottom:1px solid #f0e8e8}
.hust-header .container{display:block;position:relative}
.hust-logo{display:flex;align-items:center;justify-content:center;gap:12px;padding:0 0 18px;text-align:center}
.hust-logo img{width:62px;height:62px;flex-shrink:0}
.hust-logo .brand{text-align:left}
.hust-logo .brand h1{color:var(--c-main);font:bold 26px/1.2 "STSong","SimSun","Microsoft YaHei",serif;letter-spacing:3px;white-space:nowrap}
.hust-logo .brand p{color:#666;font-size:11px;letter-spacing:1px;margin:4px 0 0;white-space:nowrap}
.hust-nav{width:100%;background:#fff;border-top:1px solid #f0e8e8}
.hust-nav ul{display:flex;justify-content:center;align-items:center;padding:0 80px 0 0;margin:0;list-style:none;flex-wrap:nowrap;gap:0}
.hust-nav li{flex:0 0 auto;padding:0;text-align:center;white-space:nowrap;position:relative}
/* 第 6 项不再需要为 logo 让位 */
.hust-nav li:nth-child(6){margin-left:0}
.hust-nav a{display:inline-block;color:#333;font-size:15px;font-weight:500;padding:14px 18px;white-space:nowrap;position:relative}
.hust-nav a:hover{color:var(--c-main)}
.hust-nav li.active a{color:var(--c-main)}
.hust-nav li.active a::after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:24px;height:3px;background:var(--c-main);border-radius:2px}

/* ===== 右上 fixed 红色斜切汉堡 ===== */
.hust-fab{position:fixed;top:0;right:0;width:64px;height:96px;background:linear-gradient(135deg,var(--c-main) 0%,var(--c-accent) 100%);z-index:99;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;box-shadow:0 4px 18px rgba(184,28,37,.4);clip-path:polygon(20% 0,100% 0,100% 100%,0 100%)}
.hust-fab span{display:block;width:22px;height:2px;background:#fff;border-radius:2px}
.hust-fab:hover{background:linear-gradient(135deg,var(--c-accent),var(--c-deep))}

/* ===== 板块通用 ===== */
section{padding:50px 0}
.hust-sec-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;padding-bottom:14px;border-bottom:1px solid var(--c-line);position:relative}
.hust-sec-head.red::before{content:"";position:absolute;left:0;bottom:-1px;width:80px;height:3px;background:var(--c-main)}
.hust-sec-head h2{color:#222;font-size:24px;font-weight:bold}
.hust-sec-head h2 span{color:#222}
.hust-sec-head .enter{display:inline-flex;align-items:center;background:var(--c-main);color:#fff;font-size:14px;padding:8px 22px;border-radius:24px}
.hust-sec-head .enter:hover{background:var(--c-accent);color:#fff}

/* 内嵌副标题（探索/求知/通知公告等用） */
.exp-head,.sk-head,.cm-head,.nt-head,.sp-head,.so-title{position:relative;padding:0 0 14px;margin-bottom:24px}
.exp-head .en,.sk-head .en,.cm-head .en,.nt-head .en,.sp-head .en,.so-title .en{display:block;color:var(--c-main);font:italic 15px/1 "Times New Roman",serif;margin-bottom:6px}
.exp-head h3,.sk-head h3,.cm-head h3,.nt-head h3,.sp-head h3,.so-title h3{display:inline-block;color:#222;font-size:26px;font-weight:bold;letter-spacing:2px}
.exp-head .more,.sk-head .more,.cm-head .more,.nt-head .more,.sp-head .more{position:absolute;right:0;bottom:14px;color:var(--c-main);font-size:14px;display:inline-flex;align-items:center;gap:4px}
.exp-head .more::after,.sk-head .more::after,.cm-head .more::after,.nt-head .more::after,.sp-head .more::after{content:"";display:inline-block;width:24px;height:24px;background:var(--c-main);color:#fff;border-radius:50%;text-align:center;line-height:24px;margin-left:8px}

/* ===== 1. 学校要闻 ===== */
.hust-news{background:#fdfbf7 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><text x="0" y="100" font-size="80" fill="%23f0e8e0" opacity="0.4">华</text></svg>') center/auto repeat}
.news-body{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:24px}
.news-slide{position:relative;background:#000;border-radius:2px;overflow:hidden}
.news-slide .swiper-container{height:480px}
.news-slide img,.news-slide .swiper-slide img{width:100%;height:100%;object-fit:cover;display:block}
.news-slide .swiper-pagination{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);text-align:center}
.news-slide .swiper-pagination-bullet{width:10px;height:10px;background:rgba(255,255,255,.6);opacity:1;margin:0 4px;border-radius:50%}
.news-slide .swiper-pagination-bullet-active{background:var(--c-main);width:24px;border-radius:6px}
.news-slide-cap{display:block;background:#fff;padding:18px 22px;border-bottom:3px solid var(--c-main);position:relative}
.news-slide-cap h3{color:#222;font-size:18px;font-weight:bold;line-height:1.5}
.news-slide-cap .date{color:#888;font:italic 14px/1 "Times New Roman",serif;margin-top:8px;display:block}
.news-side{display:grid;grid-template-rows:auto 1fr;gap:18px}
.news-cover{position:relative;display:block;height:230px;overflow:hidden;background:linear-gradient(135deg,var(--c-main),var(--c-accent))}
.news-cover img{width:100%;height:100%;object-fit:cover;opacity:.55}
.news-cover .cover-tag{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font:bold 56px/1 "STSong","Microsoft YaHei",serif;letter-spacing:14px;text-shadow:0 2px 12px rgba(0,0,0,.3)}
.news-list{display:flex;flex-direction:column;gap:0}
.news-list li{padding:14px 0;border-bottom:1px dashed var(--c-line);display:flex;justify-content:space-between;align-items:center;gap:12px}
.news-list li:last-child{border-bottom:0}
.news-list li a{flex:1;min-width:0;color:#333;font-size:14px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.news-list li a:hover{color:var(--c-main)}
.news-list li .date{color:var(--c-muted);font:italic 13px/1 "Times New Roman",serif;flex-shrink:0}

/* ===== 2. 校园看点 + 媒体聚焦（深蓝双栏） ===== */
.hust-bluetwocol{background:linear-gradient(135deg,var(--c-blue-deep) 0%,var(--c-blue) 100%);color:#e0e8f5;position:relative;overflow:hidden}
.hust-bluetwocol::before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><g fill="none" stroke="%23ffffff" stroke-opacity="0.05" stroke-width="1"><rect x="40" y="200" width="120" height="120"/><rect x="180" y="160" width="160" height="160"/><rect x="360" y="220" width="100" height="100"/><rect x="500" y="180" width="180" height="160"/></g></svg>') center/cover no-repeat;pointer-events:none}
.hust-bluetwocol .container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;position:relative;z-index:2}
.bt-head{position:relative;padding-bottom:18px;margin-bottom:22px;border-left:3px solid var(--c-main);padding-left:14px}
.bt-head .en{display:block;color:var(--c-main);font:italic 14px/1 "Times New Roman",serif;letter-spacing:1px;margin-bottom:4px}
.bt-head h3{color:#fff;font-size:24px;font-weight:bold;letter-spacing:3px}
.bt-head h3 i{color:#fff}
.bt-head h3 em{color:#a5b6d4;font-size:18px;font-weight:normal;margin-left:14px;letter-spacing:1px}
.bt-headline{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;background:rgba(255,255,255,.04);margin-bottom:18px;border-radius:2px;overflow:hidden}
.bt-headline .pic{height:200px;overflow:hidden}
.bt-headline .pic img{width:100%;height:100%;object-fit:cover;transition:.4s}
.bt-headline:hover .pic img{transform:scale(1.05)}
.bt-headline .txt{padding:18px 20px;display:flex;flex-direction:column;justify-content:center}
.bt-headline .txt h4{color:#fff;font-size:16px;font-weight:bold;line-height:1.5;margin-bottom:10px}
.bt-headline .txt .date{color:#a5b6d4;font:italic 13px/1 "Times New Roman",serif}
.bt-list li{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;align-items:center;gap:12px}
.bt-list li:last-child{border-bottom:0}
.bt-list a{flex:1;min-width:0;color:#dbe5f5;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bt-list a:hover{color:#fff}
.bt-list span{color:#88a0c8;font:italic 13px/1 "Times New Roman",serif;flex-shrink:0}

/* ===== 3. 探索 Explore ===== */
.hust-explore{background:#f5f3ef url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><text x="20" y="150" font-size="120" fill="%23ddd5c8" opacity="0.5">华</text></svg>') center/300px no-repeat}
.hust-explore .container{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px}
.exp-feature{display:block;border:6px solid var(--c-main);background:#fff;position:relative;overflow:hidden}
.exp-feature .pic{height:380px;overflow:hidden}
.exp-feature .pic img{width:100%;height:100%;object-fit:cover}
.exp-feature .cap{padding:14px 20px;background:#cdc5b8}
.exp-feature .cap h4{color:#333;font-size:15px;font-weight:bold;line-height:1.5}
.exp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.exp-card{display:flex;align-items:center;background:#fff;padding:24px 22px;min-height:140px;border-radius:2px;position:relative;border-bottom:2px solid #d8b4b8}
.exp-card:hover{box-shadow:0 6px 20px rgba(184,28,37,.15);transform:translateY(-3px);border-bottom-color:var(--c-main)}
.exp-card h4{color:#222;font-size:15px;font-weight:bold;line-height:1.6}
.exp-card:hover h4{color:var(--c-main)}

/* ===== 4. 求知 Seek（左 6 卡 + 右大视频） ===== */
.hust-seek{background:#fff}
.hust-seek .container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:32px;align-items:stretch}
.sk-grid{display:flex;flex-direction:column}
.sk-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;flex:1}
.sk-card{display:flex;align-items:center;background:#fff;padding:20px 22px;min-height:110px;border-bottom:2px solid #c8d6ec;border-radius:2px}
.sk-card:hover{border-bottom-color:var(--c-blue);box-shadow:0 4px 14px rgba(29,58,110,.12)}
.sk-card h4{color:#222;font-size:14px;font-weight:bold;line-height:1.6}
.sk-card:hover h4{color:var(--c-blue)}
.sk-feature{position:relative;background:var(--c-blue);overflow:hidden}
.sk-video{display:block;height:100%;min-height:480px;position:relative}
.sk-video img{width:100%;height:100%;object-fit:cover;opacity:.85}
.sk-video .play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:64px;height:64px;background:rgba(255,255,255,.9);color:var(--c-blue);border-radius:50%;text-align:center;line-height:64px;font-size:24px;padding-left:6px;box-sizing:border-box}
.sk-video h4{position:absolute;left:0;right:0;bottom:0;padding:18px 24px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.6));color:#fff;font-size:16px;font-weight:bold}

/* ===== 5. 交流 Communication ===== */
.hust-comm{background:#fff}
.hust-comm .container{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;align-items:stretch}
.cm-feature{position:relative;overflow:hidden;background:#222}
.cm-photo{display:block;height:100%;min-height:480px;position:relative}
.cm-photo img{width:100%;height:100%;object-fit:cover}
.cm-photo h4{position:absolute;left:0;right:0;bottom:0;padding:20px 24px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.7));color:#fff;font-size:18px;font-weight:bold}
.cm-grid{display:flex;flex-direction:column}
.cm-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;flex:1}
.cm-card{display:flex;align-items:center;background:#fff;padding:20px 22px;min-height:110px;border-bottom:2px solid #f0c8cc;border-radius:2px}
.cm-card:hover{border-bottom-color:var(--c-main);box-shadow:0 4px 14px rgba(184,28,37,.12)}
.cm-card h4{color:#222;font-size:14px;font-weight:bold;line-height:1.6}
.cm-card:hover h4{color:var(--c-main)}

/* ===== 6. 通知公告 Notice ===== */
.hust-notice{background:#f5f3ef url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="240" height="240"><text x="0" y="180" font-size="180" fill="%23dcd2c0" opacity="0.4">通</text></svg>') right center/auto no-repeat}
.nt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.nt-card{display:flex;background:#fff;padding:32px 28px;min-height:130px;align-items:center;gap:22px;border-radius:2px;box-shadow:0 4px 16px rgba(0,0,0,.06);transition:.3s}
.nt-card:hover{box-shadow:0 8px 22px rgba(184,28,37,.15);transform:translateY(-3px)}
.nt-date{flex-shrink:0;background:var(--c-main);color:#fff;width:64px;text-align:center;padding:10px 0;border-radius:2px}
.nt-date b{display:block;font:bold 28px/1 "Times New Roman",serif}
.nt-date em{display:block;font-size:11px;margin-top:4px;letter-spacing:1px}
.nt-card h4{flex:1;min-width:0;color:#222;font-size:15px;font-weight:bold;line-height:1.7}
.nt-card:hover h4{color:var(--c-main)}

/* ===== 7. 华科大故事 Stories ===== */
.hust-stories{background:#fff}
.st-row{display:grid;gap:14px;margin-bottom:14px}
.st-row.top{grid-template-columns:1.1fr 1fr 2fr;min-height:340px}
.st-row.bottom{grid-template-columns:1fr 1.6fr 1fr 1.4fr;min-height:300px}
.st-cover{background:linear-gradient(180deg,var(--c-main) 0%,var(--c-accent) 100%);color:#fff;padding:40px 30px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.st-cover::before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><circle cx="40" cy="40" r="2" fill="white" opacity="0.1"/><circle cx="120" cy="80" r="1.5" fill="white" opacity="0.1"/><circle cx="160" cy="160" r="2" fill="white" opacity="0.1"/></svg>');opacity:.6}
.st-cover .vert{display:flex;flex-direction:column;gap:8px;font:bold 36px/1 "STSong",serif;text-shadow:0 2px 8px rgba(0,0,0,.3);position:relative;z-index:2}
.st-cover .vert span{color:var(--c-gold)}
.st-cover em{color:rgba(255,255,255,.6);font:italic 13px/1.5 "Times New Roman",serif;letter-spacing:2px;position:relative;z-index:2;margin-top:14px;writing-mode:vertical-rl;align-self:flex-end}
.st-cover p{color:rgba(255,255,255,.85);font:14px/1.8 "STSong",serif;letter-spacing:6px;writing-mode:vertical-rl;position:relative;z-index:2}
.st-tag{display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;font:bold 30px/1.4 "STSong","Microsoft YaHei",serif;letter-spacing:6px;padding:30px 20px;position:relative;overflow:hidden}
.st-tag.people{background:linear-gradient(135deg,var(--c-main) 0%,var(--c-deep) 100%)}
.st-tag.image{background:linear-gradient(135deg,var(--c-blue) 0%,var(--c-blue-deep) 100%)}
.st-tag.life{background:linear-gradient(135deg,var(--c-main) 0%,var(--c-accent) 100%)}
.st-tag h3{position:relative;z-index:2}
.st-tag::before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><text x="0" y="80" font-size="80" fill="white" opacity="0.06">华</text></svg>') center/contain no-repeat;pointer-events:none}
.st-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.ph-card{position:relative;display:block;overflow:hidden;background:#222}
.ph-card img{width:100%;height:100%;min-height:160px;object-fit:cover;transition:.4s}
.ph-card:hover img{transform:scale(1.06)}
.ph-card .ph-cap{position:absolute;left:0;right:0;bottom:0;padding:8px 12px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.75));color:#fff;font-size:13px;line-height:1.4;display:block}
.st-video-wrap,.st-life-wrap{position:relative;overflow:hidden}
.st-video{display:block;position:relative;background:var(--c-blue);height:100%;min-height:300px}
.st-video img{width:100%;height:100%;object-fit:cover;opacity:.9}
.st-video .play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:54px;height:54px;background:rgba(255,255,255,.9);color:var(--c-blue);border-radius:50%;text-align:center;line-height:54px;font-size:20px;padding-left:5px;box-sizing:border-box}
.st-video h4{position:absolute;left:0;right:0;bottom:0;padding:14px 20px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.7));color:#fff;font-size:14px;font-weight:bold}
.st-life{display:block;position:relative;height:100%;min-height:300px;overflow:hidden}
.st-life img{width:100%;height:100%;object-fit:cover}
.st-life .life-cap{position:absolute;left:0;right:0;bottom:0;padding:14px 20px;background:linear-gradient(180deg,transparent,rgba(184,28,37,.8));color:#fff;font-size:14px;font-weight:bold;display:block}

/* ===== 8. 社交媒体 ===== */
.hust-social{background:linear-gradient(135deg,var(--c-blue-deep) 0%,var(--c-blue) 100%);color:#dbe5f5;position:relative;overflow:hidden}
.hust-social::before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><g fill="none" stroke="%23ffffff" stroke-opacity="0.05" stroke-width="1"><rect x="40" y="200" width="120" height="120"/><rect x="500" y="180" width="180" height="160"/></g></svg>') center/cover no-repeat;pointer-events:none}
.hust-social .container{position:relative;z-index:2}
.so-title h3{color:#fff}
.so-title{margin-bottom:24px}
.so-title::before{content:"";position:absolute;left:0;top:6px;width:24px;height:24px;background:var(--c-main);border-radius:50%;opacity:.6;display:none}
.so-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.so-col{background:rgba(255,255,255,.04);padding:16px 18px;border-radius:2px;display:flex;flex-direction:column;gap:14px}
.so-head{display:flex;align-items:center;gap:8px}
.so-ic{display:inline-block;width:24px;height:24px;border-radius:50%;flex-shrink:0;background:#fff}
.so-ic.wechat{background:#1aad19}
.so-ic.video{background:#000}
.so-ic.study{background:#d33}
.so-ic.weibo{background:#e6162d}
.so-name{flex:1;color:#fff;font-size:14px;font-weight:bold;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.so-head .follow{flex-shrink:0;background:var(--c-main);color:#fff;font-size:12px;padding:4px 10px;border-radius:14px}
.so-head .follow:hover{background:var(--c-accent);color:#fff}
.so-card{display:block;background:#0e2548;border-radius:2px;overflow:hidden}
.so-card .pic{height:140px;overflow:hidden}
.so-card.big .pic{height:300px}
.so-card .pic img{width:100%;height:100%;object-fit:cover;transition:.4s}
.so-card:hover .pic img{transform:scale(1.05)}
.so-card h4{color:#fff;font-size:13px;font-weight:bold;padding:10px 14px;line-height:1.5;background:rgba(0,0,0,.3)}

/* ===== 9. 专题网站 Special ===== */
.hust-special{background:#f5f3ef url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><text x="20" y="160" font-size="140" fill="%23ddd5c8" opacity="0.5">华</text></svg>') 80% center/300px no-repeat}
.sp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.sp-card{display:block;position:relative;overflow:hidden;border-radius:2px;background:var(--c-main)}
.sp-card img{width:100%;height:480px;object-fit:cover;display:block;transition:.4s}
.sp-card:hover img{transform:scale(1.04)}
.sp-card .sp-cap{position:absolute;left:0;right:0;bottom:0;padding:12px 16px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.7));color:#fff;font-size:13px;font-weight:bold}

/* ===== 服务图标条（footer 顶部） ===== */
.hust-services{background:linear-gradient(135deg,var(--c-main) 0%,var(--c-accent) 100%);color:#fff;padding:36px 0;position:relative;overflow:hidden}
.hust-services::before{content:"";position:absolute;inset:0;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="100"><text x="0" y="80" font-size="80" fill="white" opacity="0.06">华中科技大学</text></svg>') right center/auto no-repeat;pointer-events:none}
.hust-services .container{display:flex;align-items:center;gap:36px;position:relative;z-index:2}
.sv-logo{flex-shrink:0;background:rgba(255,255,255,.08);padding:16px 22px;border-radius:2px}
.sv-logo img{height:60px;width:auto;display:block}
.sv-grid{flex:1;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;min-width:0}
.sv-grid a{display:flex;flex-direction:column;align-items:center;gap:8px;padding:6px 4px;color:#fff;text-align:center;font-size:12px;line-height:1.3}
.sv-ic{display:block;width:38px;height:38px;background:rgba(255,255,255,.18);border-radius:8px;flex-shrink:0;position:relative}
.sv-ic::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;background:#fff;border-radius:3px;transform:translate(-50%,-50%);opacity:.85}
.sv-ic.ic1::after{border-radius:0;width:14px;height:18px}
.sv-ic.ic2::after{border-radius:2px}
.sv-ic.ic3::after{border-radius:50%}
.sv-ic.ic4::after{transform:translate(-50%,-50%) rotate(45deg)}
.sv-ic.ic5::after{border-radius:50% 50% 50% 0}
.sv-ic.ic6::after{border-radius:50%;width:16px;height:16px;box-shadow:0 0 0 2px rgba(255,255,255,.4)}
.sv-ic.ic7::after{border-radius:0;width:18px;height:14px}
.sv-ic.ic8::after{border-radius:2px;width:14px;height:18px}
.sv-ic.ic9::after{border-radius:1px;width:18px;height:14px}
.sv-ic.ic10::after{border-radius:1px;width:14px;height:18px}
.sv-grid a:hover{color:#fff}
.sv-grid a:hover .sv-ic{background:rgba(255,255,255,.35);transform:scale(1.08);transition:.25s}

/* ===== 友情链接 ===== */
/* 在 footer.htm 内联样式中已重写 */

/* ===== 主页脚 ===== */
.hust-footer{background:#3a2d2a;color:#bdb1a6;padding:42px 0 18px}
.hust-footer .ft-top{display:grid;grid-template-columns:1.2fr 2.5fr 1fr;gap:36px;padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.08)}
.ft-info .ft-logo{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.ft-info .ft-logo img{width:46px;height:46px}
.ft-info .ft-logo h2{color:#fff;font-size:18px;font-weight:bold}
.ft-info .ft-motto{color:var(--c-gold);font-size:13px;letter-spacing:3px;margin:6px 0 14px}
.ft-info p{margin:6px 0;font-size:13px;line-height:1.7}
.ft-cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ft-col h4{color:#fff;font-size:14px;font-weight:bold;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.1)}
.ft-col h4 a{color:#fff}
.ft-link{display:block;color:#bdb1a6;font-size:13px;line-height:1.9;padding:2px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ft-link:hover{color:#fff}
.ft-qr{text-align:center}
.ft-qr img{width:90px;height:90px;background:#fff;padding:6px;border-radius:2px}
.ft-qr p{margin:8px 0 0;color:#bdb1a6;font-size:12px}
.ft-bottom{padding-top:18px;text-align:center;color:#9a8e84;font-size:13px;line-height:2}
.ft-bottom a{color:#9a8e84}
.ft-bottom a:hover{color:#fff}

/* ===== 内页通用兜底（list/article/topic 继承） ===== */
.hust-twocol{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:30px;padding:30px 0}
.hust-topics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:30px 0}
.hust-topics .card{display:block;position:relative;overflow:hidden}
.hust-topics .card img{width:100%;height:200px;object-fit:cover}
.hust-topics .card .mask{position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(0,0,0,.7));display:flex;align-items:flex-end;padding:14px;color:#fff;font-size:14px;font-weight:bold}
article{padding:30px 0;line-height:1.9;font-size:15px}
article img{height:auto}

/* ===== 响应式 ===== */
@media (max-width:1240px){
    .container{width:96%}
    .hust-logo .brand h1{font-size:22px;letter-spacing:2px}
    .hust-logo .brand p{font-size:10px}
    .hust-nav li:nth-child(6){margin-left:0}
    .hust-nav a{font-size:14px;padding:12px 14px}
    .news-slide .swiper-container{height:400px}
    .sp-card img{height:380px}
    .st-row.bottom{grid-template-columns:1fr 1.4fr 1fr 1.2fr;min-height:240px}
}
@media (max-width:1100px){
    .hust-nav li:nth-child(6){margin-left:0}
    .hust-logo{padding:0 12px}
    .sv-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
}
@media (max-width:980px){
    section{padding:36px 0}
    .hust-topbar{display:none}
    .hust-header{padding:14px 0}
    .hust-header .container{min-height:auto;flex-direction:column;gap:12px}
    .hust-logo{position:static;transform:none;padding:0}
    .hust-logo img{width:48px;height:48px}
    .hust-logo .brand h1{font-size:20px}
    .hust-nav{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
    .hust-nav ul{padding:0;flex-wrap:nowrap;justify-content:flex-start}
    .hust-nav li{flex:0 0 auto;padding:0 14px}
    .hust-nav li:nth-child(6){margin-left:0}
    .hust-fab{display:none}
    .news-body,.hust-bluetwocol .container,.hust-explore .container,.hust-seek .container,.hust-comm .container{grid-template-columns:1fr}
    .news-slide .swiper-container{height:320px}
    .news-cover{height:180px}
    .nt-grid{grid-template-columns:1fr}
    .so-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .sp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .sp-card img{height:300px}
    .st-row.top{grid-template-columns:1fr;min-height:auto}
    .st-row.bottom{grid-template-columns:repeat(2,minmax(0,1fr))}
    .hust-services .container{flex-direction:column;gap:20px}
    .sv-grid{grid-template-columns:repeat(5,minmax(0,1fr));width:100%}
    .hust-footer .ft-top{grid-template-columns:1fr;gap:24px}
    .ft-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
    .exp-grid,.sk-cards,.cm-cards{grid-template-columns:1fr}
    .so-grid{grid-template-columns:1fr}
    .sp-grid{grid-template-columns:1fr}
    .st-row.bottom{grid-template-columns:1fr}
    .sv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .ft-cols{grid-template-columns:1fr}
    .hust-sec-head h2,.exp-head h3,.sk-head h3,.cm-head h3,.nt-head h3,.sp-head h3,.so-title h3{font-size:20px}
}
