/* Home Page CSS - Media Lab Inspired Design */

:root {
  --primary-color: #0056b3;
  --secondary-color: #2d3748;
  --accent-color: #f0324b;
  --text-color: #1a202c;
  --text-light: #718096;
  --bg-color: #ffffff;
  --bg-light: #f7fafc;
  --bg-dark: #2d3748;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
  
  --grid-gap: 2rem;
  
  --border-radius: 4px;
  --box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.site-main {
  overflow-x: hidden;
  padding-top: 0; /* 移除任何顶部填充 */
}

/* Container Styles */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Section Styles */
section {
  position: relative;
  min-height: 100vh;
  padding: var(--spacing-lg) 0;
  overflow: hidden;
}

.section-header {
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.section-label:after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  margin-top: var(--spacing-xs);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--text-color);
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 640px;
}

.section-actions {
  margin-top: var(--spacing-lg);
  text-align: center;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: #004494;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-color);
  border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-arrow .arrow-icon {
  margin-left: 8px;
  transition: var(--transition);
}

.btn-arrow:hover {
  color: var(--accent-color);
}

.btn-arrow:hover .arrow-icon {
  transform: translateX(5px);
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: var(--spacing-xl) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--grid-gap);
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
}

.hero-title-part {
  display: block;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.hero-media {
  position: relative;
}

.hero-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-gap: var(--spacing-sm);
  position: relative;
  z-index: 2;
}

.media-item {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.media-item:hover img {
  transform: scale(1.05);
}

.media-item-1 {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
  aspect-ratio: 16 / 9;
}

.media-item-2 {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  aspect-ratio: 1 / 1;
}

.media-item-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  aspect-ratio: 1 / 1;
}

.hero-pattern {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 80%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.05) 15%, transparent 15%), 
              radial-gradient(circle, rgba(0, 86, 179, 0.05) 15%, transparent 15%);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  z-index: 1;
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

.scroll-indicator i {
  margin-top: var(--spacing-xs);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* About Section Styles */
.about-section {
  margin-top: -2px; /* 防止section之间可能的缝隙 */
  background-color: var(--bg-light);
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  position: relative;
  z-index: 5;
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-gap: var(--grid-gap);
  align-items: flex-start;
}

.about-content {
  max-width: 640px;
}

.lead-text {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
}

.about-actions {
  margin-top: var(--spacing-md);
}

.about-stats {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background-color: var(--bg-color);
  padding: var(--spacing-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: var(--spacing-md);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-md);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #0047B1;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
  color: #0066ff;
}

.counter-number {
  min-width: 3ch;
  display: inline-block;
  text-align: center;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Research Section Styles */
.section-spacer.bg-light {
  background-color: var(--bg-light);
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 1;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.research-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #f0f0f0;
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.research-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.research-icon img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.research-icon i {
  font-size: 28px;
  color: white;
}

.research-card h3 {
  font-size: 20px;
  margin: 0 0 16px;
  color: #333;
  font-weight: 600;
}

.research-card p {
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 24px;
  font-size: 15px;
}

.research-link {
  display: inline-flex;
  align-items: center;
  color: #5c8dff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
  font-size: 15px;
  position: relative;
}

.research-link:hover {
  color: #3366cc;
  text-decoration: none;
}

.research-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
  font-size: 14px;
}

.research-link:hover i {
  transform: translateX(5px);
}

.research-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #3366cc;
  transition: width 0.3s ease;
}

.research-link:hover::after {
  width: calc(100% - 22px); /* 减去箭头图标的宽度 */
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #5c8dff;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 5px;
}

.section-tag::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #5c8dff;
  margin: 8px 0 0;
}

.section-header {
  text-align: left;
  margin-bottom: 30px;
  max-width: 800px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #222;
}

.section-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .research-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-header {
        text-align: center;
    }
    
    .section-tag::after {
        margin: 8px auto 0;
    }
}

