body {
  color: #444;
  /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans CN", "WenQuanYi Micro Hei", sans-serif;
  font-size: 87.5%;
}

a {
  color: #3354AA;
  text-decoration: none;
}
a:hover, a:active {
  color: #444;
}
table {
  border: 1px solid #ddd;
  width: 100%;
}
table th,
table td {
  padding: 5px 10px;
  border: 1px solid #eee;
}
table th {
  background: #f3f3f3;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans CN", "WenQuanYi Micro Hei", sans-serif;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
  padding: 5px;
  border: 1px solid #E9E9E9;
  width: 100%;

  border-radius: 2px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
textarea {
  resize: vertical;
}
ul {
  list-style: none; /* 去除项目符号 */
  padding-left: 0;  /* 去除默认的左内边距 */
}

li a {
  display: block;   /* 让链接填充整个列表项宽度，方便点击 */
  text-decoration: none; /* 可选：去除链接默认下划线 */
  padding: 2px 0;   /* 可选：增加链接的内边距 */
}

/* Special link style */
.post-meta a,
.post-content a,
.widget a,
.comment-content a {
  border-bottom: 1px solid #EEE;
}

.post-meta a:hover,
.post-content a:hover,
.widget a:hover,
.comment-content a:hover {
  border-bottom-color: transparent;
}

/* ------------------
 * Header
 * --------------- */

#header {
  padding-top: 10px;
  border-bottom: 1px solid #52d441;
}


#logo img {
    max-height: 70px;
}


/* Navigation menu */
#nav-menu {
  margin: 5px 0 5px 0;
  padding: 0;
}
#nav-menu a {
  display: block;
  margin-right: -1px;
  padding: 0 0px 0 10px;
  border: 0px solid #EEE;
  border-bottom: none;
  height: 32px;
  line-height: 32px;
  color: #666;
  float: left;
}
#nav-menu a:hover,
#nav-menu .current {
  background: #F6F6F6;
}



/* Search */
#search {
  position: relative;
  margin-top: 15px;
}
#search input {
  padding-right: 30px;
}
#search button {
  position: absolute;
  right: 4px;
  top: 2px;
  border: none;
  padding: 0;
  width: 24px;
  height: 24px;
  background: transparent url(img/icon-search.png) no-repeat center center;
  direction: ltr; /* fix RTL language */
  text-indent: -9999em;
}

@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) {
  #search button {
    background-image: url(img/icon-search@2x.png);
    -webkit-background-size: 24px 24px;
    -moz-background-size: 24px 24px;
    -o-background-size: 24px 24px;
    background-size: 24px 24px;
  }
}


/* ------------------
 * Main
 * --------------- */

.post {
  padding: 15px 0 3px;
}

.post .tags {
  clear: both;
}

.post-near {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  color: #999;
}
.post-near li {
  margin: 10px 0;
}

.archive-title {
  margin: 1em 0 -1em;
  padding-top: 20px;
  color: #999;
  font-size: 1em;
}
.more {
  text-align: center;
}
.more a {
  border: none;
}
.protected .text {
  width: 50%;
}

/* Page nav */

.page-navigator {
  list-style: none;
  margin: 6px 0;
  padding: 0;
  text-align: center;
}
.page-navigator li {
  display: inline-block;
  margin: 0 4px;
}
.page-navigator a {
  display: inline-block;
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
    font-size: 18px;
}
.page-navigator a:hover {
  background: #EEE;
  text-decoration: none;
}

.page-navigator .current a {
  color: #444;
  background: #EEE;
}


/* ------------------
 * secondary
 * --------------- */
#secondary {
  padding-top: 15px;
  word-wrap: break-word;
}
.widget {
  margin-bottom: 30px;
}
.widget-list {
  list-style: none;
  padding: 0;
  width: 100%;
  overflow: hidden;
}



/* 为分类链接添加下划线效果 */
.widget-list li a {
  display: inline-block;
  border-bottom: none;
}

.widget-list {
  list-style: none;
  padding: 0;
}
.widget-list li {
  margin: 5px 0;
  line-height: 1.6;
}

.widget-list li ul {
  margin-left: 15px !important;
}



/* ------------------
 * 树状分类列表样式
 * --------------- */
/* 单合网站全部分类树状样式 */
.category-neirongkuai ul.widget-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
}

