.kdsp-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.kdsp-card{
    font-family:Arial, sans-serif;
}

.kdsp-video{
    position:relative;
    aspect-ratio:9/16;
    border-radius:20px;
    overflow:hidden;
    background:#000;
}

.kdsp-thumb{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.3s ease;
}

.kdsp-video:hover .kdsp-thumb{
    opacity:.4;
}

.kdsp-overlay-box{
    position:absolute;
    bottom:60px;
    left:20px;
    right:20px;
    background:#000;
    color:#fff;
    padding:15px;
    font-weight:700;
    text-align:center;
    font-size:18px;
}

.kdsp-play{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:70px;
    height:70px;
    background:rgba(255,255,255,.9);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.triangle{
    width:0;
    height:0;
    border-left:18px solid #000;
    border-top:12px solid transparent;
    border-bottom:12px solid transparent;
}

.kdsp-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:12px;
}

.kdsp-author-block{
    display:flex;
    gap:10px;
}

.kdsp-avatar{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#ccc;
}

.kdsp-author-name{
    font-size:14px;
    font-weight:600;
}

.kdsp-date{
    font-size:13px;
    color:#666;
}

.kdsp-duration{
    background:#000;
    color:#fff;
    padding:4px 8px;
    border-radius:6px;
    font-size:13px;
}

.kdsp-title{
    margin-top:10px;
    font-size:20px;
    font-weight:700;
    color:#0b57d0;
}

.kdsp-popup{
    position:fixed;
    inset:0;
    background:#000;
    display:none;
    z-index:99999;
}

.kdsp-popup.active{
    display:block;
}

.kdsp-close{
    position:absolute;
    top:20px;
    right:30px;
    font-size:35px;
    color:#fff;
    cursor:pointer;
    z-index:9999;
}

.swiper-slide iframe{
    width:100%;
    height:100vh;
    border:none;
}

@media(max-width:1024px){
    .kdsp-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:600px){
    .kdsp-grid{
        grid-template-columns:1fr;
    }
}