/* 隐藏博客园原生导航/标题（避免重复） */
#blog_nav_block,
#header h1,
.navbar,
#navigator {
  display: none !important;
  visibility: hidden !important;
}

/* 自定义标题样式（匹配截图的Zhgedu Blogs） */
.blog-title {
  font-size: 24px !important;
  font-weight: bold !important;
  color: #000 !important;
  padding: 15px 20px !important;
  margin: 0 !important;
}

/* 自定义导航容器 - 放在标题下方，纯绿色背景 */
#custom-nav-wrap {
  background-color: #47a884 !important; /* 截图的青绿色 */
  width: 100% !important;
  height: 45px !important;
  line-height: 45px !important;
  margin: 0 0 20px 0 !important; /* 标题下方，底部留空白 */
  padding: 0 !important;
  position: relative !important;
  z-index: 99 !important;
}

/* 导航列表 - 水平均分 */
.custom-nav-list {
  list-style: none !important;
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 导航项 - 均分宽度 */
.custom-nav-item {
  flex: 1 !important;
  text-align: center !important;
  height: 100% !important;
  position: relative !important;
}

/* 分隔线（匹配截图的白色竖线） */
.custom-nav-item:not(:last-child)::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 10% !important;
  height: 80% !important;
  width: 1px !important;
  background-color: rgba(255,255,255,0.8) !important;
}

/* 导航链接样式（白色文字） */
.custom-nav-link {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* 悬浮效果（略深的绿色） */
.custom-nav-link:hover {
  background-color: #3d9473 !important;
  color: #f0f9f5 !important;
  text-decoration: none !important;
}

/* 修复返回顶部样式 */
#back-top {
  position: fixed !important;
  bottom: 10px !important;
  right: 5px !important;
  z-index: 9999 !important;
}