/* Clear fixed site header (breadcrumb sits above how-to card) */
.video-page .breadcrumb {
  margin-top: 100px;
}

/* How-to视频展示区域样式 */
.how-to-videos {
    max-width: 750px;
    background-color: #fff;
    border-radius: 8px;
    padding: 100px 16px 16px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.how-to-title {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    font-family: PingFang SC, PingFang SC;
    margin-bottom: 30px;
    /* border-bottom: 2px solid #e0e0e0; */
    text-align: center;
}

.video-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
}



.video-content {
    flex: 1;
}

.video-title {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin-bottom: 12px;
    line-height: 20px;
    font-family: PingFang SC, PingFang SC;
}

.video-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 视频容器样式 */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    border-radius: 6px;
    overflow: hidden;
}

/* 自定义播放按钮 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background-color: rgba(0, 123, 255, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* 视频加载中指示器 */
video[poster] {
    object-fit: cover;
}
.video-wrapper {
    position: relative;
    border-radius: 8px; /* 设置弧角 */
    overflow: hidden; /* 确保视频内容也有弧角 */
}

.video-wrapper video {
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    cursor: pointer;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
}

/* 隐藏原生视频控件 */
video::-webkit-media-controls {
    display: none;
}

video::-webkit-media-controls-enclosure {
    display: none;
}
.play-button, .pause-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: #FFF;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.play-button {
    display: block; /* 默认显示播放按钮 */
}

.pause-button {
    display: none; /* 默认隐藏暂停按钮 */
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.6);
}

.pause-button::before, .pause-button::after {
    content: '';
    position: absolute;
    top: 12px;
    width: 4px;
    height: 13px;
    background-color: rgba(0, 0, 0, 0.6);
}

.pause-button::before {
    left: 20px;
}

.pause-button::after {
    right: 20px;
}



