
/* ---- Page Banner ---- */
.page-banner {
  position: relative;
  margin-top: 0;
  padding-top: calc(var(--header-h) + var(--topbar-h));
  height: 360px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 40%, #1a5cff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.page-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,.06)'/%3E%3C/svg%3E") repeat;
  background-size: 60px 60px;
  pointer-events: none;
}
.page-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  width: 100%;
}
.page-banner .banner-content h1 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(26,92,255,.4);
}
.page-banner .banner-content p {
  font-size: 1rem;
  opacity: .8;
  letter-spacing: 2px;
  margin-bottom: 0;
}

/* ============================================
   资讯中心页面 - zxzx.css
   左侧子栏目 + 右侧新闻列表
   ============================================ */

/* ---- 页面Banner ---- */
.zxzx-banner {
  position: relative;
  padding-top: calc(var(--header-h) + var(--topbar-h));
  min-height: calc(260px + var(--header-h) + var(--topbar-h));
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 40%, #1a5cff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}
.zxzx-banner .banner-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='rgba(255,255,255,.06)'/%3E%3C/svg%3E") repeat;
  background-size: 60px 60px;
}
.zxzx-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.zxzx-banner h1 {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(26,92,255,.4);
}
.zxzx-banner p {
  font-size: 1.05rem;
  opacity: .75;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.zxzx-banner .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  opacity: .6;
  letter-spacing: 1px;
}
.zxzx-banner .breadcrumb a {
  color: #fff;
  transition: opacity .3s;
}
.zxzx-banner .breadcrumb a:hover { opacity: 1; }

/* ---- 主体布局 ---- */
.zxzx-section {
  padding: 60px 0 80px;
  background: #f8fafc;
  min-height: 60vh;
}
.zxzx-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* ---- 左侧边栏 ---- */
.zxzx-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h) + 20px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(26,92,255,.08);
  border: 1px solid rgba(26,92,255,.06);
  overflow: hidden;
}
.sidebar-title {
  background: linear-gradient(135deg, #1a5cff, #0040d0);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 18px 28px;
}
.sidebar-nav {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
.sidebar-nav li { margin: 0; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: .95rem;
  color: var(--c-text);
  transition: all .3s;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.sidebar-nav a:hover {
  background: rgba(26,92,255,.04);
  color: var(--c-primary);
  border-left-color: rgba(26,92,255,.3);
}
.sidebar-nav a.active {
  background: rgba(26,92,255,.07);
  color: var(--c-primary);
  font-weight: 600;
  border-left-color: var(--c-primary);
}
.sidebar-nav a.active::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}

/* 侧边栏联系方式 */
.sidebar-contact {
  margin: 16px 20px 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(26,92,255,.06), rgba(0,212,255,.06));
  border-radius: 12px;
  text-align: center;
}
.sidebar-contact-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 6px;
}
.sidebar-contact p {
  font-size: .82rem;
  color: var(--c-text-light);
  margin-bottom: 10px;
  line-height: 1.5;
}
.sidebar-phone {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 1px;
}

/* ---- 右侧新闻列表 ---- */
.zxzx-main {
  min-width: 0;
}

/* 分类区块 */
.news-category {
  margin-bottom: 40px;
}
.news-category:last-child {
  margin-bottom: 0;
}
.cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(26,92,255,.1);
}
.cat-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-dark);
  position: relative;
  padding-left: 16px;
}
.cat-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, #1a5cff, #00d4ff);
  border-radius: 2px;
}
.cat-more {
  font-size: .85rem;
  color: var(--c-primary);
  opacity: .7;
  transition: opacity .3s;
  text-decoration: none;
}
.cat-more:hover {
  opacity: 1;
}

/* 新闻列表 */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  border-bottom: 1px solid rgba(26,92,255,.08);
  transition: background .3s;
}
.news-item:last-child {
  border-bottom: none;
}
.news-item a {
  display: block;
  padding: 20px 16px;
  text-decoration: none;
  color: inherit;
  transition: background .3s;
  border-radius: 8px;
}
.news-item:hover {
  background: rgba(26,92,255,.03);
}
.news-item:hover a {
  background: rgba(26,92,255,.03);
}
.news-item-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.news-date {
  font-size: .8rem;
  color: var(--c-primary);
  font-weight: 600;
  background: rgba(26,92,255,.07);
  padding: 3px 10px;
  border-radius: 4px;
}
.news-views {
  font-size: .78rem;
  color: var(--c-text-dim);
}
.news-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 8px;
  transition: color .3s;
  line-height: 1.5;
}
.news-item a:hover .news-item-title {
  color: var(--c-primary);
}
.news-item-excerpt {
  font-size: .88rem;
  color: var(--c-text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- 分页 ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(26,92,255,.1);
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--c-text);
  background: #fff;
  border: 1px solid rgba(26,92,255,.15);
  text-decoration: none;
  transition: all .3s;
}
.page-btn:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  background: rgba(26,92,255,.04);
}
.page-btn.active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  font-weight: 600;
}
.page-ellipsis {
  color: var(--c-text-dim);
  font-size: .9rem;
  padding: 0 4px;
}

