/* 推荐录像模块样式 */
.recom_Video {
    background-color: #f8faff;
    position: relative;
    padding: 50px 0;
    border-top: 1px solid #e9effd;
}

.recom_Video .subject, .recomNew .subject {
    position: relative;
}

.recom_Video .subject p, .recomNew .subject p {
    color: #1e3a8a;
    font-weight: 600;
}

.recom_Video .subject span, .recomNew .subject span {
    color: #1e3a8a;
    font-weight: bold;
    position: relative;
}

.recom_Video .subject span span, .recomNew .subject span span {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ffff00;
}

.categorySwitch {
    border-bottom: 3px solid #e9effd;
}

.categorySwitch li.active {
    border-bottom: 2px solid #1e3a8a;
}

.categorySwitch li.active a {
    color: #1e3a8a;
}

.categorySwitch li a {
    color: #626161;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #eee;
}

.video-thumbnail .gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9effd, #1e3a8a);
    opacity: 0.8;
}

.video-thumbnail .title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 15px 15px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.video-thumbnail .title-overlay span {
    font-size: 15px;
    font-weight: bold;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(30, 58, 138, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.video-thumbnail .play-button i {
    color: #fff;
    font-size: 24px;
}

.video-info {
    padding: 15px;
}

.video-info a {
    display: block;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    max-height: 65px;
    overflow: hidden;
    margin-bottom: 10px;
}

.video-info a:hover {
    color: #1e3a8a;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #777;
}

.video-meta i {
    margin-right: 5px;
    color: #1e3a8a;
}

.video-meta a {
    color: #1e3a8a;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.video-meta a i {
    font-size: 12px;
    margin-left: 3px;
}

.more-videos {
    margin-top: 25px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.more-videos h3 {
    color: #1e3a8a;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9effd;
}

.more-videos h3 i {
    margin-right: 8px;
    color: #1e3a8a;
}

.more-videos ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.more-videos li {
    transition: all 0.3s ease;
    padding: 12px 15px;
    border-radius: 6px;
    position: relative;
    padding-left: 28px;
}

.more-videos li:hover {
    background: #f5f8ff;
}

.more-videos li i {
    position: absolute;
    left: 5px;
    top: 13px;
    color: #1e3a8a;
    font-size: 14px;
}

.more-videos li a {
    display: block;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.2s ease;
}

.more-videos li a:hover {
    color: #1e3a8a;
}

.view-more {
    text-align: center;
    margin-top: 30px;
}

.view-more a {
    display: inline-block;
    padding: 10px 25px;
    background: #1e3a8a;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.view-more a:hover {
    background: #2e4a9a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.view-more a i {
    font-size: 12px;
    margin-left: 5px;
}

/* 推荐新闻模块样式 */
.recomNew {
    background-color: #fff;
    position: relative;
    padding: 50px 0;
    border-top: 1px solid #eaeaea;
}

.newscolumn {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.newscolumn li {
    flex: 0 0 calc(50% - 10px);
    transition: all 0.3s ease;
    background: #f5f8ff;
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid #1e3a8a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
}

.newscolumn li:hover {
    background: #e9effd;
    border-left-width: 5px;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.1);
}

.newscolumn li a {
    color: #333;
    font-size: 15px;
    display: block;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.newscolumn li a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #1e3a8a;
    border-radius: 50%;
}

.newscolumn li a:hover {
    color: #1e3a8a;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .more-videos ul {
        grid-template-columns: 1fr;
    }
    
    .newscolumn li {
        flex: 0 0 100%;
    }
}

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