/* 视频列表页特定样式 */
.video-list {
   
    display: flex;
    flex-wrap: wrap;
    margin: 0 -7.5px; /* 抵消item的margin */
}

.video-item {
    width: 50%;
    padding: 0 7.5px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.video-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px; /* 稍微缩小播放图标 */
    height: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

.play-icon:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 12px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.video-title {
    margin: 8px 0 0;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: inherit;
}

.video-title a {
    color: #333;
    text-decoration: none;
}

.loading,
.no-more {
    width: 100%;
    text-align: center;
    padding: 15px;
    color: #999;
}

.loading-text,
.no-more-text {
    font-size: 14px;
} 

.gallery-image, .video-image {
    position: relative;
    padding-top: 61.5%;
    overflow: hidden;
    border-radius: 4px;
}

.video-detail {
    padding: 1px;
    padding-top: 25px;
}

.video-header {
    margin-bottom: 1px;
    padding: 0 1px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
    background: #000;
}

#video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 111;
}

/* 视频详情页标题样式 */
.video-detail .video-title {
    font-size: 18px;
    margin: 0 0 15px;
    padding: 0 15px 15px 35px;
    border-bottom: 1px solid #eee;
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
    font-weight: bold;
    min-height: 28px;
    display: flex;
    align-items: center;
    height: auto;
    -webkit-line-clamp: unset;
}

/* 相关视频样式 */
.related-videos {
    padding: 15px;
    background: #fff;
    margin-top: 15px;
}

.section-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.related-videos-list {
    margin: 0 -15px;
}

.related-video-item {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid #f5f5f5;
}

.related-video-thumb {
    width: 120px;
    height: 68px;
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.related-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-video-thumb .play-icon {
    width: 24px;
    height: 24px;
}

.related-video-thumb .play-icon:before {
    border-left-width: 8px;
    border-top-width: 6px;
    border-bottom-width: 6px;
}

.related-video-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-video-title {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.loading-more {
    text-align: center;
    padding: 15px 0;
    color: #999;
    font-size: 14px;
}

.page-content .section {
    margin: 0;
}

.section h2 {
    font-size: 18px;
    color: #333;
    margin: 0 0 0;
    padding-left: 0;
    border-left:none;
}




















