/* 新闻博客详情页 */
.news-page-detail {
  margin-top: 50px;

}

/* 新闻内容区域的图片样式 - 根据自身大小显示 */
.news-page-detail .news-content img {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
  display: block;
  margin: 20px auto;
  object-fit: contain;
}

/* 确保图片不会超出容器 */
.news-page-detail .news-content {
  overflow-x: auto;
}

/* 中文内容区域的图片样式 */
.news-page-detail .news-content-zh img {
  max-width: 100% !important;
  height: auto !important;
  width: auto !important;
  display: block;
  margin: 20px auto;
  object-fit: contain;
}

.news-page-detail h2 {
  text-align: center;
}



.news-page-detail .news-page-time {
  display: flex;
  margin-top: 8px;
  margin-left: auto;
  width: 100px;
  height: 28px;
  border-bottom: 1px solid #ffc400;


}

.news-page-detail .news-page-time img {
  width: 20px;
  height: 20px;
}

.news-page-detail .news-page-time span {
  margin-left: 5px;
  font-size: 12px;
}



.news-page-detail .row .pic-1 {
  margin-bottom: 20px;

}


/* 上一篇 下一篇导航 */

.news-page-detail .news-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.news-page-detail .news-nav-btn {
  display: flex;
  align-items: center;
  padding: 10px 0;
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
  text-decoration: none;
  color: #6c757d;
  transition: all 0.3s ease;
  height: 100%;
  /* 固定高度 */
  width: 300px;
  /* 固定宽度 */
  box-sizing: border-box;
}

.news-page-detail .news-nav-btn:hover {
  color: #333;
  border-color: #ffa800;
  text-decoration: none;
  transform: translateY(-2px);
}

/* 上一篇：图标在左，文字在右 */
.news-page-detail .prev-btn {
  justify-content: flex-start;
  /* 从左开始排列 */
}

/* 下一篇：文字在左，图标在右 */
.news-page-detail .next-btn {
  justify-content: flex-end;
  /* 从右开始排列 */
}

.news-page-detail .btn-label {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 5px;
}

.news-page-detail .news-nav-btn:hover .btn-label {
  color: #333;
}

.news-page-detail .btn-content .next {
  text-align: right;
}

.news-page-detail .news-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.news-page-detail .arrow-icon {
  font-size: 20px;
  font-weight: bold;
  margin: 0 15px;
}

.news-page-detail .prev-btn .arrow-icon {
  order: -1;
  /* 箭头在左边 */
}

.news-page-detail .next-btn .arrow-icon {
  order: 1;
  /* 箭头在右边 */
}

/* 响应式调整 */
@media (max-width: 768px) {
  /* 小屏也保持一行显示 */
  .news-page-detail .news-navigation {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .news-page-detail .news-nav-btn {
    width: auto;           /* 让按钮宽度随内容 */
    flex: 1 1 0;           /* 两侧均分可用空间 */
    min-width: 0;          /* 允许缩小避免换行 */
    height: 64px;          /* 略微降低高度以适配小屏 */
    padding: 8px 10px;
    box-sizing: border-box;
  }

  .news-page-detail .btn-content {
    overflow: hidden;      /* 防止标题过长溢出 */
  }

  .news-page-detail .news-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .news-page-detail .btn-label {
    font-size: 12px;
  }
}