/* Header 固定样式 - 一直保持index滚动后的白色效果 */
.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* 导航栏样式 */
.main-navigation {
    padding: 0 20px;
    position: relative;
}

/* 三栏布局：logo左侧，导航居中，空白右侧 */
.navbar-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100px;
}

/* Logo区域 */
.navbar-brand-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.custom-logo-link {
    display: inline-block;
}

/* 导航菜单居中区域 */
.navbar-nav-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    margin: 0 40px;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    list-style: none;
    padding: 0;
    gap: 40px;
    flex-wrap: nowrap;
}

.navbar-nav .nav-item {
    margin: 0 8px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 16px;
    padding: 15px 12px !important;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #1976d2 !important;
}

/* 右侧区域（可用于其他功能） */
.navbar-actions-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* 移动端响应式 */
.navbar-toggler {
    display: none;
}

/* 生物医药内容页面样式 */
.biomedical-content {
    background: #ffffff;
    min-height: 100vh;
    padding: 0;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 页面标题样式 */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 40px;
    padding: 60px 0 40px 0;
    background: rgba(255,255,255,0.5);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #feffff, #ffffff);
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 20px;
    color: #666;
    font-weight: 400;
    line-height: 1.6;
}

/* 内容区域样式 - 移除卡片样式 */
.content-section {
    margin-bottom: 50px;
    background: #ffffff;
    /* 移除卡片样式 */
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    transition: none;
}

.content-section:hover {
    transform: none;
    box-shadow: none;
}

/* 图片容器样式 - 完全移除限制 */
.image-container {
    position: relative;
    width: 100%;
    /* 完全移除高度限制 */
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    /* 移除所有变换效果 */
    transition: none;
}

.content-image {
    width: 100%;
    height: auto;
    /* 完全移除高度限制 */
    min-height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
    transition: none;
    display: block;
    /* 移除任何裁剪和缩放 */
    transform: none;
}

/* 移除所有尺寸类别的限制 */
.image-container.small,
.image-container.medium,
.image-container.large,
.image-container.wide,
.image-container.tall,
.image-container.standard {
    min-height: auto;
    max-height: none;
    overflow: visible;
}

/* 图片加载时的占位样式 */
.image-container {
    --loading: block;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0f0f0 25%, #e0e0e0 25%, #e0e0e0 50%, #f0f0f0 50%, #f0f0f0 75%, #e0e0e0 75%);
    background-size: 20px 20px;
    animation: loading 1s infinite linear;
    z-index: 1;
    display: var(--loading);
}

.content-image {
    position: relative;
    z-index: 2;
}

/* 确保所有图片格式都完全显示 */
.content-image[src*=".jpg"],
.content-image[src*=".jpeg"],
.content-image[src*=".png"],
.content-image[src*=".gif"],
.content-image[src*=".webp"] {
    object-fit: contain;
    background-color: transparent;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* 移除特定比例的图片限制 */
.image-container.wide .content-image,
.image-container.tall .content-image,
.image-container.standard .content-image {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: auto;
    max-width: 100%;
}

@keyframes loading {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

/* 移除悬停效果 */
.content-section:hover .content-image {
    transform: none;
}

/* 移除图片覆盖层 */
.image-overlay {
    display: none;
}

.content-section:hover .image-overlay {
    display: none;
}

/* 文本内容样式 */
.text-content {
    padding: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #1976d2;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    border-radius: 2px;
}

.section-description {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.key-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-points li {
    position: relative;
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.key-points li:hover {
    background: #f8f9fa;
    padding-left: 35px;
}

.key-points li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 12px;
    color: #1976d2;
    font-size: 12px;
}

.key-points li:last-child {
    border-bottom: none;
}

/* 特色标签样式 */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.feature-tag {
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-container {
        padding: 20px 15px;
    }
    
    .page-header {
        padding: 40px 20px 30px 20px;
        margin-bottom: 40px;
    }
    
    .page-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .text-content {
        padding: 30px 25px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .image-container {
        min-height: auto;
        max-height: none;
        overflow: visible;
    }
    
    .image-container.small,
    .image-container.medium,
    .image-container.large {
        min-height: auto;
        max-height: none;
        overflow: visible;
    }
    
    .content-image {
        min-height: auto;
        max-height: none;
        object-fit: contain;
    }
    
    .feature-tags {
        justify-content: center;
    }
}

/* 底部样式 */
.site-footer {
    background: #f8f9fa;
    padding: 48px 0 24px 0;
    color: #333;
    border-top: 1px solid #e5e5e5;
    font-size: 16px;
}
.site-footer .heading {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 18px;
    color: #1976d2;
    letter-spacing: 1px;
}
.site-footer ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.site-footer ul li {
    margin-bottom: 10px;
}
.site-footer ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}
.site-footer ul li a:hover {
    color: #1976d2;
    text-decoration: underline;
}
.site-footer .copyright {
    border-top: 1px solid #e5e5e5;
    margin-top: 32px;
    padding-top: 18px;
    font-size: 14px;
    color: #888;
    text-align: center;
    letter-spacing: 0.5px;
}
@media (max-width: 767px) {
    .site-footer .row > .col-lg {
        padding-bottom: 24px;
    }
    .site-footer .row .row {
        flex-direction: column;
    }
    .site-footer .col {
        margin-bottom: 24px;
    }
} 