/* 文章列表整体容器 */
.news-section {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 列头标题样式 */
.news-section-title {
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 2px solid #0066cc;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
}

/* 标题左侧装饰线 */
.news-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: #0066cc;
    margin-right: 12px;
    border-radius: 2px;
}

/* 2列文章列表容器 */
.news-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0; /* 移除内部间距，改用边框分隔 */
    padding: 0;
}

/* 单个文章项样式 */
.news-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

/* 移除最后一列的右边框 */
.news-item:nth-child(2n) {
    border-right: none;
}

/* 移除最后一行的下边框 */
.news-item:nth-last-child(-n+2) {
    border-bottom: none;
}

/* 鼠标悬停效果 */
.news-item:hover {
    background: #fafbfc;
}

/* 文章标题样式 */
.news-item .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-item .title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-item .title a:hover {
    color: #0066cc;
}

/* 文章摘要样式 */
.news-item .sum {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 底部信息栏 */
.news-item .foot {
    font-size: 12px;
    color: #999;
    overflow: hidden;
}

.news-item .foot a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-item .foot a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* 响应式适配：屏幕小于768px时自动变为1列 */
@media (max-width: 768px) {
    .news-section {
        margin: 20px 0;
        border-radius: 4px;
    }
    
    .news-section-title {
        padding: 15px;
        font-size: 16px;
    }
    
    .news-list-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        border-right: none !important;
        padding: 15px;
    }
    
    .news-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .news-item:last-child {
        border-bottom: none;
    }
}
/* 侧边栏通用盒子样式 */
.sidebar-box {
    padding: 0;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 侧边栏标题栏 */
.sidebar-box-title {
    padding: 15px 20px;
    border-bottom: 3px solid #0066cc;
    position: relative;
}

.sidebar-box-title h3 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding-left: 15px;
}

.sidebar-box-title .title-line {
    position: absolute;
    left: 20px;
    top: 15px;
    bottom: 15px;
    width: 4px;
    background: #0066cc;
    border-radius: 2px;
}

/* 侧边栏列表 */
.sidebar-box-list {
    margin: 0;
    padding: 15px 20px;
    list-style: none;
}

.sidebar-box-list li {
    padding: 12px 0;
    border-bottom: 1px dotted #ddd;
    line-height: 1.6;
}

/* 最后一个列表项去掉底部分隔线 */
.sidebar-box-list li:last-child {
    border-bottom: none;
}

.sidebar-box-list a {
    color: #003366;
    text-decoration: none;
    font-size: 16px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 12px;
    position: relative;
    transition: color 0.2s ease;
}

/* 鼠标悬停效果 */
.sidebar-box-list a:hover {
    color: #0066cc;
}

/* 列表项左侧小圆点 */
.sidebar-box-list .dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #003366;
    border-radius: 50%;
}




























/* ====================== 列表页子栏目导航 - 完全独立命名，无冲突 ====================== */
/* 外层容器 */
.list-subnav-wrapper {
  width: 100%;
}

/* 内层容器 */
.list-subnav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 0; /* 去掉按钮之间的间隙 */
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 导航项通用样式 */
.list-subnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 15px;
  text-decoration: none;
  color: #4080c0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.list-subnav-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 图标样式 */
.list-subnav-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 文字样式 */
.list-subnav-text {
  font-size: 18px;
  font-weight: 500;
}

/* ====================== 自定义每个栏目的颜色和图标 ====================== */
/* 请根据你的实际栏目ID修改以下内容 */

/* 示例：栏目ID=1 - 官网链接 (浅蓝色) */
.list-subnav-item-1 {
  background-color: #a4c8f0;
}
.list-subnav-item-1 .list-subnav-icon {
  background-image: url(/skin/images/icon-star.png); /* 修改为你的图标路径 */
}