@media (max-width: 576px) {
    .research-card {
        padding: 25px 20px;
    }
    
    .research-icon {
        width: 50px;
        height: 50px;
    }
    
    .research-icon::before {
        font-size: 20px;
    }
    
    .research-card h3 {
        font-size: 18px;
    }
    
    .research-card p {
        font-size: 14px;
    }
}

/* Projects Section Styles */
.projects-section {
  background-color: var(--bg-light);
  padding: var(--spacing-xl) 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: var(--grid-gap);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.5s ease;
  height: 400px;
}

.carousel-item.current .project-card {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-item.current .project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 2rem;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.carousel-item.current .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.project-excerpt {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-light {
  background-color: #fff;
  color: #0047B1;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
  text-decoration: none;
}

.btn-light:hover {
  background-color: #0047B1;
  color: #fff;
  transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {  
  .carousel-item {
    padding: 0 10px;
  }
  
  .project-card {
    height: 350px;
  }
  
  .project-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
  }
}

@media (max-width: 576px) {
  .project-card {
    height: 300px;
  }
  
  .project-title {
    font-size: 1.25rem;
  }
  
  .project-excerpt {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
  }
  
  .carousel-control {
    width: 40px;
    height: 40px;
  }
}

/* Team Section Styles */
.team-section {
  padding: var(--spacing-xl) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: var(--grid-gap);
}

.team-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.team-image {
  border-left-color: var(--primary-color);
}

.pub-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-sm);
}

.pub-date, .pub-category {
  font-size: 0.875rem;
  color: var(--text-light);
}

.pub-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-sm);
}

.pub-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.pub-title a:hover {
  color: var(--primary-color);
}

.pub-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.pub-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.875rem;
}

.pub-link i {
  margin-left: 8px;
  transition: var(--transition);
}

.pub-link:hover {
  color: var(--accent-color);
}

.pub-link:hover i {
  transform: translateX(5px);
}

.no-pubs {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-lg);
  color: var(--text-light);
}

/* Contact Section Styles */
.contact-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-dark);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--grid-gap);
  align-items: center;
}

.contact-content .section-label {
  color: rgba(255, 255, 255, 0.8);
}

.contact-content .section-label:after {
  background-color: rgba(255, 255, 255, 0.8);
}

.contact-content .section-title {
  color: white;
}

.contact-text {
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info {
  margin-bottom: var(--spacing-md);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
  margin-right: var(--spacing-sm);
  color: var(--primary-color);
}

.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: white;
}

.contact-social {
  display: flex;
  gap: var(--spacing-sm);
}

.contact-social .social-link {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.contact-social .social-link:hover {
  background-color: var(--primary-color);
}

.contact-form-wrapper {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  box-shadow: var(--box-shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: var(--spacing-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius);
  background-color: #f8fafc;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .lead-text {
    font-size: 1.25rem;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    grid-gap: var(--spacing-lg);
  }
  
  .about-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-gap: var(--spacing-lg);
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    order: 2;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .section-header {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .section-label:after {
    margin-left: auto;
    margin-right: auto;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .research-grid,
  .projects-grid,
  .publications-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: var(--spacing-sm);
  }
}

/* 进一步优化主页布局 */
body.home .site-main {
  margin-top: 0; /* 首页不需要顶部margin */
}

/* 确保首页英雄区域高度适合视口大小，并且与header无缝连接 */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 var(--spacing-md);
  margin-top: 0;
  overflow: hidden;
  background-color: #f8fafc;
  z-index: 1;
  padding-top: 0; /* 移除顶部填充，由内容的padding处理 */
}

.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.05) 15%, transparent 15%), 
              radial-gradient(circle, rgba(0, 86, 179, 0.05) 15%, transparent 15%);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  z-index: -1;
  opacity: 0.8;
}

.home-hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 var(--spacing-md);
  padding-top: 100px; /* 为fixed header预留足够空间 */
  z-index: 2;
}

.home-hero h1 {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.5px;
}

.home-hero p {
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.home-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-md);
  opacity: 1;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 1;
}

.home-button-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

