
/* =============================================
   PAGE HEADER (List / Detail pages)
   ============================================= */
.page-hero {
  padding: 140px 0 50px;
  background: linear-gradient(135deg, #E4F0FA 0%, #93C1EC 100%);
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.page-hero-content h1 {
	font-size: 1.4rem;
	font-weight: 600;
	color: #1a1a2e;
	margin-top: 5px;
	margin-right: 0;
	margin-bottom: 12px;
	margin-left: 0;
}

/* ---- ARTICLE LIST ---- */
.list-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.list-card {
  display: flex;
  gap: 24px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 2px 20px rgba(0,0,0,0.03);
  transition: all 0.35s;
  cursor: pointer;
}
.list-card a {
  display: flex;
  gap:24px;
  width:100%;
}
.list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(0,0,0,0.06);
  border-color: rgba(44,120,190,0.1);
}
.list-card-img {
  width: 240px;
  min-width:240px;
  min-height: 180px;
  flex-shrink: 0;
  overflow: hidden;
}
.list-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E4F0FA, #93C1EC);
  display: flex;
  align-items: center;
  justify-content: center;
}
.list-card-img-placeholder img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.list-card-body {
  flex: 1;
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.list-card-date {
  font-size: 0.8rem;
  color: #999;
  margin-bottom:10px;
}
.list-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.5;
}
.list-card-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.7;
}

/* ---- RESPONSIVE: List 移动端还原上下布局 ---- */
/* ---- RESPONSIVE: List 移动端还原上下布局 ---- */
@media (max-width: 768px) {
  .list-card,
  .list-card a{
    flex-direction: column;
    gap:0;
  }
  .list-card-img {
    width: 100%;
    min-width:auto;
    height: 160px;
  }
.list-card-body {
  padding: 24px 20px 20px;
}
  .list-card-title {
    font-size: 1.85rem;
    margin-top: 18px;
  }
  .list-card-date {
    margin-bottom: 5px;
  }
  .list-card-desc {
    font-size: 0.9rem;
    line-height: 1.8;
  }
}


/* ---- Pagination ---- */
/* ---- Pagination 分页优化 ---- */
.list-pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.list-pagination .pagination {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none; /* 清除li默认圆点 */
}

.page-item {
  min-width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  transition: all 0.25s ease;
}

.page-item a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555555;
  text-decoration: none;
}

.page-item:hover {
  border-color: #2c78be;
}
.page-item:hover a {
  color: #2c78be;
}

.page-item.active {
  background-color: #2c78be;
  border-color: #2c78be;
}
.page-item.active a {
  color: #ffffff;
}

/* 禁用状态：第一页的时候，首页、上一页置灰（eyou会输出class="disabled"） */
.page-item.disabled{
  background:#f7f7f7;
  cursor:not-allowed;
}
.page-item.disabled a{
  color:#aaa;
  pointer-events:none;
}

/* 手机自适应 */
@media (max-width:768px){
  .page-item{
    min-width:34px;
    height:34px;
    font-size:13px;
  }
  .list-pagination{
    margin-top:30px;
  }
  .list-pagination .pagination{
    gap:5px;
  }
}


/* ---- RESPONSIVE: List & Detail ---- */
@media (max-width: 820px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-hero { padding: 120px 0 40px; }
  .page-hero-content h1 { font-size: 1.5rem; }

  .list-card {
    flex-direction: column;
  }
  .list-card-img {
    width: 100%;
    height: 160px;
  }
  .list-card-body {
    padding: 0 20px 20px;
  }
  .detail-sidebar {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .detail-nav {
    flex-direction: column;
    gap: 12px;
  }
  .detail-nav-next { text-align: left; }
  .cta-banner { padding: 0px 0; }
  .cta-banner-content h2 { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .list-card-img { height: 120px; }
  .list-card-body h3 { font-size: 1rem; }
  .detail-header h1 { font-size: 1.2rem; }
}

/* ---- Pagination ---- */
.list-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}
.page-item {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  color: #555;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.25s;
}
.page-item:hover {
  border-color: #2c78be;
  color: #2c78be;
}
.page-item.active {
  background: #2c78be;
  color: #fff;
  border-color: #2c78be;
}


         .pagination p{
                margin:0;
                cursor:pointer
            }
            .pagination{
                height:40px;
                padding:20px 0px;
            }
            .pagination a{
                display:block;
                float:left;
                margin-right:10px;
                padding:0px 12px;
                height:24px;
                border:1px #cccccc solid;
                background:#fff;
                text-decoration:none;
                color:#808080;
                font-size:12px;
                line-height:24px;
            }
            .pagination a:hover{
                color:#077ee3;
                background: white;
                border:1px #077ee3 solid;
            }
            .pagination a.cur{
                border:none;
                background:#077ee3;
                color:#fff;
            }
            .pagination p{
                float:left;
                padding:0px 12px;
                font-size:12px;
                height:24px;
                line-height:24px;
                color:#bbb;
                border:1px #ccc solid;
                background:#fcfcfc;
                margin-right:8px;
            }
            .pagination p.pageRemark{
                border-style:none;
                background:none;
                margin-right:0px;
                padding:1px 0px;
                color:#666;
            }
            .pagination p.pageRemark b{
                color:red;
            }
            .pagination p.pageEllipsis{
                border-style:none;
                background:none;
                padding:4px 0px;
                color:#808080;
            }
            .dates li {font-size: 14px;margin:20px 0}
            .dates li span{float:right}
