@media (max-width: 768px) {
  .navbar {
    padding: 12px 16px;
  }
  .navbar .brand-logo img {
    height: 32px;
  }
  .navbar .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu {
    width: 100%;
    right: -100%;
    padding: 80px 24px 30px;
  }
}


/* ===== Banner ===== */
.page-banner {
  width: 100%;
  height: 320px;
  background: url("/images/newsbanner.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

@media (max-width: 768px) {
  .page-banner {
    height: 220px;
  }
  .page-banner .banner-text h1 {
    font-size: 2.2rem;
  }
}

/* ===== 面包屑 ===== */
.page-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  border-bottom: 1px solid #e8ecf2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: #6a7f9b;
}
.page-nav a {
  color: #1a2639;
  text-decoration: none;
  transition: 0.2s;
}
.page-nav a:hover {
  color: #ae1623;
}
.page-nav .sep {
  color: #c0c8d6;
}
.page-nav .current {
  color: #ae1623;
  font-weight: 600;
}

/* ===== 内容主体 ===== */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ===== 新闻详情头部 ===== */
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.news-header-left {
  display: flex;
  flex-direction: column;
}
.news-header-left .main-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a2639;
  letter-spacing: 2px;
}
.news-header-left .sub-title {
  font-size: 0.9rem;
  color: #6a7f9b;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* 新闻分类 - 无圆角红色背景，框不动只动横线 */
.news-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

      .news-categories .cat-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
        font-weight: 500;
        color: #fff;
        cursor: pointer;
        padding: 8px 18px;
        background: rgb(164, 30, 37);
        border-radius: 0;
        transition: background 0.2s;
        text-decoration: none;
      }
      .news-categories .cat-item .line {
        display: inline-block;
        width: 0;
        height: 2px;
        background: rgba(255, 255, 255, 0.8);
        transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        flex-shrink: 0;
      }
      .news-categories .cat-item.active .line,
      .news-categories .cat-item:hover .line {
        width: 24px;
      }
      .news-categories .cat-item:hover,
      .news-categories .cat-item.active {
        background: rgb(164, 30, 37);
        transform: none;
        box-shadow: none;
      }

/* 灰色长线 */
.news-divider {
  width: 100%;
  height: 1px;
  background: #d0d7e2;
  margin: 10px 0 30px 0;
}

/* ===== 新闻详情内容 ===== */
/* ===== 新闻详情内容 ===== */
.news-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* 标题 - 居中 */
.news-detail .detail-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a2639;
  line-height: 1.3;
  margin-bottom: 16px;
  text-align: center;
}

/* 元信息：发布时间 + 发布人 - 居中 */
.news-detail .detail-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
  color: #6a7f9b;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eef2f7;
}
.news-detail .detail-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-detail .detail-meta .meta-item i {
  width: 16px;
  color: #b0b8c5;
}

/* 特色图片 */
.news-detail .detail-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #d9e2f0;
}
.news-detail .detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 正文内容 */
.news-detail .detail-body {
  font-size: 1rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 40px;
}
.news-detail .detail-body p {
  margin-bottom: 18px;
}
.news-detail .detail-body img {
    max-width:100%
}
.news-detail .detail-body strong {
  color: #1a2639;
}

/* ===== 上一篇 / 下一篇导航 ===== */
.detail-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}
.detail-pagination .prev-link,
.detail-pagination .next-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a2639;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s;
  max-width: 45%;
}
.detail-pagination .prev-link:hover,
.detail-pagination .next-link:hover {
  color: #ae1623;
}
.detail-pagination .prev-link i,
.detail-pagination .next-link i {
  font-size: 0.8rem;
  transition: 0.3s;
  color: #b0b8c5;
}
.detail-pagination .prev-link:hover i {
  transform: translateX(-4px);
  color: #ae1623;
}
.detail-pagination .next-link:hover i {
  transform: translateX(4px);
  color: #ae1623;
}
.detail-pagination .link-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-pagination .disabled {
  color: #c0c8d6;
  cursor: default;
  pointer-events: none;
}
.detail-pagination .disabled i {
  color: #d0d7e2;
}

/* 返回列表 */
.detail-back {
  text-align: center;
  margin-top: 10px;
}
.detail-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a2639;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  padding: 10px 24px;
  border: 1px solid #e0e5ed;
  border-radius: 6px;
}
.detail-back a:hover {
  color: #ae1623;
  border-color: #ae1623;
}
.detail-back a i {
  transition: 0.3s;
}
.detail-back a:hover i {
  transform: translateX(-4px);
}

/* ===== 底部 ===== */
.footer {
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 30px 20px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: #2d4059;
  line-height: 1.7;
  background: #f8faff;
}
.footer .footer-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 20px;
}
.footer .footer-row .sep {
  color: #b0b8c5;
  margin: 0 4px;
}
.footer .footer-row a {
  color: #3b6cb7;
  text-decoration: none;
}
.footer .footer-row a:hover {
  text-decoration: underline;
}
@media (max-width: 768px) {
  .footer {
    padding: 20px 16px 16px;
    font-size: 0.7rem;
  }
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
       .content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 20px;
}
  .news-header {
    flex-direction: column;
    gap: 16px;
  }
  .news-header-left .main-title {
    font-size: 1.8rem;
  }
  .news-categories .cat-item {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .news-detail .detail-title {
    font-size: 1.5rem;
  }
  .detail-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .detail-pagination .prev-link,
  .detail-pagination .next-link {
    max-width: 100%;
  }
  .detail-pagination .next-link {
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .news-categories .cat-item {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  .news-detail .detail-title {
    font-size: 1.2rem;
  }
  .news-detail .detail-meta {
    font-size: 0.85rem;
    gap: 12px;
  }
}

/* ===== 上一篇 / 下一篇导航 ===== */
.detail-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

/* 左侧（上一篇）容器 */
.detail-pagination .prev-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 45%;
  color: #1a2639;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s;
  text-decoration: none;
}
.detail-pagination .prev-wrap:hover {
  color: #ae1623;
}
.detail-pagination .prev-wrap i {
  font-size: 0.8rem;
  transition: 0.3s;
  color: #b0b8c5;
  flex-shrink: 0;
  padding-right: 8px;
}
.detail-pagination .prev-wrap:hover i {
  transform: translateX(-4px);
  color: #ae1623;
}

/* 右侧（下一篇）容器 */
.detail-pagination .next-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 45%;
  color: #1a2639;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s;
  text-decoration: none;
}
.detail-pagination .next-wrap:hover {
  color: #ae1623;
}
.detail-pagination .next-wrap i {
  font-size: 0.8rem;
  transition: 0.3s;
  color: #b0b8c5;
  flex-shrink: 0;
  padding-left: 8px;
}
.detail-pagination .next-wrap:hover i {
  transform: translateX(4px);
  color: #ae1623;
}

/* 文字溢出省略 */
.detail-pagination .link-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-pagination .link-text a {
  color: #1a2639;
  text-decoration: none;
  transition: 0.3s;
}
.detail-pagination .prev-wrap:hover .link-text a,
.detail-pagination .next-wrap:hover .link-text a {
  color: #ae1623;
}

/* 禁用状态（下一篇没有了） */
.detail-pagination .next-wrap.disabled {
  color: #c0c8d6;
  cursor: default;
  pointer-events: none;
}
.detail-pagination .next-wrap.disabled i {
  color: #d0d7e2;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .detail-pagination {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .detail-pagination .prev-wrap,
  .detail-pagination .next-wrap {
    max-width: 100%;
  }
  .detail-pagination .next-wrap {
    justify-content: flex-end;
  }
}