/* News模块专用样式 - 继承主站设计风格 */

/* Breadcrumb Navigation */
.breadcrumb-section {
  background: #f9f9f9;
  padding: 15px 0;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb {
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb .separator {
  margin: 0 8px;
  color: #999;
}

.breadcrumb .current {
  color: #333;
  font-weight: 500;
}

/* News Hero Section */
.news-hero {
  background: linear-gradient(135deg, #4c6ef5 0%, #8b5cf6 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.news-hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
}

.news-subtitle {
  font-size: 18px;
  margin: 0;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Category Filter */
.category-filter {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-tab {
  background: transparent;
  border: 2px solid #e5e7eb;
  color: #666;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: var(--primary);
  color: #fff;
}

/* News Content */
.news-content {
  padding: 60px 0;
  background: #fff;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* News Card */
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 300px;
}

.news-card.featured .news-card-image {
  order: 1;
}

.news-card.featured .news-card-content {
  order: 2;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.news-card.featured .news-card-image {
  height: auto;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}

.category-badge.insights {
  background: linear-gradient(135deg, #4c6ef5 0%, #6c5ce7 100%);
}

.category-badge.cases {
  background: linear-gradient(135deg, #00d4aa 0%, #01a085 100%);
}

.category-badge.updates {
  background: linear-gradient(135deg, #ff9500 0%, #ff6b35 100%);
}

.news-card-content {
  padding: 30px;
}

.news-title {
  margin: 0 0 15px 0;
  font-size: 20px;
  line-height: 1.4;
}

.news-card.featured .news-title {
  font-size: 26px;
  margin-bottom: 20px;
}

.news-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--primary);
}

.news-excerpt {
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px 0;
  font-size: 15px;
}

.news-card.featured .news-excerpt {
  font-size: 16px;
  margin-bottom: 25px;
}

.news-meta {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #999;
  gap: 5px;
}

.news-date {
  font-weight: 500;
}

.reading-time {
  opacity: 0.8;
}

/* Load More Section */
.load-more-section {
  text-align: center;
  padding: 30px 0;
}

.load-more-btn {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* News CTA Section */
.news-cta {
  background: linear-gradient(135deg, rgba(76,110,245,0.05) 0%, rgba(139,92,246,0.05) 100%);
  border: 1px solid rgba(76,110,245,0.1);
  border-radius: 16px;
  margin: 60px 0 0 0;
  padding: 50px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}

.cta-content p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
}

/* Navigation Active State */
.nav-active {
  color: var(--primary) !important;
  font-weight: 600 !important;
  position: relative;
}

.nav-active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .news-hero {
    padding: 40px 0;
  }
  
  .news-hero h1 {
    font-size: 28px;
  }
  
  .news-subtitle {
    font-size: 16px;
  }
  
  .category-filter {
    padding: 20px 0;
    position: static;
  }
  
  .filter-tabs {
    gap: 6px;
  }
  
  .filter-tab {
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .news-content {
    padding: 40px 0;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-card.featured {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .news-card.featured .news-card-image {
    order: 1;
    height: 200px;
  }
  
  .news-card.featured .news-card-content {
    order: 2;
    padding: 25px;
  }
  
  .news-card.featured .news-title {
    font-size: 22px;
  }
  
  .news-card-content {
    padding: 20px;
  }
  
  .news-title {
    font-size: 18px;
  }
  
  .news-cta {
    padding: 30px 0;
    margin: 40px 0 0 0;
  }
  
  .cta-content h2 {
    font-size: 22px;
  }
  
  .cta-content p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .breadcrumb-section {
    padding: 10px 0;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .news-card-image {
    height: 180px;
  }
  
  .filter-tab {
    padding: 6px 12px;
    font-size: 12px;
  }
}

/* Article Page Specific Styles (for future use) */
.article-header {
  text-align: center;
  padding: 40px 0;
  border-bottom: 1px solid #e5e7eb;
}

.article-title {
  font-size: 32px;
  line-height: 1.3;
  margin: 20px 0;
  color: #333;
}

.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: #666;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  line-height: 1.8;
  font-size: 16px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin: 30px 0 15px 0;
  color: #333;
}

.article-body p {
  margin-bottom: 20px;
  color: #555;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.article-footer {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  border-top: 1px solid #e5e7eb;
}

/* JSON-LD and SEO elements are handled in HTML */ 