.category-neirongkuai ul.widget-list li {
  position: relative !important;
  padding-left: 28px !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

/* 垂直连接线 - 所有子分类都显示垂直连接线（保留!important） */
.category-neirongkuai ul.widget-list li li::before {
  content: '' !important;
  position: absolute !important;
  left: 10px !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 1px !important;
  background-color: #999 !important;
  z-index: 1 !important;
  display: block !important;
}

/* 水平连接线 - 所有子分类都显示水平连接线（保留!important） */
.category-neirongkuai ul.widget-list li li::after {
  content: '' !important;
  position: absolute !important;
  left: 10px !important;
  top: 15px !important;
  width: 12px !important;
  height: 1px !important;
  background-color: #999 !important;
  z-index: 1 !important;
  display: block !important;
}

/* 移除最后一个子项的垂直连接线（保留!important） */
.category-neirongkuai ul.widget-list li li:last-child::before {
  bottom: auto !important;
  height: 15px !important; /* 只延伸到水平线位置 */
}

/* 移除根节点的连接线（保留!important） */
.category-neirongkuai ul.widget-list > li::before,
.category-neirongkuai ul.widget-list > li::after {
  display: none !important;
}

/* 精简部分开始 - 以下可以移除!important */
/* 调整嵌套列表的样式 */
.category-neirongkuai ul.widget-list li ul {
  margin-left: 0;
  padding-left: 0;
}

/* 确保嵌套列表项有正确的缩进 - 所有层级 */
.category-neirongkuai ul.widget-list li ul li {
  padding-left: 28px;
}

/* 分类链接样式 */
.category-neirongkuai ul.widget-list li a {
  display: inline-block;
  border-bottom: none;
}





/* ------------------
 * Footer 
 * --------------- */
#footer {
  padding: 2em 0;
  line-height: 1.5;
  text-align: center;
  color: #999;
  border-top: 1px solid #48c23b;
}


/* -----------------
 * Error page
 * -------------- */
.error-page {
  margin-top: 100px;
  margin-bottom: 100px;
}
/* -----------------
 * Misc
 *--------------- */
.aligncenter, div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
}
.alignright {
  float: right;
}
img.alignleft {
  margin: 0 15px 0 0;
}
img.alignright {
  margin: 0 0 0 15px;
}


/* -----------------
 * Responsive
 *--------------- */
@media (max-width: 767px) {
  body {
    font-size: 81.25%;
  }
  #nav-menu a {
    float: none;
    display: inline-block;
    margin: 0 -2px;
  }
}

@media (max-width: 768px) {
  #header,
  .post-title,
  .post-meta {
    text-align: center;
  }
}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {
  .container {
    max-width: 952px;
  }
}


/*
* Hide from both screenreaders and browsers: h5bp.com/u
*/
.hidden {
  display: none !important;
  visibility: hidden; }

/*
* Hide only visually, but have it available for screenreaders: h5bp.com/v
*/
.sr-only {
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

/*
* Extends the .sr-only class to allow the element to be focusable
* when navigated to via the keyboard: h5bp.com/p
*/
.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto; }

/*
* Hide visually and from screenreaders, but maintain layout
*/
.invisible {
  visibility: hidden; }

/* =======================
   统一整理的模板样式
   ======================= */

/* =======================
   1. 头部布局样式
   ======================= */
/* —— 头部 Logo 和信息布局 —— */
.header-layout {
  display: flex;
  align-items: flex-start; /* 顶部对齐 */
  gap: 0; /* 去除间隙 */
}

.header-logo {
  flex: 0 0 180px; /* 固定宽度 180px，不伸缩 */
}

.header-info {
  flex: 0 0 max-content; /* 根据内容确定宽度 */
  min-width: 210px; /* 设置最小宽度 */
  max-width: 300px; /* 设置最大宽度 */
}
/* Logo 图片样式 */
#logo img {
  width: 180px;
  height: 70px;
  display: block;
  max-height: 70px; 
}


/* 文字块通用样式 */
.toubuwangzhi,
.wangzhanyijuhua {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  margin:0;
  
}

.toubuwangzhi {
  height: 40px;
  font-size: 33px;
  padding: 10px 0 0 10px;
  letter-spacing: 2px;
}

.wangzhanyijuhua {
  padding: 5px 0px 0 8px;
  height: 30px;
  border-bottom: 2px solid #52d441;
  font-size: 15px;
  color: #333;
}
/* =======================
   2. 导航栏样式
   ======================= */
/* 导航栏响应式字体大小 */
.nav-container {
  background-color: #eee;
  padding: 0px 0 0 0;
  margin: 10px 0 10px 0;
  border-radius: 10px;
}

