
/* 列表页特有布局 */
.main-container {
  background: #fff;
  padding: 10px 10px 40px 10px;
}

.list-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.list-sidebar {
  flex: 0 0 260px;
}

.sidebar-card {
  background: #fafafa;
  border: 1px solid #e3e3e3;
  margin-bottom: 16px;
}

.sidebar-title {
  background: var(--academy-red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 16px;
}

.sidebar-menu,
.sidebar-meta {
  list-style: none;
  margin: 0;
  padding: 10px 0;
}

.sidebar-menu li a,
.sidebar-meta li {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #555;
  border-left: 3px solid transparent;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.is-active {
  color: var(--academy-red);
  background: #fff;
  border-left-color: var(--academy-red);
}

.list-main-area {
  flex: 1;
  min-width: 0;
}

.page-title-bar {
  border-bottom: 2px solid var(--academy-red);
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
}

.page-title-bar h2 {
  background: var(--academy-red);
  color: #fff;
  padding: 10px 30px;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
}

/* 模仿国博列表项 */
.list-item {
  display: flex;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px dashed #ddd;
  transition: 0.3s;
}

.list-item:hover {
  background: #fcfcfc;
}

.list-thumb {
  flex: 0 0 180px;
  height: 110px;
  overflow: hidden;
  border: 1px solid #eee;
}

.list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.list-item:hover img {
  transform: scale(1.05);
}

.list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 20px;
}

.list-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  font-family: "Microsoft YaHei", sans-serif;
  line-height: 1.4;
}

.list-item:hover .list-content h3 {
  color: var(--academy-red);
}

.list-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-meta {
  font-size: 14px;
  color: #999;
  font-family: Arial, sans-serif;
}

/* 分页 */
.pagination-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.page-link {
  color: var(--text-dark);
  border-radius: 0 !important;
}

.page-item.active .page-link {
  background-color: var(--academy-red);
  border-color: var(--academy-red);
}

/* 导航高亮（替代内联 style） */
.nav-link-current {
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .main-container {
    padding: 10px 14px;
  }
  .list-layout {
    flex-direction: column;
  }
  .list-sidebar {
    width: 100%;
    flex: none;
  }
  .list-item {
    flex-direction: column;
    gap: 14px;
  }
  .list-thumb {
    width: 100%;
    height: 200px;
    flex: none;
  }
}
