/* 主体容器通用 */
html, body {
  height: 100%;
  margin: 0;
}
#app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
/* 主体区域自动占满剩余空间，把页脚挤到最底部 */
.main-wrap {
  flex: 1;
}

/* 面包屑导航 */
.breadcrumb {
  width: min(1300px, 92%);
  margin: 0 auto 30px;
  padding: 12px 15px;
  font-size: 15px;
  color: #666;
  border-bottom: 1px solid #e6ece9;
}
.breadcrumb a {
  color: #00965e;
  text-decoration: none;
  margin: 0 4px;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span {
  color: #333;
}

/* 文章头部：标题+发布时间 */
.article-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6ece9;
}
.article-header h1 {
  font-size: 38px;
  color: #007f51;
  margin: 0 0 16px;
  line-height: 1.3;
  font-weight: 600;
}
.article-meta {
  font-size: 14px;
  color: #7f8b87;
}

/* 文章正文 */
.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  text-align: justify;
  margin-bottom: 50px;
}
.article-content p {
  margin: 18px 0;
}
.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 4px;
}

/* 分享按钮区域 */
.share-bar {
  text-align: center;
  margin: 40px 0;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #00965e;
  color: #fff;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.25s ease;
}
.share-btn:hover {
  background: #007f51;
}



/* 上下篇整体容器 */
.article-turn {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #e6ece9;
}
/* 上一篇样式 */
.prev-next {
  font-size: 15px;
  margin-bottom: 16px;
}
/* 下一篇样式 */
.next-next {
  font-size: 15px;
}
.article-turn span {
  color: #666;
}
.article-turn a {
  color: #00965e;
  text-decoration: none;
  margin-left: 6px;
}
.article-turn a:hover {
  text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 860px) {
  .article-turn {
    padding-top: 20px;
  }
  .prev-next, .next-next {
    font-size: 14px;
  }
}


/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 30px;
  width  : 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: #00965e;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 18;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.25s;
}
.back-to-top:hover {
  background: #007f51;
}

/* 移动端适配（屏幕 ≤860px） */
@media (max-width: 860px) {
  .main-wrap {
    padding: 40px 0 60px;
  }
  .article-header h1 {
    font-size: 26px;
  }
  .article-content {
    font-size: 15px;
  }
  .breadcrumb {
    font-size: 14px;
  }
  .back-to-top {
    right: 15px;
    width: 38px;
    height: 38px;
    line-height: 38px;
  }
}

