.casesBox {
    display: grid;
    gap: 80px;
}

.box-video {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    width: 100%;
}

/* .case-tag {
    min-width: 200px;
} */

.case-tag h3,
.case-tag p {
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    width: 100%;
    min-height: 150px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

/* 封面图：填满容器 */
.video-container .video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: transform .3s ease;
}

/* 鼠标悬停时，图片轻微放大，增加交互感 */
.video-container:hover .video-poster {
    transform: scale(1.05);
}

.video-container.playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 1;
}

/* 播放按钮容器：绝对定位居中 */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .7);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: .3s;
}

.video-play-btn:hover {
    background: var(--link-color);
}

/* 播放图标 */
.video-play-btn .iconfont {
    color: #fff;
    font-size: 32px;
    margin-left: 4px;
}

.box-title {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding-bottom: 40px;
    flex-direction: column;
    margin: 0;
}

/* 标题描述 */
.title-card {
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 500;
    color: var(--title-color);
}

.endBox {
    width: 100%;
    height: auto;
}

.endBox .more {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 40px;
    margin: 0 auto;
}

.endBox a {
    padding: 2px;
    color: var(--link-color);
}

@media (max-width: 1000px) {
    .box-video {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .case-tag {
        width: 100%;
    }

    .case-tag h3,
    .case-tag p {
        margin-bottom: 10px;
    }

    .title-card {
        text-align: start;
        font-weight: 500;
        color: var(--title-color);
    }
}

@media (max-width: 576px) {
    .title-card {
        text-align: center;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
    }

    .video-play-btn .iconfont {
        color: #fff;
        font-size: 28px;
        margin-left: 4px;
    }
}
