/* 服务中心页面样式 */

/* Banner区域 - 使用news.css的样式 */

/* 视频教程区域 */
.video-section {
    padding: 8rem 0;
    background: #f8f9fa;
}

.video-section>.container .product-category:last-child {
    border: none;
}

/* 产品分类 */
.product-category {
    margin-bottom: 6rem;
    padding-bottom: 6rem;
    border-bottom: 0.1rem solid transparent;
    border-image: linear-gradient(90deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
    border-image-slice: 1;
}

.product-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 3.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    /* border-bottom: 0.3rem solid transparent; */
    /* border-image: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-image-slice: 1; */
    display: inline-block;
}

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

/* 视频卡片 */
.video-card {
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-0.8rem);
}

/* 视频缩略图 */
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 比例 */
    background: white;
    overflow: hidden;
}

/* 播放按钮 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button img {
    width: 100%;
    height: 100%;
}


.play-button .iconfont {
    font-size: 3.2rem;
    color: #667eea;
    margin-left: 0.4rem;
    /* 视觉居中调整 */
}

/* 视频标题 */
.video-date {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.5;
    margin-top: 1.6rem;
}

.video-title {
    font-size: 1.6rem;
    color: #333;
    font-weight: 600;
    text-align: left;
    line-height: 1.5;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-card {
    animation: fadeInUp 0.6s ease-out;
}

.video-card:nth-child(1) {
    animation-delay: 0.1s;
}

.video-card:nth-child(2) {
    animation-delay: 0.2s;
}

.video-card:nth-child(3) {
    animation-delay: 0.3s;
}