html, body { margin: 0; }
body { background: #fff; padding-top: 0 !important; font-family: -apple-system, "Microsoft YaHei", sans-serif; color: #1f2a37; }

.wp { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.n_banner { position: relative; border: 0 !important; margin: 0 !important; padding: 0 !important; }
.n_banner .img { height: 300px; max-height: none; overflow: hidden; }
.n_banner .img img { width: 100%; height: 100%; display: block; object-fit: cover; }
/* 学院概述：固定高度裁切，避免全景横幅过宽过扁 */
.n_banner.n_banner--xygs .img {
  height: 320px;
  min-height: 320px;
  max-height: 320px;
  overflow: hidden;
  background: #052e5e;
}
.n_banner.n_banner--xygs .img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
/* 通知公告：横幅下移取景，露出图书馆主体 */
.n_banner.n_banner--tzgg .img img {
  object-position: center 52%;
}
.n_banner .top { position: absolute; left: 0; right: 0; bottom: 14px; }
.n_banner .top h2 { color: #fff; font-size: 40px; font-weight: 900; text-shadow: 0 6px 18px rgba(0,0,0,.28); }
.n_banner .posi { margin-top: 10px; color: rgba(255,255,255,.95); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.n_banner .posi a { color: rgba(255,255,255,.95); text-decoration: none; }
.n_banner .posi a:hover { text-decoration: underline; }
@media (max-width: 1024px) { .n_banner .top h2 { font-size: 30px; } }
@media (max-width: 640px) { .n_banner .top h2 { font-size: 26px; } }

.detail-wrap { max-width: 1200px; margin: 0 auto; padding: 44px 18px 64px; }
.article-card { background: #fff; }
.article-title { font-size: 28px; line-height: 1.45; color: #1f2937; text-align: center; font-weight: 800; letter-spacing: 0.2px; }
.article-meta {
  margin-top: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6e9ef;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}
.meta-item { display: inline-flex; align-items: center; gap: 6px; }
.meta-sep { color: #cbd5e1; }
.tools { display: inline-flex; align-items: center; gap: 10px; margin-left: 8px; }
.tool-btn {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #334155;
  height: 28px;
  padding: 0 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}
.tool-btn:hover { border-color: #cbd5e1; background: #f8fafc; }
.article-body { padding-top: 20px; }
.article-body p { font-size: 16px; line-height: 2.05; color: #334155; margin: 0 0 14px; text-align: justify; }
.article-body.size-sm p { font-size: 15px; }
.article-body.size-lg p { font-size: 18px; }
.figure { margin: 18px auto 22px; text-align: center; }
.figure img { max-width: 680px; width: 100%; height: auto; display: inline-block; border: 1px solid #e7ebf0; }
.figure figcaption { margin-top: 10px; color: #6b7280; font-size: 13px; }
.related { margin-top: 34px; padding-top: 22px; border-top: 1px solid #eef2f7; }
.related h2 { font-size: 18px; color: #3257b0; font-weight: 800; margin-bottom: 12px; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { padding: 10px 0; border-bottom: 1px dashed #e5e7eb; display: flex; gap: 12px; align-items: baseline; }
.related li:last-child { border-bottom: 0; }
.rel-date { color: #94a3b8; font-size: 13px; flex-shrink: 0; width: 110px; }
.rel-title { color: #1f2937; font-weight: 700; line-height: 1.6; }
.rel-title:hover { color: #3257b0; }
@media (max-width: 1024px) {
  .detail-wrap { padding: 26px 14px 52px; }
  .article-title { font-size: 22px; text-align: left; }
  .article-meta { justify-content: flex-start; }
  .figure img { max-width: 100%; }
}

/* 详情页顶部效果：导航透明覆盖在首图上 */
:root{
  --navbar-bg: transparent;
  --navbar-text: #ffffff;
  --navbar-hover: #00d2ff;
}
body { padding-top: 0 !important; }
.cie-navbar{
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.cie-navbar.is-solid{
  background: rgba(0, 71, 157, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(4px) !important;
}