/* 示例：栏目ID=2 - 业务系统 (浅橙色) */
.list-subnav-item-2 {
  background-color: #f7e4c8;
}
.list-subnav-item-2 .list-subnav-icon {
  background-image: url(/skin/images/icon-system.png); /* 修改为你的图标路径 */
}

/* 示例：栏目ID=3 - 政策法规 (浅绿色) */
.list-subnav-item-3 {
  background-color: #b8f0d8;
}
.list-subnav-item-3 .list-subnav-icon {
  background-image: url(/skin/images/icon-policy.png); /* 修改为你的图标路径 */
}

/* 示例：栏目ID=4 - 问答指南 (浅紫色) */
.list-subnav-item-4 {
  background-color: #d0d8ff;
}
.list-subnav-item-4 .list-subnav-icon {
  background-image: url(/skin/images/icon-guide.png); /* 修改为你的图标路径 */
}

/* 示例：栏目ID=5 - 社保计算器 (淡蓝色) */
.list-subnav-item-5 {
  background-color: #c8e8ff;
}
.list-subnav-item-5 .list-subnav-icon {
  background-image: url(/skin/images/icon-calculator.png); /* 修改为你的图标路径 */
}

/* 示例：栏目ID=6 - 更多服务 (浅粉色) */
.list-subnav-item-6 {
  background-color: #ffd8d8;
}
.list-subnav-item-6 .list-subnav-icon {
  background-image: url(/skin/images/icon-more.png); /* 修改为你的图标路径 */
}

/* 点击波纹效果 */
.list-subnav-ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
  transform: scale(0);
  animation: list-subnav-ripple 0.6s linear;
  pointer-events: none;
}

@keyframes list-subnav-ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 响应式适配 */
@media (max-width: 768px) {
  .list-subnav-container {
    flex-wrap: wrap;
    padding: 10px;
  }
  
  .list-subnav-item {
    flex: 0 0 50%;
    padding: 20px 10px;
  }
}

@media (max-width: 480px) {
  .list-subnav-item {
    flex: 0 0 100%;
  }
}















/* ====================== 最热政策模块 - 独立命名，无冲突 ====================== */
/* 外层容器 */
.list-hotpolicy-wrapper {
  width: 100%;
  margin: 10px auto;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* 头部标题栏 - 与示例一致的斜角设计 */
.list-hotpolicy-header {
  position: relative;
  background-color: #ffffff;
  border-bottom: 2px solid #3b78e7;
}

.list-hotpolicy-header .list-hotpolicy-title {
  display: inline-block;
  background-color: #3b78e7;
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  padding: 12px 30px;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  line-height: 1;
}

/* 内容容器 */
.list-hotpolicy-container {
  display: flex;
  flex-wrap: wrap;
  padding: 25px;
  gap: 25px;
}

/* 单个文章项 */
.list-hotpolicy-item {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

/* 修复hover问题：只做轻微上浮，不影响文字显示 */
.list-hotpolicy-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* 文章标题 */
.list-hotpolicy-item-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  /* 关键修复：hover时颜色不消失 */
}

.list-hotpolicy-item-title a {
  color: inherit;
  text-decoration: none;
}

.list-hotpolicy-item-title a:hover {
  color: #3b78e7;
  text-decoration: none;
}

/* 文章简介 */
.list-hotpolicy-desc {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 底部元信息（日期+链接） */
.list-hotpolicy-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}

.list-hotpolicy-date {
  color: #999;
}

.list-hotpolicy-more {
  color: #3b78e7;
  text-decoration: none;
  font-weight: 500;
}

.list-hotpolicy-more:hover {
  text-decoration: underline;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .list-hotpolicy-container {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }
  
  .list-hotpolicy-item {
    padding: 15px;
  }
}














/* ====================== 政务风格 · 文章列表高大上样式 ====================== */
/* 外层容器 - 干净、大气、政务风 */
.list-content-wrapper {
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 30, 80, 0.06);
  padding: 30px 35px;
  margin-bottom: 40px;
  box-sizing: border-box;
  border-top: 4px solid #1a56b8; /* 政务蓝顶条，提升档次 */
}

