/**
 * 新闻中心汇总页 news-center.html 专用（与 site-base、about-subpages 配合）
 */

.news-hub-page .main-content.news-hub-main {
  max-width: 1400px;
  margin: 0 auto 72px;
  padding: 0 30px;
}

/* 顶部英雄区：标题与说明始终清晰可见 */
.news-hub-page .news-hub-hero {
  position: relative;
  background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 40%, var(--secondary-color) 100%);
  color: #fff;
  text-align: center;
  padding: 56px 24px 64px;
  margin-bottom: 48px;
  overflow: hidden;
}

.news-hub-page .news-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(255, 255, 255, 0.22), transparent 52%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.news-hub-page .news-hub-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.news-hub-page .news-hub-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 14px;
  font-weight: 600;
}

.news-hub-page .news-hub-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 18px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.15);
}

.news-hub-page .news-hub-lead {
  font-size: 17px;
  line-height: 1.75;
  margin: 0;
  opacity: 0.96;
}

/* 三栏卡片：大屏固定三列、间距统一 */
.news-hub-page .news-hub-grid {
  gap: 28px;
}

@media (min-width: 1024px) {
  .news-hub-page .news-hub-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.news-hub-page .news-hub-grid .about-hub-card {
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.news-hub-page .news-hub-grid .about-hub-card p {
  flex: 1;
}

.news-hub-page .news-hub-grid .about-hub-card h2 i {
  opacity: 0.95;
}

.news-hub-page .nav-container {
  position: relative;
}

.news-hub-page .mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.news-hub-page .mobile-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.news-hub-page .mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.news-hub-page .mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.news-hub-page .mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
  .news-hub-page .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
  }

  .news-hub-page .nav-menu.active {
    display: flex;
  }

  .news-hub-page .nav-menu > li {
    width: 100%;
  }

  .news-hub-page .nav-menu > li > a {
    padding: 15px 30px;
    border-bottom: 1px solid #eee;
  }

  .news-hub-page .nav-menu ul {
    position: static;
    display: none;
    box-shadow: none;
    background-color: #f8f9fa;
    margin-left: 30px;
  }

  .news-hub-page .nav-menu > li:hover > ul {
    display: block;
  }

  .news-hub-page .nav-menu ul li a {
    padding: 10px 15px;
  }

  .news-hub-page .mobile-toggle {
    display: flex;
  }

  .news-hub-page .news-hub-hero {
    padding: 44px 18px 52px;
    margin-bottom: 36px;
  }

  .news-hub-page .news-hub-main {
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .news-hub-page .news-hub-lead {
    font-size: 15px;
  }
}