.home-button-primary:hover {
  background-color: #004494;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.home-button-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.home-button-outline:hover {
  background-color: rgba(0, 86, 179, 0.1);
  transform: translateY(-3px);
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.4s ease, opacity 0.3s ease;
  z-index: 10;
  cursor: pointer;
  opacity: 1;
}

.scroll-down:hover {
  color: var(--primary-color);
  transform: translateX(-50%) translateY(-3px);
}

.scroll-down:focus {
  outline: none;
  color: var(--primary-color);
}

.scroll-down span {
  margin-bottom: var(--spacing-xs);
  font-size: 0.85rem;
  font-weight: 500;
}

.scroll-down i {
  font-size: 1.2rem;
  animation: bounce 2s infinite;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .home-hero h1 {
    font-size: 3.5rem;
  }
  
  .home-hero p {
    font-size: 1.25rem;
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .home-hero h1 {
    font-size: 2.8rem;
  }
  
  .home-hero p {
    font-size: 1.2rem;
    max-width: 100%;
  }
  
  .home-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .home-button {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .home-hero h1 {
    font-size: 2.2rem;
  }
  
  .home-hero p {
    font-size: 1rem;
  }
}

/* 确保在移动设备上也正确显示 */
@media (max-width: 768px) {
  .home-hero-content {
    padding-top: 80px; /* 移动设备上减少padding */
  }
}

/* 适配现有的About部分 */
.about-button-container {
  margin-top: var(--spacing-md);
}

.about-button-container .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about-button-container .btn:hover {
  background-color: #003166;
  transform: translateY(-2px);
}

.about-button-container .btn i {
  transition: transform 0.3s ease;
}

.about-button-container .btn:hover i {
  transform: translateX(5px);
}

/* 修复About部分的统计数据区域 */
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: var(--spacing-md);
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: var(--spacing-md);
  overflow: hidden;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--spacing-md);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #0047B1;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
  color: #0066ff;
}

.counter-number {
  min-width: 3ch;
  display: inline-block;
  text-align: center;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-image {
  grid-column: 1 / -1;
  margin-top: var(--spacing-sm);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* 修复首页按钮动画问题 */
.home-hero .home-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-md);
  /* 移除可能导致问题的opacity和animation设置 */
  opacity: 1; /* 保持按钮始终可见 */
}

/* 单独为每个按钮设置动画 */
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  /* 初始透明度设置为1，防止闪烁 */
  opacity: 1;
}

/* 覆盖animations.css中的设置，确保按钮容器始终可见 */
.home-hero .home-buttons.animated {
  opacity: 1;
}

/* 修复标签样式 */
.section-tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  position: relative;
}

.section-tag:after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  margin-top: var(--spacing-xs);
}

/* 修复标题样式 */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-color);
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-light);
  max-width: 640px;
}

/* 项目轮播样式 - 滑动版 */
.projects-carousel {
  position: relative;
  margin: 3rem 0;
  overflow: hidden;
  padding-bottom: 60px; /* 为滚动条和控制留出空间 */
}

.carousel-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-item {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 15px;
  transition: all 0.3s ease;
  opacity: 0.5;
  transform: scale(0.9);
}

.carousel-item.prev, 
.carousel-item.next {
  opacity: 0.7;
  transform: scale(0.95);
}

.carousel-item.current {
  opacity: 1;
  transform: scale(1);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.carousel-control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #f1f5f9;
  border: none;
  color: #0047B1;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.carousel-control:hover {
  background-color: #0047B1;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.carousel-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  margin: 0 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-dot.active {
  width: 12px;
  height: 12px;
  background-color: #0047B1;
}

/* 侧边滚动指示器 */
.scroll-indicator {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80px;
  background-color: #e2e8f0;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.scroll-indicator:after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #0047B1;
  border-radius: 50%;
  transform: translateX(-4px);
  transition: transform 0.3s ease;
}

/* 项目卡片样式增强 */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.5s ease;
  height: 400px;
}