.nav-container a {
  display: block;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
}


/* =======================
   5. 响应式设计
   ======================= */
/* 手机端：保持水平排列，无间隙 */
@media (max-width: 767px) {
  .header-layout {
    gap: 0; /* 保持无间隙 */
  }

  .header-logo {
    flex: 0 0 120px; /* 减小Logo宽度 */
  }
  
  .header-info {
    flex: 1; /* 允许伸缩，自适应剩余空间 */
    min-width: 150px; /* 设置最小宽度 */
    max-width: 170px; /* 设置最大宽度 */
  }
  
  .toubuwangzhi {
    padding: 10px 0 0 8px;
    font-size: 28px; /* 减小字体 */
    letter-spacing: 1px;
  }
  .wangzhanyijuhua {
    font-size: 12px; /* 减小字体 */
    padding: 5px 0px 0 2px;
    letter-spacing:0px;
  }
  .nav-container a {
	  font-size: 18px;
  }
#nav-menu a {
  padding: 0 0px 0 0px;
}

}

/* =======================
   3. 容器样式
   ======================= */
/* (列表页面)列表块样式 */
.category-neirongkuai {
  padding: 10px 12px 2px 12px;
  background-color: #eee;
  border-radius: 10px;      /* 四个角相同 */
  margin:0px 0 12px 0;
}
.category-neirongti {
    font-size: 20px;
    font-weight: normal;
    margin: 0px 0 2px 0;
    color: #666;
    letter-spacing: 1px;
    line-height: 20px;
    min-height: 20px;
    display: flex;
    align-items: center;
}
.category-neirongti span {
    position: relative;
    display: inline-block;
    padding: 0 0 0 30px;
    border-bottom: 1px solid #52d441;
    line-height: 25px;
}
.category-neirongti span::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 19px;
    height: 20px;
    background-image: url('/neirongbiao.png');
    background-repeat: no-repeat;
    background-size: 19px 20px;
    background-position: center;
}
.category-neirongzhi {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
    margin: 0px 0 8px 0;
}
.category-neirongzhi p {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
    margin: 0px 0 0px 0;
}

/* （文章页面）内容块样式 */
.post-neirongkuai {
  padding: 8px 12px;
  background-color: #eee;
  border-radius: 10px;      /* 四个角相同 */
  margin:0px 0 12px 0;
}
/* 文章页面版本 */
.post-neirongti {
    font-size: 22px;
    font-weight: normal;
    margin: 0px 0 10px 0;
    color: #666;
    letter-spacing: 1px;
}
.post-neirongti span {
    position: relative;
    display: inline-block;
    padding-left: 35px; /* 图标宽度23px + 右边距7px + 前面空白5px */
    padding-bottom: 1px;
    border-bottom: 1px solid #52d441;	
}
.post-neirongti span::before {
    content: "";
    position: absolute;
    left: 7px; /* 前面留出5px空白 */
    top: 50%;
    transform: translateY(-50%);
    width: 23px;
    height: 24px;
    background-image: url('/neirongbiao.png');
    background-repeat: no-repeat;
    background-size: 23px 24px; /* 精确尺寸 */
    background-position: center;	
}
.post-neirongzhi {
    font-size: 16px;
	color: #666;
	word-wrap: break-word; /* 防止长文本溢出 */
}
.post-neirongzhi p {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
    margin: 0px 0 0px 0;
}

        /* 底部搜索框容器 */
        .danhediso {
            width: 330px;
            margin: 0px auto;
            padding: 0px;
        }
        
        /* 底部搜索框表单 */
        .danhediso-form {
            display: flex;
            width: 100%;
            border: 1px solid #48c23b;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s;
        }
        
        .danhediso-form:focus-within {
            border-color: #48c23b;
            box-shadow: 0 0 0 2px rgba(72, 194, 59, 0.1);
        }
        
        /* 底部搜索框输入框 */
        .danhediso-input {
            flex: 1;
            padding: 12px 16px;
            border: none;
            font-size: 15px;
            outline: none;
        }
        
        /* 底部搜索框按钮 */
        .danhediso-btn {
            padding: 0 25px;
            background: transparent;
            color: #48c23b;
            border: none;
            font-size: 15px;
            font-weight: 480;
            cursor: pointer;
            border-left: 1px solid #f0f0f0;
            transition: all 0.3s;
        }
        
        .danhediso-btn:hover {
            background: rgba(72, 194, 59, 0.1);
        }
        
        /* 底部搜索框隐藏标签 */
        .danhediso-sr {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }

