/* ========================================
   学术个人主页样式表
   配色方案：
   - 主色：#1a365d（深蓝）
   - 辅色：#4a5568（灰）
   - 强调色：#3182ce（亮蓝）
   ======================================== */

/* ========================================
   基础样式与变量
   ======================================== */
:root {
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #1a202c;
    --secondary-color: #4a5568;
    --accent-color: #3182ce;
    --accent-light: #4299e1;
    --background-color: #f7fafc;
    --card-background: #ffffff;
    --text-color: #2d3748;
    --text-light: #718096;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ========================================
   全局样式
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

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

a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ========================================
   导航栏样式
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--card-background);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: 0 20px;
}

/* 支持两种类名 */
.navbar-container,
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.navbar-brand,
.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand:hover,
.nav-brand:hover {
    text-decoration: none;
    color: var(--primary-light);
}

.navbar-brand img,
.nav-brand img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-menu,
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.navbar-menu li a,
.nav-menu li a,
.nav-link {
    display: block;
    padding: 8px 16px;
    color: var(--secondary-color);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.navbar-menu li a:hover,
.navbar-menu li a.active,
.nav-menu li a:hover,
.nav-menu li a.active,
.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

/* 移动端菜单按钮 */
.navbar-toggle,
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.navbar-toggle span,
.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   主容器 - 双栏布局
   ======================================== */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 84px 20px 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    min-height: calc(100vh - 120px);
}

/* ========================================
   左侧边栏
   ======================================== */
.sidebar {
    position: sticky;
    top: 84px;
    height: fit-content;
}

/* ========================================
   个人信息卡片
   ======================================== */
.profile-card {
    background: var(--card-background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
    text-align: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.profile-title {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.profile-location {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.profile-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
    word-break: break-all;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background-color);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
}

/* ========================================
   右侧主内容区
   ======================================== */
.content {
    background: var(--card-background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
}

/* ========================================
   区块样式
   ======================================== */
.section {
    margin-bottom: 30px;
}

.section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* ========================================
   卡片网格
   ======================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.card {
    background: var(--background-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ========================================
   时间线样式
   ======================================== */
.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 8px;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.timeline-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.timeline-content {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========================================
   新闻列表样式
   ======================================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-date {
    flex-shrink: 0;
    width: 60px;
    text-align: center;
    padding: 8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
}

.news-date .day {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month-year {
    font-size: 0.7rem;
    margin-top: 4px;
    opacity: 0.9;
}

.news-content {
    flex: 1;
}

.news-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.news-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========================================
   表格样式
   ======================================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.95rem;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--background-color);
    font-weight: 600;
    color: var(--primary-color);
}

.data-table tbody tr:hover {
    background: var(--background-color);
}

/* ========================================
   标签/徽章样式
   ======================================== */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--background-color);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
}

.tag-primary {
    background: var(--primary-color);
    color: white;
}

.tag-accent {
    background: var(--accent-color);
    color: white;
}

/* ========================================
   页脚样式
   ======================================== */
.footer {
    text-align: center;
    padding: 24px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
    background: var(--card-background);
}

/* ========================================
   响应式布局
   ======================================== */
@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar-toggle,
    .nav-toggle {
        display: flex;
    }

    .navbar-menu,
    .nav-menu {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--card-background);
        padding: 16px;
        box-shadow: var(--shadow-lg);
        display: none;
    }

    .navbar-menu.active,
    .nav-menu.active {
        display: flex;
    }

    .navbar-menu li a,
    .nav-menu li a,
    .nav-link {
        padding: 12px 16px;
    }

    .main-container {
        padding-top: 74px;
    }

    .content {
        padding: 20px;
    }

    .section-title {
        font-size: 1.1rem;
    }

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

    .news-item {
        flex-direction: column;
    }

    .news-date {
        width: auto;
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
        padding: 6px 12px;
    }

    .news-date .day {
        font-size: 1rem;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .profile-name {
        font-size: 1.25rem;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline::before {
        left: 4px;
    }

    .timeline-item::before {
        left: -18px;
        width: 10px;
        height: 10px;
    }
}

/* ========================================
   语言切换按钮
   ======================================== */
.lang-toggle {
    padding: 4px 14px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: white;
}

/* ========================================
   辅助类
   ======================================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* 淡入动画 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* ========================================
   子标题样式
   ======================================== */
.subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
}

/* ========================================
   教育背景列表样式
   ======================================== */
.education-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.8;
}

.education-list li:last-child {
    border-bottom: none;
}

/* ========================================
   新闻文本样式
   ======================================== */
.news-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-text .news-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-right: 8px;
}