.carousel-item.current .project-card {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-item.current .project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 2rem;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.carousel-item.current .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.project-excerpt {
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  opacity: 0.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-light {
  background-color: #fff;
  color: #0047B1;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
  text-decoration: none;
}

.btn-light:hover {
  background-color: #0047B1;
  color: #fff;
  transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {  
  .carousel-item {
    padding: 0 10px;
  }
  
  .project-card {
    height: 350px;
  }
  
  .project-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%);
  }
}

@media (max-width: 576px) {
  .project-card {
    height: 300px;
  }
  
  .project-title {
    font-size: 1.25rem;
  }
  
  .project-excerpt {
    font-size: 0.875rem;
    -webkit-line-clamp: 2;
  }
  
  .carousel-control {
    width: 40px;
    height: 40px;
  }
}

/* News/Latest Updates Section */
.news-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.news-container {
  max-width: 900px;
  margin: 0 auto;
}

.news-header {
  text-align: center;
  margin-bottom: 3rem;
}

.news-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #5c8dff;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 5px;
}

.news-tag::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #5c8dff;
  margin: 8px auto 0;
}

.news-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.news-subtitle {
  font-size: 1.125rem;
  color: #718096;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.news-list {
  margin-bottom: 3rem;
}

.news-item {
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #5c8dff;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.news-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #5c8dff;
  letter-spacing: 0.5px;
}

.news-date {
  font-size: 0.875rem;
  color: #718096;
}

.news-item-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-item-title a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-item-title a:hover {
  color: #5c8dff;
}

.news-item-excerpt {
  font-size: 1rem;
  color: #718096;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.news-item-link {
  display: inline-flex;
  align-items: center;
  color: #5c8dff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.news-item-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.news-item-link:hover {
  color: #3366cc;
}

.news-item-link:hover i {
  transform: translateX(5px);
}

.view-all-news {
  display: block;
  text-align: center;
  margin-top: 2rem;
}

.view-all-news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: #fff;
  color: #5c8dff;
  border: 2px solid #5c8dff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-news-btn:hover {
  background-color: #5c8dff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(92, 141, 255, 0.2);
}

.view-all-news-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.view-all-news-btn:hover i {
  transform: translateX(3px);
}

/* 最新更新专用样式 */
.latest-updates {
  padding: 3rem 0;
  background-color: #f8fafc;
}

.latest-updates-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.latest-updates-header {
  margin-bottom: 2.5rem;
}

.latest-updates-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.latest-updates-subtitle {
  font-size: 1.125rem;
  color: #718096;
  line-height: 1.6;
}

.latest-update-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #5c8dff;
}

.latest-update-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.latest-update-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.latest-update-category {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
}

.latest-update-date {
  font-size: 0.875rem;
  color: #718096;
}

.latest-update-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.latest-update-title a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
}

.latest-update-title a:hover {
  color: #5c8dff;
}

.latest-update-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  color: #718096;
  margin-bottom: 1.5rem;
}

.read-more {
  color: #5c8dff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.read-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more:hover {
  color: #3366cc;
}

.read-more:hover i {
  transform: translateX(5px);
}

.view-all-updates {
  text-align: center;
  margin-top: 2rem;
}

.view-all-updates-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  color: #5c8dff;
  border: 2px solid #5c8dff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-updates-btn:hover {
  background-color: #5c8dff;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(92, 141, 255, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .latest-updates-title {
    font-size: 2rem;
  }
  
  .latest-update-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .latest-updates-title {
    font-size: 1.75rem;
  }
  
  .latest-update-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* 单个文章页面样式 */
.post-hero {
  background-color: #f8fafc;
  padding: 5rem 0 3rem;
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
}

.post-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, rgba(248, 250, 252, 0), #fff);
}

.post-hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.post-category {
  background-color: rgba(92, 141, 255, 0.1);
  color: #5c8dff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
}

.post-date {
  color: #718096;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}

.post-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #333;
  line-height: 1.2;
}

.post-content-section {
  padding-bottom: 4rem;
}

