/* 内容区域样式 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* 视频列表样式 */
.video-section {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.video-container {
    width: 1400px;
    margin: 0 auto;
}

.video-section-header {
    margin-bottom: 35px;
    display: inline-block;
}

.video-section-title {
    font-family: "思源黑体 Bold", 思源黑体, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 42px;
    color: #0A275E;
    margin: 0;
    position: relative;
    display: inline-block;
}

.video-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 70px;
    height: 6px;
    background: linear-gradient(90.872deg, rgb(0, 104, 199) 0%, rgb(47, 185, 108) 122%, rgb(69, 223, 66) 180%);
}

/* 视频网格 */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-item {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-item:hover,
.video-item.selected {
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    transform: translateY(-2px);
}

.video-item:hover .video-info,
.video-item.selected .video-info {
    background: linear-gradient(135deg, #0066cc 0%, #00b894 100%);
    color: white;
}

.video-item:hover .video-info h3,
.video-item:hover .video-info .video-date,
.video-item.selected .video-info h3,
.video-item.selected .video-info .video-date {
    color: white;
}

.video-item:hover .video-info .video-arrow svg,
.video-item.selected .video-info .video-arrow svg {
    fill: white;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-size: cover;
    background-position: center;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.video-item:hover .play-button {
    background: rgba(0, 102, 204, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button span {
    color: white;
    font-size: 20px;
    margin-left: 4px;
}

.video-info {
    padding: 20px;
    background: white;
    transition: all 0.3s ease;
}

.video-info h3 {
    font-family: '思源黑体 CN', sans-serif;
    font-weight: 400;
    font-size: 24px;
    color: #000000;
    margin: 0 0 10px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 20px;
    border-top: 1px solid #e0e0e0;
}

.video-date {
    font-size: 14px;
    color: rgba(153, 153, 153, 0.996078431372549);
}

.video-arrow {
    width: 20px;
    height: 20px;
    font-size: 24px;
    font-weight: 400;
    color: #76dc5b;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding: 20px 0;
}

.pagination a {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    background: white;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover:not(.disabled) {
    border-color: #0066cc;
    color: #0066cc;
}

.pagination a.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.pagination a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .page-info {
    color: #999;
    font-size: 14px;
}

/* 视频详情 */
.video-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.video-title {
    font-family: 'Arial Negreta', 'Arial Normal', 'Arial', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 34px;
    color: #333333;
    margin: 30px auto;
    text-align: center;
    line-height: 34px;
}

/* 发布信息 */
.video-meta-detail {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: #999;
    font-family: '思源黑体 CN Medium', '思源黑体 CN Regular', '思源黑体 CN', sans-serif;
}

/* 视频播放器 */
.video-player {
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.video-player video {
    width: 100%;
    height: auto;
    display: block;
}



/* 响应式设计 */
@media (max-width: 1440px) {
    .member-container {
        width: 90%;
    }
}

@media (max-width: 1240px) {
    .video-container {
        width: 90%;
    }
}

@media (max-width: 992px) {
    .recommendation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-title {
        font-size: 20px;
    }

    .video-meta-detail {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .video-player video {
        height: auto;
    }

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

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