/* ---- 动画 ---- */
.animate-in {
  animation: fadeUp .7s ease both;
}
.delay-1 { animation-delay: .15s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .zxzx-layout {
    grid-template-columns: 240px 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .zxzx-banner {
    padding-top: calc(var(--header-h) + var(--topbar-h));
    min-height: calc(180px + var(--header-h) + var(--topbar-h));
  }
  .zxzx-banner h1 {
    font-size: 1.8rem;
  }
  .zxzx-section {
    padding: 30px 0 50px;
  }
  .zxzx-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .zxzx-sidebar {
    position: static;
    border-radius: 12px;
  }
  .sidebar-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 8px;
  }
  .sidebar-nav a {
    padding: 8px 16px;
    border-left: none;
    border: 1px solid rgba(26,92,255,.12);
    border-radius: 8px;
    font-size: .88rem;
  }
  .sidebar-nav a.active {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
  }
  .sidebar-nav a.active::before {
    display: none;
  }
  .sidebar-contact {
    margin: 12px 16px 16px;
  }
  .news-item a {
    padding: 16px 12px;
  }
  .pagination {
    flex-wrap: wrap;
  }
}

/* ---- 新闻列表链接 ---- */
.news-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  transition: all .3s;
}
.news-item-link:hover {
  text-decoration: none;
  color: inherit;
}
.news-item-link .news-item {
  transition: all .3s;
}
.news-item-link:hover .news-item {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,92,255,.12);
  border-color: rgba(26,92,255,.3);
}


/* ---- 新闻列表重新设计：标题+日期同行 ---- */
.news-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.news-info-top .news-item-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 0;
  flex: 1;
  min-width: 0; /* 允许文字截断 */
  transition: color .3s;
  line-height: 1.5;
}
.news-info-top .news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 16px;
}
.news-info-top .news-date {
  font-size: .78rem;
  color: var(--c-text-dim);
  font-weight: 500;
  background: none;
  padding: 0;
  border-radius: 0;
}
.news-info-top .news-views {
  font-size: .78rem;
  color: var(--c-text-light);
}

/* hover时标题变色 */
.news-item-link:hover .news-item-title {
  color: var(--c-primary);
}


/* ---- 新闻列表宽松布局优化 ---- */
.news-item {
  padding: 28px 24px !important;
  margin-bottom: 16px !important;
  border-radius: 12px !important;
  background: #fff;
  border: 1px solid rgba(26,92,255,.06);
  box-shadow: 0 2px 8px rgba(0,0,0,.02);
}
.news-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(26,92,255,.08) !important;
  border-color: rgba(26,92,255,.15) !important;
  background: #fff !important;
}
.news-info-top {
  margin-bottom: 14px !important;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(26,92,255,.08);
}
.news-info-top .news-item-title {
  font-size: 1.15rem !important;
  font-weight: 700;
  letter-spacing: .3px;
}
.news-info-top .news-date {
  font-size: .82rem !important;
  color: var(--c-text-dim);
}
.news-info-top .news-views {
  font-size: .82rem !important;
}
.news-item-excerpt {
  font-size: .92rem !important;
  line-height: 1.85 !important;
  color: var(--c-text-light);
  -webkit-line-clamp: 2;
}
.news-thumb {
  width: 200px !important;
  height: 130px !important;
  overflow: hidden;
  border-radius: 10px !important;
  flex-shrink: 0;
  background: linear-gradient(135deg, #e8f0fe, #d4e4fc) !important;
}
.news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左右布局：缩略图在左，内容在右 */
.news-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 22px !important;
}
@media (max-width: 768px) {
  .news-item {
    flex-direction: column !important;
    gap: 14px !important;
    padding: 18px !important;
  }
  .news-thumb {
    width: 100% !important;
    height: 180px !important;
  }
  .news-info {
    width: 100%;
    min-width: 0;
  }
  .news-info-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .news-info-top .news-meta {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .news-thumb {
    height: 160px !important;
  }
  .news-info-top .news-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
}
