/* ========== 列表页 / 详情页公共布局 ========== */
.list-page .hero-banner::after {
  background: linear-gradient(to bottom, transparent, #eef2f7);
}
.list-section {
  position: relative;
  background: url("../images/content.png") center bottom / cover no-repeat;
  padding: 40px 0 60px;
  min-height: calc(100vh - 480px);
}

.list-container {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* 左侧导航 */
.list-sidebar {
  flex: 0 0 220px;
  background: linear-gradient(180deg, #00529b 0%, #004a99 60%, #003d7a 100%);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.list-sidebar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) -10px 0,
    linear-gradient(225deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%) -10px 0,
    linear-gradient(315deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%);
  background-size: 20px 20px;
  opacity: 0.6;
  pointer-events: none;
}

.sidebar-header {
  background: var(--blue-primary);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 18px 16px;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.sidebar-nav {
  position: relative;
  z-index: 1;
  padding: 6px 0 24px;
  max-height: 640px;
  overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 1px;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.sidebar-nav li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-nav li.active a {
  background: var(--white);
  color: var(--blue-primary);
  font-weight: 600;
  border-left-color: var(--blue-primary);
}

/* 右侧内容 */
.list-main {
  flex: 1;
  min-width: 0;
  background: var(--white);
  padding: 28px 32px 36px;
  border-radius: 2px;
  box-shadow: 0 2px 16px rgba(0, 45, 98, 0.06);
}

.list-main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8edf3;
}

.list-page-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.list-page-title h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-primary);
  line-height: 1;
}

.breadcrumb {
  font-size: 12px;
  color: var(--blue-primary);
  white-space: nowrap;
}

.breadcrumb a {
  color: var(--blue-primary);
  transition: opacity 0.2s;
}

.breadcrumb a:hover {
  opacity: 0.75;
}

.breadcrumb-sep {
  margin: 0 6px;
  color: var(--blue-primary);
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--blue-primary);
}

/* 新闻列表：标题在左，日期在右横向一行 */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list > li {
  border-bottom: 1px solid #e8edf3;
}

.news-list > li:last-child {
  border-bottom: none;
}

.news-list > li > a {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 20px 22px 12px;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  transition: background 0.25s, color 0.25s;
}

.news-list > li > a:hover {
  background: var(--blue-primary);
}

.news-content {
  flex: 1;
  min-width: 0;
  float: none !important;
  clear: none !important;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-primary);
  line-height: 1.55;
  margin: 0 0 8px;
  transition: color 0.25s;
}

.news-excerpt {
  margin: 0;
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s;
}

.news-date {
  flex: 0 0 96px;
  flex-shrink: 0;
  min-width: 96px;
  width: 96px;
  margin: 0;
  padding: 2px 0 0;
  font-size: 13px;
  font-style: normal;
  color: var(--blue-primary);
  line-height: 1.5;
  white-space: nowrap !important;
  word-break: keep-all;
  text-align: right;
  opacity: 0.65;
  float: none !important;
  clear: none !important;
  border: none;
  transition: color 0.25s, opacity 0.25s;
}

.news-date * {
  white-space: nowrap !important;
  display: inline !important;
}

.news-list > li > a:hover .news-title,
.news-list > li > a:hover .news-excerpt {
  color: var(--white);
}

.news-list > li > a:hover .news-date {
  color: var(--white);
  opacity: 1;
}

.news-empty {
  padding: 48px 0;
  text-align: center;
  font-size: 14px;
  color: var(--text-gray);
}

/* 分页（博达默认分页条） */
.list-pagination {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid #e8edf3;
}

.list-pagination .pb_sys_common {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--blue-primary);
}

.list-pagination .p_t {
  margin-right: 6px;
  color: var(--blue-primary);
}

.list-pagination .pb_sys_common a,
.list-pagination .pb_sys_common .p_no,
.list-pagination .pb_sys_common span.p_no_c,
.list-pagination .pb_sys_common .p_no_d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  font-size: 12px;
  color: var(--blue-primary);
  border-radius: 2px;
  background: var(--white);
  text-decoration: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.list-pagination .pb_sys_common a:hover,
.list-pagination .pb_sys_common .p_no:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.list-pagination .pb_sys_common .p_no_c,
.list-pagination .pb_sys_common span.p_no_c {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: var(--white);
  font-weight: 600;
}

.list-pagination .pb_sys_common .p_no_d {
  color: #c0c8d4;
  border-color: #e8edf3;
  cursor: default;
  pointer-events: none;
}