/* ============================================
   News Page - 资讯中心页面样式
   ============================================ */

/* ── Page Hero ───────────────────────────────────────────── */
.page-hero,
.news-hero-new {
  position: relative;
  height: 350px;
  margin-top: 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-overlay,
.news-hero-new::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,15,35,.92) 0%, rgba(0,40,90,.72) 100%);
  z-index: 2;
}

.page-hero-content,
.news-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.news-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero-badge,
.news-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #d4a853;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-hero-title,
.news-hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: #fff;
}

.news-hero-title span {
  color: #d4a853;
}

.page-hero-desc,
.news-hero-desc {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,.88);
  max-width: 700px;
  margin: 0 auto;
}

/* ── News Section ────────────────────────────────────────── */
.news-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255,255,255,.5);
}

.news-card-body {
  padding: 24px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.news-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,51,102,.08);
  color: var(--primary);
}

.news-badge.green {
  background: rgba(16,185,129,.1);
  color: #065f46;
}

.news-badge.orange {
  background: rgba(230,126,34,.1);
  color: #9a3412;
}

.news-badge.pink {
  background: rgba(194,24,91,.1);
  color: #9d174d;
}

.news-badge.gray {
  background: var(--gray-100);
  color: var(--gray-600);
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
}

.news-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap .2s;
}

.news-card-link:hover {
  gap: 10px;
  color: var(--accent);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .page-hero {
    height: 350px;
  }
  
  .page-hero-title {
    font-size: 44px;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .page-hero {
    height: 350px;
  }
  
  .page-hero-title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }
  
  .page-hero-desc {
    font-size: 16px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .page-hero-title {
    font-size: 26px;
  }
}
