/**
 * Research Areas Styles
 * Styles for both archive and single research area pages
 */

/* Base Variables */
:root {
  --research-primary: #0075FF;
  --research-secondary: #F5F7FA;
  --research-text: #333333;
  --research-light: #FFFFFF;
  --research-border: #E1E4E8;
  --research-hover: #0062D6;
  --research-transition: all 0.3s ease;
  --research-radius: 8px;
  --research-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --header-height: 80px; /* Default height, will be overridden by JS */
}

/* Page Header Styles */
.page-header {
  background: linear-gradient(135deg, #0075FF 0%, #00A3FF 100%);
  padding: 80px 0;
  color: var(--research-light);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/dots-pattern.png) repeat;
  opacity: 0.1;
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.page-description {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Research Archive Container */
.research-archive-container {
  padding-bottom: 64px;
  padding-top: 64px;
}

/* Filter Styles */
.research-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  gap: 10px;
}

.text-center.mt-lg {
  margin-top: 64px;
}

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 64px;
}

.filter-btn {
  background: var(--research-secondary);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--research-text);
  cursor: pointer;
  transition: var(--research-transition);
}

.filter-btn:hover {
  background: rgba(0, 117, 255, 0.1);
  color: var(--research-primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--research-primary);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 117, 255, 0.3);
}

/* Research Grid */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 30px;
  margin-bottom: 64px;
}

/* Research Card Styles */
.research-card {
  display: block;
  height: 100%;
  transition: all 0.3s ease;
  border-radius: var(--research-radius);
  overflow: hidden;
  background: var(--research-light);
  box-shadow: var(--research-shadow);
  opacity: 1;
  transform: translateY(0);
}

.research-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px;
  background-color: #fff;
  border-radius: var(--research-radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.research-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.research-card:hover .research-icon {
  transform: scale(1.05) rotate(5deg);
}

.research-card:hover .research-card-inner {
  border-top: 3px solid var(--research-primary);
}

/* Research Icon */
.research-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--research-transition);
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.research-icon img {
  width: 32px;
  height: auto;
}

/* Research Title */
.research-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

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

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

/* Research Categories */
.research-categories {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.research-category {
  font-size: 13px;
  color: var(--research-primary);
  background: rgba(0, 117, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  transition: var(--research-transition);
}

.research-card:hover .research-category {
  background: rgba(0, 117, 255, 0.2);
}

/* Research Excerpt */
.research-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.research-leader {
  font-size: 14px;
  margin-bottom: 20px;
  color: #555;
}

.leader-label {
  font-weight: 600;
}

/* Research Link */
.research-link {
  display: inline-flex;
  align-items: center;
  color: var(--research-primary);
  font-weight: 500;
  text-decoration: none;
  transition: var(--research-transition);
  margin-top: auto;
  position: relative;
  padding-bottom: 2px;
}

.research-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--research-primary);
  transition: var(--research-transition);
}

.research-link i {
  margin-left: 8px;
  font-size: 14px;
  transition: var(--research-transition);
}

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

.research-link:hover:after {
  width: 100%;
}

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

/* No Results Styles */
.no-research-found {
  text-align: center;
  padding: 60px 0;
}

.no-research-found h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.no-research-found p {
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

/* Pagination Styles */
.research-pagination {
  display: flex;
  justify-content: center;
}

.research-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border-radius: 50%;
  background: var(--research-secondary);
  color: var(--research-text);
  text-decoration: none;
  transition: var(--research-transition);
}

.research-pagination .page-numbers.current,
.research-pagination .page-numbers:hover {
  background: var(--research-primary);
  color: white;
  transform: scale(1.1);
}

.research-pagination .prev,
.research-pagination .next {
  font-size: 14px;
}

/* Single Research Area Styles */
.research-single {
  margin-top: 0; /* 移除顶部margin */
}

/* Research Area Header */
.research-hero {
  padding: 80px 0 64px; /* 恢复完整padding设置 */
  margin-bottom: 64px;
  position: relative;
  background-color: #F8FAFC;
  overflow: hidden;
}