.post-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 3rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2, .post-content h3, .post-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2d3748;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.post-content ul, .post-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid #5c8dff;
  padding-left: 1.5rem;
  font-style: italic;
  margin: 1.5rem 0;
  color: #4a5568;
}

.post-footer {
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.post-tags {
  margin-bottom: 1.5rem;
}

.tags-title, .share-title {
  display: inline-block;
  font-weight: 600;
  color: #4a5568;
  margin-right: 0.5rem;
}

.post-tags a {
  display: inline-block;
  background-color: #f1f5f9;
  color: #4a5568;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.post-tags a:hover {
  background-color: #e2e8f0;
  color: #2d3748;
}

.post-share {
  display: flex;
  align-items: center;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.share-button.facebook {
  background-color: #3b5998;
}

.share-button.twitter {
  background-color: #1da1f2;
}

.share-button.linkedin {
  background-color: #0077b5;
}

.share-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.post-nav-links {
  display: flex;
  justify-content: space-between;
}

.post-nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #4a5568;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  transition: all 0.3s ease;
  max-width: 45%;
}

.post-nav-link.prev {
  padding-left: 0.75rem;
}

.post-nav-link.next {
  padding-right: 0.75rem;
  text-align: right;
  margin-left: auto;
}

.post-nav-link:hover {
  background-color: #f8fafc;
  color: #5c8dff;
  border-color: #cbd5e0;
}

.nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.75rem;
  color: #5c8dff;
}

.nav-title {
  font-weight: 500;
  line-height: 1.4;
}

.post-sidebar {
  position: sticky;
  top: 2rem;
}

.sidebar-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf2f7;
}

.sidebar-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #edf2f7;
}

.recent-posts, .categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li, .categories-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #edf2f7;
}

.recent-posts li:last-child, .categories-list li:last-child {
  border-bottom: none;
}

.recent-posts a, .categories-list a {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  line-height: 1.4;
}

.recent-posts a:hover, .categories-list a:hover {
  color: #5c8dff;
  transform: translateX(5px);
}

.categories-list .cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.categories-list .cat-item a {
  flex: 1;
}

.categories-list .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background-color: #f1f5f9;
  color: #718096;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0 0.5rem;
}