/* ========================================
   演讲/活动样式
   ======================================== */
.talks-list {
    display: grid;
    gap: 20px;
}

.talk-item {
    background: var(--background-color);
    border-radius: var(--radius-md);
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.talk-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.talk-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.talk-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.talk-info {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   研究兴趣网格
   ======================================== */
.interest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.interest-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.interest-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.interest-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.interest-item p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   论文发表样式
   ======================================== */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.filter-tab {
    padding: 8px 20px;
    border-radius: 25px;
    background: var(--background-color);
    color: var(--secondary-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-tab:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.filter-tab.active {
    background: var(--primary-color);
    color: white;
}

.publication-item {
    background: var(--background-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.publication-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.publication-item.journal {
    border-left-color: #3182ce;
}

.publication-item.conference {
    border-left-color: #38a169;
}

.publication-item.preprint {
    border-left-color: #d69e2e;
}

.publication-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.publication-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.tag-journal {
    background: #ebf8ff;
    color: #2b6cb0;
}

.tag-conference {
    background: #f0fff4;
    color: #276749;
}

.tag-preprint {
    background: #fffff0;
    color: #975a16;
}

.publication-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.5;
}

.publication-authors {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.publication-venue {
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 12px;
}

.publication-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.publication-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--card-background);
    color: var(--accent-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.publication-link:hover {
    background: var(--accent-color);
    color: white;
    text-decoration: none;
}

.author-highlight {
    font-weight: 700;
    color: var(--primary-color);
}

.corresponding-author {
    font-size: 0.85rem;
    color: var(--text-light);
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ========================================
   项目卡片样式
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.project-card {
    background: var(--background-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.project-image-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-placeholder svg {
    width: 64px;
    height: 64px;
    color: rgba(255, 255, 255, 0.5);
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.project-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--card-background);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-tag:hover {
    background: var(--accent-color);
    color: white;
}

/* ========================================
   新闻动态样式
   ======================================== */
.news-timeline {
    position: relative;
}

.year-divider {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.year-divider:first-child {
    margin-top: 0;
}

.news-item {
    background: var(--background-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-item.highlight {
    border-left-color: var(--primary-color);
}

.news-item.award {
    border-left-color: #38a169;
}

.news-item.education {
    border-left-color: #805ad5;
}

.news-item.publication {
    border-left-color: #3182ce;
}

.news-item.internship {
    border-left-color: #dd6b20;
}

.news-date {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.news-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 8px;
}

.tag-highlight {
    background: #ebf8ff;
    color: #2b6cb0;
}

.tag-award {
    background: #f0fff4;
    color: #276749;
}

.tag-education {
    background: #faf5ff;
    color: #6b46c1;
}

.tag-publication {
    background: #ebf8ff;
    color: #2c5282;
}

.tag-internship {
    background: #fffaf0;
    color: #c05621;
}

/* ========================================
   获奖荣誉样式
   ======================================== */
.legend {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.national {
    background: #e53e3e;
}

.legend-dot.provincial {
    background: #38a169;
}

.legend-dot.school {
    background: #3182ce;
}

.awards-section {
    background: var(--background-color);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    overflow: hidden;
}

.awards-year {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 12px 20px;
    font-size: 1.15rem;
    font-weight: 600;
}

.awards-list {
    padding: 16px 20px;
}

.award-item {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--card-background);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-item:last-child {
    margin-bottom: 0;
}

.award-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.award-level {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.level-national {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
}

.level-provincial {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: white;
}

.level-school {
    background: linear-gradient(135deg, #3182ce 0%, #2b6cb0 100%);
    color: white;
}

.award-content {
    flex: 1;
}

.award-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.award-medal {
    font-size: 1.2rem;
}

.award-issuer {
    font-size: 0.9rem;
    color: var(--text-light);
}

.award-type {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.type-national {
    background: #fed7d7;
    color: #c53030;
}

.type-provincial {
    background: #c6f6d5;
    color: #2f855a;
}

.type-school {
    background: #bee3f8;
    color: #2b6cb0;
}

/* ========================================
   响应式补充
   ======================================== */
@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .filter-tabs {
        justify-content: center;
    }

    .legend {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .filter-tab {
        padding: 6px 14px;
        font-size: 0.9rem;
    }

    .publication-header {
        flex-direction: column;
        gap: 8px;
    }

    .publication-title {
        font-size: 1rem;
    }

    .award-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .award-level {
        margin-bottom: 12px;
    }

    .legend {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}
