/* 博客导航栏样式 - 添加到文章页面 */

/* 顶部导航 - 浅色风格 */
.blog-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 750px;
  margin: 0 auto;
  background: rgba(248, 250, 251, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.blog-nav a {
  color: #4a7c7e;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}

.blog-nav a:hover {
  color: #f4a261;
}

.blog-nav svg {
  width: 16px;
  height: 16px;
}

.blog-nav .nav-brand {
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 文章内容区域需要留出导航栏空间 */
body.blog-article {
  padding-top: 52px;
}

/* 底部导航 */
.blog-footer-nav {
  max-width: 750px;
  margin: 0 auto;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: #f8fafb;
}

.blog-footer-nav a {
  flex: 1;
  padding: 15px 20px;
  background: rgba(74, 124, 126, 0.08);
  border-radius: 8px;
  text-decoration: none;
  color: #4a7c7e;
  font-size: 14px;
  transition: all 0.3s;
}

.blog-footer-nav a:hover {
  background: rgba(74, 124, 126, 0.15);
}

.blog-footer-nav .prev-article {
  text-align: left;
}

.blog-footer-nav .next-article {
  text-align: right;
}

.blog-footer-nav .nav-label {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.blog-footer-nav .nav-title {
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 返回列表按钮 */
.back-to-list {
  max-width: 750px;
  margin: 0 auto;
  padding: 20px 30px;
  background: #f8fafb;
  text-align: center;
}

.back-to-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4a7c7e, #f4a261);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.back-to-list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 124, 126, 0.3);
}

.back-to-list svg {
  width: 16px;
  height: 16px;
}
