﻿
/* ========= 二级列表页 ========= */
.subpage-main {
  padding: 40px 0 60px;
}

.subpage-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: flex-start;
}

/* 左侧导航 */
.sub-side-nav {
  background: #f7f8fb;
  border-radius: 4px;
  padding: 16px 18px;
  box-shadow: 0 0 0 1px #e0e4f0;
  max-height: 520px;
  display: flex;
  flex-direction: column;
}

/* 右侧正文上方的当前位置 */
.sub-breadcrumb {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.sub-current-label {
  color: #999;
}

.sub-current-text {
  color: #004294;
  font-weight: 600;
}

.sub-nav-list {
  list-style: none;
  margin-top: 4px;
  overflow-y: auto;
  padding-right: 4px;
}

.sub-nav-list > li {
  position: relative;
}

.sub-nav-list > li:nth-of-type(1) {
  background-color: #004294;
}
.sub-nav-list > li:nth-of-type(1) a {
  color: white;
}

.sub-nav-list li a {
  display: block;
  padding: 8px 6px;
  font-size: 14px;
  color: #333;
  border-radius: 3px;
  text-align: center; /* 左侧导航文字居中 */
}

.sub-nav-list li.active a {
  color: #004294;
  font-weight: 600;
  background-color: transparent;
}

.sub-nav-list li a:hover {
  color: #004294;      /* 鼠标覆盖字体变为蓝色 */
  background-color: transparent; /* 背景不变 */
}

/* 左侧导航：鼠标覆盖后可以下拉的二级菜单 */
.sub-nav-sublist {
  display: none;
  list-style: none;
  margin-top: 4px;
  padding-left: 14px;
}

.sub-nav-sublist li a {
  font-size: 13px;
  padding: 4px 4px;
  background: transparent;
  text-align: center; /* 二级菜单文字也居中 */
}

.sub-nav-list li.has-sub:hover > .sub-nav-sublist {
  display: block;
}

/* 右侧内容区域 */
.sub-content {
  background: #fff;
  padding: 18px 22px 26px;
  box-shadow: 0 0 0 1px #e0e4f0;
  border-radius: 4px;
}

.sub-content-header {
  border-bottom: 2px solid #004294;
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.sub-title {
  font-size: 20px;
  color: #004294;
  font-weight: 600;
}

/* 标题 + 日期 列表 */
.sub-list {
  list-style: none;
}

.sub-list-item {
  border-bottom: 1px dotted #e0e0e0;
}

.sub-list-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  font-size: 14px;
  color: #333;
}

.sub-list-link:hover {
  color: #004294;
  background-color: #f5f7fb;
}

.sub-list-text {
  flex: 1;
  margin-right: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sub-list-date {
  flex-shrink: 0;
  font-size: 13px;
  color: #999;
}