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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #1a202c;
    background: #e8f0fe;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

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

/* 头部样式 - 仿照原网站 */
.header {
    background: transparent;
    border-bottom: none;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.banner-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    line-height: 0;
    margin: 0;
    padding: 0;
    background: #1260B8;
}

.banner-image {
    width: 100%;
    height: 120px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #1260B8;
    vertical-align: top;
    margin: -1px 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.achievement-title-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 30px 40px;
    max-width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievement-title-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.achievement-title {
    font-size: 28px;
    font-weight: 700;
    color: #297ECA;
    line-height: 1.3;
    margin: 0 0 15px 0;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.university-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #e65100;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

/* 导航栏样式 - 下拉式 */
.navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1001;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu > li > a {
    display: block;
    padding: 12px 25px;
    color: #4a5568;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: #297ECA;
    color: white;
}

/* 下拉菜单 - 现代化 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    list-style: none;
    min-width: 220px;
    z-index: 1002;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding-top: 10px;
    margin-top: -10px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid #eee;
    background: rgba(255, 255, 255, 0.95);
}

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

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a:hover {
    background: #297ECA;
    color: white;
}

/* 主体内容布局 - 现代化 */
.main-content {
    background: #ffffff;
    padding: 20px 0;
    margin: 0;
    position: relative;
}

.content-layout {
    display: flex;
    gap: 20px;
}

/* 左侧边栏 - 现代化 */
.sidebar {
    width: 180px;
    flex-shrink: 0;
}

.side-nav {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.side-title {
    background: #e8f4fd;
    border-bottom: 1px solid #d0d0d0;
    padding: 12px 15px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.side-title a {
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

.side-title a:hover {
    color: #0066cc;
}

.side-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-menu > li {
    border-bottom: 1px solid #e8e8e8;
}

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

.side-menu > li > a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    background: #fff;
    transition: all 0.3s;
}

.side-menu > li > a:hover,
.side-menu > li > a.current {
    background: #e8f4fd;
    color: #0066cc;
    padding-left: 20px;
}

.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    display: none;
}

.has-children:hover .sub-menu {
    display: block;
}

.sub-menu li {
    border-bottom: 1px solid #e8e8e8;
}

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

.sub-menu a {
    display: block;
    padding: 8px 25px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    background: #f8f9fa;
}

.sub-menu a:hover {
    background: #e0f3ff;
    color: #0066cc;
    padding-left: 30px;
}

/* 内容区域 */
.content-area {
    flex: 1;
    background: #fff;
}

.content-section {
    margin-bottom: 20px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.section-title {
    background: linear-gradient(135deg, #297ECA, #1e5ba8);
    color: white;
    padding: 10px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.content-body {
    padding: 25px;
    line-height: 1.8;
    font-size: 15px;
    color: #2d3748;
}

.content-body p {
    margin-bottom: 10px;
    text-align: justify;
}

/* 成果简介页面特定样式 - 只应用于单独的成果简介页面 */
body:has([href="cgjj.htm"].active) .main-content .content-body,
.page-title + .content-body {
    font-size: 18px;
    line-height: 2.0;
}

body:has([href="cgjj.htm"].active) .main-content .content-body p,
.page-title + .content-body p {
    margin-bottom: 20px;
    text-align: justify;
    text-indent: 2em;
}

.read-more {
    text-align: right;
    margin-top: 10px;
}

.read-more a {
    color: #0066cc;
    text-decoration: none;
    font-size: 12px;
}

.read-more a:hover {
    text-decoration: underline;
}

/* 二列布局 */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* 三列布局 */
.three-column-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.column .box {
    border: none;
    background: rgba(255, 255, 255, 0.9);
    height: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

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

.box-title {
    background: linear-gradient(135deg, #297ECA, #1e5ba8);
    color: white;
    padding: 10px 16px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

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

.link-list li {
    border-bottom: 1px dotted #ddd;
    padding: 0;
}

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

.link-list a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s;
}

.link-list a:hover {
    background: #f0f8ff;
    color: #0066cc;
    padding-left: 20px;
}

.more-link {
    text-align: right;
    padding: 8px 15px;
    background: #f8f9fa;
    border-top: 1px solid #e8e8e8;
}

.more-link a {
    color: #0066cc;
    text-decoration: none;
    font-size: 12px;
}

.more-link a:hover {
    text-decoration: underline;
}

/* 视频区域 */
.video-section {
    border: 1px solid #e0e0e0;
    background: #fff;
    margin-bottom: 20px;
}

.video-section .section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.more-link-inline {
    color: #0066cc;
    text-decoration: none;
    font-size: 12px;
    font-weight: normal;
}

.more-link-inline:hover {
    text-decoration: underline;
}

.video-container {
    padding: 20px;
}

.video-item {
    display: block;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-item:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.video-info {
    flex: 1;
}

.video-info h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.video-info p {
    font-size: 12px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
    text-align: justify;
}

.detail-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 12px;
}

.detail-link:hover {
    text-decoration: underline;
}

/* 成果报告链接样式 */
.report-link-container {
    text-align: center;
    padding: 30px;
}

.report-link {
    display: inline-block;
    background: linear-gradient(135deg, #297ECA, #1e5ba8);
    color: white;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(41, 126, 202, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.report-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(41, 126, 202, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 页脚样式 */
.footer {
    background: #f0f0f0;
    border-top: 1px solid #ccc;
    padding: 20px 0;
    margin-top: 20px;
}

.footer-content {
    text-align: center;
    font-size: 12px;
    color: #666;
}

.footer-content .links {
    margin-bottom: 15px;
}

.footer-content .links p {
    margin-bottom: 5px;
}

.footer-content .links a {
    color: #0066cc;
    text-decoration: none;
    margin: 0 10px;
}

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

.footer-content .contact-info {
    margin-bottom: 10px;
}

.footer-content .contact-info p {
    margin: 2px 0;
}

.footer-content .copyright p {
    margin: 5px 0;
    color: #888;
}

/* 内容布局 - 带侧边导航 */
.content-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 侧边导航 */
.sidebar {
    width: 250px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
    flex-shrink: 0;
}

.sidebar h3 {
    margin: 0 0 20px 0;
    color: #297ECA;
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #297ECA;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: block;
    padding: 10px 15px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.4;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #297ECA;
    color: white;
}

/* 主内容区域 */
.main-content-area {
    flex: 1;
    min-width: 400px;
    overflow: visible;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    border-radius: 8px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    z-index: 2001;
    cursor: pointer;
    transition: color 0.3s ease;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.close:hover {
    background: rgba(0,0,0,0.8);
}

#modal-body {
    width: 100%;
    height: 100%;
}

#modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#modal-body video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: black;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .three-column-layout {
        grid-template-columns: 1fr 1fr;
    }
    
    .three-column-layout .column:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .banner-image {
        height: 80px;
    }
    
    .banner-overlay {
        padding: 15px;
    }
    
    .achievement-title-box {
        padding: 15px 20px;
        max-width: 95%;
    }
    
    .achievement-title {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .content-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        order: 2;
    }

    .content-area,
    .main-content-area {
        order: 1;
        min-width: 0;
        width: 100%;
    }

    .folder-section {
        margin-left: 0 !important;
        overflow: visible;
        word-wrap: break-word;
    }

    .folder-title {
        white-space: normal;
        word-wrap: break-word;
        flex-wrap: wrap;
    }
    
    .three-column-layout {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu > li {
        border-right: none;
        border-bottom: 1px solid #ccc;
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        background: #f8f9fa;
    }
    
    .dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .video-item {
        flex-direction: column;
    }
    
    .video-thumbnail {
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        height: 85%;
        margin: 5% auto;
    }
}

@media (max-width: 480px) {
    .banner-image {
        height: 60px;
    }
    
    .banner-overlay {
        padding: 10px;
    }
    
    .achievement-title-box {
        padding: 12px 15px;
        max-width: 98%;
        border-radius: 8px;
    }
    
    .achievement-title {
        font-size: 16px;
        line-height: 1.2;
    }
    
    .main-content {
        padding: 10px 0;
    }
    
    .content-section,
    .video-section,
    .column .box {
        margin-bottom: 15px;
    }
    
    .content-body,
    .video-container {
        padding: 10px;
    }
    
    .footer {
        padding: 15px 0;
    }
    
    .footer-content .links a {
        margin: 0 5px;
        display: inline-block;
        margin-bottom: 5px;
    }
}

/* 打印样式 */
@media print {
    .navigation,
    .sidebar,
    .modal,
    .footer .links {
        display: none;
    }
    
    .content-layout {
        flex-direction: column;
    }
    
    .content-area {
        width: 100%;
    }
    
    body {
        background: white;
        font-size: 12px;
    }
    
    .three-column-layout {
        grid-template-columns: 1fr;
    }
}

/* 选择文本样式 */
::selection {
    background: #e8f4fd;
    color: #333;
}

/* 4:1 照片轮播样式 */
.photo-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/1;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 轮播图片居中显示 */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    flex-shrink: 0;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* 轮播控制按钮 */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-controls:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* 暂停/播放按钮 */
.carousel-play-pause {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 12px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.carousel-play-pause:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-controls {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 10px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-play-pause {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* Markdown内容样式 */
.markdown-content {
    line-height: 1.8;
    color: #2d3748;
    max-width: none;
    font-size: 16px;
}

.markdown-content h1 {
    font-size: 2.2em;
    color: #2c5282;
    margin: 30px 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #4285f4;
    font-weight: 700;
}

.markdown-content h2 {
    font-size: 1.8em;
    color: #2c5282;
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
}

.markdown-content h3 {
    font-size: 1.5em;
    color: #2d3748;
    margin: 20px 0 12px 0;
    font-weight: 600;
}

.markdown-content h4 {
    font-size: 1.3em;
    color: #2d3748;
    margin: 18px 0 10px 0;
    font-weight: 600;
}

.markdown-content h5 {
    font-size: 1.2em;
    color: #2d3748;
    margin: 15px 0 8px 0;
    font-weight: 600;
}

.markdown-content h6 {
    font-size: 1.1em;
    color: #2d3748;
    margin: 12px 0 8px 0;
    font-weight: 600;
}

.markdown-content p {
    margin-bottom: 16px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.8;
}

.markdown-content ul,
.markdown-content ol {
    margin: 16px 0;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.7;
}

.markdown-content li {
    margin-bottom: 8px;
}

.markdown-content blockquote {
    border-left: 4px solid #4285f4;
    background: #f8fafe;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.7;
}

.markdown-content code {
    background: #f1f5f9;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 15px;
    color: #e53e3e;
}

.markdown-content pre {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}

.markdown-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    color: inherit;
    font-size: 14px;
}

.markdown-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
    font-size: 16px;
}

.markdown-content th,
.markdown-content td {
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: left;
}

.markdown-content th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
}

.markdown-content a {
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
}

.markdown-content a:hover {
    color: #1565c0;
    text-decoration: underline;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.markdown-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    margin: 30px 0;
    border-radius: 1px;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* 视频页面专用样式 */
.video-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-top: 20px;
}

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

.video-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c5282;
    margin-bottom: 20px;
    line-height: 1.4;
}

.video-wrapper {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
    border-radius: 8px;
}

.video-description {
    margin-top: 20px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #2c5282;
}

.video-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    text-align: left;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c5282;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3182ce;
    display: inline-block;
    width: 100%;
}

/* PDF查看器样式 */
.pdf-viewer-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-top: 20px;
}

.pdf-toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #2c5282;
}

.pdf-info {
    font-size: 16px;
    color: #2c5282;
    font-weight: 600;
    text-align: center;
}

.pdf-container {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pdf-container iframe {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .pdf-container iframe {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .pdf-container iframe {
        height: 500px;
    }
}

/* 支撑材料内容区域样式 */
.materials-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    overflow: visible;
    word-wrap: break-word;
    min-width: 0;
}

/* 文件夹层级样式 - 改进版 */
.folder-section {
    margin: 25px 0;
    background: linear-gradient(135deg, #f8fafe 0%, #f0f7ff 100%);
    border-radius: 12px;
    padding: 20px;
    border-left: 6px solid #e9ecef;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    word-wrap: break-word;
    min-width: 0;
}

/* 只有文件夹链接时的紧凑样式 */
.folder-section:not(:has(.file-link)):not(:has(.folder-section)) {
    margin: 8px 0;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-radius: 8px;
    border-left: 4px solid #4285f4;
    box-shadow: 0 1px 6px rgba(66, 133, 244, 0.1);
}

.folder-section:not(:has(.file-link)):not(:has(.folder-section)) .folder-title {
    margin-bottom: 0;
    font-size: 1.1em;
    padding: 4px 0;
}

.folder-section:not(:has(.file-link)):not(:has(.folder-section)) .folder-title::before {
    font-size: 1em;
    margin-right: 8px;
}

.folder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc04, #ea4335);
    opacity: 0.1;
}

.folder-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* 确保悬停时folder-section内部文字保持可见 */
.folder-section:hover,
.folder-section:hover .folder-title,
.folder-section:hover .folder-link,
.folder-section:hover .file-link,
.folder-section:hover a {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.folder-section.level-0 {
    border-left: 6px solid #4285f4;
    background: linear-gradient(135deg, #f3f8ff 0%, #e8f4fd 100%);
    margin-left: 0;
    box-shadow: 0 4px 20px rgba(66, 133, 244, 0.15);
}

.folder-section.level-1 {
    border-left: 6px solid #34a853;
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    margin-left: 40px;
    box-shadow: 0 3px 15px rgba(52, 168, 83, 0.12);
}

.folder-section.level-2 {
    border-left: 6px solid #fbbc04;
    background: linear-gradient(135deg, #fffef0 0%, #fef7e0 100%);
    margin-left: 80px;
    box-shadow: 0 3px 15px rgba(251, 188, 4, 0.12);
}

.folder-section.level-3 {
    border-left: 6px solid #ea4335;
    background: linear-gradient(135deg, #fff8f8 0%, #ffeaea 100%);
    margin-left: 120px;
    box-shadow: 0 3px 15px rgba(234, 67, 53, 0.12);
}

.folder-section.level-4 {
    border-left: 6px solid #9c27b0;
    background: linear-gradient(135deg, #faf8ff 0%, #f3e5f5 100%);
    margin-left: 160px;
    box-shadow: 0 3px 15px rgba(156, 39, 176, 0.12);
}

/* 紧凑模式下的级别样式覆盖 */
.folder-section.level-0:not(:has(.file-link)):not(:has(.folder-section)) {
    margin-left: 0;
    border-left: 4px solid #4285f4;
}

.folder-section.level-1:not(:has(.file-link)):not(:has(.folder-section)) {
    margin-left: 20px;
    border-left: 4px solid #34a853;
}

.folder-section.level-2:not(:has(.file-link)):not(:has(.folder-section)) {
    margin-left: 40px;
    border-left: 4px solid #fbbc04;
}

.folder-section.level-3:not(:has(.file-link)):not(:has(.folder-section)) {
    margin-left: 60px;
    border-left: 4px solid #ea4335;
}

.folder-section.level-4:not(:has(.file-link)):not(:has(.folder-section)) {
    margin-left: 80px;
    border-left: 4px solid #9c27b0;
}

/* 文件夹标题样式 - 改进版 */
.folder-title {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.25em;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    min-width: 0;
    width: 100%;
}

.folder-title:hover {
    color: #4285f4;
    border-bottom-color: #4285f4;
    transform: translateX(5px);
}

.folder-title::before {
    content: "📁";
    margin-right: 12px;
    font-size: 1.2em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.folder-title:hover::before {
    transform: scale(1.1) rotate(-5deg);
}

.folder-section.level-0 .folder-title {
    font-size: 1.4em;
    color: #1565c0;
    background: linear-gradient(135deg, #4285f4, #1565c0);
    -webkit-background-clip: text;
    background-clip: text;
}

/* 暂时禁用渐变文字效果以修复显示问题 */
/*
@supports (-webkit-background-clip: text) and (background-clip: text) {
    .folder-section.level-0 .folder-title {
        -webkit-text-fill-color: transparent;
    }
}
*/

.folder-section.level-1 .folder-title {
    font-size: 1.25em;
    color: #2e7d32;
}

.folder-section.level-2 .folder-title {
    font-size: 1.15em;
    color: #ef6c00;
}

.folder-section.level-3 .folder-title {
    font-size: 1.1em;
    color: #c62828;
}

/* 文件链接样式 - 改进版 */
.file-link {
    margin: 12px 0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.file-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4285f4, #34a853);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.file-link:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #4285f4;
    transform: translateX(10px) translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

.file-link:hover::before {
    opacity: 0.05;
}

.file-link.level-0 {
    margin-left: 0;
}

.file-link.level-1 {
    margin-left: 30px;
}

.file-link.level-2 {
    margin-left: 60px;
}

.file-link.level-3 {
    margin-left: 90px;
}

.file-link.level-4 {
    margin-left: 120px;
}

.file-link a {
    color: #4285f4;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 15px;
    line-height: 1.5;
}

.file-link a:hover {
    color: #1565c0;
    text-shadow: 0 1px 2px rgba(21, 101, 192, 0.1);
}

.file-link a::before {
    margin-right: 12px;
    font-size: 1.2em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.file-link a:hover::before {
    transform: scale(1.1);
}

.file-link a[href*=".pdf"]::before {
    content: "📄";
}

.file-link a[href*=".md"]::before {
    content: "📝";
}

.file-link a[href*=".jpg"]::before,
.file-link a[href*=".png"]::before,
.file-link a[href*=".jpeg"]::before,
.file-link a[href*=".gif"]::before,
.file-link a[href*=".webp"]::before {
    content: "🖼️";
}

.file-link a[href*=".doc"]::before,
.file-link a[href*=".docx"]::before {
    content: "📄";
}

.file-link a[href*=".xls"]::before,
.file-link a[href*=".xlsx"]::before {
    content: "📊";
}

.file-link a[href*=".ppt"]::before,
.file-link a[href*=".pptx"]::before {
    content: "📺";
}

/* 文件夹链接样式 - 改进版 */
.folder-link {
    display: inline-block;
    color: #4285f4 !important;
    text-decoration: none !important;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(66, 133, 244, 0.05);
    border: 1px solid rgba(66, 133, 244, 0.2);
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    min-width: 0;
    max-width: 100%;
}

.folder-link:hover {
    background: rgba(66, 133, 244, 0.1);
    color: #1565c0 !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

/* 紧凑模式下的文件夹链接样式 */
.folder-section:not(:has(.file-link)):not(:has(.folder-section)) .folder-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(66, 133, 244, 0.08);
    border: 1px solid rgba(66, 133, 244, 0.15);
    border-radius: 20px;
    font-size: 0.95em;
    color: #4285f4 !important;
    text-decoration: none !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.folder-section:not(:has(.file-link)):not(:has(.folder-section)) .folder-link:hover {
    background: rgba(66, 133, 244, 0.15);
    color: #1565c0 !important;
    text-decoration: none;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.25);
}

/* 不同级别的紧凑模式文件夹链接颜色 */
.folder-section.level-1:not(:has(.file-link)):not(:has(.folder-section)) .folder-link {
    background: rgba(52, 168, 83, 0.08);
    border-color: rgba(52, 168, 83, 0.15);
    color: #2e7d32 !important;
    text-decoration: none !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

.folder-section.level-1:not(:has(.file-link)):not(:has(.folder-section)) .folder-link:hover {
    background: rgba(52, 168, 83, 0.15);
    color: #1b5e20 !important;
    text-decoration: none;
}

.folder-section.level-2:not(:has(.file-link)):not(:has(.folder-section)) .folder-link {
    background: rgba(251, 188, 4, 0.08);
    border-color: rgba(251, 188, 4, 0.15);
    color: #ef6c00 !important;
    text-decoration: none !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

.folder-section.level-2:not(:has(.file-link)):not(:has(.folder-section)) .folder-link:hover {
    background: rgba(251, 188, 4, 0.15);
    color: #e65100 !important;
    text-decoration: none;
}

.folder-section.level-3:not(:has(.file-link)):not(:has(.folder-section)) .folder-link {
    background: rgba(234, 67, 53, 0.08);
    border-color: rgba(234, 67, 53, 0.15);
    color: #c62828 !important;
    text-decoration: none !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

.folder-section.level-3:not(:has(.file-link)):not(:has(.folder-section)) .folder-link:hover {
    background: rgba(234, 67, 53, 0.15);
    color: #b71c1c !important;
    text-decoration: none;
}

.folder-section.level-4:not(:has(.file-link)):not(:has(.folder-section)) .folder-link {
    background: rgba(156, 39, 176, 0.08);
    border-color: rgba(156, 39, 176, 0.15);
    color: #7b1fa2 !important;
    text-decoration: none !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
}

.folder-section.level-4:not(:has(.file-link)):not(:has(.folder-section)) .folder-link:hover {
    background: rgba(156, 39, 176, 0.15);
    color: #4a148c !important;
    text-decoration: none;
}

/* 面包屑导航样式 - 改进版 */
.breadcrumb {
    margin-bottom: 25px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafe 0%, #e8f4fd 100%);
    border-radius: 12px;
    border-left: 5px solid #4285f4;
    font-size: 15px;
    box-shadow: 0 2px 12px rgba(66, 133, 244, 0.1);
    position: relative;
    overflow: hidden;
}

.breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc04);
    opacity: 0.6;
}

.breadcrumb::after {
    content: '🏠';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.3;
}

.breadcrumb a {
    color: #4285f4;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    position: relative;
}

.breadcrumb a:hover {
    color: #1565c0;
    background: rgba(66, 133, 244, 0.1);
    transform: translateY(-1px);
    text-shadow: 0 1px 2px rgba(21, 101, 192, 0.1);
}

.breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #4285f4;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.breadcrumb a:hover::after {
    width: 100%;
}

/* 强制修复所有文件夹链接的显示问题 */
.folder-link,
.folder-link:hover,
.folder-link:focus,
.folder-link:visited,
a.folder-link,
a.folder-link:hover,
a.folder-link:focus,
a.folder-link:visited {
    -webkit-text-fill-color: currentColor !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 强制修复所有文件夹标题的显示问题 */
.folder-title,
.folder-title:hover,
.folder-title:focus,
.folder-title a,
.folder-title a:hover,
.folder-title a:focus,
.folder-title a:visited {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 特别针对level-0标题的修复 - 使用更高优先级 */
.folder-section.level-0 .folder-title,
.folder-section.level-0 .folder-title:hover,
.folder-section.level-0 .folder-title:focus {
    -webkit-text-fill-color: #1565c0 !important;
    color: #1565c0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 确保所有文件夹相关的文字都可见 */
.folder-section,
.folder-section *,
.folder-section a,
.folder-section a:hover,
.folder-section:hover,
.folder-section:hover * {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 紧凑模式文件夹链接的强制修复 */
.folder-section:not(:has(.file-link)):not(:has(.folder-section)) .folder-link,
.folder-section:not(:has(.file-link)):not(:has(.folder-section)) .folder-link:hover,
.folder-section:not(:has(.file-link)):not(:has(.folder-section)) .folder-link:focus {
    -webkit-text-fill-color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
}

/* 最终全局修复 - 确保所有文字都可见 */
.materials-content *,
.folder-section *,
.folder-title *,
.folder-link *,
a.folder-link,
.folder-section a,
.folder-section .folder-title,
.folder-section .folder-link {
    -webkit-text-fill-color: currentColor !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
}