/* 响应式调整 */
@media (max-width: 1024px) {
  .post-title {
    font-size: 2.5rem;
  }
  
  .post-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .post-hero {
    padding-top: 6rem;
    padding: 6rem 0 2rem;
  }
  
  .post-title {
    font-size: 2rem;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .post-content {
    font-size: 1rem;
  }
  
  .post-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .post-nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  
  .post-nav-link {
    max-width: 100%;
  }
  
  .post-nav-link.next {
    margin-left: 0;
  }
}

@media (max-width: 576px) {
  .post-hero {
    padding: 3rem 0 1.5rem;
  }
  
  .post-title {
    font-size: 1.75rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* 新闻文章单页样式 */
.news-article .post-hero {
  background-color: #f0f5ff;
}

.news-article .post-hero::after {
  background: linear-gradient(to bottom, rgba(240, 245, 255, 0), #fff);
}

.news-hero .section-tag {
  background-color: rgba(92, 141, 255, 0.1);
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #5c8dff;
  margin-bottom: 1rem;
}

.news-content-section .post-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.news-archives ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-archives ul li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #edf2f7;
}

.news-archives ul li:last-child {
  border-bottom: none;
}

.news-archives ul li a {
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: block;
  line-height: 1.4;
}

.news-archives ul li a:hover {
  color: #5c8dff;
  transform: translateX(5px);
}

/* 相关新闻部分 */
.related-news-section {
  background-color: #f8fafc;
  padding: 4rem 0;
  margin-top: 3rem;
}

.related-news-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2rem;
  text-align: center;
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.related-news-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-news-image {
  overflow: hidden;
}

.related-news-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.related-news-item:hover .related-news-image img {
  transform: scale(1.05);
}

.related-news-content {
  padding: 1.5rem;
}

.related-news-meta {
  margin-bottom: 0.75rem;
}

.related-news-date {
  font-size: 0.875rem;
  color: #718096;
}

.related-news-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.related-news-title a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-news-title a:hover {
  color: #5c8dff;
}

@media (max-width: 768px) {
  .related-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .related-news-grid {
    grid-template-columns: 1fr;
  }
  
  .related-news-item {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* 新闻分类页面的过滤器 */
.news-filter {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  background-color: #f8fafc;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-label {
  font-weight: 600;
  color: #4a5568;
  margin-right: 1rem;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-option {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background-color: #fff;
  color: #718096;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.filter-option:hover {
  background-color: #edf2f7;
  color: #4a5568;
}

.filter-option.active {
  background-color: #5c8dff;
  color: #fff;
  border-color: #5c8dff;
}

.no-news-found {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.no-news-found p {
  color: #a0aec0;
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .news-filter {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .filter-options {
    width: 100%;
  }
}

/* 新闻列表样式 */
.news-list-container {
    max-width: 100%;
    margin: 0 auto;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-list-item {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    position: relative;
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-list-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #5c8dff;
    color: white;
    padding: 15px;
    min-width: 80px;
    text-align: center;
}

.news-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.news-month {
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 5px;
}

.news-list-content {
    padding: 20px;
    flex: 1;
}

.news-list-category {
    display: inline-block;
    background-color: #eaf1ff;
    color: #5c8dff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.news-list-title {
    font-size: 20px;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.news-list-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-list-title a:hover {
    color: #5c8dff;
}

.news-list-excerpt {
    color: #6c757d;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.5;
}

.news-list-image {
    width: 180px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-list-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.05);
}

.read-more {
    color: #5c8dff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #4070dd;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .news-list-item {
        flex-direction: column;
    }
    
    .news-list-date {
        flex-direction: row;
        width: 100%;
        padding: 10px;
    }
    
    .news-day {
        font-size: 20px;
        margin-right: 5px;
    }
    
    .news-month {
        font-size: 14px;
        margin-top: 0;
    }
    
    .news-list-image {
        width: 100%;
        height: 200px;
        order: -1;
    }
}

@media (max-width: 576px) {
    .news-list-image {
        height: 180px;
    }
    
    .news-list-title {
        font-size: 18px;
    }
    
    .news-list-excerpt {
        font-size: 14px;
    }
}

/* 通用图片占位符样式 */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    min-height: 150px;
    width: 100%;
    border-radius: 4px;
    font-weight: 500;
}

/* 在不同上下文中调整占位符样式 */
.project-image .img-placeholder {
    height: 240px;
}

.news-list-image .img-placeholder {
    height: 100%;
    min-height: 100%;
    border-radius: 0;
}

.team-image .img-placeholder {
    height: 280px;
}

.hero-media .img-placeholder {
    height: 100%;
    min-height: 200px;
}

/* 特殊情况下的占位符样式 */
.publication-item .img-placeholder {
    height: 120px;
}

/* 确保图片在占位符中正确显示 */
img.error,
img:not([src]),
img[src=""] {
    display: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .img-placeholder {
        min-height: 120px;
        font-size: 12px;
        padding: 15px;
    }
}

/* 无数据状态样式 */
.no-publications,
.no-projects,
.no-news,
.no-team,
.no-opportunities {
    padding: 40px 20px;
    text-align: center;
    background-color: #f8fafc;
    border-radius: 8px;
    margin: 20px 0;
}

.no-publications p,
.no-projects p,
.no-news p,
.no-team p,
.no-opportunities p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 20px;
}

.empty-state-actions {
    margin-top: 15px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* 添加团队成员样式增强 */
.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-image-link {
  display: block;
  height: 100%;
  width: 100%;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.5rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #2d3748;
}

.team-name a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
}

.team-name a:hover {
  color: #5c8dff;
}

.team-role {
  font-size: 0.875rem;
  color: #5c8dff;
  margin-bottom: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.team-bio {
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #5c8dff;
  color: white;
  transform: translateY(-3px);
}

/* 教师卡片特殊样式 */
.team-card.faculty {
  grid-column: span 2;
  flex-direction: row;
  height: auto;
}

.team-card.faculty .team-image {
  width: 40%;
  height: auto;
  min-height: 300px;
}

.team-card.faculty .team-info {
  width: 60%;
  text-align: left;
  padding: 2rem;
}

.team-card.faculty .team-name {
  font-size: 1.75rem;
}

.team-card.faculty .team-role {
  font-size: 1rem;
  font-weight: 600;
}

.team-card.faculty .team-bio {
  font-size: 1rem;
}

.team-card.faculty .team-social {
  justify-content: flex-start;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .team-card.faculty {
    grid-column: span 1;
    flex-direction: column;
  }
  
  .team-card.faculty .team-image,
  .team-card.faculty .team-info {
    width: 100%;
  }
  
  .team-card.faculty .team-info {
    text-align: center;
  }
  
  .team-card.faculty .team-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
  
  .team-image {
    height: 240px;
  }
  
  .team-info {
    padding: 1.25rem;
  }
  
  .team-name {
    font-size: 1.125rem;
  }
}

/* 添加通用的大边距类 */
.mt-lg {
  margin-top: 20px !important; /* 从原来的值增加到60px */
}

/* 为了确保团队部分的按钮有足够的上边距 */
#team .text-center.mt-lg {
  margin-top: 30px !important; /* 专门为团队部分增加更大的上边距 */
}

/* 出版物高亮部分样式优化 */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.publications-list .publication-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    border-left: 4px solid #0075FF;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.publications-list .publication-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.15);
}

.publications-list .publication-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.publications-list .publication-date {
    font-size: 0.9rem;
    color: #e0e0e0;
}

.publications-list .publication-category {
    background-color: #0075FF;
    color: white;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.publications-list .publication-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.publications-list .publication-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.publications-list .publication-title a:hover {
    color: #3da9fc;
}

.publications-list .publication-authors {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 15px;
    font-style: italic;
}

.publications-list .publication-abstract {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.publications-list .read-more {
    display: inline-block;
    color: #3da9fc;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.publications-list .read-more:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #3da9fc;
    transition: width 0.3s ease;
}

.publications-list .read-more:hover:after {
    width: 100%;
}

@media (max-width: 768px) {
    .publications-list .publication-item {
        padding: 20px;
    }
    
    .publications-list .publication-title {
        font-size: 1.3rem;
    }
}

/* 出版物卡片样式 - 与团队成员卡片一致 */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    margin-top: 40px;
}

.publication-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.publication-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.publication-image-link {
    display: block;
    height: 100%;
    width: 100%;
}

.publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.publication-thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 36px;
}

.publication-card:hover .publication-image img {
    transform: scale(1.05);
}

.publication-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.publication-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #2d3748;
}

.publication-name a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.publication-name a:hover {
    color: #5c8dff;
}

.publication-authors {
    font-size: 0.875rem;
    color: #5c8dff;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.4;
    font-style: italic;
}

.publication-journal {
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.publication-abstract {
    font-size: 0.875rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.publication-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #718096;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.75rem;
}

.publication-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.publication-type {
    background-color: #eaf1ff;
    color: #5c8dff;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.75rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .publication-image {
        height: 160px;
    }
}

/* Join Us / Opportunities 部分样式 */
.cta-header {
    text-align: center;
    margin-bottom: 50px;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.opportunity-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.opportunity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.opportunity-card-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.opportunity-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #2d3748;
}

.opportunity-description {
    flex-grow: 1;
    margin-bottom: 20px;
}

.opportunity-description p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.opportunity-action {
    margin-top: auto;
}

.opportunity-action .btn-primary {
    background-color: #0075FF;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.opportunity-action .btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.cta-image-container {
    text-align: center;
    margin-top: 30px;
}

.cta-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.no-opportunities {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e0;
}

@media (max-width: 768px) {
    .opportunities-grid {
        grid-template-columns: 1fr;
    }
}