.resources-nav {
    background-color: #f5f5f5;
    padding: 15px 0;
    margin-bottom: 30px;
}

.resources-nav .container {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.resources-nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
}

.resources-nav a:hover::after,
.resources-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0066cc;
    box-shadow: 0 2px 4px rgba(0, 102, 204, 0.2);
}

.resources-content {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

.date-sidebar {
    width: 200px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.year-item {
    margin-bottom: 15px;
}

.year-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
}

.year-circle {
    width: 12px;
    height: 12px;
    border: 2px solid #0066cc;
    border-radius: 50%;
    margin-right: 10px;
}

.year-text {
    font-size: 16px;
    color: #333;
}

.months-list {
    margin-left: 22px;
    display: none;
}

.months-list.active {
    display: block;
}

.month-item {
    padding: 5px 0;
    color: #666;
    cursor: pointer;
}

.month-item:hover,
.month-item.active {
    color: #0066cc;
}

/* 视频专用的年份选择器样式 - 简洁美化版 */
.video-timeline {
    padding: 20px 0;
}

.video-timeline-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    font-family: 'Source Han Sans CN', 'Noto Sans SC', sans-serif;
}

.timeline-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
}

.year-items-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.video-timeline .year-item {
    margin-bottom: 0; /* 重置margin，使用gap来控制间距 */
}

.year-header-video {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 14px 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 52px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.year-header-video:hover {
    background: #f8fafc;
    border-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

.year-header-video.active {
    background: linear-gradient(135deg, #0066cc 0%, #004db3 100%);
    border-color: #0066cc;
    color: white;
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
    transform: translateY(-3px);
}

/* 为激活状态添加光效 */
.year-header-video.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.year-header-video .year-circle {
    display: none; /* 隐藏圆圈，使用更简洁的设计 */
}

.year-header-video .year-text {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    font-family: 'Source Han Sans CN', 'Noto Sans SC', sans-serif;
}

.year-header-video:hover .year-text {
    color: #0066cc;
    font-weight: 700;
    transform: scale(1.05);
}

.year-header-video.active .year-text {
    color: white;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

/* 添加年份数字前的装饰图标 */
.year-header-video::before {
    content: '📅';
    margin-right: 8px;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.year-header-video:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

.year-header-video.active::before {
    content: '🎬';
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* 响应式调整 */
@media (max-width: 768px) {
    .video-timeline {
        padding: 16px 0;
    }
    
    .video-timeline-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .timeline-title {
        font-size: 16px;
    }
    
    .timeline-desc {
        font-size: 12px;
    }
    
    .year-items-container {
        gap: 3px;
    }
    
    .year-header-video {
        padding: 12px 16px;
        min-height: 48px;
        border-radius: 10px;
    }
    
    .year-header-video .year-text {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
    
    .year-header-video::before {
        font-size: 14px;
        margin-right: 6px;
    }
    
    .year-header-video:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 15px rgba(0, 102, 204, 0.12);
    }
    
    .year-header-video.active {
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
    }
}

.content-area {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 新闻列表样式 */
.news-list .news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.news-item .news-meta {
    color: #999;
    font-size: 14px;
}

/* 图片列表样式 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 20px; /* 行间距更大，列间距保持 */
    padding: 20px 0;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.image-link { display: block; text-decoration: none; color: inherit; }

/* 封面区域保持16:9 */
.image-cover { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 8px; max-height: 180px; }
.image-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }

/* 标题与年份显示在封面下方 */
.image-caption { padding: 8px 2px 0 2px; }
.image-caption h3 {
    margin: 6px 0 0 0;
    font-size: 15px;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.image-overlay { display: none; }

.image-overlay h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.image-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

.image-item:hover {
    transform: translateY(-5px);
}

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

/* 视频列表样式 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.video-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img,
.video-thumbnail video.thumbnail-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.video-info {
    padding: 15px;
}

.video-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.video-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-item:hover .video-thumbnail img,
.video-item:hover .video-thumbnail video.thumbnail-video {
    transform: scale(1.05);
}

/* 缩略图video覆盖层播放按钮可见性 */
.video-thumbnail .play-button { pointer-events: none; }

/* 新闻列表样式 */
.news-list {
    padding: 20px 0;
}

.news-item {
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-2px);
}

.news-item h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
}

.news-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-content {
    color: #444;
    line-height: 1.6;
    font-size: 16px;
}

/* 视频年份分组样式 */
.video-content {
    padding: 20px 0;
}

.year-section {
    margin-bottom: 40px;
}

.year-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-family: 'Source Han Sans CN', 'Noto Sans SC', sans-serif;
}

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

/* 更新视频信息样式，移除日期 */
.video-info h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}