.research-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 10%;
  background: rgba(255, 255, 255, 0.05);
}

.circle-3 {
  width: 150px;
  height: 150px;
  top: 20%;
  left: 30%;
  background: rgba(255, 255, 255, 0.07);
}

.research-hero .section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--research-primary);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 5px;
}

.research-hero .section-tag::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--research-primary);
  margin: 8px 0 0;
}

.research-hero .research-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a202c;
  line-height: 1.2;
}

.research-hero .research-excerpt {
  font-size: 1.125rem;
  margin-bottom: 32px;
  color: #4a5568;
  line-height: 1.6;
}

.research-hero .research-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 12px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.research-hero .research-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Research Content Layout */
.research-content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}

.research-content {
  line-height: 1.8;
}

.research-content h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
}

.research-content h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
}

.research-content p {
  margin-bottom: 20px;
}

.research-content ul, 
.research-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.research-content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
}

/* Sidebar */
.research-sidebar {
  position: sticky;
  top: 100px;
}

.research-sidebar-section {
  margin-bottom: 40px;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  transition: var(--research-transition);
  box-shadow: var(--research-shadow);
  border-top: 3px solid transparent;
}

.research-sidebar-section:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.research-sidebar-section h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.research-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.research-category-list li {
  margin-bottom: 12px;
}

.research-category-list li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.research-category-list li a:hover {
  transform: translateX(5px);
}

.research-featured-image {
  overflow: hidden;
  border-radius: var(--research-radius);
  box-shadow: var(--research-shadow);
}

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

.research-featured-image:hover img {
  transform: scale(1.05);
}

.research-share {
  display: flex;
  gap: 12px;
}

.research-share .share-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.research-share .share-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Related Projects */
.related-projects {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid #e9ecef;
}

.related-projects h2 {
  font-size: 28px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.related-projects h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--research-primary);
}

.related-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Project Card Styles */
.project-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.project-card-inner {
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.project-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
}

.project-status.ongoing {
  background-color: #4CAF50;
}

.project-status.completed {
  background-color: #2196F3;
}

.project-card-content {
  padding: 20px;
  background-color: white;
}

.project-card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.project-card-meta {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.project-date {
  display: block;
}

.project-learn-more {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
}

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

.project-card:hover .project-learn-more i {
  transform: translateX(5px);
}

/* Animation Styles */
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Research Card Image */
.research-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  margin: -30px -30px 20px;
}

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

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

/* Research Card Badges */
.research-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.research-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: var(--research-transition);
}

/* Project Status Badge */
.project-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: white;
  z-index: 1;
}

/* Research Single Page */
.research-hero .section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--research-primary);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 5px;
}

.research-hero .section-tag::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--research-primary);
  margin: 8px 0 0;
}

/* Research Card Link */
.research-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--research-primary);
  font-weight: 500;
  text-decoration: none;
  transition: var(--research-transition);
  margin-top: auto;
  position: relative;
  padding-bottom: 2px;
}

.research-card-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: currentColor;
  transition: var(--research-transition);
}

.research-card-link:hover:after {
  width: 100%;
}

.research-card-link svg {
  transition: transform 0.3s ease;
}

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

/* Sidebar Updates */
.research-sidebar-section {
  margin-bottom: 40px;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  transition: var(--research-transition);
  box-shadow: var(--research-shadow);
  border-top: 3px solid transparent;
}

.research-sidebar-section:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

/* Filter Buttons */
.research-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  background: var(--research-secondary);
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--research-text);
  cursor: pointer;
  transition: var(--research-transition);
}

.filter-button:hover {
  background: rgba(0, 117, 255, 0.1);
  color: var(--research-primary);
}

.filter-button.active {
  background: var(--research-primary);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 117, 255, 0.3);
}

/* No Results Styles */
.no-results {
  text-align: center;
  padding: 60px 0;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 30px;
}

.no-results-icon {
  margin-bottom: 20px;
}

.no-results h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.no-results p {
  color: #666;
  max-width: 500px;
  margin: 0 auto;
}

