/* 列表内页样式（依赖 index.css 公共变量与头部/页脚） */

/* ========== 内页 Banner ========== */
.page-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, rgba(140, 200, 235, 0.45) 0%, rgba(140, 200, 235, 0.12) 50%, rgba(140, 200, 235, 0) 100%);
  padding: 0 0 60px;
  position: relative;
}

.page-banner-inner {
  position: relative;
  width: var(--width);
  max-width: 100%;
  margin: 0 auto;
  height: 180px;
  overflow: hidden;
  background: #1a3a5c;
}

.page-banner-inner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.breadcrumb {
  position: absolute;
  right: 0;
  bottom: 55px;
  padding: 8px 18px;
  background: rgba(0, 0, 0, 0.35);
  margin-right: 15px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  z-index: 6;
}

/* ========== 主内容双栏 ========== */
.list-main {
  position: relative;
  z-index: 5;
  margin-top: -100px;
  padding: 0 15px 40px;
  margin-bottom: 24px;
}

.list-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #fff;
  padding: 20px;
  min-height: 480px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ========== 左侧栏 ========== */
.list-sidebar {
  flex: 0 0 300px;
  width: 300px;
}

.sidebar-title {
  background: #0d65be;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 14px 10px;
  letter-spacing: 2px;
}

.sidebar-menu {
  border: 1px solid #e5e5e5;
  border-top: none;
  background: #fff;
}

.sidebar-menu li {
  border-bottom: 1px solid #eee;
}

.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu a {
  display: block;
  padding: 18px 20px;
  line-height: 1.8;
  font-size: 14px;
  color: #333;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  color: #0d65be;
  background: #f5f8fc;
}

.sidebar-pic {
  margin-top: 16px;
  overflow: hidden;
  background: #eee;
}

.sidebar-pic img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* ========== 右侧列表 ========== */
.list-content {
  flex: 1;
  min-width: 0;
  padding: 0 8px 0 4px;
}

.list-content-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 8px;
}

.list-head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0d65be;
  flex-shrink: 0;
}

.list-content-head h1 {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  line-height: 1.3;
}

.article-list {
  margin: 0;
}

.article-list li {
  border-bottom: 1px dashed #ddd;
}

.article-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px 14px 18px;
  color: #333;
  position: relative;
}

.article-list a::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: #f5a623;
}

.article-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.article-date {
  flex-shrink: 0;
  color: #999;
  font-size: 13px;
}

.article-list a:hover .article-title {
  color: #0d65be;
}

/* ========== 分页 ========== */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  padding-bottom: 12px;
}

.page-btn,
.page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid #ccc;
  background: #fff;
  color: #666;
  font-size: 13px;
  line-height: 1;
}

.page-num.active,
.page-num:hover,
.page-btn:hover {
  background: #0d65be;
  border-color: #0d65be;
  color: #fff;
}

.page-ellipsis {
  color: #999;
  padding: 0 2px;
  font-size: 13px;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .page-banner {
    padding-bottom: 40px;
  }

  .list-main {
    margin-top: -60px;
  }

  .list-layout {
    flex-direction: column;
  }

  .list-sidebar {
    flex: none;
    width: 100%;
  }

  .sidebar-pic {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-banner-inner {
    height: 140px;
  }

  .breadcrumb {
    font-size: 12px;
    padding: 6px 10px;
    max-width: 100%;
    white-space: normal;
  }

  .list-main {
    margin-top: -40px;
    padding: 0 10px 28px;
  }

  .list-layout {
    padding: 12px;
  }

  .article-date {
    font-size: 12px;
  }
}
