/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Academic & Scientific Color Palette */
    --primary-color: #0056b3; /* Deep academic blue */
    --primary-dark: #003d82;
    --primary-light: #4d8bd6;
    --secondary-color: #2c3e50; /* Professional slate */
    --accent-color: #17a2b8; /* Scientific teal */
    --accent-warm: #fd7e14; /* Research orange */
    
    /* Text Colors */
    --text-primary: #1a252f; /* Rich dark text */
    --text-secondary: #495057; /* Subtle text */
    --text-light: #6c757d; /* Light text */
    --text-muted: #868e96;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc; /* Very light blue-gray */
    --bg-tertiary: #e9ecef; /* Neutral gray */
    --bg-accent: #f0f8ff; /* Light academic blue */
    
    /* Border & UI Colors */
    --border-color: #dee2e6;
    --border-light: #e9ecef;
    --border-accent: #b3d9ff;
    
    /* Shadows - More sophisticated */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px 0 rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Header and Navigation */
.header {
    background-color: transparent;
    border-bottom: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background-color: rgba(26, 37, 47, 0.85); /* Academic dark blue with transparency */
    box-shadow: 0 2px 20px 0 rgba(0, 86, 179, 0.1);
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.nav-brand .brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

/* Navigation Search */
.nav-search {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-container:hover,
.search-container:focus-within {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    width: 200px;
    outline: none;
    font-family: var(--font-family);
    font-weight: 400;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-btn:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 400px;
    max-width: 500px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background-color: var(--bg-secondary);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.search-result-excerpt {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.search-result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-light);
}

.search-result-page {
    background-color: var(--primary-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.search-no-results {
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.search-loading {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.search-result-item mark {
    background-color: var(--accent-color);
    color: white;
    padding: 0.1rem 0.2rem;
    border-radius: 2px;
    font-weight: 500;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

    .nav-toggle span {
        width: 25px;
        height: 3px;
        background-color: white;
        transition: all 0.3s ease;
    }

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 0;
    text-align: center;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

/* Dual video container for movie2a and movie2b */
#video-dual-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #000000;
}

#video-dual-container video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

/* Individual video backgrounds for subtle differentiation */
#video2a {
    background: rgba(0, 0, 0, 0.1);
}

#video2b {
    background: rgba(0, 0, 0, 0.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.7) 0%, rgba(0, 61, 130, 0.8) 50%, rgba(44, 62, 80, 0.7) 100%);
    z-index: -1;
    transition: opacity 0.5s ease;
}

.scale-indicator {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.hero-content {
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: all 0.5s ease;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    transition: text-shadow 0.5s ease;
}



.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero-scroll {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-scroll {
        gap: 0.25rem;
    }
}

.hero-scroll p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
    transition: text-shadow 0.5s ease;
}

/* 移除hero-scroll的text-stroke效果，不需要边框 */

.hero-scroll .scroll-arrow {
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.hero-scroll .scroll-arrow:hover {
    transform: scale(1.2);
}



.scroll-arrow {
    color: var(--primary-color);
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.scroll-arrow:hover {
    transform: scale(1.2);
}

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

/* Research Introduction Section */
.research-intro {
    padding: 5rem 0;
    background: #000000;
    position: relative;
}

.research-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.research-intro .container {
    padding: 0 1rem;
    max-width: 1400px;
}

.research-intro .section-title {
    color: #ffffff;
}

.research-intro-content {
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: row;
    -webkit-flex-direction: row; /* Safari */
    gap: 2rem;
    align-items: center;
    -webkit-align-items: center; /* Safari */
    justify-content: space-between;
    -webkit-justify-content: space-between; /* Safari */
}

.research-text {
    flex: 1;
    -webkit-flex: 1; /* Safari */
    min-width: 0;
    max-width: 60%; /* 限制文本宽度确保图片有足够空间 */
    text-align: left; /* 确保文字左对齐 */
}

.research-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.research-text p:last-child {
    margin-bottom: 0;
}

.research-intro .research-image {
    flex-shrink: 0;
    -webkit-flex-shrink: 0; /* Safari */
    text-align: center;
    background: transparent;
    height: auto;
    display: block;
    width: auto;
    max-width: 40%; /* 限制图片容器宽度 */
    min-width: 300px; /* 确保图片有最小宽度 */
}

.research-intro .research-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: contain;
    box-sizing: border-box;
}

.research-images-dual {
    display: flex;
    display: -webkit-flex; /* Safari */
    gap: 0;
    align-items: flex-start; /* 图片顶部对齐，保持原始比例 */
    -webkit-align-items: flex-start; /* Safari */
    justify-content: center;
    -webkit-justify-content: center; /* Safari */
    flex-wrap: nowrap; /* 确保不换行 */
    -webkit-flex-wrap: nowrap; /* Safari */
    width: 100%;
    max-width: 100%;
    height: auto; /* 让容器高度自适应内容 */
    min-height: 200px; /* 最小高度保证 */
    padding: 0;
    margin: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 0;
    line-height: 0;
    /* Safari图片显示修复 */
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    /* 图片容器缩放修复 */
    contain: layout style;
    position: relative;
}

.research-images-dual:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.research-images-dual img {
    /* 保留边框的并排显示，保持原始比例 */
    flex: 1;
    -webkit-flex: 1; /* Safari */
    width: calc(50% - 1px); /* 减去边框间隔 */
    height: auto;
    max-height: 400px;
    border: 1px solid white;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain; /* 保持原始比例，完整显示 */
    -webkit-object-fit: contain; /* Safari */
    -o-object-fit: contain; /* Opera */
    object-position: center;
    -webkit-object-position: center; /* Safari */
    -o-object-position: center; /* Opera */
    box-sizing: border-box;
    display: block;
    margin: 0;
    padding: 0;
    outline: none;
    /* 图片比例修复 */
    -webkit-transform: translateZ(0);
    image-rendering: auto;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    vertical-align: top;
}

/* 第一张图片只保留左、右、下边框 */
.research-images-dual img:first-child {
    border-right: none;
    margin-right: 1px; /* 边框间隔 */
}

/* 第二张图片只保留左、右、下边框 */
.research-images-dual img:last-child {
    border-left: none;
    margin-left: 1px; /* 边框间隔 */
}

/* 图片加载状态 */
.research-images-dual img {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 图片加载完成后的状态 */
.research-images-dual img:load {
    opacity: 1;
}

/* 图片错误处理 */
.research-images-dual img:not([src]), 
.research-images-dual img[src=""] {
    opacity: 0.3;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f9fa"/><text x="50" y="50" text-anchor="middle" dy=".3em" fill="%236c757d" font-family="Arial" font-size="12">Image Loading</text></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.about-text em {
    font-style: italic;
    color: var(--primary-color);
}

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

.somitoid-image {
    background-color: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Join Team Section */
.join-team {
    padding: 3rem 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.join-content .section-title {
    color: white;
    margin-bottom: 1rem;
}

.join-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.join-content a {
    color: white;
    text-decoration: underline;
}

.join-content a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Articles Section */
.articles {
    padding: 4rem 0;
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 0;
}

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

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-accent);
}

.article-card-image {
    width: 100%;
    height: 200px;
    background-color: var(--bg-tertiary);
    background-size: cover;
    background-position: center;
    position: relative;
}

.article-card-content {
    padding: 1.5rem;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-card-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.article-card-date {
    color: var(--text-light);
}

.article-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.article-card-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-card-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.article-card-link:hover {
    color: var(--primary-dark);
}

/* Pagination */
.articles-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Article Detail Page */
.article {
    padding: 3rem 0;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.875rem;
}

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

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.article-excerpt {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

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

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

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-content code {
    background-color: var(--bg-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
}

.article-content pre {
    background-color: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-footer {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tag {
    background-color: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.article-share h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.share-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

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

/* Related Articles */
.related-articles {
    background-color: var(--bg-secondary);
    padding: 3rem 0;
}

.related-articles .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-primary) 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    margin-left: 2rem;
}

.footer-logo h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

.footer-logo img {
    height: 6rem;
    width: auto;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-contact {
    margin-right: 2rem;
    text-align: right;
}

.footer-contact h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-contact p:last-child {
    margin-bottom: 0;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .research-intro-content {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
    }
    
    .research-images-dual {
        gap: 0;
        padding: 0;
        margin: 0;
        align-items: center;
        width: auto;
        font-size: 0;
        line-height: 0;
    }
    
    .research-images-dual img {
        flex: 1;
        -webkit-flex: 1;
        width: calc(50% - 1px);
        height: auto;
        max-height: 300px;
        border: 1px solid white;
        object-fit: contain;
        -webkit-object-fit: contain;
        margin: 0;
        padding: 0;
        vertical-align: top;
    }
    
    .research-images-dual img:first-child {
        border-right: none;
        margin-right: 1px;
    }
    
    .research-images-dual img:last-child {
        border-left: none;
        margin-left: 1px;
    }
    
    .research-text {
        flex: 1;
        min-width: 0;
    }
    
    .research-intro .research-image {
        flex-shrink: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-brand .brand {
        font-size: 1.5rem;
    }

    .nav-link {
        font-size: 1.125rem;
        font-weight: 600;
    }

            .nav-menu {
            position: fixed;
            top: 100%;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.9);
            flex-direction: column;
            padding: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            transform: translateY(-100%);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-search {
        order: -1;
        margin-bottom: 1rem;
    }

    .search-container {
        width: 100%;
    }

    .search-input {
        width: 100%;
    }

    .search-results {
        left: 0;
        right: 0;
        min-width: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        height: 100vh;
        padding: 0;
        align-items: center;
    }

    .hero-content {
        bottom: 2%;
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .scale-indicator {
        bottom: 1rem;
        right: 1rem;
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }

    .research-highlights-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .highlight-video,
    .highlight-image {
        height: 200px;
    }

    .articles-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .video-container {
        max-width: 100%;
    }

    /* Mobile layout for dual videos - keep horizontal layout */
    #video-dual-container {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }



    .research-intro-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start; /* 左对齐 */
    }

    .research-intro .research-image {
        order: 2; /* 将图片放在文字后面 */
        margin-top: 1rem;
        text-align: center !important;
        overflow: hidden;
        padding: 0 1rem;
        background: transparent !important;
        height: auto !important;
        display: block !important;
    }

    .research-intro .research-image img {
        max-width: 80% !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
        width: auto !important;
        object-fit: contain !important;
    }
    
    .research-images-dual {
        flex-direction: row !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        align-items: center !important;
        width: auto !important;
        border-radius: var(--radius-lg) !important;
        overflow: hidden !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }
    
    .research-images-dual img {
        flex: 1 !important;
        -webkit-flex: 1 !important;
        width: calc(50% - 1px) !important;
        height: auto !important;
        max-height: 250px !important;
        border: 1px solid white !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        border-radius: 0 !important;
        object-fit: contain !important;
        -webkit-object-fit: contain !important;
        vertical-align: top !important;
    }
    
    .research-images-dual img:first-child {
        border-right: none !important;
        margin-right: 1px !important;
    }
    
    .research-images-dual img:last-child {
        border-left: none !important;
        margin-left: 1px !important;
    }

    .research-text {
        order: 1; /* 确保文字在前面 */
        text-align: left !important; /* 移动端强制左对齐 */
        max-width: 100% !important; /* 移动端占满宽度 */
    }

    .research-text p {
        font-size: 1.125rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-content {
        font-size: 0.95rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo,
    .footer-contact {
        margin: 0;
    }

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

@media (max-width: 480px) {
    .nav-brand .brand {
        font-size: 1.375rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .hero {
        padding: 0;
        height: 100vh;
        align-items: center;
    }

    .hero-content {
        bottom: 5%;
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .articles {
        padding: 2rem 0;
    }

    .article {
        padding: 2rem 0;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .share-buttons {
        flex-direction: column;
    }

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

    .research-highlights {
        padding: 2rem 0;
    }

    .highlight-video,
    .highlight-image {
        height: 180px;
    }





    .research-intro {
        padding: 2rem 0;
    }

    .research-intro .container {
        padding: 0 1rem;
    }

    .research-intro .research-image {
        background: transparent !important;
        height: auto !important;
        display: block !important;
    }

    .research-intro .research-image img {
        max-width: 90% !important;
        margin: 1rem auto !important;
        width: auto !important;
        display: block !important;
    }
    
    .research-images-dual {
        flex-direction: row !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        align-items: center !important;
        width: auto !important;
        border-radius: var(--radius-lg) !important;
        overflow: hidden !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }
    
    .research-images-dual img {
        flex: 1 !important;
        -webkit-flex: 1 !important;
        width: calc(50% - 1px) !important;
        height: auto !important;
        max-height: 200px !important;
        border: 1px solid white !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        border-radius: 0 !important;
        object-fit: contain !important;
        -webkit-object-fit: contain !important;
        vertical-align: top !important;
    }
    
    .research-images-dual img:first-child {
        border-right: none !important;
        margin-right: 1px !important;
    }
    
    .research-images-dual img:last-child {
        border-left: none !important;
        margin-left: 1px !important;
    }

    .research-text {
        text-align: left !important; /* 小屏设备强制左对齐 */
        max-width: 100% !important; /* 小屏设备占满宽度 */
    }
    
    .research-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Safari浏览器兼容性修复 */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .research-intro-content {
            display: -webkit-flex !important;
            -webkit-flex-direction: row !important;
            -webkit-align-items: center !important;
            -webkit-justify-content: space-between !important;
        }
        
        .research-text {
            -webkit-flex: 1 !important;
            max-width: 55% !important;
        }
        
        .research-intro .research-image {
            -webkit-flex-shrink: 0 !important;
            max-width: 45% !important;
            min-width: 280px !important;
        }
        
        .research-images-dual {
            display: -webkit-flex !important;
            -webkit-align-items: center !important;
            -webkit-justify-content: center !important;
            -webkit-transform: translateZ(0) !important;
            width: 100% !important;
            height: auto !important;
            max-height: 400px !important;
            position: relative !important;
            overflow: hidden !important;
        }
        
        .research-images-dual img {
            flex: 1 !important;
            -webkit-flex: 1 !important;
            -webkit-flex-shrink: 0 !important;
            width: calc(50% - 1px) !important;
            height: auto !important;
            max-height: 400px !important;
            border: 1px solid white !important;
            -webkit-transform: translateZ(0) !important;
            object-fit: contain !important;
            -webkit-object-fit: contain !important;
            vertical-align: top !important;
        }
        
        .research-images-dual img:first-child {
            border-right: none !important;
            margin-right: 1px !important;
        }
        
        .research-images-dual img:last-child {
            border-left: none !important;
            margin-left: 1px !important;
        }
    }
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 70%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 80px; /* Add space for fixed navigation */
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

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

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* Clean Page Headers - Minimal Design for All Pages */
.publications-header,
.people-header,
.news-header,
.contact-header {
    padding: 2rem 0 0 0;
    margin-top: 80px; /* Add space for fixed navigation */
    text-align: center;
    background: var(--bg-primary);
}

.publications-main-title,
.people-main-title,
.news-main-title,
.contact-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.publications-main-subtitle,
.people-main-subtitle,
.news-main-subtitle,
.contact-main-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 400;
}

/* Research Page Styles */
.research-overview {
    padding: 3rem 0;
}

.research-content h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.research-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.research-areas {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.research-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-accent);
}

.research-card .research-image {
    height: 200px;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
}

.research-content {
    padding: 1.5rem;
}

.research-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.research-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.research-goals {
    padding: 3rem 0;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.goal-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.goal-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.goal-item p {
    color: var(--text-secondary);
}

.research-methods {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

.methods-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.method-item {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.method-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.method-item p {
    color: var(--text-secondary);
}

/* Publications Page Styles */
.publications {
    padding: 3rem 0;
}

.publications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.publication-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: box-shadow 0.3s ease;
}

.publication-item:hover {
    box-shadow: var(--shadow-md);
}

.publication-year {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    height: fit-content;
    font-weight: 600;
    font-size: 0.875rem;
}

.publication-content {
    flex: 1;
}

.publication-title {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.publication-authors {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.publication-journal {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.publication-links {
    display: flex;
    gap: 1rem;
}

.publication-link {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.publication-link:hover {
    color: var(--primary-dark);
}

.publications-stats {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* People Page Styles */
.team-lead {
    padding: 3rem 0;
}

.pi-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

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

.pi-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.pi-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pi-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pi-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pi-contact p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.pi-contact a {
    color: var(--primary-color);
}

.team-members {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-accent);
}

.team-image {
    height: 200px;
    background-color: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-content {
    padding: 1.5rem;
}

.team-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-research {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Lab Members Styles */
.lab-members {
    padding: 3rem 0;
    background-color: var(--bg-primary);
}

.recruitment-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
    transition: all 0.3s ease;
}

.recruitment-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.recruitment-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.recruitment-placeholder:hover {
    background-color: var(--bg-accent);
    border-color: var(--primary-color);
}

.recruitment-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.recruitment-content h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.recruitment-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0;
}

.alumni {
    padding: 3rem 0;
}

.alumni-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.alumni-item {
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.alumni-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.alumni-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.alumni-current {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.join-team-section {
    padding: 3rem 0;
    background-color: var(--primary-color);
    color: white;
}

.join-team-section .section-title {
    color: white;
    margin-bottom: 1.5rem;
}

.join-team-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.opportunities-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.opportunities-list li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.join-team-section a {
    color: white;
    text-decoration: underline;
}

/* News Page Styles */
.news {
    padding: 0.5rem 0 3rem 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    padding: 2rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-md);
}

.news-date {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.news-title {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-links {
    display: flex;
    gap: 1rem;
}

.news-link {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 500;
}

.news-link:hover {
    color: var(--primary-dark);
}

.news-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.news-tag-label {
    color: var(--text-light);
    font-weight: 500;
}

.news-tag {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.news-item {
    padding: 2rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--border-accent);
}

.news-item.hidden {
    display: none;
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.upcoming-events {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.event-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.event-date {
    text-align: center;
    min-width: 80px;
}

.event-month {
    display: block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-day {
    display: block;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 1rem 0.5rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 1.5rem;
    font-weight: 700;
}

.event-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.event-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.event-location {
    color: var(--text-light);
    font-size: 0.875rem;
    font-style: italic;
}

/* Contact Page Styles */
.contact-info {
    padding: 3rem 0;
}

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

.contact-details h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

.map-container {
    display: flex;
    justify-content: center;
    align-items: start;
}

.location-map {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Interactive Map Styles */
.interactive-map {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.interactive-map iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    max-width: 200px;
    pointer-events: none;
}

.map-info h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.directions-link {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    background: var(--bg-accent);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    pointer-events: auto;
}

.directions-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Responsive design for contact content */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .interactive-map {
        max-width: 100%;
        margin: 1rem 0;
    }
    
    .interactive-map iframe {
        height: 250px;
    }
    
    .map-overlay {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
        background: var(--bg-secondary);
        backdrop-filter: none;
    }
    
    .map-info h3 {
        font-size: 1rem;
    }
    
    .map-info p {
        font-size: 0.875rem;
    }
    
    .directions-link {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-accent);
}

.contact-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-color);
}

.contact-form-section {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
    padding: 3rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
}

.lab-location {
    padding: 3rem 0;
}

.location-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.location-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.location-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.location-info h4 {
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.location-info ol,
.location-info ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.location-info li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

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

.map-placeholder {
    background-color: var(--bg-tertiary);
    border: 2px dashed var(--border-color);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    color: var(--text-light);
}

.map-placeholder p {
    margin-bottom: 0.5rem;
}

.collaboration {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

.collaboration-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.collaboration-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.collaboration-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Mobile Responsiveness for New Pages */
@media (max-width: 768px) {
    .pi-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .recruitment-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .recruitment-placeholder {
        height: 200px;
    }

    .publication-item {
        flex-direction: column;
        gap: 1rem;
    }

    .event-item {
        flex-direction: column;
        gap: 1rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .articles-filter,
    .articles-pagination,
    .article-share,
    .related-articles {
        display: none;
    }

    .hero {
        background: none;
        color: var(--text-primary);
        padding: 1rem 0;
    }

    .article-content {
        max-width: none;
    }
} 

.video-container {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Research Highlights Section */
.research-highlights {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
}

.research-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.highlight-card {
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
}

.highlight-video {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.highlight-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlight-content {
    padding: 1.5rem;
}

.highlight-content h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.highlight-content p {
    color: var(--text-secondary);
    line-height: 1.6;
} 

/* Featured Publications Section */
.featured-publications {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
}

.featured-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.publication-item.featured {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-accent) 100%);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

.publication-item.highlight {
    border-left: 4px solid var(--accent-warm);
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(253, 126, 20, 0.05) 100%);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

.publication-note {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.publication-item.highlight .publication-note {
    color: var(--accent-warm);
}

.publication-authors strong {
    color: var(--primary-color);
    font-weight: 600;
}

.publication-journal em {
    color: var(--text-primary);
    font-weight: 500;
} 