/* 分割线 - 精致、柔和 */
.list-content-hr {
  height: 1px;
  background: linear-gradient(to right, transparent, #e0e6f0, transparent);
  margin: 24px 0;
  border: none;
}

/* 文章列表项 - 政务标准间距 */
.list-content-summary {
  padding: 8px 0;
}

/* 内容容器 */
.list-content-cont {
  width: 95%;
}

/* 标题 - 政务标准字体、醒目、正式 */
.list-content-title {
  font-size: 19px;
  font-weight: 600;
  color: #112244;
  margin-bottom: 12px;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* 标题链接 -  hover 效果正式不花哨 */
.list-content-nLink {
  color: #1a4a9e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.list-content-nLink:hover {
  color: #0d3a8c;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 日期 + 来源 - 政务灰色、正式、精致 */
.list-content-foot {
  font-size: 14px;
  color: #6b7996;
  margin-bottom: 14px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.list-content-foot span {
  color: #445577;
  font-weight: 500;
}

/* 摘要 - 易读、政务标准行距 */
.list-content-sum {
  font-size: 15px;
  color: #444444;
  line-height: 1.8;
  letter-spacing: 0.2px;
}

/* 移动端适配 - 保持高端体验 */
@media (max-width: 768px) {
  .list-content-wrapper {
    padding: 20px;
    border-radius: 6px;
  }
  .list-content-title {
    font-size: 17px;
  }
  .list-content-sum {
    font-size: 14px;
    line-height: 1.7;
  }
  .list-content-foot {
    gap: 12px;
    font-size: 13px;
  }
}





/* 原有侧边栏样式 无需重复添加 */
.sidebar-box {
    background: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}
.list-hotpolicy-header {
    padding: 12px 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}
.list-hotpolicy-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    border-left: 3px solid #1890ff;
    padding-left: 10px;
    line-height: 1.2;
}

/* 标签云专属样式 */
.sidebar-tag-cloud {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-item {
    display: inline-block;
    padding: 5px 12px;
    background: #f5f7fa;
    color: #666;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.tag-item:hover {
    background: #1890ff;
    color: #fff;
}
.tag-empty {
    color: #999;
    font-size: 14px;
    margin: 0;
    padding: 5px 0;
}
/* 搜索列表容器 */
.search-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
    background-color: #ffffff;
    min-height: calc(100vh - 200px);
}

/* 搜索头部 */
.search-header {
    border-bottom: 2px solid #e2e8f0;
}

.search-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.search-count {
    color: #2563eb;
    font-weight: 800;
}

/* 搜索结果项 */
.search-list-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: -15px;
    margin-right: -15px;
}

.search-list-item:hover {
    background-color: #f8fafc;
    transform: translateX(5px);
}

/* 搜索标题 */
.search-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.search-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.search-title a:hover {
    color: #2563eb;
}

/* 元信息（日期+来源） */
.search-meta {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.meta-date {
    margin-right: 30px;
    position: relative;
}

.meta-date::after {
    content: "";
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: #cbd5e1;
}

.meta-source {
    color: #475569;
}

/* 摘要内容 */
.search-summary {
    font-size: 17px;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

/* 关键词高亮 */
.search-highlight {
    background-color: #dbeafe;
    color: #1d4ed8;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* 空结果提示 */
.search-no-result {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
    font-size: 18px;
}

.search-no-result::before {
    content: "🔍";
    display: block;
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* 分页样式 */
.search-pagination {
    text-align: center;
    padding: 40px 0 20px;
    font-size: 15px;
}

.search-pagination a,
.search-pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-pagination a:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.search-pagination .current {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .search-list-container {
        padding: 20px 15px;
    }
    
    .search-header h1 {
        font-size: 22px;
    }
    
    .search-title {
        font-size: 20px;
    }
    
    .search-summary {
        font-size: 16px;
    }
}