/* 武汉华美实验学校 · 新闻详情页共享样式（白蓝主题） */
:root{
  --blue:#1a4d8f;
  --blue-d:#123a6d;
  --blue-mid:#2f6bb0;
  --blue-l:#e8f0fa;
  --blue-ll:#f5f9fe;
  --text:#12263f;
  --text-2:#5a7291;
  --text-3:#93a7bf;
  --line:#e2eaf4;
  --radius:16px;
  --shadow:0 6px 24px rgba(26,77,143,.10);
  --shadow-s:0 2px 10px rgba(26,77,143,.08);
}
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:-apple-system,"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;
  color:var(--text);background:#fff;-webkit-font-smoothing:antialiased;line-height:1.8;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

/* ===== 导航 ===== */
.nav{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--line)}
.nav-inner{max-width:1180px;margin:0 auto;padding:0 24px;height:64px;
  display:flex;align-items:center;justify-content:space-between}
.brand-logo{display:flex;align-items:center;gap:11px;font-weight:600;font-size:17px;color:var(--blue)}
.brand-logo .mark{width:36px;height:36px;border-radius:50%;flex-shrink:0;
  background:url(logo.png) no-repeat left center;background-size:auto 36px}
.nav-links{display:flex;gap:30px;font-size:14.5px;color:var(--text-2)}
.nav-links a{transition:color .2s}
.nav-links a:hover{color:var(--blue)}
.nav-cta{padding:9px 20px;border-radius:999px;background:var(--blue);color:#fff;font-size:14px;
  box-shadow:var(--shadow-s);transition:background .2s,transform .18s}
.nav-cta:hover{background:var(--blue-d);transform:translateY(-1px)}

/* ===== 文章 ===== */
.wrap{max-width:820px;margin:0 auto;padding:48px 24px 70px}
.crumb{font-size:13.5px;color:var(--text-3);margin-bottom:22px}
.crumb a{color:var(--blue-mid)}
.crumb a:hover{text-decoration:underline}
.cat{display:inline-block;font-size:12.5px;color:var(--blue);background:var(--blue-l);
  padding:4px 12px;border-radius:999px;margin-bottom:16px}
h1.title{font-size:31px;line-height:1.42;font-weight:600;letter-spacing:.3px}
.meta{margin-top:16px;padding-bottom:22px;border-bottom:1px solid var(--line);
  font-size:13.5px;color:var(--text-3);display:flex;gap:20px;flex-wrap:wrap}
.hero{margin:28px 0 32px;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.hero img{width:100%;height:400px;object-fit:cover}

.body{font-size:16px;color:#26374d}
.body p{margin-bottom:20px}
.body p.lead{font-size:17px;color:var(--text)}
.body h2{font-size:19px;margin:30px 0 14px;padding-left:13px;border-left:4px solid var(--blue);color:var(--text)}
.body .quote{margin:26px 0;padding:18px 22px;background:var(--blue-ll);border-left:4px solid var(--blue-mid);
  border-radius:0 10px 10px 0;color:var(--text-2);font-size:15px}
.body ul{margin:0 0 20px 22px;color:var(--text-2)}
.body li{margin-bottom:8px}
.body figure{margin:26px 0;border-radius:12px;overflow:hidden;box-shadow:var(--shadow-s)}
.body figure img{width:100%;display:block}
.body figure figcaption{font-size:12.5px;color:var(--text-3);text-align:center;padding:9px 10px;background:var(--blue-ll)}

/* 上/下一篇 */
.pn{display:flex;gap:16px;margin-top:40px;padding-top:26px;border-top:1px solid var(--line)}
.pn a{flex:1;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fff;
  transition:border-color .2s,box-shadow .2s,transform .2s}
.pn a:hover{border-color:#9dc0e6;box-shadow:var(--shadow-s);transform:translateY(-2px)}
.pn a span{font-size:12px;color:var(--text-3)}
.pn a b{display:block;font-size:14.5px;font-weight:600;margin-top:5px;line-height:1.5}
.pn a.next{text-align:right}
.pn a.disabled{opacity:.45;pointer-events:none}

/* 相关动态 */
.more{background:var(--blue-ll);border-top:1px solid var(--line);padding:56px 24px}
.more-inner{max-width:1180px;margin:0 auto}
.more h2{font-size:22px;font-weight:600;margin-bottom:26px}
.more-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.mcard{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;
  box-shadow:var(--shadow-s);transition:transform .2s,box-shadow .2s;display:block}
.mcard:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.mcard img{width:100%;height:130px;object-fit:cover}
.mcard .tx{padding:13px 14px 16px}
.mcard .tx b{font-size:14px;font-weight:600;line-height:1.5;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mcard .tx span{display:block;font-size:12px;color:var(--text-3);margin-top:7px}

/* ===== 页脚 ===== */
.footer{background:var(--blue-d);color:#cfe0f5;padding:48px 24px 26px}
.footer-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px}
.footer h5{color:#fff;font-size:15px;margin-bottom:14px;font-weight:600}
.footer p,.footer li{font-size:13.5px;line-height:2;color:#b9cde8}
.footer ul{list-style:none}
.footer a{color:#b9cde8}
.footer a:hover{color:#fff}
.footer .logo-r{display:flex;align-items:center;gap:11px;color:#fff;font-weight:600;font-size:17px;margin-bottom:14px}
.footer .logo-r .mark{width:34px;height:34px;border-radius:50%;flex-shrink:0;background:#fff url(logo.png) no-repeat left center;background-size:auto 30px}
.footer .copy{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.12);margin-top:26px;padding-top:18px;
  font-size:12.5px;color:#8fb0da;text-align:center}

/* ===== 新闻中心（列表页） ===== */
.wrap-wide{max-width:1080px}
.nlist{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.nitem{display:flex;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;
  box-shadow:var(--shadow-s);transition:transform .2s,box-shadow .2s}
.nitem:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.nitem img{width:150px;height:104px;object-fit:cover;border-radius:10px;flex-shrink:0}
.nbody{min-width:0}
.ndate{font-size:12.5px;color:var(--blue-mid);margin-bottom:7px}
.nbody b{font-size:15px;font-weight:600;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;
  -webkit-box-orient:vertical;overflow:hidden}
.pager{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:36px}
.pager a,.pager span{padding:9px 15px;border:1px solid var(--line);border-radius:9px;font-size:14px;
  background:#fff;color:var(--text-2)}
.pager a:hover{border-color:#9dc0e6;color:var(--blue)}
.pager .cur{background:var(--blue);color:#fff;border-color:var(--blue)}
.pager .dis{opacity:.45}

@media(max-width:900px){
  .nav-links{display:none}
  h1.title{font-size:24px}
  .hero img{height:230px}
  .wrap{padding:30px 20px 50px}
  .pn{flex-direction:column}
  .pn a.next{text-align:left}
  .more-grid{grid-template-columns:repeat(2,1fr)}
  .nlist{grid-template-columns:1fr}
  .nitem img{width:112px;height:88px}
  .footer-inner{grid-template-columns:1fr;gap:24px}
}
