/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;height:560px;background:#101a2b;}
.hero-slides{position:absolute;inset:0;}
.hero-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;transition:opacity .9s cubic-bezier(.4,0,.2,1),visibility 0s linear .9s;pointer-events:none;}
.hero-slide.on{opacity:1;visibility:visible;transition:opacity .9s cubic-bezier(.4,0,.2,1),visibility 0s;pointer-events:auto;z-index:1;}
.hero img{width:100%;height:100%;object-fit:cover;transform:scale(1);will-change:transform;backface-visibility:hidden;animation:heroZoom 6s cubic-bezier(.22,.61,.36,1) forwards;animation-play-state:paused;}
.hero-slide.on img{animation-play-state:running;}
@keyframes heroZoom{
  from{transform:scale(1);}
  to{transform:scale(1.09);}
}
.hero-mask{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,rgba(27,42,74,.05) 40%,rgba(27,42,74,.55));}
.hero-card{position:absolute;left:0;right:0;bottom:56px;z-index:3;transition:opacity .35s cubic-bezier(.4,0,.2,1),transform .35s cubic-bezier(.4,0,.2,1);}
.hero-card .box{display:inline-block;max-width:660px;background:#fff;padding:30px 36px 26px;box-shadow:0 18px 44px rgba(27,42,74,.3);border-top:5px solid var(--red);}
.hero-card .date{color:var(--red);font-weight:700;font-size:14px;letter-spacing:1px;}
.hero-card h1{font-size:24px;line-height:1.5;color:var(--navy);margin:8px 0 10px;font-weight:800;}
.hero-card p{color:var(--muted);font-size:14px;}
.hero-dots{position:absolute;right:40px;bottom:36px;z-index:4;display:flex;gap:8px;}
.hero-dots i{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;transition:.25s;}
.hero-dots i:hover{background:rgba(255,255,255,.85);}
.hero-dots i.on{background:#fff;width:26px;border-radius:6px;}
.hero-arrow{position:absolute;top:50%;margin-top:-30px;z-index:4;width:60px;height:60px;border:0;border-radius:50%;background:rgba(27,42,74,.45);color:#fff;font-size:40px;line-height:1;cursor:pointer;opacity:0;transition:opacity .25s,background .25s,transform .25s;}
.hero:hover .hero-arrow{opacity:1;}
.hero-arrow:hover{background:var(--red);transform:scale(1.08);}
.hero-prev{left:24px;}
.hero-next{right:24px;}
@media (prefers-reduced-motion:reduce){
  .hero-slide,.hero-slide.on{transition:none;}
  .hero img,.hero-slide.on img{animation:none;transform:none;}
  .hero-card{transition:none;}
}

/* ---------- section head (主站风格:中文+英文+探索更多) ---------- */
.section{padding:30px 0;}
.hero + .section{padding-top:60px;}
.section:last-of-type{padding-bottom:60px;}
.section.alt{background:var(--light);}
.sec-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:32px;border-bottom:1px solid var(--line);padding-bottom:16px;}
.sec-title{font-size:28px;color:var(--navy);font-weight:800;line-height:1.2;}
.sec-title::before{content:"";display:inline-block;width:8px;height:26px;background:var(--red);margin-right:14px;vertical-align:-3px;border-radius:1px;}
.sec-title small{display:block;font-size:13px;color:var(--muted);font-weight:400;letter-spacing:2px;text-transform:uppercase;margin-top:4px;padding-left:22px;}
.sec-more{font-size:13.5px;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:7px 20px;transition:.25s;background:#fff;}
.sec-more:hover{background:var(--red);border-color:var(--red);color:#fff;}

/* ---------- news: featured + list (海医要闻风格) ---------- */
.news-grid{display:grid;grid-template-columns:5fr 6fr;gap:20px;}
.news-feat{position:relative;display:block;height:380px;border-radius:6px;overflow:hidden;background:#0e1626;box-shadow:0 12px 30px rgba(27,42,74,.12);}
.news-slide{position:absolute;inset:0;display:block;opacity:0;visibility:hidden;transition:opacity .8s ease;}
.news-slide.on{opacity:1;visibility:visible;z-index:1;}
.news-feat img{width:100%;height:100%;object-fit:cover;}
.news-feat .cap{position:absolute;left:0;right:0;bottom:0;padding:44px 26px 20px;background:linear-gradient(transparent,rgba(27,42,74,.92));color:#fff;}
.news-dots{position:absolute;right:16px;bottom:18px;z-index:3;display:flex;gap:6px;}
.news-dots i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;transition:.25s;}
.news-dots i:hover{background:rgba(255,255,255,.85);}
.news-dots i.on{background:#fff;width:20px;border-radius:5px;}
.news-feat .cap h3{font-size:19px;font-weight:700;line-height:1.5;}
.news-feat .cap .d{font-size:13px;color:#ffb3ab;margin-top:6px;letter-spacing:1px;}
.news-rows{display:flex;flex-direction:column;height:380px;}
.news-rows li{flex:1 1 0;display:flex;min-height:0;}
.news-rows li a{display:flex;flex:1;width:100%;gap:6px;padding:8px 12px;border-bottom:1px solid var(--line);transition:background .25s,box-shadow .25s;align-items:center;overflow:hidden;}
.news-rows li:first-child a{padding-top:8px;}
.news-rows li a:hover{background:#edf1f6;box-shadow:inset 4px 0 0 var(--red),0 8px 20px rgba(27,42,74,.12);}
.news-rows li:last-child a{border-bottom:0;padding-bottom:8px;}
.news-rows .d{flex:none;width:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--red);border-right:1px solid var(--line);padding-right:6px;margin-right:6px;line-height:1;}
.news-rows .d b{font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:700;letter-spacing:1px;}
.news-rows .d i{font-style:normal;font-size:12px;color:var(--red);margin-top:7px;letter-spacing:.6px;}
.news-rows .t{flex:1;min-width:0;}
.news-rows h4{font-size:16px;color:var(--navy);font-weight:700;line-height:1.5;transition:.2s;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.news-rows a:hover h4{color:var(--red);}
.news-rows li a:hover .d b{color:var(--red-dark);}
.news-rows p{font-size:12.5px;color:var(--muted);margin-top:4px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;}

/* ---------- notices (日期块风格) ---------- */
.notice-list{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.notice-list li a{display:flex;flex-direction:column;align-items:center;text-align:center;height:100%;padding:26px 22px 22px;background:#fff;border-radius:6px;transition:box-shadow .25s,transform .25s;}
.notice-date .dd{display:block;font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:700;color:var(--red);line-height:1;}
.notice-date .ym{font-size:12px;color:var(--muted);margin-top:4px;letter-spacing:.5px;}
.notice-line{position:relative;display:block;width:100%;height:2px;background:var(--line);margin:18px 0 16px;transition:background .25s;}
.notice-line i{position:absolute;left:50%;top:50%;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;background:var(--red);transition:background .25s;}
.notice-list .nt{font-size:15px;color:var(--navy);font-weight:600;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .25s;}
.notice-more{display:block;margin-top:14px;font-size:13px;color:var(--muted);transition:color .25s;}
.notice-more i{font-style:normal;display:inline-block;margin:0 3px;transition:margin .25s;}
.notice-list li a:hover{box-shadow:0 10px 26px rgba(27,42,74,.14);transform:translateY(-3px);}
.notice-list li a:hover .notice-line{background:var(--red);}
.notice-list li a:hover .nt{color:var(--red);}
.notice-list li a:hover .notice-more{color:var(--red);}
.notice-list li a:hover .notice-more i{margin:0 12px;}

/* ---------- stats band ---------- */
.stats{background:linear-gradient(120deg,var(--red-dark),var(--red) 55%,#c1392f);color:#fff;padding:44px 0;}
.stats .container{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center;}
.stats .num{font-size:44px;font-weight:800;line-height:1;font-family:Georgia,serif;}
.stats .num small{font-size:20px;font-weight:600;}
.stats .lbl{margin-top:10px;font-size:14px;letter-spacing:2px;opacity:.92;}
.stats .cell{border-left:1px solid rgba(255,255,255,.22);}
.stats .cell:first-child{border-left:0;}

/* ---------- programs ---------- */
/* ---------- platforms (智慧教学与科研平台) ---------- */
.plat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;}
.plat-btn{position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:14px;min-height:168px;padding:22px;background:linear-gradient(140deg,#22314f 0%,#16223a 100%);border:1px solid rgba(255,255,255,.07);border-radius:6px;overflow:hidden;transition:filter .25s,border-color .25s,box-shadow .25s,transform .25s;}
.plat-btn:nth-child(1){background:linear-gradient(140deg,#8f1a22,#5f0e15);}
.plat-btn:nth-child(2){background:linear-gradient(140deg,#1f3a63,#132742);}
.plat-btn:nth-child(3){background:linear-gradient(140deg,#1b5c56,#0f3b38);}
.plat-btn:nth-child(4){background:linear-gradient(140deg,#4a3366,#2b1d41);}
.plat-btn:nth-child(5){background:linear-gradient(140deg,#7a5220,#4c300f);}
.plat-btn::before{content:"";position:absolute;left:0;top:0;width:0;height:3px;background:var(--red);transition:width .3s;}
.plat-btn i{font-size:52px;line-height:1;color:rgba(255,255,255,.92);transition:color .25s,transform .25s;}
.plat-btn span{font-size:14.5px;font-weight:600;color:#fff;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;transition:color .25s;}
.plat-btn::after{content:"进入平台 →";margin-top:auto;font-size:12px;color:rgba(255,255,255,.5);transition:color .25s;}
.plat-btn:hover{filter:brightness(1.18);border-color:rgba(255,255,255,.18);box-shadow:0 16px 32px rgba(27,42,74,.35);transform:translateY(-4px);}
.plat-btn:hover i{transform:scale(1.1);}
.plat-btn:hover::before{width:100%;background:#fff;}
.plat-btn:hover span,.plat-btn:hover::after,.plat-btn:hover i{color:#fff;}

/* ---------- quick links (3 columns: 科研/国际/招生) ---------- */
.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));}
.quick-col{min-width:0;padding:0 30px;}
.quick-col:first-child{padding-left:0;}
.quick-col:last-child{padding-right:0;}
.quick-col + .quick-col{border-left:1px solid var(--line);}
.quick-head{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:12px;border-bottom:2px solid var(--navy);margin-bottom:4px;}
.quick-head h3{font-size:19px;color:var(--navy);font-weight:800;line-height:1.4;}
.quick-head h3::before{content:"";display:inline-block;width:6px;height:18px;background:var(--red);margin-right:10px;vertical-align:-2px;border-radius:1px;}
.quick-head a{flex:none;font-size:13px;color:var(--muted);transition:.2s;}
.quick-head a:hover{color:var(--red);}
.quick-list li a{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:11px 0;border-bottom:1px dashed var(--line);}
.quick-list li:last-child a{border-bottom:0;}
.quick-list .qt{flex:1;min-width:0;font-size:14.5px;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:.2s;}
.quick-list .qd{flex:none;font-size:12.5px;color:var(--muted);letter-spacing:.5px;}
.quick-list li a:hover .qt{color:var(--red);}

.prog-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;}
.prog-card{position:relative;display:block;border-radius:6px;overflow:hidden;height:330px;box-shadow:0 14px 34px rgba(27,42,74,.14);}
.prog-card img{width:100%;height:100%;object-fit:cover;transition:.6s;}
.prog-card:hover img{transform:scale(1.07);}
.prog-card .cap{position:absolute;left:0;right:0;bottom:0;padding:70px 30px 24px;background:linear-gradient(transparent,rgba(27,42,74,.94));color:#fff;}
.prog-card .cap h3{font-size:24px;font-weight:800;letter-spacing:2px;}
.prog-card .cap h3 small{font-size:12px;font-weight:400;letter-spacing:2px;text-transform:uppercase;opacity:.75;margin-left:10px;}
.prog-card .cap p{font-size:13.5px;color:#d5dce8;margin-top:8px;}
.prog-card .cap .line{width:44px;height:3px;background:var(--red);margin-bottom:14px;border-radius:2px;transition:.3s;}
.prog-card:hover .cap .line{width:80px;}

/* ---------- faculty ---------- */
.fac-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.fac-card{display:block;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden;transition:.3s;}
.fac-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(27,42,74,.14);border-color:#f0c1c3;}
.fac-card .pic{height:250px;overflow:hidden;}
.fac-card .pic img{width:100%;height:100%;object-fit:cover;transition:.6s;}
.fac-card:hover .pic img{transform:scale(1.06);}
.fac-card .fb{padding:20px 24px;border-top:4px solid var(--red);}
.fac-card .fb h3{font-size:19px;color:var(--navy);font-weight:800;}
.fac-card .fb small{font-size:12px;color:var(--muted);letter-spacing:1.5px;text-transform:uppercase;}
.fac-card .fb p{font-size:13.5px;color:var(--muted);margin-top:8px;}

/* ---------- students ---------- */
.stu-grid{display:grid;grid-template-columns:6fr 6fr;gap:40px;}
.stu-feat{position:relative;display:block;border-radius:6px;overflow:hidden;min-height:360px;box-shadow:0 12px 30px rgba(27,42,74,.12);}
.stu-feat img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.6s;}
.stu-feat:hover img{transform:scale(1.05);}
.stu-feat .cap{position:absolute;left:0;right:0;bottom:0;padding:44px 26px 20px;background:linear-gradient(transparent,rgba(27,42,74,.92));color:#fff;}
.stu-feat .tag{display:inline-block;background:var(--red);font-size:11.5px;padding:3px 14px;border-radius:20px;letter-spacing:1px;margin-bottom:10px;}
.stu-feat h3{font-size:19px;font-weight:700;line-height:1.5;}
.stu-rows a{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:19px 4px;border-bottom:1px solid var(--line);}
.stu-rows a:first-child{padding-top:0;}
.stu-rows h4{font-size:16px;color:var(--navy);font-weight:700;line-height:1.55;flex:1;min-width:0;transition:.2s;}
.stu-rows a:hover h4{color:var(--red);}
.stu-rows .sd{flex:none;font-size:13px;color:var(--muted);letter-spacing:.5px;}

@media(max-width:1000px){
  .hero{height:320px;}
  .hero-arrow{width:48px;height:48px;margin-top:-24px;font-size:30px;opacity:1;}
  .hero-prev{left:10px;}
  .hero-next{right:10px;}
  .hero-dots{right:20px;bottom:16px;}
  .hero-card{bottom:20px;}
  .hero-card .box{padding:18px 20px;max-width:92%;}
  .hero-card h1{font-size:17px;}
  .news-grid,.stu-grid,.prog-grid{grid-template-columns:1fr;}
  .news-feat{height:260px;}
  .plat-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .quick-grid{grid-template-columns:1fr;gap:26px;}
  .quick-col{padding:0;}
  .quick-col + .quick-col{border-left:0;}
  .notice-list{grid-template-columns:repeat(2,1fr);gap:14px;}
  .fac-grid{grid-template-columns:1fr;}
  .stats .container{grid-template-columns:repeat(2,1fr);}
  .stats .cell{border-left:0;}
}
@media(max-width:640px){
  .hero-arrow{display:none;}
  .sec-head{flex-wrap:wrap;gap:10px;}
  .sec-title{font-size:22px;}
  .sec-head .sec-title small{font-size:12px;}
  .hero-card h1{font-size:16px;}
}