.content-wrapper {
  padding: 2rem 0;
  position: relative;
  z-index: 20;
}

.main-content {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(134, 86, 170, .06);
  padding: 32px;
  border: none;
}

.sidebar-menu {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(134, 86, 170, .06);
  padding: 28px;
  border: none;
  height: fit-content;
}

/* ========== 美化面包屑导航 - 优化版 ========== */
.breadcrumb {
  padding: 14px 18px !important;
  margin-bottom: 0 !important;
  font-size: 15px !important;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap; /* 小屏幕自动换行 */
  background: rgba(255, 255, 255, .95) !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05) !important;
  border: 1px solid rgba(0, 0, 0, .05) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: " / " !important; /* 更美观的分隔符 */
  color: #bbb !important;
  font-weight: 400;
  padding: 0 4px;
}

.breadcrumb a {
  color: #555 !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
  padding: 2px 4px;
  border-radius: 4px;
}

.breadcrumb a:hover {
  color: var(--primary) !important;
  background: rgba(134, 86, 170, .06) !important;
  transform: translateY(-1px);
}

.breadcrumb .active {
  color: #222 !important;
  font-weight: 600 !important;
  max-width: 60%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 图标在最顶部 */
.article-tool {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.article-tool .btn {
  width: 26px;
  height: 26px;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.article-tool .btn:hover {
  color: var(--primary);
}

.article-title {
  font-family: "小标宋体", "SimHei", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 15px;
}

.article-meta {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  text-align: center;
  border-bottom: 1px dashed #eee;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.article-content {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
  text-align: justify;
}

.article-content p {
  margin-bottom: 18px;
}

.sidebar-menu .list-group-item {
  border: none;
  padding: 11px 16px;
  color: #333;
  border-radius: 6px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  font-size: 18px;
}

.sidebar-menu .list-group-item.active {
  background: var(--primary-transparent15);
  color: var(--primary);
  font-weight: 600;
}

.sidebar-menu .list-group-item:hover {
  background: var(--primary-transparent15);
  color: var(--primary);
}

/* ✅ 全浏览器兼容打印方案 */
@media print {
  .header-top,
  .school-navbar,
  .breadcrumb,
  .sidebar-menu,
  .footer-link,
  .article-tool,
  .back-to-top {
    display: none !important;
  }

  body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-content {
    box-shadow: none !important;
    background: #fff !important;
    border: none !important;
    padding: 20px !important;
    margin: 0 !important;
  }

  .article-title {
    text-align: center !important;
    font-size: 22px !important;
    color: #000 !important;
  }

  .article-meta {
    font-size: 14px !important;
    color: #333 !important;
    border: none !important;
  }

  .article-content {
    font-size: 16px !important;
    color: #000 !important;
  }

  .article-content p {
    page-break-inside: avoid;
  }
}

.v_news_content img {
  max-width: 100% !important;
  height: auto !important;
}

/* 独立图片弹窗 极简版 无冲突 */
#simpleImgModal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999999;
  text-align: center;
  padding-top: 30px;
  box-sizing: border-box;
}

#simpleImgModal img {
  max-width: 90%;
  max-height: 85vh;
}

#simpleImgModal .ctrl {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

#simpleImgModal button {
  background: #fff;
  border: none;
  padding: 8px 20px;
  margin: 0 10px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}