/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1a2a6c, #2a3a7c);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
    margin-bottom: 20px;
    object-fit: cover;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* 导航菜单 */
nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* 移动端菜单按钮 - 默认隐藏 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

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

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

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

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
    background-color: #f0f8ff;
    color: #1a2a6c;
    border-bottom: 3px solid #1a2a6c;
}

.nav-menu a.active {
    background-color: #f0f8ff;
    color: #1a2a6c;
    border-bottom: 3px solid #1a2a6c;
}

/* 主要内容区域 */
main {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #1a2a6c;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #1a2a6c;
    margin: 15px auto;
    border-radius: 2px;
}

/* 卡片布局 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.card h3 {
    color: #1a2a6c;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
}

.card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #1a2a6c, #2a3a7c);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    align-self: flex-start;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.btn:hover {
    background: linear-gradient(135deg, #2a3a7c, #3a4a8c);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 内容部分样式 */
.content-section {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.content-section h2 {
    color: #1a2a6c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
}

.timeline {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1a2a6c;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}

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

.timeline-item:before {
    content: '';
    position: absolute;
    left: -32px;
    top: 4px;
    width: 10px;
    height: 10px;
    background: #1a2a6c;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #1a2a6c;
}

.timeline-date {
    font-weight: 600;
    color: #1a2a6c;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.timeline-item h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 6px;
    margin-top: 0;
}

.timeline-item p {
    margin-bottom: 4px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.timeline-item p strong {
    color: #1a2a6c;
}

/* 页脚 */
footer {
    background-color: #1a2a6c;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #a8d8ff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 显示汉堡菜单按钮 */
    .mobile-menu-toggle {
        display: flex;
    }

    nav .container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        text-align: center;
        border-bottom: none;
        border-left: 3px solid transparent;
        padding: 15px 20px;
    }

    .nav-menu a.active,
    .nav-menu a:hover {
        border-left: 3px solid #1a2a6c;
        border-bottom: none;
    }

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

    h1 {
        font-size: 2rem;
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1a5c6c;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 99;
}

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

.back-to-top:hover {
    background: #2a3a7c;
    transform: translateY(-3px);
}

/* Publications页面样式优化 */
.publication-item {
    background: #f8f9fa;
    border-left: 3px solid #1a2a6c;
    padding: 15px 18px;
    margin-bottom: 18px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.publication-item:hover {
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transform: translateX(3px);
}

.paper-title {
    color: #1a2a6c;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.paper-title a {
    color: #1a2a6c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.paper-title a:hover {
    color: #2a3a7c;
}

.paper-subtitle {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.paper-authors {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.paper-venue {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.paper-venue i {
    font-style: normal;
    font-weight: 700;
    color: #1a2a6c;
    font-size: 1rem;
}

/* 期刊标识 - 只有英文字母的是期刊 */
.paper-venue i a[href*="journal"]::before,
.paper-venue i a[href*="ieee.org/xpl/RecentIssue"]::before,
.paper-venue i a[href*="springer.com/journal"]::before,
.paper-venue i a[href*="mdpi.com/journal"]::before,
.paper-venue i a[href*="sciencedirect.com/journal"]::before {
    content: "📄 ";
    margin-right: 5px;
    font-size: 1.1rem;
}

/* 为期刊链接添加特殊样式 */
.paper-venue i a[href*="journal"],
.paper-venue i a[href*="ieee.org/xpl/RecentIssue"],
.paper-venue i a[href*="springer.com/journal"],
.paper-venue i a[href*="mdpi.com/journal"],
.paper-venue i a[href*="sciencedirect.com/journal"] {
    color: #c0392b;
    background: linear-gradient(to right, transparent, rgba(192, 57, 43, 0.05), transparent);
    padding: 2px 6px;
    border-radius: 3px;
}

.paper-venue i a[href*="journal"]:hover,
.paper-venue i a[href*="ieee.org/xpl/RecentIssue"]:hover,
.paper-venue i a[href*="springer.com/journal"]:hover,
.paper-venue i a[href*="mdpi.com/journal"]:hover,
.paper-venue i a[href*="sciencedirect.com/journal"]:hover {
    color: #a02818;
    background: linear-gradient(to right, transparent, rgba(192, 57, 43, 0.1), transparent);
}

/* 学位论文标识 - USTC学位论文 */
.paper-venue i a[href*="ustc.edu.cn"]::before {
    content: "🎓 ";
    margin-right: 5px;
    font-size: 1.1rem;
}

.paper-venue i a[href*="ustc.edu.cn"] {
    color: #8e44ad;
    background: linear-gradient(to right, transparent, rgba(142, 68, 173, 0.05), transparent);
    padding: 2px 6px;
    border-radius: 3px;
}

.paper-venue i a[href*="ustc.edu.cn"]:hover {
    color: #6c3483;
    background: linear-gradient(to right, transparent, rgba(142, 68, 173, 0.1), transparent);
}

/* 会议标识 - 英文字母+年份数字的是会议 */
.paper-venue i a:not([href*="journal"]):not([href*="ieee.org/xpl/RecentIssue"]):not([href*="springer.com/journal"]):not([href*="mdpi.com/journal"]):not([href*="sciencedirect.com/journal"]):not([href*="ustc.edu.cn"])::before {
    content: "🏛️ ";
    margin-right: 5px;
    font-size: 1.1rem;
}

/* 为会议链接添加特殊样式 */
.paper-venue i a:not([href*="journal"]):not([href*="ieee.org/xpl/RecentIssue"]):not([href*="springer.com/journal"]):not([href*="mdpi.com/journal"]):not([href*="sciencedirect.com/journal"]):not([href*="ustc.edu.cn"]) {
    color: #2c7aa0;
    background: linear-gradient(to right, transparent, rgba(44, 122, 160, 0.05), transparent);
    padding: 2px 6px;
    border-radius: 3px;
}

.paper-venue i a:not([href*="journal"]):not([href*="ieee.org/xpl/RecentIssue"]):not([href*="springer.com/journal"]):not([href*="mdpi.com/journal"]):not([href*="sciencedirect.com/journal"]):not([href*="ustc.edu.cn"]):hover {
    color: #1f5a7a;
    background: linear-gradient(to right, transparent, rgba(44, 122, 160, 0.1), transparent);
}

.paper-venue i a {
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.paper-venue i a:hover {
    text-decoration: underline;
}

.paper-if {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-left: 0;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.paper-rating {
    margin-left: 0;
    color: #d35400;
    font-weight: 600;
    font-size: 0.82rem;
}

.paper-award {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    margin-left: 8px;
    font-weight: 600;
}

.paper-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.paper-link {
    display: inline-block;
    padding: 3px 9px;
    background: transparent;
    color: #1a2a6c !important;
    text-decoration: none;
    border: 1.5px solid #1a2a6c;
    border-radius: 3px;
    font-size: 0.75rem;
    transition: all 0.25s ease;
    cursor: pointer;
    font-weight: 500;
}

.paper-link:hover {
    background: #1a2a6c;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 42, 108, 0.3);
}

.paper-collapsible {
    margin-top: 10px;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #333;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}

/* Patents页面样式优化 */
.patent-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.patent-item {
    display: flex;
    background: #f8f9fa;
    border-left: 3px solid #1a2a6c;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.patent-item:hover {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transform: translateX(2px);
}

.patent-number {
    color: #1a2a6c;
    font-weight: 600;
    font-size: 0.88rem;
    margin-right: 10px;
    min-width: 22px;
    padding-top: 0;
}

.patent-content {
    flex: 1;
}

.patent-title {
    color: #2c3e50;
    font-size: 0.88rem;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.patent-title:hover {
    color: #1a2a6c;
}

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

.show-more-btn {
    display: block;
    margin: 15px auto 0 auto;
    padding: 8px 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    color: #2c3e50;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 响应式设计 - Publications & Patents */
@media (max-width: 768px) {
    .publication-item {
        padding: 12px 15px;
        margin-bottom: 15px;
    }

    .paper-title {
        font-size: 0.95rem;
    }

    .paper-venue {
        font-size: 0.88rem;
    }

    .paper-venue i {
        font-size: 0.92rem;
    }

    .paper-links {
        gap: 6px;
    }

    .paper-link {
        padding: 2px 7px;
        font-size: 0.7rem;
    }

    .patent-item {
        padding: 8px 12px;
    }

    .patent-number {
        min-width: 22px;
        font-size: 0.9rem;
        margin-right: 10px;
    }

    .patent-title {
        font-size: 0.9rem;
    }
}

/* Projects页面布局样式 */
.project-content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.project-text {
    flex: 1;
}

.project-text h3 {
    color: #1a2a6c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 0;
}

.project-text p {
    color: #333;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 6px 0 12px 0;
}

.project-text ul {
    margin: 8px 0;
    padding-left: 20px;
}

.project-text ul li {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 6px;
}

.project-text ul li a {
    color: #0066CC;
    text-decoration: none;
    transition: color 0.2s;
}

.project-text ul li a:hover {
    color: #004499;
}

.project-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.88rem;
}

.project-text table th {
    background-color: #f5f7fa;
    color: #1a2a6c;
    font-weight: 600;
    padding: 8px 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.project-text table td {
    padding: 7px 10px;
    border: 1px solid #e0e0e0;
    color: #555;
}

.project-text table td a {
    color: #0066CC;
}

/* Kejia Robot 表格特殊样式 - 更紧凑 */
.project-text .kejia-table {
    max-width: 650px;
    font-size: 0.86rem;
}

.project-text .kejia-table th,
.project-text .kejia-table td {
    padding: 6px 8px;
}

.project-text .kejia-table th:nth-child(1),
.project-text .kejia-table td:nth-child(1) {
    width: 42%;
}

.project-text .kejia-table th:nth-child(2),
.project-text .kejia-table td:nth-child(2) {
    width: 20%;
}

.project-text .kejia-table th:nth-child(3),
.project-text .kejia-table td:nth-child(3) {
    width: 26%;
}

.project-text .kejia-table th:nth-child(4),
.project-text .kejia-table td:nth-child(4) {
    width: 12%;
}

.project-image {
    flex: 0 0 260px;
    text-align: center;
}

.project-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* 优化Projects页面的content-section间距 */
#projects .content-section {
    padding: 20px 24px;
    margin-bottom: 20px;
    position: relative;
}

#projects .content-section h3 {
    color: #1a2a6c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 0;
}

.project-org-tag {
    position: absolute;
    right: 15px;
    top: -5px;
    display: inline-block;
    color: white;
    padding: 8px 16px 12px 16px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    box-shadow: 2px 3px 8px rgba(0,0,0,0.3);
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 50% 100%, 0 calc(100% - 8px));
    transition: all 0.3s ease;
}

.project-org-tag:hover {
    box-shadow: 2px 4px 12px rgba(0,0,0,0.4);
    transform: translateY(2px);
}

.project-org-netease {
    background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
}

.project-org-ustc {
    background: linear-gradient(180deg, #5b7dff 0%, #4158d0 100%);
}

/* 响应式设计 - Projects */
@media (max-width: 768px) {
    .project-content {
        flex-direction: column;
        gap: 16px;
    }

    .project-image {
        flex: none;
        width: 100%;
        order: -1;
    }

    #projects .content-section {
        padding: 16px 18px;
        margin-bottom: 16px;
    }

    #projects .content-section h3 {
        font-size: 1rem;
    }

    .project-org-tag {
        right: 10px;
        top: -3px;
        font-size: 0.6rem;
        padding: 6px 12px 10px 12px;
        letter-spacing: 1px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), 50% 100%, 0 calc(100% - 7px));
    }

    .project-text h3 {
        font-size: 1rem;
    }

    .project-text p,
    .project-text ul li {
        font-size: 0.88rem;
    }
}

/* Footer样式优化 */
footer {
    background: linear-gradient(135deg, #0d1a4c, #1a2a6c);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 3px solid #2a3a7c;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: start;
}

.footer-section {
    padding: 0 15px;
}

.footer-section h4 {
    color: #a8d8ff;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
}

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

.flag-counter {
    display: inline-block;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.flag-counter:hover {
    transform: scale(1.05);
}

.stats-desc {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.resource-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    padding: 5px 0;
}

.resource-links a:hover {
    color: #a8d8ff;
    padding-left: 8px;
}

.copyright-section {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    grid-column: 1 / -1;
    margin-top: 20px;
}

.copyright-section p {
    margin: 5px 0;
}

.footer-note {
    font-size: 0.85rem;
    opacity: 0.7;
    font-style: italic;
}

@media (max-width: 768px) {
    footer .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .resource-links {
        align-items: center;
    }

    .footer-section {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 30px 0 15px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}

/* Talks页面样式 */
.talks-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.talk-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.talk-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.talk-header {
    position: relative;
    overflow: hidden;
}

.talk-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.talk-item:hover .talk-image {
    transform: scale(1.05);
}

.talk-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #1a2a6c, #2a3a7c);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.talk-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.talk-title {
    color: #1a2a6c;
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
}

.talk-conference {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.talk-date {
    color: #7f8c8d;
    font-size: 0.85rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.talk-date:before {
    content: "📅";
    margin-right: 5px;
}

.talk-description {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.photos-section {
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.photos-section h5 {
    color: #1a2a6c;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.photos-section h5:before {
    content: "📸";
    margin-right: 8px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.photo-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-item:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photos-grid[data-count="1"] {
    grid-template-columns: 1fr;
    max-width: 300px;
}

.photos-grid[data-count="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.photos-grid[data-count="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.photos-grid[data-count="4"] {
    grid-template-columns: repeat(2, 1fr);
}

.talk-badge.conference {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.talk-badge.industry {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.talk-badge.invited {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.talk-badge.keynote {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

@media (max-width: 768px) {
    .talks-gallery {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .photos-grid[data-count="1"],
    .photos-grid[data-count="2"],
    .photos-grid[data-count="3"],
    .photos-grid[data-count="4"] {
        grid-template-columns: repeat(2, 1fr);
    }

    .talk-content {
        padding: 20px;
    }
}

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

    .photos-grid[data-count="1"],
    .photos-grid[data-count="2"],
    .photos-grid[data-count="3"],
    .photos-grid[data-count="4"] {
        grid-template-columns: 1fr;
    }

    .talk-item {
        margin: 0 -10px;
        border-radius: 0;
    }
}

/* 灯箱效果 */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reviewer section样式优化 - 紧凑版 */
.reviewer-section {
    background: #ffffff;
    padding: 20px;
}

.reviewer-section h3 {
    color: #1a2a6c;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #eaeaea;
    font-size: 1.1rem;
}

.reviewer-category {
    margin-bottom: 12px;
}

.reviewer-category:last-child {
    margin-bottom: 0;
}

.reviewer-label {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.reviewer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1.4;
}

.reviewer-tags .bb {
    display: inline-block;
    padding: 3px 8px;
    background: #f0f8ff;
    border: 1px solid #d0e8ff;
    border-radius: 3px;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    text-decoration: none;
    color: #1a2a6c;
}

.reviewer-tags .bb:hover {
    background: #1a2a6c;
    border-color: #1a2a6c;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(26, 42, 108, 0.15);
}

/* 响应式设计 - Reviewer */
@media (max-width: 768px) {
    .reviewer-section {
        padding: 15px;
    }

    .reviewer-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .reviewer-category {
        margin-bottom: 10px;
    }

    .reviewer-label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }

    .reviewer-tags {
        gap: 4px;
    }

    .reviewer-tags .bb {
        padding: 2px 6px;
        font-size: 0.75rem;
    }
}