/* Research Hero Improvements */


/* Media Queries */
@media (max-width: 1024px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .research-filter {
    flex-direction: column;
    width: 100%;
  }
  
  .filter-button {
    width: 100%;
  }
  
  .research-hero {
    padding: 100px 0 60px;
  }
  
  .research-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  .research-sidebar {
    position: static;
  }

  .research-hero .research-title {
    font-size: 2.5rem;
  }

  .research-hero .research-excerpt {
    font-size: 1.1rem;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
  
  .research-card-image {
    height: 180px;
  }
  


  .research-hero .research-title {
    font-size: 2rem;
  }

  .research-icon {
    width: 80px;
    height: 80px;
  }

  .research-icon img {
    width: 40px;
    height: 40px;
  }
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Category List */
.research-category-list li {
  margin-bottom: 12px;
}

.research-category-list li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.research-category-list li a:hover {
  transform: translateX(5px);
}

/* Research Card Title */
.research-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

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

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

/* Research Card Excerpt */
.research-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Research Hero Content */
.research-hero-content {
  position: relative;
  z-index: 5;
  max-width: 800px;
}

/* Research Archive Page Styles */
.research-areas-archive-hero {
    background-color: #f8fafc;
    padding: 5rem 0 3rem;
    position: relative;
    text-align: center;
}

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

.archive-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.archive-hero-content .section-tag {
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #0075FF;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.archive-hero-content .section-tag::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: #0075FF;
    margin: 8px auto 0;
}

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

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

.research-areas-archive-content {
    padding: 4rem 0;
}

.research-areas-filter {
    margin-bottom: 3rem;
    text-align: center;
}

.filter-toggle {
    display: inline-flex;
    background-color: #f1f5f9;
    border-radius: 50px;
    padding: 6px;
}

.filter-button {
    background: none;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button.active {
    background-color: #fff;
    color: #0075FF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.filter-button:hover:not(.active) {
    color: #4a5568;
}

.research-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.research-area-card {
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #edf2f7;
}

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

.research-area-image {
    position: relative;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}

.research-area-image i {
    font-size: 64px;
}

.research-area-image img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.5s ease;
}

.research-area-card:hover .research-area-image img {
    transform: scale(1.1);
}

.research-area-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.research-area-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.research-area-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

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

.research-area-title a:hover {
    color: #0075FF;
}

.research-area-meta {
    display: flex;
    margin-bottom: 1rem;
}

.research-area-categories {
    color: #718096;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.research-area-categories i {
    margin-right: 0.5rem;
}

.research-area-excerpt {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    flex-grow: 1;
}

.research-area-link {
    display: inline-flex;
    align-items: center;
    color: #0075FF;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

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

.research-area-link:hover {
    color: #0062D6;
}

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

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 0.25rem;
    color: #718096;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current {
    background-color: #0075FF;
    color: #fff;
}

.pagination .page-numbers:not(.current):hover {
    background-color: #f1f5f9;
    color: #4a5568;
}

.pagination .prev,
.pagination .next {
    font-size: 0.75rem;
}

.no-research-areas {
    text-align: center;
    padding: 3rem;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    color: #718096;
}

/* Single Research Area Styles */
.research-single {
    margin-bottom: 4rem;
}

/* Research Area Hero Section */
.research-hero {
    background-color: #f0f7ff;
    padding: 5rem 0 3rem;
    margin-bottom: 3rem;
    position: relative;
}

/* 确保research内容不会被header遮挡 */
.research-hero, .research-areas-archive-hero {
    padding-top: 7rem;
}

.research-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(240, 247, 255, 0), #fff);
}

.research-hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

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

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

.research-hero .research-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a202c;
    line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .archive-title {
        font-size: 2.5rem;
    }

    .research-hero .research-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .research-hero, .research-areas-archive-hero {
        padding-top: 6rem;
        padding: 6rem 0 2rem;
    }
    
    .research-areas-archive-hero {
        padding: 6rem 0 2rem;
    }
    
    .archive-title {
        font-size: 2rem;
    }
    
    .archive-subtitle {
        font-size: 1.125rem;
    }
    
    .research-areas-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-toggle {
        width: 100%;
        display: flex;
    }
    
    .filter-button {
        flex: 1;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .research-hero .research-title {
        font-size: 2rem;
    }
    
    .research-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .research-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {
    .research-areas-archive-hero {
        padding: 3rem 0 1.5rem;
    }
    
    .archive-title {
        font-size: 1.75rem;
    }
    
    .archive-subtitle {
        font-size: 1rem;
    }
    
    .filter-toggle {
        flex-direction: column;
        background: none;
        padding: 0;
        gap: 0.5rem;
    }
    
    .filter-button {
        width: 100%;
        border-radius: 0.25rem;
    }
    
    .research-area-image {
        height: 150px;
    }
}

/* Research Hero Animation */
.research-hero.animate-fade.fade-in {
  animation-delay: 0.1s;
}

.research-hero-content > * {
  animation-delay: calc(0.1s * var(--item-index, 1));
}

/* Card Fade In Animation */
.research-card.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Fix animation delay for elements */
.animate-fade:nth-child(1) { --item-index: 1; }
.animate-fade:nth-child(2) { --item-index: 2; }
.animate-fade:nth-child(3) { --item-index: 3; }
.animate-fade:nth-child(4) { --item-index: 4; }
.animate-fade:nth-child(5) { --item-index: 5; }

/* Hero图形元素样式 */
.hero-shape {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  opacity: 0.6;
}

.shape-1 {
  top: 10%;
  right: 15%;
  animation-delay: 0s;
}

.shape-2 {
  bottom: 20%;
  left: 10%;
  animation-delay: 2s;
}

.shape-3 {
  top: 50%;
  right: 30%;
  animation-delay: 4s;
}

.hero-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* 增强研究图标效果 */
.research-hero .research-icon {
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}

.research-hero .research-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.research-hero .research-icon:after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: all 0.5s ease;
}

.research-hero .research-icon:hover:after {
  opacity: 1;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
}

/* 研究领域头部内容布局 */
.research-hero-content {
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 5;
}

.research-hero-left {
  flex: 2;
}

.research-hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 研究领域图标样式 */
.research-icon {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: white;
  position: relative;
  transition: all 0.3s ease;
}

.research-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.research-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.research-icon:hover img {
  transform: scale(1.05);
}

/* 研究领域标题样式 */
.research-hero .section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--research-primary);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 5px;
}

