/* ==================== 科技前沿独立页面样式 ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  background: #f0f2f8;
  min-height: 100vh;
  color: #333;
}

/* ==================== 顶部标题 ==================== */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 20px 18px;
  text-align: center;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
  position: relative;
}

.header h1 {
  font-size: 22px;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.date-display {
  font-size: 14px;
  opacity: 0.9;
}

.btn-back-home {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 12px;
  transition: background 0.2s;
}

.btn-back-home:hover {
  background: rgba(255,255,255,0.35);
}

/* ==================== 页面主体 ==================== */
.page-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 16px 30px;
}

.news-count {
  font-size: 13px;
  color: #8a9aba;
  background: rgba(102, 126, 234, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}

/* ==================== 新闻列表 ==================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-card {
  background: white;
  border: 1px solid rgba(102, 126, 234, 0.08);
  border-radius: 16px;
  padding: 14px 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.1);
}

.news-card__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.news-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.news-card__category {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.news-card__speaker {
  margin-left: auto;
  background: none;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.news-card__speaker:hover {
  background: rgba(102, 126, 234, 0.12);
}

.news-card__title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}

.news-card__content {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

.news-card__source {
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 8px;
  display: block;
}

/* ==================== 响应式 ==================== */
@media (max-width: 600px) {
  .page-body {
    padding: 14px 12px 20px;
  }
  .btn-back-home {
    position: static;
    transform: none;
    display: inline-block;
    margin-bottom: 8px;
  }
  .header-inner {
    text-align: center;
  }
  .news-card {
    padding: 12px 14px;
  }
  .news-card__title {
    font-size: 0.95rem;
  }
  .news-card__content {
    font-size: 0.8rem;
  }
}