.research-hero .section-tag::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--research-primary);
  margin: 8px 0 0;
}

.research-hero .research-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a202c;
  line-height: 1.2;
}

.research-hero .research-excerpt {
  font-size: 1.125rem;
  margin-bottom: 32px;
  color: #4a5568;
  line-height: 1.6;
}

/* 研究领域徽章样式 */
.research-hero .research-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-right: 12px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.research-hero .research-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
  .research-hero-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .research-hero-left {
    order: 2;
  }
  
  .research-hero-right {
    order: 1;
  }
  
  .research-hero .research-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .research-hero {
    padding: 100px 0 40px;
  }
  
  .research-icon {
    width: 150px;
    height: 150px;
  }
  
  .research-icon img {
    width: 80px;
    height: 80px;
  }
  
  .research-hero .research-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .research-hero {
    padding: 80px 0 30px;
  }
  
  .research-icon {
    width: 120px;
    height: 120px;
  }
  
  .research-icon img {
    width: 60px;
    height: 60px;
  }
  
  .research-hero .research-title {
    font-size: 1.75rem;
  }
  
  .research-hero .research-excerpt {
    font-size: 1rem;
  }
}

/* 确保与顶部header无缝连接 */
main#primary {
  margin-top: 0;
  padding-top: 0;
}

/* Research Gallery */
.research-gallery-section {
    margin: 40px 0;
}

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

.research-gallery .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.research-gallery .gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.research-gallery .gallery-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .research-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .research-gallery {
        grid-template-columns: 1fr;
    }
} 